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
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
$ ./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!