nagios command line script
shadih rahman
shadhin71 at gmail.com
Thu May 21 23:41:45 CEST 2009
All,
I just added a perl Nagios command line script in nagiosexchange.org.
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.
http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F3083.html;d=1
or you can do a search on nagiosexchange with the word "ncom".
The usage for this script is listed below. Thanks
Usage:
sage: /usr/local/bin/ncom action service at host commnent
where: service the name of the service we are checking
host Name of the host we are checking
commment Comment we want to pass to the action
check: Immediately recheck service, host, service at host
(no state update on run)
reschedule: Reschedule service, host, service at host (state update on run)
acknowledge: Acknowledge current alert for service, host, service at host
unacknowledge: Undo acknowledge for service, host, service at host
inhibit: Silence all alerts for service, host, service at host
uninhibit: Undo inhibit for service, host, service at host
checkhistory: check history of particular check
alerthistory: check history of notificaitons
commandhistory:check history of commands executed on particular check
--
Cordially,
Shadhin Rahman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090521/f8ba9b16/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
-------------- next part --------------
_______________________________________________
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
More information about the Users
mailing list