check_http and Hetzner DNS
Claudio Kuenzler
ck at claudiokuenzler.com
Mon Sep 30 17:48:09 CEST 2024
On Mon, Sep 30, 2024 at 2:51 PM Marc Haber <
mh+help-monitoring-lists at zugschlus.de> wrote:
> On Mon, Sep 30, 2024 at 12:29:08PM +0200, Dominik Robert wrote:
> > I want to try the check_http plugin and everything works fine with this
> command: /usr/lib/nagios/plugins/check_http -w 5 -c 10 -H
> podologie-feiner-fuss.de -f follow —sni
> >
> > I have problems with URLs which DNS is located at hetzner. For Example:
> /usr/lib/nagios/plugins/check_http -w 5 -c 10 -H it-knowledgebase.net -f
> follow —sni this does not work. Is there anything I can do? The
> architecture is the same except the first one is located at 1&1 and the
> other one is from hetzner.
>
As Marc already mentioned, the --sni parameter is used in combination with
-S (ssl) and you've not used -S in your command. Append it and it will work
(at least it does here):
ckadm at mintp ~ $ /usr/lib/nagios/plugins/check_http -H it-knowledgebase.net
-f follow -S --sni
HTTP OK: HTTP/1.1 200 OK - 55310 bytes in 0.390 second response time
|time=0.390464s;;;0.000000;10.000000 size=55310B;;;0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20240930/498cb26c/attachment.html>
More information about the Help
mailing list