Hostgroup definition

Israel Brewster israel at frontierflying.com
Mon May 12 18:38:28 CEST 2008


On May 12, 2008, at 7:46 AM, Jay R. Ashworth wrote:

> On Mon, May 12, 2008 at 05:03:17PM +0200, Andreas Ericsson wrote:
>> Not really, no, but the hostgroup needs to be defined somewhere.  
>> When it
>> is, you can do something like the following
>>
>> define host {
>> 	use     template_with_all_required_variables
>> 	hostgroups   hostgroup1,hostgroup2,hostgroup4,hostgroupn
>> 	}
>
> It doesn't cause any confusion, statistical or otherwise, to put a  
> host
> in more than one group, does it?

Nope. I do this for pretty much all of my hosts, actually. For  
example, all printers are in a "Printer" host group, to associate  
services as well as group all printers together. Additionally, I have  
a host group for each location we have machines in, so a printer in  
Barrow would be in both the printer hostgroup (for the services) and  
the "Barrow" hostgroup (for the location). Makes it easy to find all  
the machines in barrow, as well as all the printers.

-----------------------------------------------
Israel Brewster
Computer Support Technician
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------
>
>
> Cheers,
> -- jra
> -- 
> Jay R. Ashworth                   Baylink                      jra at baylink.com
> Designer                     The Things I  
> Think                       RFC 2100
> Ashworth & Associates     http:// 
> baylink.pitas.com                     '87 e24
> St Petersburg FL USA      http://photo.imageinc.us             +1  
> 727 647 1274
>
> 	     Those who cast the vote decide nothing.
> 	     Those who count the vote decide everything.
> 	       -- (Joseph Stalin)
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save  
> $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> 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


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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