[Bug 1162119] [NEW] nagios not expanding wildcards correctly

Todd Taft 1162119 at bugs.launchpad.net
Sat Mar 30 03:19:17 UTC 2013


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
Server Team, which is subscribed to nagios3 in 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



More information about the Ubuntu-server-bugs mailing list