You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-xmpp/cmd/xmpp-check
Mickael Remond 4d015e5b29
With go modules, we should be able to remove import comments
5 years ago
..
README.md Update README.md 5 years ago
TODO.md Add tool to check XMPP certificate on starttls 5 years ago
xmpp-check.go With go modules, we should be able to remove import comments 5 years ago

README.md

XMPP Check

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

Installation

$ 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.