Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The node admin tool in NMIS9 brings some enhancements.

NMIS9 JSON example

Code Block
# /usr/local/nmis9/admin/node_admin.pl act=export node=localhost
{
   "activated" : {
      "NMIS" : 1
   },
   "addresses" : [],
   "aliases" : [],
   "configuration" : {
      "active" : 1,
      "authkey" : "",
      "authpassword" : "",
      "authprotocol" : "md5",
      "businessService" : "",
      "calls" : 0,
      "cbqos" : "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,
      "privkey" : "",
      "privpassword" : "",
      "privprotocol" : "des",
      "remote_connection_name" : "",
      "remote_connection_url" : "",
      "roleType" : "distribution",
      "serviceStatus" : "Development",
      "services" : [
         "SNMP_Daemon",
         "http_server",
         "mysqld_daemon",
         "port22",
         "port25",
         "port80",
         "omkd",
         "mongo_daemon",
         "omkd check",
         "opchartsd",
         "opconfigd",
         "opeventsd",
         "nmis9d",
         "check_disk_write"
      ],
      "threshold" : 1,
      "timezone" : 0,
      "username" : "",
      "version" : "snmpv2c",
      "webserver" : 1,
      "wmipassword" : "",
      "wmiusername" : ""
   },
   "lastupdate" : 1592654603,
   "name" : "localhost",
   "overrides" : {}
}


Backup, Migrate or just play with a Node

...