check_http Wrong Certificate Date!

Cleuson De Oliveira Alves cleuson_alves at id.uff.br
Mon Aug 20 21:52:15 CEST 2018


Hi,
My command is wrong, but I do not know where.
Can someone give me a hand?

define command{
        command_name    check_http_certificate
        command_line    $USER1$/check_http -ssl -H $HOSTADDRESS$ -C $ARG1$
$ARG2$
        }

Thanks




Grato.
Cleuson de O.Alves - STI - Analista de TI
'if you can't restore it, you don't have a backup'



2018-08-20 15:53 GMT-03:00 Fabio Scarvaglieri | kaikaito IT GmbH <
fs at kaikaito.it>:

> Hello, I am trying to use the check_http Plugin.
>
> https://www.monitoring-plugins.org/doc/man/check_http.html  I’ts a very
> nice PLUGIN.
>
> But I am getting complete wron Certificate dates,, and don’t exact know
> what is going wrong.
>
>
>
> root at monitoring01:/opt/omd/versions/1.5.0p1.cme/lib/nagios/plugins#
> ./check_http -H casting-connect.de -C 30,14
>
> CRITICAL - Certificate 'casting-connect.de' expires in 3 day(s) (Do 23
> Aug 2018 23:59:59 GMT +0000).
>
> This is right, and coorect.
>
>
>
> BUT when I try followign domain:   I get a complete wrong SSL.  Firefox
> and other applications are showing the right certificate EXPIRE date.
>
> But the plugin is getting something WRONG !
>
>
>
> *WRONG: *
>
> root at monitoring01:/opt/omd/versions/1.5.0p1.cme/lib/nagios/plugins#
> ./check_http -H drgerdheine.de -C 30,14
>
> OK - Certificate *'*' will expire on Di 25 Mär 2025* 11:39:42 GMT +0000.
>
>
>
> Hope you can help…
>
> I am getting really confused…
>
>
>
>
>
>
>
> Beste Grüße
> Fabio Scarvaglieri
>
> [image: http://cooperate.kaikaito.com/signatures/kaikaito-it-logo.png]
>
> kaikaito IT GmbH
> Fritz-Huber-Str. 1-3 , 68165 Mannheim
> <https://maps.google.com/?q=Fritz-Huber-Str.+1-3+,+68165+Mannheim&entry=gmail&source=g>
> +49 621-4908490 , 0179-1437108, kaikaito.fsca
> Für Notfälle / 24/7 Support  support at kaikaito.de <support at kaikaito.de%20>,
> www.kaikaito.com
> ------------------------------
>
> *Diese Email könnte geschützte Informationen enthalten. Wenn Sie nicht der
> richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
> informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist
> nicht gestattet. *
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20180820/5c724116/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3352 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20180820/5c724116/attachment.png>


More information about the Help mailing list