nagios not expanding wildcards correctly

Bug #1162119 reported by Todd Taft
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nagios3 (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

I'm running nagios 3.2.3-3ubuntu1 on 64 bit Ubuntu 12.04.

I've turned on regular expression matching in /etc/nagios3/nagios.cfg with the line:
use_regexp_matching=1

If I have some hosts defined like this in a file in /etc/nagios3/conf.d:
define host{
 use generic-host ; Name of host template to use
 host_name array001
 address 10.1.1.1
 }
define host{
 use generic-host ; Name of host template to use
 host_name array002a
 address 10.1.2.1
}
define host{
 use generic-host ; Name of host template to use
 host_name array002b
 address 10.1.2.2
}

and a hostgroup defined like this in a file in /etc/nagios3/conf.d:
define hostgroup {
 hostgroup_name array2w
  alias Array 2 Wildcard
  members array002*
 }

then, nagios will include host array001 in the hostgroup array2w even though it shouldn't match.

Changed in nagios3 (Ubuntu):
status: New → Confirmed
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.