Restart Windows program with Nagios when check fails?

Anthony Montibello amontibello at gmail.com
Wed May 2 16:12:33 CEST 2007


Hi,

Assuming that NRPE is still running and accessible, you should be able to do
this using event handlers in Nagios for that service.  just create a script
on the windows Host that ban be run via NRPE.



Tony (Author of NC_NEt)




On 5/2/07, Matthias Kellermann <mkellermann at net-com.de> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello Nagios-list-users,
>
> we're using Nagios in conjunction with NSClient++ with some Windows
> machines. It all works really well.
>
> Is there any chance to restart a program (*.exe file, not a service)
> when the check_nt or check_nrpe Check with Nagios fails? Any plugins
> that can do that - any other Nagios-related tools for such a job?
>
> Thanks in advance.
>
> Best Regards,
> Matthias
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGOF96GKs4BfMPVaARAnFqAJ4laPG1meeJfOInTNZyvGXg5IjuhQCfdxfF
> JyYV0vLNQE2ZoGroamFZ064=
> =e89U
> -----END PGP SIGNATURE-----
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070502/70bc9ff0/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- 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