acknowledge triggers a script
Mike Lindsey
mike-nagios at 5dninja.net
Tue May 10 22:11:24 CEST 2011
On 5/10/11 12:20 PM, dave stern - e-mail.pluribus.unum wrote:
> We have an interesting need. When a particular service goes red on our
> Nagios 3.2.1 server, we'd like to be able to click on "Acknowledge this
> service problem" and have that activate a local script. Anyone have any
> idea how this can be accomplished?
Add a secondary CGI (bash script, perl, python, etc) and link to that using the ACTION_URL config variable for your hosts/service. Then you can have a link there that submits the ack command as well as executes your secondary command.
If you don't want that intermediary step you're going to need to update the cgi source.
--
Mike Lindsey
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
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