Can you define an empty hostgroup?
Samuel P Howard
nagios at GMxTechnologies.com
Fri Aug 18 18:08:56 CEST 2006
Hi.
Sounds like an odd question, but can you define an empty hostgroup?
Here's why.
Trying to follow one of the ideas in the "Time Saving Tricks" page of
the docs, I am adding each host to the hostgroup in the "host"
definition ... this makes it a lot easier for me to automate the
creating of new hosts ... problem is, if I don't pre-define the
hostgroup, it doesn't pass the pre-flight check.
If I do try to define the hostgroup, I need to give it a hostname, which
I don't have because it will depend on which hosts are already defined
(and thus adding themselves to the hostgroup).
The only work around I've found is to put one host in the hostgroup as
an anchor, but if that host ever gets removed from the monitoring, the
pre-flight check will fail and the system won't reload the config (and
the customers will be very confused why their changes aren't working
anymore).
Any ideas?
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