hostgroup expansion and regex
Terry
td3201 at gmail.com
Mon Aug 31 04:39:41 CEST 2009
2009/8/30 Mathieu Gagné <mgagne at iweb.com>:
> 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
>
Oh that's it. There are some hosts that don't have any services and i
just do active host checks on them (new logic, haven't tested this).
------------------------------------------------------------------------------
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