Event handler over a remote machine

"Edgard Dapás" <[email protected]>
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
Hi !!!

I'm trying to set my first event handler, but i have problem.

I'm checking my Notes on a remote machine with the check_notes command ,
and it's working right

The problem appear when I'm trying to restart the Notes when the result of
check_notes command is Critical, the command to restart the Notes is
notes_restart.sh

I configure my netsaint machine in this way:

In the hosts.cfg:
command[notes_restart]=$USER1$/check_nrpe!notes_restart.sh $HOSTADDRESS$ -c $ARG1$ $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$

service[dsl101]=NOTES;0;24x7;3;2;1;webpin;120;24x7;1;1;0;notes_restart;check_nrpe!check_notes

But Netsaint is looking for the notes_restart in the local machine and not
in the remote machine
Error message:
sh: /opt/sfw/lib/netsaint/plugins/check_nrpe!notes_restart.sh: not founds

Could you send me a example of the best way to configure the remote
execution of a eventhandler?

Thanks

La   información  contenida  en  este  correo  es  para  uso exclusivo de
los destinatarios  del  mismo. Está prohibido a  las personas o entidades
que no sean los destinatarios de este correo, realizar cualquier tipo de
modificación, copia o distribución del mismo.
Si  Ud. recibe este correo por error, tenga a  bien notificar al emisor y
eliminarlo.

This email is confidential and intended solely for the use of the
individual to whom it is addressed. Any views or opinions presented are
solely those of the author  and do not necessarily represent those of
Personal. If you are not the intended recipient, be advised that you have
received this email in error and that any use, dissemination, forwarding,
printing, or copying of this email is strictly prohibited. If you have
received this email in error please contact the sender.
(Embedded image moved to file: pic07103.pcx)
pic07103.pcx (application/octet-stream, 907 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.