How to make 1 exception for 1 host when mapping services to hostgroups?

Jelle Smet nagios at smetj.net
Mon Sep 7 16:54:36 CEST 2009



Hi List,

My setup is more complicated than this but here's the essence:

- I have created a hostgroup called linux_servers
- I have created 10 service checks with default values.
- Each individual service check has a hostgroup_name "linux_servers"

This effectively applies all 10 check against all hosts member of the
linux_servers group.

Now what to do with following situation:

For one of the hosts I want to have a different threshold for only the
"Root
Disk" test.

I initially though that defining the service a second time, with the
host_name
tag, would have precedence over the fact it's defined through
hostgroup_name.
But apparently this is not...

So I could create a check with a new name "Root Disk custom" where I use
the
host_name tag, which works, ... But then again, I still have the original
"Root
Disk" test

How can I tackle this in a as clean way as possible?

Thanks

Jelle S.  
Jelle Smet
http://www.smetj.net
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090907/caa533ba/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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