...
NMIS9 example of json format for a node
Code Block |
---|
# "/usr/local/nmis9${NMIS_DIRNAME}/admin/node_admin.pl" act=export node=localhost { "activated" : { "NMIS" : 1, "opConfig" : 1, "opEvents" : 1 }, "addresses" : [ { "address" : "127.0.0.1" } ], "aliases" : [], "configuration" : { "active" : 1, "authprotocolauthkey" : "md5", "businessServiceauthpassword" : "", "callsauthprotocol" : 0"md5", "cbqosbusinessService" : "none", "collectcalls" : 10, "communitycbqos" : "nmisGig8none", "collect" : 1, "community" : "nmisGig8", "context" : "", "customer" : "Opmantek", "depend" : [ "N/A" ], "display_name" : "", "group" : "NMIS9", "host" : "127.0.0.1", "host_backup" : "", "location" : "Amsterdam", "max_msg_size" : 1472, "max_repetitions" : 0, "model" : "automatic", "netType" : "lan", "node_context_name" : "", "node_context_url" : "", "notes" : "", "ping" : 1, "polling_policy" : "default", "port" : 161, , "privkey" : "", "privpassword" : "", "privprotocol" : "des", "remote_connection_name" : "", "remote_connection_url" : "", "roleType" : "distribution", "serviceStatus" : "Development", "services" : [ "SNMP_Daemon", "http_serverserver", "port22", "port25", "port80", "mysqld_daemonopmantek.pl", "port22mongo_daemon", "port25omkd check", "port80opchartsd", "omkdopconfigd", "mongo_daemonopeventsd", "omkdnmis checkcgi", "opchartsdnmis9d", "opconfigdcheck_disk_write", ], "opeventsdthreshold" : 1, "timezone" : "nmis9d"0, "username" "check_disk_write": "", ]"version" : "snmpv2c", "thresholdwebserver" : 1, "timezone" : 0, "versionwmipassword" : "snmpv2c", "webserverwmiusername" : 1"" }, "lastupdate" : 15926980581592715346, "name" : "localhost", "overrides" : {} } |
Backup, Migrate or just play with a Node
...