monitoring-plugins-2.3.3p0:
$ /usr/local/libexec/nagios/check_smtp -D "20 10" -H 
2001:19f0:6c00:8501:5400:ff:fe04:3f -S
OK - Certificate 'mx.xa23.de' will expire on Sun May  5 21:59:00 2024 +0000.

monitoring-plugins-2.3.5:
$ /usr/local/libexec/nagios/check_smtp -D "20 10" -H 
2001:19f0:6c00:8501:5400:ff:fe04:3f -S
check_smtp: Set either -s/--ssl/--tls or -S/--starttls
Usage:
check_smtp -H host [-p port] [-4|-6] [-e expect] [-C command] [-R response] [-f 
from addr]
[-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout] [-q]
[-F fqdn] [-S] [-L] [-D warn days cert expire[,crit days cert expire]] [-r] 
[--sni] [-v]

I have not found an incantation that makes it go again. '-s' stops
complaining, but it doesn't check certificate validity. In fact I;m not
even sure it checks TLS at all.

-- 
In my defence, I have been left unsupervised.

Reply via email to