Service binding through hostgroup negation

Brian E. Seppanen seppy at chartermi.net
Tue Dec 23 20:28:33 CET 2003


Hi Folks:

I'm new to nagios, but have been using Netsaint for years, and I'm now
moving all of my configs to the template format (which is very nice).  In
my configs I basically assign hosts to hostgroups, and then bind the
service to that hostgroup.  In some circumstances I have exceptions in
which it would seem the best way to account for the exceptions would be to 
have a hostgroup definition inclusive of the exceptions and than to negate 
those members via their hostgroup membership.

An example.

service does_proxy
hostgroup_name	hostgroup_all

service does_proxy+smtp
hostgroup_name	hostgroup_all!hostgroup_proxy_only

In other words the does_proxy service includes all hosts as members.   The 
service does_proxy+smtp would include all hosts as members, except the 
exceptions listed in hostgroup_proxy_only

Is it possible?   If it isn't possible would it be possible to add it in a 
future release?   

Thanks,

Brian Seppanen
seppy at chartermi.net
906-475-0107 ext 1040


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
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