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 <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 03/17/2006 08:43 AM
|
|
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@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