You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

To assist with integrating NMIS with other network management systems, NMIS includes a little script for importing nodes from a CSV file.  This script can be found in /usr/local/nmis8/admin/import_nodes.pl and there is a sample CSV file called import_nodes_sample.csv.

The minium properties you need to have to add a device to NMIS are, name, host, group, role and community.  Technically you can use defaults for group and role and the name and host maybe the same, so the absolute minimum is host and community.  This sample CSV includes the full five properties and if required you can use additional ones.

name,host,group,role,community
import_test1,127.0.0.1,Branches,core,nmisGig8
import_test2,127.0.0.1,Sales,core,nmisGig8
import_test3,127.0.0.1,DataCenter,core,nmisGig8

To load these devices into NMIS8 run the following command

  /usr/local/nmis8/admin/import_nodes.pl /usr/local/nmis8/admin/import_nodes_sample.csv /usr/local/nmis8/conf/Nodes.nmis.new

  • No labels