How to keep host/service in config but disable?
Scott Sugar
ssugar at proserveit.com
Wed Jul 27 06:07:52 CEST 2005
set the active_checks_enabled to 0 in services.cfg for each service you want disabled... and set checks_enabled to 0 in hosts.cfg...
look at
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service
for all the options a service can have in services.cfg
and
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html
for all the options a host can have in hosts.cfg
________________________________
From: nagios-users-admin at lists.sourceforge.net on behalf of prosolutions at gmx.net
Sent: Tue 7/26/2005 6:16 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] How to keep host/service in config but disable?
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.?
I noticed that I can use "register 0" in hosts.cfg and services.cfg but
I still must remove stuff from hostgroups.cfg....
-------------------------------------------------------
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050727/2a282e5c/attachment.html>
More information about the Users
mailing list