Empty hostgroups

joseph.petrucci at wachovia.com joseph.petrucci at wachovia.com
Fri Mar 17 15:30:50 CET 2006


I missed that you can use wildcards in the hostname field. thanks that may 
save me some work in the future.

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




Deborah Martin <Deborah.Martin at kognitio.com> 
03/17/2006 08:58 AM


To
"'joseph.petrucci at wachovia.com'" <joseph.petrucci at wachovia.com>, James 
Fidell <james at cloud9.co.uk>
cc
nagios-users at lists.sourceforge.net, 
nagios-users-admin at lists.sourceforge.net
Subject
RE: [Nagios-users] Empty hostgroups






You can also use a wildcard as well. 
-----Original Message-----
From: joseph.petrucci at wachovia.com [mailto:joseph.petrucci at wachovia.com]
Sent: 17 March 2006 13:52
To: James Fidell
Cc: nagios-users at lists.sourceforge.net; 
nagios-users-admin at lists.sourceforge.net
Subject: Re: [Nagios-users] Empty hostgroups


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     
************************************************************************ 
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. Any unauthorised distribution or copying is strictly 
prohibited. 
Whilst Kognitio Limited takes steps to prevent the transmission of 
viruses via e-mail, we can not guarantee that any email or 
attachment is free from computer viruses and you are strongly 
advised to undertake your own anti-virus precautions. 
Kognitio grants no warranties regarding performance, 
use or quality of any e-mail or attachment and undertakes no 
liability for loss or damage, howsoever caused. 
*********************************************************************** 
ForwardSourceID:NT00010C6E 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060317/1b314e0a/attachment.html>


More information about the Users mailing list