Config Error
Posted: Mon Feb 22, 2016 7:23 am
Hi,
Can you help me please, am running into a Config Error when applying configuration changes.
Even when I revert back to a previous snapshot that has "Config Ok" in the Snapshot Result and the following output when I view the config.I still get the error below. Can you please help with this?
**************
Nagios Core 4.1.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
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 409 services.
Checked 13 hosts.
Checked 4 host groups.
Checked 1 service groups.
Checked 2 contacts.
Checked 2 contact groups.
Checked 126 commands.
Checked 8 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 13 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 8 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
*********
Error: Invalid max_check_attempts value for host 'XXXX'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/XXXX', starting on line 16)
Can you help me please, am running into a Config Error when applying configuration changes.
Even when I revert back to a previous snapshot that has "Config Ok" in the Snapshot Result and the following output when I view the config.I still get the error below. Can you please help with this?
**************
Nagios Core 4.1.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
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 409 services.
Checked 13 hosts.
Checked 4 host groups.
Checked 1 service groups.
Checked 2 contacts.
Checked 2 contact groups.
Checked 126 commands.
Checked 8 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 13 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 8 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
*********
Error: Invalid max_check_attempts value for host 'XXXX'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/XXXX', starting on line 16)