1
0
-1

Hello,


I used node admin to create about 140 nodes.


They're all pingonly/no collect for now, but after adding them all, while the entries show up in nmis, the tables seem empty, no tables or graphs are shown.

They never update, ping.


I can share my syntax and examples below:


while read -r node ; do echo -e "\n\nCreating: $node.\n\n" ; /usr/local/nmis9/admin/node_admin.pl act=create node="$node" file=nodes/"$node".json ; done < list.txt


Output doesn't complain, accepts the json files and queues their entries.


Here's a sample json adjusted for confidentiality:


{
   "activated" : {
      "NMIS" : 1,
      "opConfig" : 1
   },
   "addresses" : [],
   "aliases" : [],
   "configuration" : {
      "active" : 1,
      "collect" : 0,
      "community" : "NODE_COMMUNITY_HERE",
      "group" : "NODE_GROUP_HERE",
      "host" : "NODE_IP_ADDRESS_HERE",
      "max_msg_size" : 1472,
      "model" : "PingOnly",
      "max_repetitions" : 0,
      "netType" : "wan",
      "ping" : 1,
      "polling_policy" : "default",
      "port" : 161,
      "roleType" : "distribution",
      "threshold" : 0
   },
   "name" : "NAME_OF_NODE_HERE",
   "overrides" : {}
}


And here's what I see even after hours of waiting:


    CommentAdd your comment...