URGENT - ERROR
Posted: Wed Mar 13, 2013 10:16 am
Hello guys,
After all installation nagios, i need to change my ip and others...
but when try export with check:
Restart Nagios
Move Export Files
Run Nagios debug (-v)
and
Generate Configuration Files
I received this:
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
Reading configuration data...
Read main config file okay...
Error Could not expand servicegroups specified in service escalation (config file '/usr/local/centreon/filesGeneration/nagiosCFG/1/escalations.cfg', starting on line 20)
Error processing object config files!
***> 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 another 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 regarding the config files, as well as the
'Whats New' section to find out what has changed.
---
in escalations.cfg', starting on line 20, i have:
define serviceescalonation{
servicegroup_name
contact_groups vlc
first_notification 1
last_notification 2
what the problem?
After all installation nagios, i need to change my ip and others...
but when try export with check:
Restart Nagios
Move Export Files
Run Nagios debug (-v)
and
Generate Configuration Files
I received this:
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
Reading configuration data...
Read main config file okay...
Error Could not expand servicegroups specified in service escalation (config file '/usr/local/centreon/filesGeneration/nagiosCFG/1/escalations.cfg', starting on line 20)
Error processing object config files!
***> 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 another 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 regarding the config files, as well as the
'Whats New' section to find out what has changed.
---
in escalations.cfg', starting on line 20, i have:
define serviceescalonation{
servicegroup_name
contact_groups vlc
first_notification 1
last_notification 2
what the problem?