<div>I use a script through NC_NEt passing in the name of the service to restart.</div>
<div>or if you already know the service name, a bat can be called to restart it through NC_Net.</div>
<div> </div>
<div>scripts can also be run through NRPE  </div>
<div> </div>
<div>Alternatively the Windows Service can be configurd to restart if it unexpecedly stoped  through the service properties.</div>
<div>(Depending on the Host needs)</div>
<div><br>TOny</div>
<div>(Author of NC_NEt)<br></div>
<div class="gmail_quote">On Wed, Jan 14, 2009 at 11:14 AM, Kasper Lund <span dir="ltr"><<a href="mailto:kasper@nordal-lund.dk">kasper@nordal-lund.dk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi there.<br><br>I dont know if this is common knowledge, but this is something that have<br>bothered me for some time now.<br>
<br>How do i start/stop/restart a service on e remote windows box from an<br>eventhandler script?<br><br>Today i found this great tool: <a href="http://eol.ovh.org/winexe/" target="_blank">http://eol.ovh.org/winexe/</a><br>
<br>Winexe is a GNU/linux port of sysinternal psexec tool if you are<br>familier with that.<br><br>I hope this can help you creating eventhandler scripts to manage those<br>windows boxes.<br><br>Cheers<br><br>Kasper<br><br>
------------------------------------------------------------------------------<br>This SF.net email is sponsored by:<br>SourcForge Community<br>SourceForge wants to tell your story.<br><a href="http://p.sf.net/sfu/sf-spreadtheword" target="_blank">http://p.sf.net/sfu/sf-spreadtheword</a><br>
_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>