Nagiox XI monitoring server failed
Posted: Wed Oct 19, 2011 3:16 pm
Hi,
I have a Microsoft virtual machine running CentOS 6.x with Nagios XI 2011 installed along with NSClient++-0.3.9-x64 installed on a Windows Server 2008 64 bit. I was able to configure the NSClient++-0.3.9-x64 configuration file by uncommenting NRPEListener.dll and set allow_arguments=1 and uncommented that too.
I am able to run NSClient++ successfully. When I try to run the Monitoring Wizard to monitor the server I installed NSClient++-0.3.9-x64, I get "Configuration verification failed". When I got to the Configuration Snapshot, I have this error listed.
Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
Processing object config file '/usr/local/nagios/etc/hosttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicetemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicedependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostdependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/hostescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
Processing object config directory '/usr/local/nagios/etc/hosts'...
Processing object config file '/usr/local/nagios/etc/hosts/www.XXXXXX.com.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/XXX.XXXXXX.com.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/localhost.cfg'...
Processing object config directory '/usr/local/nagios/etc/services'...
Processing object config file '/usr/local/nagios/etc/services/XXXXXXXX.com.cfg'...
Processing object config file '/usr/local/nagios/etc/services/www.XXXXXX.com.cfg'...
Processing object config file '/usr/local/nagios/etc/services/XXXXXXX.com.cfg'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
Error: Could not find any host matching 'XXXXXXX.com' (config file '/usr/local/nagios/etc/services/XXXXXXX.com.cfg', starting on line 77)
Error: Could not expand hostgroups and/or hosts specified in service (config file '/usr/local/nagios/etc/services/XXXXXXXXXXk.com.cfg', starting on line 77)
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 defintions. 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.
Please help so I can monitor my sever.
Thanks,
Sdoan01
I have a Microsoft virtual machine running CentOS 6.x with Nagios XI 2011 installed along with NSClient++-0.3.9-x64 installed on a Windows Server 2008 64 bit. I was able to configure the NSClient++-0.3.9-x64 configuration file by uncommenting NRPEListener.dll and set allow_arguments=1 and uncommented that too.
I am able to run NSClient++ successfully. When I try to run the Monitoring Wizard to monitor the server I installed NSClient++-0.3.9-x64, I get "Configuration verification failed". When I got to the Configuration Snapshot, I have this error listed.
Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
Processing object config file '/usr/local/nagios/etc/hosttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicetemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicedependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostdependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/hostescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
Processing object config directory '/usr/local/nagios/etc/hosts'...
Processing object config file '/usr/local/nagios/etc/hosts/www.XXXXXX.com.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/XXX.XXXXXX.com.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/localhost.cfg'...
Processing object config directory '/usr/local/nagios/etc/services'...
Processing object config file '/usr/local/nagios/etc/services/XXXXXXXX.com.cfg'...
Processing object config file '/usr/local/nagios/etc/services/www.XXXXXX.com.cfg'...
Processing object config file '/usr/local/nagios/etc/services/XXXXXXX.com.cfg'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
Error: Could not find any host matching 'XXXXXXX.com' (config file '/usr/local/nagios/etc/services/XXXXXXX.com.cfg', starting on line 77)
Error: Could not expand hostgroups and/or hosts specified in service (config file '/usr/local/nagios/etc/services/XXXXXXXXXXk.com.cfg', starting on line 77)
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 defintions. 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.
Please help so I can monitor my sever.
Thanks,
Sdoan01