go-xmpp/cmd/xmpp-check
2019-06-19 11:43:16 +02:00
..
doc.go Add initial doc for xmpp-check 2019-06-18 17:01:26 +02:00
README.md Fix installation note 2019-06-19 11:43:16 +02:00
TODO.md Add tool to check XMPP certificate on starttls 2019-05-16 17:48:53 +02:00
xmpp-check.go With go modules, we should be able to remove import comments 2019-06-18 16:28:30 +02:00

XMPP Check

XMPP check is a tool to check TLS certificate on a remote server.

Installation

To install xmpp-check in your Go path:

$ go get -u gosrc.io/xmpp/cmd/xmpp-check

Usage

If you server is on standard port and XMPP domains matches the hostname you can simply use:

$ xmpp-check myhost.net
2019/05/16 16:04:36 All checks passed

You can also pass the port and the XMPP domain if different from the server hostname:

$ xmpp-check myhost.net:5222 xmppdomain.net
2019/05/16 16:05:21 All checks passed

Error code will be non-zero in case of error. You can thus use it directly with your usual monitoring scripts.