Running tests on intersection of two hostgroups?

Hugo van der Kooij hvdkooij at vanderkooij.org
Mon Apr 14 07:04:46 CEST 2008


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

Kelly Jones wrote:
| I have a "Windows" hostgroup for my Windows machines, and an
| "Important" hostgroup for all my important machines (Windows and
| otherwise).
|
| How do I check a service on the intersection of these two groups (ie,
| important Windows machines)?
|
| I realize I could create an "important Windows" hostgroup, but that
| seems ugly, since I'd have to maintain it separately from the two
| existing hostgroups.

If the question is if one can use boolean logic in requiring an AND
function in the membership of hostgroups. Then the simple answer is no.
You need to define another group with the right members yourself.

If your question is different you may need to rephrase the question.

Hugo.

- --
hvdkooij at vanderkooij.org               http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

	A: Yes.
	>Q: Are you sure?
	>>A: Because it reverses the logical flow of conversation.
	>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIAuXsBvzDRVjxmYERAjOMAKCKlkKSV405HhXVaP1halVJxsgHEQCeODFA
v4I19UlSFka1bGMqz80riVs=
=8N3D
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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