Monitor THANKS telnet response of web server
Re: Monitor THANKS telnet response of web server
Yes, I get TCP OK back.
Re: Monitor THANKS telnet response of web server
And if Scott's suggestion works, I recommend trying with just "You" instead of "You're", just to avoid any quoting issues, at least for testing purposes. It's possible that the listserv could give you a different response that happens to start with "You", but this wouldn't be standard behavior.
--Jeffrey
--Jeffrey
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Monitor THANKS telnet response of web server
It's still timing out if just use "You" instead of "You're welcome!"
I'm still waiting for another suggestion from Scott.
I'm still waiting for another suggestion from Scott.
Re: Monitor THANKS telnet response of web server
Try with an explicitly-escaped return in your message:
./check_tcp -v -H listserv.ip.addr -E -p 2306 -s "thanks\r\n" -e You --quit=quit
This worked for me just now against a listserv server that was timing out like yours did.
--Jeffrey
./check_tcp -v -H listserv.ip.addr -E -p 2306 -s "thanks\r\n" -e You --quit=quit
This worked for me just now against a listserv server that was timing out like yours did.
--Jeffrey
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Monitor THANKS telnet response of web server
Yes! That worked perfectly. Thank you very much!
Can you explain to me what the various switches do? -E and "thanks\r\n"
Just for my own knowledge.
Can you explain to me what the various switches do? -E and "thanks\r\n"
Just for my own knowledge.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitor THANKS telnet response of web server
Great!rferebee wrote:Yes! That worked perfectly. Thank you very much!
Can you explain to me what the various switches do? -E and "thanks\r\n"
Just for my own knowledge.
They are outlined in this document
http://nagios-plugins.org/doc/man/check_tcp.html
Re: Monitor THANKS telnet response of web server
This thread can be locked. Thank you.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitor THANKS telnet response of web server
Great!rferebee wrote:This thread can be locked. Thank you.
Locking thread