Event handler for remote Win2K box
Collins, Steve
Steve.Collins at industry.gov.au
Wed Oct 27 07:18:50 CEST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have a flaky service on a remote (from my Nagios server)
Win2K server. We're working on solving the cause for the
flakiness, but in the meantime, we know the symptom for the
critical point in the flakiness and how to resolve the issue
before the service craps itself completely.
I have a batch script which restarts the service, but at the
moment one of my team has to log into the server using Radmin
and run it. What I'd like to do is set up an event handler
based on the known problem level.
Can anyone offer me some advice on how to build (or if it's
even possible) an event handler script to run from the Nagios
server to connect to the remote box and restart the appropriate server.
Or am I barking up the wrong tree? Would it be easier to set
up a scheduled task on the Win2K box to simply restart the
service when it's about to go critical?
Steve
- --
Stephen Collins
Project Manager - Web Development
Online Services Branch
eBusiness Division
__________________________________________________
Department of Industry, Tourism and Resources
Level 12, 20 Allara Street, Canberra City ACT 2600
GPO Box 9839, Canberra ACT 2601
E steve.collins at industry.gov.au
P +61 2 62137193
C +61 410 680722
F +61 2 62136227
ABN 51 835 430 479
- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d(---)@ s:>- a C++++$ UL++$>++++ P+>+++ L++ !E W+++$ N o?
K? w !O !M !V PS+(+++) PE Y+>++ PGP++>+++ t(++)@ 5++ X+(+++)
R(+++) tv b++>++++ DI++++ D+(+++)@ G+ e++ h---- r+++ y++++
- ------END GEEK CODE BLOCK------
Decode geekcode at http://www.joereiss.net/geek/ungeek.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
iD8DBQFBfy+ZB6K6hSCnql4RAjFiAKCA36GXfKrWY6WWmHSWKy4PKSylfACfVlaZ
3Z1PWprdjXjLcelNWAYAs+g=
=HJXb
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
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