As we believe in automation and using computers for what they do best (i.e. take care of repetitive tedious tasks for us), we have started to develop a support automation tool for NMIS.
It will be part of the next NMIS release, and incrementally grow in functionality; the first version already provides a convenient way to collect all relevant info regarding an NMIS server's status and configuration for troubleshooting purposes.
The newest version of this tool can be downloaded here: NMIS support tool version 1.1 (NMIS 8.5G and newer ship with the support tool preinstalled.) It needs to be saved in the admin/
directory of your NMIS installation; most commonly that would be /usr/local/nmis8/admin/
.
Running the support tool without arguments shows a help screen.
Collecting Support Information
When given the argument action=collect
, the script collects diagnostic and configuration information for both the host and the NMIS installation and save that in a (size-limited) ZIP file:
$ /usr/local/nmis8/admin/support.pl action=collect collecting support evidence... please wait while we gather statistics for about 15 seconds... evidence collection complete, zipping things up... all done. Collected system information is in /tmp/support-2014-05-05-1127.zip Please include this zip file when you contact the NMIS Community or the Opmantek Team.
Please note that the information collection does not cover node-specific files by default (to keep the zip file small); if you want to also collect node-specifics for one or more nodes add the argument node=<nodename1>,<nodename2>...
(or node='*'
to cover all nodes) to the tool invocation.