Services and hostgroups
Michael W. Oliver
michael at gargantuan.com
Fri Feb 7 17:33:02 CET 2003
----- Original Message -----
From: "Steve Dussaux" <stevox2000 at yahoo.com>
To: <nagios-users at lists.sourceforge.net>
Sent: Friday, February 07, 2003 10:54 AM
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
Yes, in the documentation, under advanced stuff, in the time-saving
section...
define service{
hostgroup_name HOSTGROUP1,HOSTGROUP2,...,HOSTGROUPN
service_description SOMESERVICE
other service directives ...
}
so, it seems that once you have the service set up to run on all hosts in a
particular group, all you have to do from that point it add the hosts to the
respective group.
Please correct me if I am wrong. Thanks.
--
------------------------------------------------------------------------
Michael W. Oliver, CCNP |
IPv6 & FreeBSD mizark | "The tree of liberty must be refreshed
michael at gargantuan.com | from time to time with the blood of
http://michael.gargantuan.com/ | patriots and tyrants."
(via IPv4 and IPv6) | - President Thomas Jefferson
IPv6 ASPathTree, Looking Glass |
------------------------------------------------------------------------
-------------------------------------------------------
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