Eventhandler on windows host

Hello Gurus,
I just ask you if it’s possibile to do this:
I monitored a windows host process that is i an “Not Responding” status, and i reached my aim with the check_winprocess.exe nrpe command.

When the process is in a “not responding” status, i can send email/sms etc, but i also would like to do a pro-active action : the windows
host should kill the “not responding” process and restart it.
It’s not a service, but a VB program that needs a GUI, and is executed interactively on the windows host.

Question is : Can eventhandlers handle this? Can eventhandler somehow kill and restart a process (not a service?)

Thanks to all and regards
I.P.

Ciao!

an event handler can execute a linux script… :slight_smile:

I think there is a sort of ssh for windows available, if that works giving access to a command line you coulr runa "net service " command and restart it… never tried looking fo it though :slight_smile:

Luca

[quote=“luca”]Ciao!

an event handler can execute a linux script… :slight_smile:

I think there is a sort of ssh for windows available, if that works giving access to a command line you coulr runa "net service " command and restart it… never tried looking fo it though :slight_smile:

Luca[/quote]

Thanks for the reply.
What i must monitor is not a process, but a VB application that interacts with the desktop.
So, probably, some ssh server for windows won’t be enough.
I’ll keep on trying
Thanks anyway
I.P.