[Nagios-devel] May be a bug when using wildcards in some directives in serviceescalations definition
Posted: Thu Feb 09, 2006 9:57 am
Im trying to make a escalation that aggregates all services and =
machines. Like this:
define serviceescalation{
host_name *
service_description *
first_notification 4
last_notification 0
notification_interval 30
contact_groups pt.compal.it.systems
}
and I got the following error:
Error: Could not find any host matching '*'
Error: Could not expand hostgroups and/or hosts specified in service =
escalation
If I make:
define serviceescalation{
host_name alg*
service_description *
first_notification 4
last_notification 0
notification_interval 30
contact_groups pt.compal.it.systems
}
Error: Could not find a service matching host name =
'rterm-mpls.compal.pt' and description '*'
Error: Could not expand services specified in service escalation
how can alg* match with rterm-mpls.compal.pt ?
Next, if i make:
define serviceescalation{
host_name alg*
service_description a*
first_notification 4
last_notification 0
notification_interval 30
contact_groups pt.compal.it.systems
}
the configurations passes with nagios -v option, but there is a problem: =
i dont have any service_description starting with char 'a'.
This is relly a bug? i think so!
It can be solved?
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
machines. Like this:
define serviceescalation{
host_name *
service_description *
first_notification 4
last_notification 0
notification_interval 30
contact_groups pt.compal.it.systems
}
and I got the following error:
Error: Could not find any host matching '*'
Error: Could not expand hostgroups and/or hosts specified in service =
escalation
If I make:
define serviceescalation{
host_name alg*
service_description *
first_notification 4
last_notification 0
notification_interval 30
contact_groups pt.compal.it.systems
}
Error: Could not find a service matching host name =
'rterm-mpls.compal.pt' and description '*'
Error: Could not expand services specified in service escalation
how can alg* match with rterm-mpls.compal.pt ?
Next, if i make:
define serviceescalation{
host_name alg*
service_description a*
first_notification 4
last_notification 0
notification_interval 30
contact_groups pt.compal.it.systems
}
the configurations passes with nagios -v option, but there is a problem: =
i dont have any service_description starting with char 'a'.
This is relly a bug? i think so!
It can be solved?
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]