Package: nagios-plugins-contrib Version: 4.20120702
In the file /etc/nagios-plugins/config/ssl_cert.cfg the command definition is: /usr/lib/nagios/plugins/check_ssl_cert -H $HOSTADDRESS$ '$ARG1$' The default should probably include all the roots on a Debian system, like this: /usr/lib/nagios/plugins/check_ssl_cert -r /etc/ssl/certs -H $HOSTADDRESS$ '$ARG1$' and it would be nice to add this extra command check too: # 'check_ssl_cert_by_root' command definition # ARG2 may be either a root certificate PEM file or a directory of trusted roots define command{ command_name check_ssl_cert_by_root command_line /usr/lib/nagios/plugins/check_ssl_cert -r $ARG2$ -H $HOSTADDRESS$ '$ARG1$' } Also consider adding a comment at the top of the file: # checks SSL/TLS server is listening and using a valid certificate This will make it more obvious that it checks servers and not just PEM files on the local disk - "check_ssl_cert" is ambiguous -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org