Yep, that works.<br><br><div class="gmail_quote">On Tue, Mar 20, 2012 at 6:00 AM, Manish_Kmr <span dir="ltr"><<a href="mailto:Manish_Kmr@mahindrasatyam.com">Manish_Kmr@mahindrasatyam.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">Hi List,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Actually I am using Nagios since a long but still I am not sure of one thing how can I comment some lines in nagios host and service config files. For example:-</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">define service {</p>
<p class="MsoNormal"> host_name localhost</p>
<p class="MsoNormal"> service_description NPCD status</p>
<p class="MsoNormal"> use local-service</p>
<p class="MsoNormal"> check_command check_local_npcd!1:1!npcd!</p>
<p class="MsoNormal"> max_check_attempts 2</p>
<p class="MsoNormal"> check_interval 5</p>
<p class="MsoNormal"> retry_interval 1</p>
<p class="MsoNormal"><b> #event_handler restart-npcd</b></p>
<p class="MsoNormal"> notification_interval 15</p>
<p class="MsoNormal"> contact_groups admins</p>
<p class="MsoNormal"> register 1</p>
<p class="MsoNormal"> }</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Will it work like this…</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">Manish Kumar</p>
<p class="MsoNormal">Open Source Tools Team, IMS, Mahindra Satyam</p>
<p class="MsoNormal">Mob: <a href="tel:%2B919035435306" value="+919035435306" target="_blank">+919035435306</a></p>
<p class="MsoNormal"> </p>
</div>
<br>
<hr>
<font color="Navy" face="Arial"><br>
DISCLAIMER:<br>
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or
all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.<br>
</font>
</div>
<br>------------------------------------------------------------------------------<br>
This SF email is sponsosred by:<br>
Try Windows Azure free for 90 days Click Here<br>
<a href="http://p.sf.net/sfu/sfd2d-msazure" target="_blank">http://p.sf.net/sfu/sfd2d-msazure</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">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></blockquote></div><br>