Hi,
Does regex in nagios support all standard regex filters?
I can't get case-insenstive filter to work in below example:
define hostgroup
hostgroup_name Prod
memebers ^(?i)(prd|PRD).*
}
Regex in hostgroup members
Re: Regex in hostgroup members
Taken from https://assets.nagios.com/downloads/nag ... ricks.html:
Hope that helps.If you wish, you can enable regular expression matching for object names by using the use_regexp_matching config option. By default, regular expression matching will only be used in object names that contain *, ?, +, or \.. If you want regular expression matching to be used on all object names, enable the use_true_regexp_matching config option. Regular expressions can be used in any of the fields used in the examples below (host names, hostgroup names, service names, and servicegroup names).
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Regex in hostgroup members
Thanks @eloyd!
@kobazik - let us know if you need any further assistance.
@kobazik - let us know if you need any further assistance.
Former Nagios Employee