|
From: | Martin Pala |
Subject: | Re: Does port tcp check writes anything to the socket? |
Date: | Thu, 11 Jul 2013 22:38:59 +0200 |
Hi, the TCP connection test with no protocol specified doesn't send anything to the connected socket - it just connects, then calls check_default() protocol which is dummy function that returns "true" and closes the socket. The UDP socket with no protocol defined writes to the socket, as there is no way how to test whether the connection is established, so it writes one byte to the socket and checks whether error will occur - if not, then the UDP socket is most probably up (in case of UDP test it's thus important to use the specific protocol option to make sure the port works, as the generic test is limited by UDP design). Please can you get network trace to see whether the data really come from Monit? Regards, Martin On Jul 11, 2013, at 5:43 PM, Nestor Urquiza <address@hidden> wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |