On Tue, Mar 24, 2020 at 07:05 Daniel Johansson via observium <observium@observium.org> wrote:
Hi

I tried the http-check probe with ssl-test and I wonder if it's possible to change the hostname/webserver name it should probe for on the same host so I can verify other certs in the same server.

I tried adding -H www.webhost.com but it doesn't seem to user that value.

Do you have /etc/hosts entries overriding your DNS so the connections all go to 127.0.0.1? Only thing I can think of.



Regards
Daniel


From: "observium" <observium@observium.org>
To: "observium" <observium@observium.org>, "observium" <observium@observium.org>
Cc: "Mike Stupalov" <mike@observium.org>
Sent: Tuesday, March 24, 2020 1:13:08 PM
Subject: Re: [Observium] - Possibility of https certificate validity alert?

Hi,

 use probes (currently in Pro only) :)



edit:


options:
/usr/lib/nagios/plugins/check_http -h

you need to install:
sudo apt install nagios-plugins

David Schrok via observium wrote on 24.03.2020 14:19:
Hello everyone,

Was wondering if it possible for Observium to create an alert for https certificate validity check?
Anyone managed to do this or is it not possible?

In an ideal case I want an alert 90 days before the certificate expires.

With kind regards

David S.


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

--
Mike Stupalov
Observium Limited, http://observium.org


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
--

"Genius might be described as a supreme capacity for getting its possessors
into trouble of all kinds."
-- Samuel Butler