System information

When run without debug, NMIS is silent, it will only report BAD things and log non fatals to the
NMIS log -> nmis.log in the logs directory is the default.
First check that the config is all right!
<nmis base dir>/bin/nmis.pl type=config
Then run an update!
<nmis base dir>/bin/nmis.pl type=update
Then run collect! Minimum! Runs collection for all nodes in the node list.
<nmis base dir>/bin/nmis.pl type=collect
Will run NMIS for router only doing a health collection and a interface collection with debuging
on. Very handy for figuring out problems.
<nmis base dir>/bin/nmis.pl type=collect node=router debug=true
You can look at error messages in the file <nmis base dir>/log/nmis.log
Setting up web access
To have NMIS produce a sample Apache config run:
<nmis base dir>/bin/nmis.pl type=apache
Apache should already be working, easiest thing to do is add aliases for the relevant directories
ie:
Alias /nmis/ "<BASE>/web/"
ScriptAlias /cgi-nmis/ "<BASE>/cgi-bin/"
Add these entries to the apache configuration generally /usr/local/apache/conf/httpd.conf and
restart apache either with the command or a kill -HUP on the daemon PID. Keep in mind file
permissions for the HTTPD daemon and NMIS, I usually create a group called nmis and put
myself and the HTTPD user into it.
Now all the CGI scripts and base docs and style sheets will be linked in. You should be able to
see something at
http://<HOST>/cgi-nmis/nmiscgi.pl and wallah you should have something
there.
Event Management and SNMP Tools
The NET-SNMP nee UCD-SNMP has a bunch of great SNMP tools, obtaining and setting up this
package compliments NMIS quite well. Some work is being done to investigate the use of the
NET-SNMP Perl SNMP module in place of the current SNMP API. More info on NET-SNMP and
setting it up is here.
NET-SNMP IS NOT REQUIRED TO RUN NMIS
Setting up SYSLOG for Cisco SYSLOG
Add the following entry to syslog
local7.debug /var/log/cisco.log
If the log matches the one in logs.pl you will be able to browse the cisco syslog messages and
see what is happening.
Setting up LOG
NMIS - Network Management Information System http://www.sins.com.au/nmis/
8 of 43 15/04/2002 3:59 PM