after chnaging the ipaddress of nagios server new hosts adding error
Hi,
Recently we hvae changed the ipaddress of nagios server and installed ssl certificate everything works fine
other than addning new hosts. I am trying to add new hosts using nagmin after adding everything when i try to verify i am getting the following error
Verify Nagios Configuration
Synchronizing logo directories...
Creating dynamic Service Group services...
Creating Parent Dependencies...
/usr/local/nagios/bin/nagios -v -c /usr/local/nagmin/nagios/verify.cfg
Verification Failed!!
Nagios 1.3
Copyright (c) 1999-2004 Ethan Galstad (nagios@nagios.org)
Last Modified: 10-24-2004
License: GPL
Reading configuration data...
Error: Could not expand member hosts specified in hostgroup (config file '/usr/local/nagmin/nagios/HostGroup.cfg', line 69)
***> The name of the main configuration file looks suspicious...
Make sure you are specifying the name of the MAIN configuration file on
the command line and not the name of the host configuration file. The
main configuration file is typically '/usr/local/nagios/etc/nagios.cfg'
***> 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 on the main and host config files, as well as the
'Whats New' section to find out what has changed.
i tried to run the command line but same problem
Thanks in advance
|