...
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, "cbqos"md5", "businessService" : "none", "collectcalls" : 10, "communitycbqos" : "none", "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, "privprotocolprivkey" : "des", "remote_connection_nameprivpassword" : "", "remote_connection_url" : "", "roleTypeprivprotocol" : "distributiondes", "remote_connection_name" : "", "remote_connection_url" : "", "roleType" : "distribution", "serviceStatus" : "Development", "services" : [ [ "SNMP_Daemon", "http_server", "port22", "port25", "SNMP_Daemonport80", "http_serveropmantek.pl", "mysqldmongo_daemon", "port22omkd check", "port25opchartsd", "port80opconfigd", "omkdopeventsd", "mongo_daemonnmis cgi", "omkd checknmis9d", "opchartsd",check_disk_write" ], "opconfigdthreshold", : 1, "opeventsdtimezone" : 0, "username" : "nmis9d", "check_disk_writeversion" : "snmpv2c", ], "thresholdwebserver" : 1, "timezone" : 0, "versionwmipassword" : "snmpv2c", "webserverwmiusername" : "" 1 }, "lastupdate" : 15926980581592715346, "name" : "localhost", "overrides" : {} } |
Backup, Migrate or just play with a Node
...