Wildcards in hostgroup definitions
Duncan Berriman
duncan at dcl.co.uk
Thu Oct 21 11:11:44 CEST 2010
Hi Erik,
Appears to work just fine for me if I am testing your case correctly.
Perhaps you could post the config file (or snip of) that's causing the
issue.
Duncan
-----Original Message-----
From: olourkin-nagios at yahoo.com [mailto:olourkin-nagios at yahoo.com]
Sent: 20 October 2010 22:45
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Wildcards in hostgroup definitions
Hi all -
Got a mystery regarding the use of regex matching that I hope someone on the
listserv might clear. We have the appropriate config options to use regex,
and
it works just fine for the members directive - ie. "members .*" expands
just
as we'd expect.
But "hostgroup_members .*" returns an error along the lines of "Could not
find member group '.*' specified in hostgroup....", leading us to believe
that Nagios is simply ignoring regex matching for the hostgroup_members
directive.
Anyone know if we're off our rockers, or if Nagios really does handle
things this way?
Thanks,
Erik Larkin
----------------------------------------------------------------------------
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null
--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list