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 traffic direction
thanks!
3 Replies
- hoolio
Cirrostratus
Hi 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 - The_Bhattman
Nimbostratus
Hi Kris,
Unfortunately that is something that can't be done by the BIGIP. However, you can open a ticket to F5 for a product enhancement on the next release. Not sure if it will ever be added but it's an intriguing way to monitor a server.
Sorry I couldn't provide you with good news
Bhattman - kris_20094
Nimbostratus
Thanks for the fast reply Aaron, I agree, the monitoring of the key seems difficult when easier methods exist. Ill look at the the two links you've provided and go from there - thank you!
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