my event handlers run over ssh but this doesn't seem difficult to do at
all, just create an event handler script, copy it to the remote machine
and then put a command in the nrpe.cfg for that machine.
[event_handler_name]=/path/my_event_handler_script.sh
then create a checkcommand like so
define command{
command_name blah_event_handler
command_line check_nrpe -H $HOSTADDRESS$ -c event_handler_name
}
then just add the line
event_handler blah_event_handler
to the service definition
that should sort it.
-h
Hari Sekhon
Paul Archer wrote:
> Can anyone point me to a HOWTO or other documentation for setting up an
> event handler that runs on a remote machine (probably through nrpe)?
> I've gone over the docs for setting up a local event handler, but
> translating that to a remote handler is just not working for me right now.
>
> thanks,
>
> Paul Archer
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
[email protected]
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