fails to check #3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
root@icinga:~# /usr/lib/nagios/plugins/check_xmppng -H mauer --c2s -4 --starttls -v
XMPP CRITICAL - request took unknownNone (XMPP stream error: <main.XmppStreamError object at 0x7f6564a6e6a0>)
critical: request took unknownNone (XMPP stream error: <main.XmppStreamError object at 0x7f6564a6e6a0>)
| time=unknown
The certificate of 'mauer' is still valid, it is from let'sencrypt
Hello @folkertvanheusden, thanks for reporting.
I have servers with letsencrypt certificates that work just fine:
Which version of check_xmppng did you use?
Could you please check whether
openssl s_client -connect mauer:5222 -starttls xmpp
works on the same system where you run check_xmppng?
Hi,
I'm using version 0.3.2-3 which is in Debian.
Testing it against your server indeed works fine:
root@icinga:~# /usr/lib/nagios/plugins/check_xmppng -H jabber.gnuviech-server.de --c2s -4 --starttls -v
XMPP OK - request took 0.517951s, certificate valid for 38 days
| daysvalid=38 time=0.517951s;;;0
openssl says:
root@icinga:~# openssl s_client -connect mauer:5222 -starttls xmpp
CONNECTED(00000003)
no peer certificate available
No client certificate CA names sent
SSL handshake has read 382 bytes and written 110 bytes
Verification: OK
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
'mauer' is running prosody 0.11.13-1
Hi,
Found it. I did something really stupid: "mauer" is an internal name, "keetweej.vanheusden.com" is the real hostname that prosody listens on.
So:
root@icinga:~# /usr/lib/nagios/plugins/check_xmppng -H keetweej.vanheusden.com --c2s -4 --starttls -v
XMPP OK - request took 0.348167s, certificate valid for 2 days
| daysvalid=2 time=0.348167s;;;0
Now it works.
Sorry for the inconvenience!