This module allows interfacing to all Nagios plugins, located either on the local host or on a remote host (no special plugin required). More information on the excellent monitoring software Nagios and its plugins can be found at http://www.nagios.org/ and http://nagiosplug.sourceforge.net/.
Note: this module is currently in development: please report any bugs, comments, requests, ... at http://moodss.sourceforge.net/.

It is mandatory for the plugin to support the -V option as moodss uses it in the module initialization phase to check that the plugin path is actually valid and possibly report errors early to the user.

If no thresholds have been previously set, as when the module is first loaded and is not already part of a saved dashboard, the following thresholds are automatically preset:


These thresholds can be modified to include emails, script execution on event, ... (see the moodss documentation on thresholds for more information).
The module title (or identifier) is set to nagios(plugin) when locally monitoring and nagios(host,plugin) when remotely monitoring. Note that the directory path and plugin file extension are not included in the identifier.

Module options:

Notes on remote monitoring:

Examples:

$ moodss nagios --command 'disk -c 5 -w 10'
$ moodss nagios --command 'check_disk -c 5 -w 10'
$ moodss nagios --command '/usr/local/nagios/plugins/check_disk -c 5 -w 10'
$ moodss nagios --command 'load -c 70,50,30 -w 50,30,20' -r jdoe@foo.bar.com
$ moodss nagios --command 'procs -w 100 -c 200' -r ssh://jdoe@foo.bar.com
$ moodss nagios --command 'disk -c 5 -w 10' --remote foo.bar.com