hostgroup and servicegroup

Arno Lehmann al at its-lehmann.de
Wed Mar 16 20:03:11 CET 2005


Hello.

Wenping Yang wrote:

> When I try to setup services configuration, I have to set services one by
> one for each machine, and if I have to setup 50 machines in one group, and
> each of them has 10 services, then I have to define 500 services in
> configuration file, am I using the right way?

Which version?

Wich 2.0, you can have one service definition and put more than one host 
in it.
Just what you want.

> I know I can use servicegroup:
> 
> define servicegroup{
> 	servicegroup_name	group1
> 	alias			group1 Services
> 	members			<host1>,<service1>,<host2>,<service2>,...,<hostn>,<servicen>
> 	}
> 
> but it still doesn't help much, Is there an easy way, for instance,
> associate hostgroup and servicegroup together, if the machine is in this
> hostgroup, then it would use this hostgroup's services setting, which can be
> defined in servicegroup?

Servicegroup sounds like 2.0 to me...

Arno

> Thanks
> 
> Wenping
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> 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
> 

-- 
IT-Service Lehmann                    al at its-lehmann.de
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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