Hi,

I've got true_regexp_matching enabled - mainly to provide a flexible
alerting system with priority/time-based alerts, different customers etc
- there's no way I could have gotten this far without it.

I seem to have hit a wall though in terms of being able to exclude
hostgroups from services - say I had a hostgroup called
'prod_ssl_webservers', and I also had a hostgroup called 
'prod_ssl_webservers_authbasic' - so I need mostly the same checks as 
prod_ssl_webservers, but content checking auth mechanism needs to be different.

According to the docs, excluding hostgroups doesn't work when
regexp_matching or true_regexp_matching is enabled.

The regular expression syntax that nagios supports doesn't seem to
support negative lookbehind syntax for negating a string search - I.E:
^(?<!my_exclude_hostgroup_name)$

So my question is - has anyone managed to get excludes working with
true_regexp_matching enabled, and if so how have they done it?


Cheers,
-- 
Richard Clark
[email protected]

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to