Forum Discussion
kris_20094
Nimbostratus
Feb 25, 2010irule to check existance of registry key?
Hi Guys,
Just wondering if its possible to check the existance of a registry key on a Windows machine to determine if the server is alive? Used as a health check to determine the traffi...
hoolio
Cirrostratus
Feb 25, 2010Hi Kris,
This seems related to the questions we've seen on monitoring a Windows service:
Here are a few related posts. I think the best practice solution would be to write a web page which checks the status of the service on the local server and then responds with a specific string indicating success or failure. You could then configure an HTTP monitor which polls that web page.
Monitoring a windows service
http://devcentral.f5.com/Default.aspx?tabid=53&forumid=32&tpage=1&view=topic&postid=23312
Monitoring a Microsoft Windows Service
http://devcentral.f5.com/Default.aspx?tabid=53&forumid=32&tpage=1&view=topic&postid=32382
I don't know of any Linux utilities that could be used to remotely access a Windows host and get or set registry keys. I supposed you could install an SSH server on the Windows hosts; create a script that establishes an SSH connection and runs the regedit commands to check for specific key(s); and then use that script as an external monitor for LTM. All in all, it seems fairly complicated.
Aaron
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