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 serv...@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, serv...@host
(no state update on run)
     reschedule:    Reschedule service, host, serv...@host (state update on run)
     acknowledge:   Acknowledge current alert for service, host, serv...@host
     unacknowledge: Undo acknowledge for service, host, serv...@host
     inhibit:       Silence all alerts for service, host, serv...@host
     uninhibit:     Undo inhibit for service, host, serv...@host
     checkhistory:  check history of particular check
     alerthistory:  check history of notificaitons
     commandhistory:check history of commands executed on particular check



-- 
Cordially,
Shadhin Rahman
------------------------------------------------------------------------------
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 
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to