Wildcard not working in service escalations ?
Mihai Tanasescu
mihai at duras.ro
Wed Jul 25 02:48:42 CEST 2007
Hello,
I've just set up a service escalation like this:
define serviceescalation{
host_name *
service_description Host-UP
first_notification 3
last_notification 0
notification_interval 30
contact_groups admins,managers
}
But when I try to start nagios it says:
Error: Could not find any host matching '*'
Error: Could not expand hostgroups and/or hosts specified in service
escalation (config file '/usr/local/etc/nagios/escalations.cfg',
starting on line 2)
If instead of host_name * I specify a certain host out of the ones I'm
monitoring, everything works alright.
The nagios I'm running is 2.9.1 and after googling a bit I saw that it
should support wildcards here.
I have use_regexp_matching=1 enabled in nagios.cfg (and regexps work for
everything except the escalations).
Any ideas / am I doing something wrong ?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list