After removing 3 routers from our network we adjusted our files to reflect the change.
At first I removed the hosts completely, only to find that they were parents for several other machines.
I then brought back 1 of the machines and adjusted the names to point to that machine.
Now nagios tells me there is a problem in the escalations.cfg. And I’m stumped.
nagios@nagios:~/etc$ ~/bin/nagios -v ~/etc/nagios.cfg
Nagios 2.5
Copyright © 1999-2006 Ethan Galstad (nagios.org)
Last Modified: 07-13-2006
License: GPL
Reading configuration data…
Error: Could not expand services specified in service escalation (config file ‘/usr/local/nagios/etc/escalations.cfg’, starting on line 34)
***> One or more problems was encountered while processing the config files…
The file itself:
Last Modified: 07-05-2002 TL
Er staan aparte escalations voor Services en Hosts.
Host Escalation
; primary sms
define hostescalation {
host_name *
first_notification 2
last_notification 0
contact_groups sms
notification_interval 30
}
; backup sms
define hostescalation {
host_name *
first_notification 5
last_notification 0
contact_groups smsbackup
notification_interval 30
}
Service Escalation
; primary sms
define serviceescalation{
host_name *
service_description *
first_notification 2
last_notification 0
notification_interval 30
contact_groups sms
}
; backup sms
define serviceescalation{
host_name *
service_description *
first_notification 5
last_notification 0
notification_interval 30
contact_groups smsbackup
}
Any insights?