Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_nagios_config
$ ./check_nagios_config -h
Usage: check_nagios_config [options]
-h : Display this help text.
-c FILE : Location of nagios configuration file, nagios.cfg.
(Default is: /etc/nagios/nagios.cfg)
-n FILE : Location of nagios main executable file, nagios.
(Default is: /usr/sbin/nagios)
-x DIR : Run in a chroot environment based at DIR.
-X FILE : Location of the chroot executable file.
(Default is: /usr/sbin/chroot)
-s : Use sudo to run the command.
-p : Add performance data output for graphing.
-l : Add long output excluding the lines starting with 'Processing'.
-W NUM : Don't alert until NUM warnings have been reached.
(Default is: 0)
-C NUM : Don't alert until NUM errors have been reached.
(Usually zero unless there's a really good reason.)
(Default is: 0)
Example:
Check the configuration, alerting on any errors or warnings that
Nagios reports. Also create performance data for graphing.
./check_nagios_config -p
Reviews (0)
Be the first to review this listing!