Forum Discussion
tcp perl server health monitor
I am a small issue were I want to monitor a service on one our linux servers the server is running tcp perl server service were you send info and and send info back. When I logon to my big-ip through command and do a telnet test example below it works , but when I input info but when I fo to health monitors and add in send string a=1\r\nid=1234456\r\nfirstname= bob\r\n recieve string it will just fail I have even tried to to copy and paste a=1\r\nid=1234456\r\nfirstname= bob\r\n through telnet session and it just fails also tried to test by doing it sections a=1\r\n and the other parts separtely and it fails I believe it does not like syntax \r\n. Has anyone come around this issue and how did you resolve it or can you provide some advice. Thx in advance
Example
telnet 1.1.1.1 10000
INPUT
a=1
id=1234456
firstname= bob
OUTPUT
lastname=train
17 Replies
- What_Lies_Bene1
Cirrostratus
Assuming this is a tcp Monitor, can you try both just \r and \r\r with the monitor.
This command might help with your testing: [tmsh] run util test-monitor ‘name’.
Also, what version are you running, I think some versions put the \r or \r\n in for you so you may be doubling up? - Al_128487
Nimbostratus
Hi I am running version 11.2.1 I entered the send string below with just \r and same issue also when I run run util test-monitor I get the error message below. And you are correct I have selected tcp monitor
run util test-monitor server_1000 address 1.1.1.1 port 1000
can't run 'server_1000' monitor manually: external executable not found - What_Lies_Bene1
Cirrostratus
Hmmm. Could you post the CLI configuration of your monitor? The error suggests it might be misconfigured. - Al_128487
Nimbostratus
here is my monitor config
ltm monitor tcp /Common/erver_1000 {
defaults-from /Common/tcp
destination *:1000
interval 5
recv lastname=train
send a=1\\rid=1234456\\rfirstname= bob\\r
time-until-up 0
timeout 16 - What_Lies_Bene1
Cirrostratus
Al, I mean 'send a=1\r\rid=1234456\r\rfirstname= bob\r\r' - Al_128487
Nimbostratus
Hi, yeah the comment from "02/01/2013 12:27 PM" is what pulled by conf file. I have added send" a=1\r\rid=1234456\r\rfirstname= bob\r\r" but in the big ip conf its showing with double brakcets "send a=1\\r\\rid=1234456\\r\\rfirstname= bob\\r\\r" in bigip conf is that normal? - What_Lies_Bene1
Cirrostratus
Probably, it's just escaping the \'s. Any luck with \r\r configured in the monitor (ignoring the config file)? - Al_128487
Nimbostratus
the config file shows the same info as monitor config in gui just add's extra bracket in configs - Al_128487
Nimbostratus
I added your command with \r\r same result monitor fails - What_Lies_Bene1
Cirrostratus
Hmmm. Just realised you telnet to port 10000 but your monitor is for port 1000!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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