Im following a guide from a book called Learning Nagios 4. The book uses different locations instead of the default. Any help would be greatly appreciated.
Verifying the configuration
Code: Select all
[nagios@localhost1 etc]$ /opt/nagios/bin/nagios -v /etc/nagios/nagios.cfg
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 2 services.
Checked 1 hosts.
Checked 0 host groups.
Checked 0 service groups.
Checked 3 contacts.
Checked 2 contact groups.
Checked 24 commands.
Checked 3 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 1 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 3 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
Thanks for your help.