[Nagios-devel] =?utf-8?q?BUG=3F_exclude_hosts_with_regexp_not_wor?=

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] =?utf-8?q?BUG=3F_exclude_hosts_with_regexp_not_wor?=

Post by Guest »

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]
Locked