Host group member regex confusion
Posted: Wed Aug 25, 2021 10:35 am
I am taking over management of a very old Nagios instance and trying to figure out someone else's config files.
We have set in the nagios.cfg
and in one of the hostgroups we have members defined as:
That host group is properly picking up these hosts:
a-power-1
a-power-2
a-cyc-1
However it's also picking up the following hosts and I cannot figure out why.
art-pool-1
art-pool-2
art-pool-3
Any help would be appreciated.
We have
Code: Select all
use_regexp_matching=1
and in one of the hostgroups we have members defined as:
Code: Select all
members ^a-*
That host group is properly picking up these hosts:
a-power-1
a-power-2
a-cyc-1
However it's also picking up the following hosts and I cannot figure out why.
art-pool-1
art-pool-2
art-pool-3
Any help would be appreciated.