How to make 1 exception for 1 host when mapping services to hostgroups?
Thomas Guyot-Sionnest
dermoth at aei.ca
Mon Sep 7 17:21:30 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07/09/09 10:54 AM, Jelle Smet wrote:
> Hi List,
You can exclude a single host/service already included in a
hostgroup/servicegroup with the bang (!) character.
i.e.:
define service {
host_name !web1
hostgroup_name web_servers
}
This will include all hosts in web_servers hostgroup except web1. I
believe you can also exclude a hostgroup/servicegroup the same way, if
you have overlapping hostgroups.
- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFKpST66dZ+Kt5BchYRAsAMAJ4isw5oAGFAA8qTOOrMPqQgJgbgRQCfW0Y5
wPaYKOAjCGNTKIrVxg3VAX4=
=oRWf
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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