[Nagios] Grouping service's

Rasmus Plewe rplewe at hpce.nec.com
Thu Apr 3 22:30:05 CEST 2003


On Thu, Apr 03, 2003 at 02:36:17PM -0500, Einsmann, Philip M wrote:
> How do I group all the services for one server together?  I have 80 Solaris
> servers to set up and listing each one in the services.cfg file with 
> define service{
>         use                                 generic-service
>         host_name                      tfsadmu4
>         service_description           telnet
>         contact_groups                test
>         check_command             check_telnet!tfsadmu4
>         }
> 
> This seems to only handle one at a time that is a lot of typing Netsaint
> would group them all under the hosts.cfg file I have not been able to make
> this work.
> 
> So with 80 servers and 13 checks per server that's a big ugly file.

You are looking for hostgroups to group the hosts, not services:
http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#hostgroup 


Rasmus


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
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