I use a script through NC_NEt passing in the name of the service to restart.
or if you already know the service name, a bat can be called to restart it
through NC_Net.

scripts can also be run through NRPE

Alternatively the Windows Service can be configurd to restart if it
unexpecedly stoped  through the service properties.
(Depending on the Host needs)

TOny
(Author of NC_NEt)
On Wed, Jan 14, 2009 at 11:14 AM, Kasper Lund <[email protected]> wrote:

> Hi there.
>
> I dont know if this is common knowledge, but this is something that have
> bothered me for some time now.
>
> How do i start/stop/restart a service on e remote windows box from an
> eventhandler script?
>
> Today i found this great tool: http://eol.ovh.org/winexe/
>
> Winexe is a GNU/linux port of sysinternal psexec tool if you are
> familier with that.
>
> I hope this can help you creating eventhandler scripts to manage those
> windows boxes.
>
> Cheers
>
> Kasper
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> 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
>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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

Reply via email to