Forum Discussion
jondyke_46152
Nimbostratus
Feb 04, 2009Monitoring a Microsoft Windows Service
Is it possible to setup a monitor on the F5 so that it monitors a Windows service on a pool member? What methods could I use to do this?
6 Replies
Sort By
- semperfiguy_759
Nimbostratus
F5Isapi.dll with WMI monitor is out (it only supports disk, mem, etc) - Deb_Allen_18Historic F5 AccountBetter yet, write a script local to the webserver that checks the service in question and if it's healthy, return a specific message. Then create a simple HTTP monitor that requests the script, with the expected message as the receive string. That way you'll get real runtime status.
- dennypayne
Employee
This would be difficult...you could possibly do this via an external monitor script that calls curl for the test and then uses preconfigured passwordless SSH to connect to the Windows box to execute the batch file. The LTM doesn't really have any clients other than SSH and telnet that it can connect to other devices with, and it doesn't have Expect for interactive scripting. A quick Google search shows a few SSH servers for Windows (running under Cygwin mostly), I'm not aware of any Windows-native capability to handle that though, so you'd have to install something that LTM could connect to on the Windows box. - semperfiguy_759
Nimbostratus
aneilsingh, - JRahm
Admin
Yes, you can use wmic, but you'll need to build the executable and copy it over to the LTM. Details here: http://links.f5.com/gqVlUe Click Here - John_Allen
Altostratus
Update for those who may come across this: In at least version 12.1, there is a native WMI Health Monitor that you can use to check on a Windows Server. K6914
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects