Child pages
  • Logs, debugs and files which are useful when troubleshooting and resolving issues in NMIS
Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 2 Next »

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.

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:

  • NMIS Log: <nmisroot>/logs/nmis.log
  • Apache Error log: on CentOS 5.5, /var/log/httpd/error_log

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. 

  • No labels