Override a threshold for one host in a template

Kevin Keane subscription at kkeane.com
Thu May 21 00:15:02 CEST 2009


I had a somewhat similar problem (all of my servers use the same 30 or 
so services, except one of them doesn't have remote access, so it only 
needs 29). Here is what I did. It sounds like you did about the same:

- create a hostgroup
- create 30 services
- in each service, specify the corresponding hostgroup_name that it 
should go into.
- make all 30 hosts part of that hostgroup

Now to deal with this one server, let's call it problem.server.com for 
service DIFFICULTSERVICE:

In the declaration for DIFFICULTSERVICE, exclude problem.server.com:

hostname !problem.server.com

Declare another service DIFFICULTSERVICE just for problem.server.com 
with the correct parameters.


John Andrunas wrote:
> I have been using
> http://nagios.sourceforge.net/docs/3_0/objecttricks.html to set up
> templates for hosts in Nagios, the only problem I have is that one of
> my DB servers consistently runs high on memory utilization, so it is
> almost always in a warning state.  I tried setting another higher
> threshold for that one host in but it doesn't take.  Is there a way to
> override a threshold set in a hostgroup_name for one particular host,
> or am i going to have to redo my hostgroup based template?
>
>   


-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof.


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
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