Versions Compared

Key

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

...

Your import/creation of Nodes is now complete! NMIS will now go through testing connection, snmp, finding the best model to fit your device and start collecting! If assisgning a Node to a different poller (opHA) this will not be pushed until the opha cron job runs, it can be called manually:

/usr/local/omk/bin/opha-cli act=sync-all-nodes


...


Advance Node Import


If you want to automate your node import to have more of your metadata filled you can do this simply by adding the column headers you are wanting to use! First lets talk about getting those headers!

  1. To find the available headers we will use our node_admin.pl tool with a sample node. To do this open a ssh session to your Opmantek Server and log in.
    More on node Node Administration Tools
  2. Run cmd:
    sudo /usr/local/nmis9/admin/node_admin.pl act=show node=YOUR_NODE_NAME
    Image Added

  3. From the output you can pick the header you want and put it in your import node csv.

...

Example: If I wanted to add Status to my import I would find my output of serviceStatus: entry.configuration.serviceStatus=Development

Import would look like


name

host

group

role

community

netType

roleType

activated.NMIS

activated.opConfig

serviceStatus