Services.cfg definition options

Gotner, James jgotner at fhcrc.org
Wed Apr 23 22:47:33 CEST 2003


Whoops... I checked the FAQ and searched through the mailing list, but I
guess I didnt RTFM enough.  Thanks!

James

Security Certified Network Professional
A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional
Certified Internet Webmaster Associate



-----Original Message-----
From: Jim Olsen [mailto:jim at cyberjunkees.com]
Sent: Wednesday, April 23, 2003 1:45 PM
To: Gotner, James; Nagios (E-mail)
Subject: Re: [Nagios-users] Services.cfg definition options


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