A Rec0-bot plugin which monitor specified servers. If one or more servers are down, this plugin reports that to configured slack channel, or webhook url. Also when downed server is backed online, this plugin reports it.
Currently, only tcp is supported.
Run npm i && npm run build
to build.
If you want to clean up built files, run npm run clean
.
REC0_ENV_ALIVE_MONITORING_NOTIFY_CHANNEL
: A channel name which rec0bot posts report to.REC0_ENV_ALIVE_MONITORING_TARGETS
: Monitoring targets with comma-separated. Please specify as like :host1:port1,host2:port2
REC0_ENV_ALIVE_MONITORING_NOTIFY_WHOOK_URL
: (Optional) Webhook url you want to notify events to.REC0_ENV_ALIVE_MONITORING_NOTIFY_WHOOK_TEMPLATE
: (Optional) JSON Template Text. '[*MESSAGE*]' is replaced with notification message.
clvs7 (Arisaka Mayuki)
Apache License 2.0