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.
evolart
Posts: 2 Joined: Mon Jun 01, 2020 11:47 am
Post
by evolart » 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.
mcapra
Posts: 3739 Joined: Thu May 05, 2016 3:54 pm
Post
by mcapra » Wed Aug 25, 2021 11:43 am
You might try ^(a-).* instead.
evolart
Posts: 2 Joined: Mon Jun 01, 2020 11:47 am
Post
by evolart » Wed Aug 25, 2021 12:01 pm
Thank you, that worked like a charm. Now for me to do some digging to understand why
benjaminsmith
Posts: 5324 Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul
Post
by benjaminsmith » Thu Sep 02, 2021 9:52 am
Thank you, that worked like a charm. Now for me to do some digging to understand why
Thanks
@mcapra for helping out
We'll go ahead and mark this as resolved, but feel free to open another post if you have any new questions.
Thank you for using the Nagios Community Forum.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy .
Be sure to check out our
Knowledgebase for helpful articles and solutions!