<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>Re: [Nagios-users] How to keep host/service in config but disable?</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText99111 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>I am using nagios 2.0b3 and 
when i disable checks on a host i get a big X beside the host name and if i 
disable notifications for a service i get a big megaphone with and X through 
it.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Or you can set register to 0 for the 
services and the hosts... then they will be treated as a 
template.</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> nagios-users-admin@lists.sourceforge.net 
on behalf of prosolutions@gmx.net<BR><B>Sent:</B> Wed 7/27/2005 12:07 
PM<BR><B>To:</B> nagios-users@lists.sourceforge.net<BR><B>Subject:</B> Re: 
[Nagios-users] How to keep host/service in config but 
disable?<BR></FONT><BR></DIV>
<DIV><BR>
<P><FONT size=2>Yes but this isn't exactly what I want.  When I 
set<BR>active_checks_enabled 0 and notifications_enabled  0  I still 
see the<BR>host appear in the web interface (for 
example<BR>status.cgi?hostgroup=all&style=overview) with a green status cell 
saying "UP"<BR>and a green services cell saying "1 OK". <BR><BR>This seems 
misleading if in fact the host is truly disabled.  I think the boxes should 
be greyed out and say "N/A" and not give the impression that the host is 
OK.  Or else they host should not even appear in the web interface if it is 
truly "disabled".  Currently, the only way I know to stop it appearing from 
the interface is to comment it completely out of hosts.cfg, services.cfg, 
escalations.cfg (if it is in there), and hostgroups.cfg, which is a 
tedious/laborious process.<BR><BR><BR><BR>So wrote Scott Sugar on Wednesday, 27 
July 2005:<BR>> Date: Wed, 27 Jul 2005 00:07:52 -0400<BR>> From: Scott 
Sugar <ssugar@proserveit.com><BR>> To: prosolutions@gmx.net, 
nagios-users@lists.sourceforge.net<BR>> Subject: RE: [Nagios-users] How to 
keep host/service in config but disable?<BR>><BR>> 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... <BR>> look at<BR>> <A 
href="http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service">http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service</A><BR>> 
for all the options a service can have in services.cfg<BR>> and<BR>> <A 
href="http://nagios.sourceforge.net/docs/2_0/xodtemplate.html">http://nagios.sourceforge.net/docs/2_0/xodtemplate.html</A><BR>> 
for all the options a host can have in hosts.cfg<BR>><BR>> 
________________________________<BR>><BR>> From: 
nagios-users-admin@lists.sourceforge.net on behalf of 
prosolutions@gmx.net<BR>> Sent: Tue 7/26/2005 6:16 PM<BR>> To: 
nagios-users@lists.sourceforge.net<BR>> Subject: [Nagios-users] How to keep 
host/service in config but 
disable?<BR>><BR>><BR>><BR>><BR>><BR>> 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>><BR>><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>