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?
dennypayne
Employee
Mar 30, 2009This 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.
So, from a practical standpoint, having the LTM actually execute remote commands on a Windows box is not a trivial endeavor. I also would not recommend doing this on a site that had anything more than a light amount of traffic, because the health monitoring could take up a large amount of resources on the LTM itself. You'd be better off doing something similar to what Deb suggested; a script local to the webserver that would restart the service if it didn't get the expected application response.
Denny
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
