Add hostgroup to servicegroup?

Israel Brewster israel at frontierflying.com
Fri Nov 7 19:03:10 CET 2008


On Nov 7, 2008, at 8:18 AM, Sean Carolan wrote:

> Why can't you add an entire hostgroup to servicegroup?  As it stands I
> would have to maintain an entire list of hosts for each service group,
> something I'm not keen on doing.  It would be so much easier if we
> could just drop the hostgroup name into the servicegroup definition
> and be done with it.  Is this planned for a future version of Nagios?

Well, you can at least add an entire hostgroup to a service using the  
hostgroup_name directive in the service definition - perhaps this  
would work? Granted, you would still need to add the hostgroup to each  
individual service in the servicegroup, but I would think this would  
still be better than adding/maintaining an entire list of hosts for  
each servicegroup.

-----------------------------------------------
Israel Brewster
Computer Support Technician
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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