2015-02-10 01:18:51 +01:00
|
|
|
nagios/icinga check for XMPP
|
|
|
|
============================
|
|
|
|
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
------
|
|
|
|
|
2015-02-11 00:05:37 +01:00
|
|
|
usage: check_xmpp [-h] -H HOST_ADDRESS [-p PORT] [--s2s | --c2s] [-4 | -6]
|
|
|
|
[--servername SERVERNAME] [--starttls] [-w SECONDS]
|
|
|
|
[-c SECONDS] [--no-check-certificates] [-r CAROOTS]
|
|
|
|
[--warn-days WARNDAYS] [--crit-days CRITDAYS] [-v]
|
2015-02-10 01:18:51 +01:00
|
|
|
|
|
|
|
Check XMPP services
|
|
|
|
|
|
|
|
optional arguments:
|
|
|
|
-h, --help show this help message and exit
|
|
|
|
-H HOST_ADDRESS, --host-address HOST_ADDRESS
|
|
|
|
host address
|
|
|
|
-p PORT, --port PORT port
|
2015-02-11 00:05:37 +01:00
|
|
|
--s2s server to server (s2s)
|
|
|
|
--c2s client to server (c2s)
|
2015-02-10 01:18:51 +01:00
|
|
|
-4, --ipv4 enforce IPv4
|
|
|
|
-6, --ipv6 enforce IPv6
|
|
|
|
--servername SERVERNAME
|
|
|
|
server name to be used
|
|
|
|
--starttls check whether the service allows starttls
|
2015-02-11 00:05:37 +01:00
|
|
|
-w SECONDS, --warning SECONDS
|
|
|
|
return warning if connection setup takes longer than
|
|
|
|
SECONDS
|
|
|
|
-c SECONDS, --critical SECONDS
|
|
|
|
return critical if connection setup takes longer than
|
|
|
|
SECONDS
|
|
|
|
--no-check-certificates
|
|
|
|
do not check whether the XMPP server's certificate is
|
|
|
|
valid
|
|
|
|
-r CAROOTS, --ca-roots CAROOTS
|
|
|
|
path to a file or directory where CA certifcates can
|
|
|
|
be found
|
|
|
|
--warn-days WARNDAYS set state to WARN if the certificate is valid for not
|
|
|
|
more than the given number of days
|
|
|
|
--crit-days CRITDAYS set state to CRITICAL if the certificate is valid for
|
|
|
|
not more than the given number of days
|
|
|
|
-v, --verbose
|