Forum Discussion
Send commands to internal servers and examine the response
Hello.
i have a requirement where we need the Big-IP device to send a command to servers in a pool and then analyze the response to determine the health of an application on the pool members. Is this possible, and how can it be implemented?
v2 depending on the type of connection you have to the pool members such as HTTP, HTTPS, RDP, and others, you should be able to use the send string to send a specific command and the receive string to search for a specific response back. The send and receive string are configureable in the health monitor for certain health monitor types but please keep in mind that I believe after 256 lines or possibly a specific data size the F5 will stop process the response so if the text exists beyond that cutoff it will fail the health monitor. If you can provide an example of what you need to test we might be able to come up with the appropriate health monitor to meet your needs.
- v2Nimbostratus
hello Paulius
We need to send a message using SSH to the pool members and then examine the response. the send string and receive strings are as below
Request raw message 00670800822000000800000004000000000000000201113130627730303211627730003
Request breakdown (MTI)(0800),(7)(0201113130),(11)(627730),(37)(303211627730),(70)(003),Response raw message 00701814822000000A00000004000000000000000201113130627730303211627730000003
Response breakdown (MTI)(0810),(7)(0201113130),(11)(627730),(37)(303211627730),(39)(00),(70)(003)v2 I don't believe a default SSH health monitor exists but you might try what they did in this article.
https://community.f5.com/t5/technical-forum/tcp-health-monitor-ssh/td-p/106009
- Leslie_HubertusRet. Employee
Recent Discussions
Related Content
* 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