<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>

<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.6944.0">
<TITLE>[Nagios-users] How to keep host/service in config but disable?</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText55048 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>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...  </FONT></DIV></DIV>
<DIV dir=ltr>look at</DIV>
<DIV dir=ltr><A 
href="http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service">http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service</A></DIV>
<DIV dir=ltr>for all the options a service can have in services.cfg</DIV>
<DIV dir=ltr>and</DIV>
<DIV dir=ltr><A 
href="http://nagios.sourceforge.net/docs/2_0/xodtemplate.html">http://nagios.sourceforge.net/docs/2_0/xodtemplate.html</A></DIV>
<DIV dir=ltr>for all the options a host can have in hosts.cfg<BR></DIV>
<DIV dir=ltr>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2><B>From:</B> 
nagios-users-admin@lists.sourceforge.net on behalf of 
prosolutions@gmx.net<BR><B>Sent:</B> Tue 7/26/2005 6:16 PM<BR><B>To:</B> 
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] How to keep 
host/service in config but disable?<BR></FONT><BR></DIV>
<DIV><BR><BR>
<P><FONT size=2>Is there a simple way to disable a host/service check and remove 
it from the<BR>monitoring pool without having to completely comment it out from 
services.cfg,<BR>hosts.cfg, hostgroups.cfg, etc.?<BR><BR>I noticed that I can 
use "register 0" in hosts.cfg and services.cfg but<BR>I still must remove stuff 
from 
hostgroups.cfg....<BR><BR><BR><BR>-------------------------------------------------------<BR>SF.Net 
email is sponsored by: Discover Easy Linux Migration Strategies<BR>from IBM. 
Find simple to follow Roadmaps, straightforward articles,<BR>informative 
Webcasts and more! Get everything you need to get up to<BR>speed, fast. <A 
href="http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click">http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click</A><BR>_______________________________________________<BR>Nagios-users 
mailing list<BR>Nagios-users@lists.sourceforge.net<BR><A 
href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>::: 
Please include Nagios version, plugin version (-v) and OS when reporting any 
issue.<BR>::: Messages without supporting info will risk being sent to 
/dev/null<BR></FONT></P></DIV>

</BODY>
</HTML>