I have a file defining multiple hosts:
define host{
use generic-host
host_name myhost.mydomain.com
alias myhost
address 10.80.16.30
hostgroups CommonChecks
notifications_enabled 1
}
define host{
...
}
The services are being properly added to the hosts via the defined hostrgoup, but when I try to define service escalations I get :
[quote]Error: Could not expand services specified in service escalation (config file ‘/usr/local/nagios/etc/objects/serviceescalations.cfg’, starting on line 11)
Error processing object config files![/quote]
The serviceescalations.cfg looks like:
define serviceescalation{
use escalate-level2
host_name myhost.mydomain.com
service_description *
}
define serviceescalation{
use escalate-level2
host_name myhost2.mydomain.com
service_description *
}
Checks, hostescalations, etc are all working - but serviceescalations just won’t load. Any suggestions?