Newbie question..services and hostgroups

Jason Martin jhmartin at toger.us
Sat Dec 13 00:03:50 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You want to use the hostgroup_name directive in the service definition 
instead of the host_name. This is documented at 
http://nagios.sourceforge.net/docs/1_0/templatetricks.html#service

- -Jason Martin


On Fri, 12 Dec 2003, Steve Gilbert wrote:

> I'm setting up Nagios 1.1 for the first time, and I'm a little confused
> about something.  I've got my hosts.cfg file done (~180 hosts) as well as my
> hostgroups.cfg.  I'm starting to set up services.cfg now.  So...let's say I
> want to monitor a process...let's say ypserv...on 20 machines.  Do I really
> have to set up a separate service definition for each host?  20 different
> definitions for my ypserv check?  Why can't I just say..."here's how to
> check for ypserv, now go look for it on these 20 boxes..."  Seems like I
> should just be able to give it a hostgroup, but the docs say that you must
> define a specific host.
> 
> Once this Nagios is up and running, I'm going to set up another Nagios
> server for our ~2600 node Linux farm...and I'd like to monitor several
> services for each of those.  That's going to get real ugly real quick.  Am I
> just missing something obvious?  Thanks.
> 
> Steve Gilbert
> Unix Systems Administrator
> sgilbert at nvidia.com
> 
> 
> -------------------------------------------------------
> 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
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.3 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQE/2klZl2ODWuqVSBMRAqC+AJ425lBHujYrcpkgOKHk3ukmnbmGgQCgkkwf
9q9UjbV69NZrHUNg+ajw/fI=
=J2FY
-----END PGP SIGNATURE-----


-------------------------------------------------------
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