[Nagios-devel] =?utf-8?q?BUG=3F_exclude_hosts_with_regexp_not_wor?=
Posted: Tue Dec 15, 2009 11:31 am
Hi List,
Can someone tell if this is intended behaviour or a bug?
I have following features in my nagios.cfg file:
use_regexp_matching=3D1
use_true_regexp_matching=3D0
Although I can apply a service to a group of servers based upon their nam=
e using:
hosts redhat_servers* =20
I can't exclude hosts based upon their name using:
hosts !redhat_servers*
Nagios complains that it can't find host '!redhat_servers*'
something like this would work though
hosts !redhat_servers01,!redhat_servers02,!redhat_=
servers03,!redhat_servers04,!redhat_servers05,!redhat_servers06
That's not really consistent not?
--=20
Jelle Smet
http://www.smetj.net
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Can someone tell if this is intended behaviour or a bug?
I have following features in my nagios.cfg file:
use_regexp_matching=3D1
use_true_regexp_matching=3D0
Although I can apply a service to a group of servers based upon their nam=
e using:
hosts redhat_servers* =20
I can't exclude hosts based upon their name using:
hosts !redhat_servers*
Nagios complains that it can't find host '!redhat_servers*'
something like this would work though
hosts !redhat_servers01,!redhat_servers02,!redhat_=
servers03,!redhat_servers04,!redhat_servers05,!redhat_servers06
That's not really consistent not?
--=20
Jelle Smet
http://www.smetj.net
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]