hostgroup expansion and regex
Mathieu Gagné
mgagne at iweb.com
Mon Aug 31 04:37:05 CEST 2009
Terry wrote:
> The hostgroup alone works fine but the serviceescalation gives this error:
> Error: Could not expand services specified in service escalation
> (config file '/etc/nagios/objects/serviceescalations.cfg', starting on
> line 1)
>
> I can replace z-allhosts with the windows host group (below) and it
> checks out fine. So it appears to be a wildcarded hostgroup that's
> the problem. Any thoughts?
>
> define hostgroup {
> hostgroup_name windows
> alias windows
> }
Make sure all hosts in the hostgroup has a least one service or the
wildcard won't be able to expand the list of services associated with
each host.
--
Mathieu
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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