Public bug reported:

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.

** Affects: nagios3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1162119

Title:
  nagios not expanding wildcards correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/1162119/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to