Forum Discussion
barneb01_8208
Nimbostratus
Jul 27, 2010LTM HTTP Monitor for Websphere/ClearQuest???
Hello, I currently have a pool of websphere servers running ClearQuest and the pool is referencing a basic http monitor. I recently had an issue where 1 of the pool members was not fully available but was still passing the pool monitor health check, resulting in clients being load balanced to a pool member that was not fully available. The customer is asking if I can create a custom http monitor to login with the following fields and values in order to determine the state of the pool members.
username: pjc
password: 2001
repository: 7.1.0
database selection: SWDEV
At initial login the client is presented with the "username, password and repository" prompt. After the initial login the client is then presented with a "database selection" prompt. Upon the “database selection” prompt is where the app was failing. I contacted the app admin and obtained a string with all of the required login values in hopes that I could use the following curl to invoke a response that would indicate a successful or failed login attempt.
curl -v http://10.16.30.119/cqweb//7.1.0/SWDEV&format=HTML&loginId=pjc&password=2001
I captured the response for the curl above and compared it to another capture where I used invalid login credentials. Unfortunately both curls had identical response values, leaving me no way to differentiate between a successful or failed login. I also attempted to work with the app admin in hopes that the admin could help customize the response values but unfortunately he could not make progress either.
Is what I am attempting to do even possible with an LTM monitor or does this type of monitoring require an external monitor? Any ideas on how to implement such a monitor would be greatly appreciated.
Brian
1 Reply
- hoolio
Cirrostratus
Hi Brian,
Can you post an anonymized copy of the response? Is it a redirect that is sent in both cases? If so, can you add a -L flag to the curl command to have curl follow the redirect Location and see if you get differing responses when the app is up and down or the login fails/succeeds?
In the event you get it working, you can use it in an external monitor using one of the Codeshare examples:
Config/Monitoring Codeshare
http://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/codeshare
External LTM monitor template
http://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/TemplateForExternalLtmMonitors.html
Simple Curl GET request example
http://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/HTTPMonitor_cURL_BasicGET.html
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
