Xymon client written in NodeJS.
A drop in replacement for the original Xymon client (cli) with some added features.
Clone repo
npm i -g .
xymon ping
xymon --help
cp .env.example .env
and change .env
if your Xymon daemon is running somewhere other than localhost:1984
.
docker build -t xymon .
docker run --rm xymon host.docker.internal ping
Replace host.docker.internal
with the address of your Xymon server/daemon (Xymond).
- Installable anywhere Node.js or Docker resides
- Support for ENV variables (XYMONDHOST, XYMONDPORT)
- JSON output support
--proxy
arg does nothing (only there for backward compatibility)- URL not supported
- 0.0.0.0 RECIPIENT not supported
In order for drop
and rename
commands to work the server needs to be configured to allow the sending IP.
See the --admin-senders=
configuration within the Xymond documentaton for additional information.
Usage: xymon [--debug] [--merge] [--proxy=http://ip.of.the.proxy:port/] [RECIPIENT] "DATA"
RECIPIENT: IP-address, hostname or URL (default: localhost)
DATA: Message to send, or "-" to read from stdin