How to keep host/service in config but disable?

Steve Shipway s.shipway at auckland.ac.nz
Wed Jul 27 00:24:15 CEST 2005


>Is there a simple way to disable a host/service check and 
>remove it from the monitoring pool without having to 
>completely comment it out from services.cfg, hosts.cfg, 
>hostgroups.cfg, etc.?

What's wrong with just disabling checks and notifications?

active_checks_enabled  0
notifications_enabled  0

Or, just do it via the web interface.  You may also want to disable the
freshness checks, if you use them.

Steve




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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