initial xmpp checking code

- take care of argument parsing, measure time for socket connection
- initial README
This commit is contained in:
Jan Dittberner 2015-02-10 01:18:51 +01:00
commit 48e0593246
3 changed files with 152 additions and 0 deletions

24
README Normal file
View file

@ -0,0 +1,24 @@
nagios/icinga check for XMPP
============================
Usage:
------
usage: check_xmpp [-h] -H HOST_ADDRESS [-p PORT] [-s | -c] [-4 | -6]
[--servername SERVERNAME] [--starttls]
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
-s, --s2s server to server (s2s)
-c, --c2s client to server (c2s)
-4, --ipv4 enforce IPv4
-6, --ipv6 enforce IPv6
--servername SERVERNAME
server name to be used
--starttls check whether the service allows starttls