Services and hostgroups

Tony nagios at cerbernet.co.uk
Fri Feb 7 17:31:20 CET 2003


If you use the template method for your config files..

define service{
	hostgroup_name	HOSTGROUP1,HOSTGROUP2,...,HOSTGROUPN
	service_description	SOMESERVICE
	other service directives ...
	}

Read the Time-Saving Tricks  under 
Table of Contents > Object configuration file options > Template-based
method > Time-Saving Tricks


Tony

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Steve Dussaux
> Sent: 07 February 2003 15:54
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Services and hostgroups
> 
> Hi,
> 
> Is it possible to associate a hostgroup to a group of services ?
> Let me explain briefly what i'm looking for :
> 
> I have 3 hostsgroups with many services for each hostgroup.
> I want to add a host in one of the hostgroup and automatically have
the services
> associated with
> it.
> I don't want to add services for this new host.
> 
> Can Nagios do this ?
> 
> Steve
> 
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list