All,<br> I just added a perl Nagios command line script in <a href="http://nagiosexchange.org">nagiosexchange.org</a>. The script uses Nagios-Object cpan module. However, I made modification to the Nagios-Object cpan module to work with nagios version 3. Detail installation instruction is included in nagiosexchange link. <a href="http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F3083.html;d=1">http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F3083.html;d=1</a> or you can do a search on nagiosexchange with the word "ncom". <br>
<br><br>The usage for this script is listed below. Thanks<br><br><p>Usage:
<br>
<br>
sage: /usr/local/bin/ncom action service@host commnent
<br>
<br>
where: service the name of the service we are checking
</p>
<pre><code> host Name of the host we are checking<br> commment Comment we want to pass to the action<br></code></pre>
<p>
</p>
<pre><code> check: Immediately recheck service, host, service@host (no state update on run)<br> reschedule: Reschedule service, host, service@host (state update on run)<br> acknowledge: Acknowledge current alert for service, host, service@host<br>
unacknowledge: Undo acknowledge for service, host, service@host<br> inhibit: Silence all alerts for service, host, service@host<br> uninhibit: Undo inhibit for service, host, service@host<br> checkhistory: check history of particular check<br>
alerthistory: check history of notificaitons<br> commandhistory:check history of commands executed on particular check<br></code></pre>
<br clear="all"><br>-- <br>Cordially,<br>Shadhin Rahman<br>