<div dir="ltr"><div>Hello,</div><div>I'm using Your check_tcp plugin and i'm need to monitor stunnel, but got one issue.<br></div><div>When stunnel certificates are expired or remote host is rejecting my connection check_tcp is showing me OK - port is open, and it is true because there is open local tcp port binded by stunnel process. But when using f.e. telnet i can see that "Connection closed by remote host" and see why in stunnel logs. Is it possible to adapt check_tcp to show CRIT in that cases (immediate port closure by remote host)?</div><div><br></div><div>best regards,</div><div>Piotr<br></div></div>