Multiple hosts/services in services.cfg?

Quanah Gibson-Mount quanah at stanford.edu
Thu Dec 4 00:25:37 CET 2003



--On Thursday, December 04, 2003 10:11 AM +1100 Patrick Webster 
<pwebster at ausgeo.com.au> wrote:

> Hi Guys,
>
> Quick question: Is it possible to check multiple hosts, for multiple
> services, with one entry in the services.cfg file?

Yes, it is undocumented, but you can use:

hostgroup_name  <groupname>

And, you can even use multiple comma-separated group names.  Then all you 
have to do is keep the hostgroups up to date.

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/TSS/Computing Systems
ITSS/TSS/Infrastructure Operations
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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