Empty hostgroups

joseph.petrucci at wachovia.com joseph.petrucci at wachovia.com
Fri Mar 17 14:51:37 CET 2006


only thing I can think of is the same host can be in multiple hostgroups 
so pick one host already defined and placeit in all empty hostgroups as a 
placeholder then when you put a host in the hstgroup that actually belongs 
remove that placeholder.

Joe Petrucci 
Office: 704-383-6089
Cell : 724-462-0443




James Fidell <james at cloud9.co.uk> 
Sent by: nagios-users-admin at lists.sourceforge.net
03/17/2006 08:43 AM


To
nagios-users at lists.sourceforge.net
cc

Subject
[Nagios-users] Empty hostgroups






Is there an easy way to make nagios v2 not care if a hostgroup
is empty?

I'm migrating a live configuration from v1 to v2 at the same time
as correcting some errors and adding functionality and have it would
be useful to have all the hostgroups in the configuration files before
adding all the hosts.

Is it liable to cause pain if I change the code to warn about empty
hostgroups rather than fail with an error?

James


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting 
language
that extends applications into web and mobile media. Attend the live 
webcast
and join the prime developer group breaking into this new coding 
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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

ForwardSourceID:NT00010C52 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060317/5793aad1/attachment.html>


More information about the Users mailing list