Skip to content

openbitlab/srvbeat

Repository files navigation

srvbeat

CI Status License: MIT

Install

curl -s https://raw.githubusercontent.com/openbitlab/srvbeat/master/install.sh | bash -s -- -t <tg_chat_id> <tg_token> -n <name> <optional_flags>

Use -k to keep current configuration.

Configure call via twilio

Edit /etc/srvbeat.conf and fill the following fields:

[twilio]
accountSid =
authToken = 
from = 
to = 

and turn callEnabled to true.

Srvbeat will perform a voice call to [to] after [callAfter] minutes of downtime.

Install on clients

apt -qq update
apt -qq install git python3-pip -y
pip3 $verbosity install git+https://github.com/openbitlab/srvbeat.git@master#egg=srvbeat --exists-action w --ignore-installed 

And put this line on /etc/crontab:

* * * * * /usr/bin/srvbeat-client name host port >/dev/null 2>&1

About

Heartbeat tool for your servers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published