When resolving issues with NMIS, there are various outputs and logs which can assist the support and development teams with troubleshooting issues to determine root cause and a workaround or solution.

To collect those logs and related evidence for debugging you should also consider using The NMIS Support Tool.

Node Issues

Usually most useful output and most requested output is that from an nmis.pl collection and update for the node with issues. To generate this, the command is:

<nmisroot>/bin/nmis.pl type=update debug=true node=<nodename>
<nmisroot>/bin/nmis.pl type=collect debug=true node=<nodename>
<nmisroot>/bin/nmis.pl type=summary debug=true

The output from any of these commands can be redirected to a file by appending a redirection to the command e.g. “> ~nmis/nmisoutput.txt”

MIB Issues

The other most common output is a MIB dump which can be generated using NET-SNMP the SNMPv2c command syntax looks like:

/path/to/snmpwalk -v 2c -m all -c <community> <node> <mib>

If we ask for a full dump <mib> would be “.1”, which is the full ISO tree, or we might ask for a specific branch, like “system” or “ifTable” for example.

Log Files

Other logs are useful to see, but usually depending on the issue we would ask for this, but some handy logs to look at are:

As NMIS see’s odd things it will log it to the NMIS log, and when Apache sees problems with things, or the CGI generates STDERR content, it will be sent to the Apache Error log.