Unable to apply configuration.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
fmomin
Posts: 5
Joined: Thu Feb 27, 2020 2:36 am

Unable to apply configuration.

Post by fmomin »

Unable to apply any configuration on webinterface. giving below error.

[root@nagihpcorp01 ~]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios Core 4.4.3
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2019-01-15
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Invalid max_check_attempts value for host 'APNETPUP031-new.ffx.jfh.com.au'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/APNETPUP031-new.ffx.jfh. com.au.cfg', starting on line 16)
Error processing object config files!


***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data definitions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Unable to apply configuration.

Post by Box293 »

Can you try the steps in this KB article:

https://support.nagios.com/kb/article/n ... d-144.html

If this doesn't fix the issue then please list the steps you tried and what output you are getting.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked