Can you define an empty hostgroup?

Samuel P Howard nagios at GMxTechnologies.com
Fri Aug 18 19:06:39 CEST 2006


> Each defined hostgroup must have at least one member, either within the
> hostgroup{} definition itself or in by way of the hostgroups field in
> the host{} definition. I encountered the same issue with our automated
> config generation and created an anchor host that was never checked and
> assigned to those hostgroups that would intermittently have real hosts.
> The proper solution is to track which hostgroups have active members and
> then create them as needed.
>
> --
> Marc
I had hoped that creating a host definition with the hostgroups line 
would autocreate the hostgroup, but it gives an error on the 
pre-flight.  Is this a bug then?

Thanks,
Sam

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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