On Thu, 17 Jun 2004 10:41 , Andreas Ericsson sent: >Or you could do it with nrpe_nt. Just issue an >int 0x10 >in assembly and the machine will reboot. You might want to add a >diskflush call before that though. there is something called shutdown.exe on sysinternal.com - from a windows box, you simply run a batch that shuts down the remote machine. If you have a windows web-server somewhere, the nagios can call a web page from the webserver that then executes the remote shutdown of any windows box...you probably could figure out a way to call it directly from the linux box as well > >Martin, Stanley G [CGEY Contractor for Sprint] wrote: >> The only way I've been able to do it is to have something on the Windows box that you can call from Nagios and pass the service name to restart. I have a daemon that is written in Perl that runs on our Windows boxes and we just call that using an Event Handler script. >> >> Stanley G. Martin >> System Administrator >> Sprint - EAS Business Intelligence >> Stanley.G.Martin@mail.sprint.com >> >> >> -----Original Message----- >> From: nagios-users-admin@lists.sourceforge.net [nagios-users-admin@lists.sourceforge.net','','','')">nagios-users- admin@lists.sourceforge.net] On Behalf Of Wengrzik, Andreas >> Sent: Wednesday, June 16, 2004 9:32 AM >> To: nagios-users@lists.sourceforge.net >> Subject: [Nagios-users] Restart Windows Service if down... >> >> Hello! >> >> Anyone knows if it´s possible to start or restart services in windows if some service runs into failure?? >> >> Thanks for your help! >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >> Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA >> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users@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 >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >> Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA >> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users@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 >> > >-- >Andreas Ericsson >OP5 AB >+46 (0)733 709032 >andreas.ericsson@op5.se > > >------------------------------------------------------- >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND >_______________________________________________ >Nagios-users mailing list >Nagios-users@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 ------------------------------------------- Chris McKeever If you want to reply directly to me, please use cgmckeever--at--prupref.com ChicagoReal Estate > ---- Prudential Preferred Properties www.prupref.com Success Driven By Results    Results Driven By Commitment       Commitment Driven By Integrity          We Are Prudential Preferred Properties