Services.cfg definition options

Jim Olsen jim at cyberjunkees.com
Wed Apr 23 22:45:25 CEST 2003


On Wednesday 23 April 2003 04:27 pm, Gotner, James wrote:
> Hello all,
>
>   Is there a way to simplify service definitions for multiple hosts?  I
> have about 3 dozen hosts that just need a ping check for now, and I was
> wondering if i have to seperately define a service for each host, or if I
> can just list out either the host_names or host_groups.  I know that I can
> use a template for everything else, I just dont want to do a define service
> definition for each host_name.  Any help will be highly appreciated. 
> Thanks

According to the manual, you can define multiple host_names or a host_group 
for service definitions:

http://nagios.sourceforge.net/docs/1_0/templatetricks.html#service

-- 
Jim Olsen 
Senior Systems Administrator
BrowserMedia [http://www.browsermedia.com]
301-656-1144 x165


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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