check_http certificate expiration
Thomas Groman <[email protected]> Wed, 30 Oct 2019 10:38:05 -0700
| Newsgroups | gmane.network.nagios.devel |
|---|---|
| Message-ID | <20191030103805.4e4d53e8__35707.5178808131$1572603315$gmane$org@lappy> |
Hello, Is there a reason why when you activate the -C parameter in check_http it no longer displays any timing or telemetry information, ans just shows the certificate's expire date alone? Is this a bug or the way the software is supposed to work. $ /usr/lib/nagios/plugins/check_http -S -H example.com HTTP OK: HTTP/1.1 200 OK - 1618 bytes in 0.148 second response time |time=0.147954s;;;0.000000;10.000000 size=1618B;;;0 Normally you'd get that pipe symbol and then telemetry data you can programaticly parse. not with -C $ /usr/lib/nagios/plugins/check_http -S -H example.com -C 14 OK - Certificate 'www.example.org' will expire on Wed 02 Dec 2020 12:00:00 PM GMT +0000. I expect the output to look like this: $ /usr/lib/nagios/plugins/check_http -S -H example.com -C 14 HTTP OK: HTTP/1.1 200 OK - Certificate 'www.example.org' will expire on Wed 02 Dec 2020 12:00:00 PM GMT +0000.|time=0.147954s;;;0.000000;10.000000 size=1618B;;;0