Im running Nagios 2.0rc1.
-----Original Message-----
From: Andreas Ericsson [mailto:[email protected]]
Sent: Thu 2/9/2006 6:19 PM
To: Estagiario TI Compal
Cc: [email protected]
Subject: Re: [Nagios-devel] May be a bug when using wildcards in some =
directives in serviceescalations definition
=20
Estagiario TI Compal wrote:
> Im trying to make a escalation that aggregates all services and =
machines. Like this:
>=20
> 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
>=20
> 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
>=20
> how can alg* match with rterm-mpls.compal.pt ?
>=20
> 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
> }
>=20
> the configurations passes with nagios -v option, but there is a =
problem: i dont have any service_description starting with char 'a'.
>=20
> This is relly a bug? i think so!
Me too.
> It can be solved?
>=20
>=20
Most likely. What version of Nagios are you running?
--=20
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: ndreas Ericsson [mailto:[email protected]