check_tcp

fafou&noos fr derries at globalnet.co.uk
Fri Mar 12 09:55:09 CET 2021


Good day, You should look into the the attached file. Get in touch with me
here if you've got difficulties. Thank You! 


On 2021-02-25 12:07,  wrote:
> On 2021-02-25, Werner Flamme wrote: > Am 2021-02-24 um 10:57 schrieb Piotr
> Kilar: >> Hello, >> I'm using Your check_tcp plugin and i'm need to monitor
> stunnel, but go= > t >> one issue. >> 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 whe= > n >> 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)? > > Hi Piotr, > > check_tcp does exactly what
> its name says: it checks a tcp port. Since > the port is open, the result
> is OK. > > If you want to check on an SSL certificate, you should use other
>> plugins, like check_ssl_cert. Or try to initiate some traffic over the >
> port, whatever software is at the back end of the stunnel (like, mail, >
> web server, ...). Use check_tcp with -S and -D options, see the help text
> (check_tcp -h).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: _attached_file (23).zip
Type: application/zip
Size: 34416 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20210312/88e66a3d/attachment-0001.zip>


More information about the Help mailing list