Skip to content

Ping to see if services are up, and send results to Telegram and/or Discord.

License

Notifications You must be signed in to change notification settings

Remls/ServiceChecker

Repository files navigation

Service Checker

Ping to see if services are up, and send results to Telegram and/or Discord.

Setup

  • Needs Python 3
  • Install requirements: pip install -r requirements.txt
  • Copy config.template.py to config.py, and fill in environment variables + list of services
  • Set up cron:
crontab -e
| */n * * * * cd /your/folder/location && python3 ping.py
# (where n is the minute interval you wish to ping with)
  • Start cron:
service cron start
# or
service cron restart

Pruning

python3 ping.py --prune

This will delete all logs older than 24 hours.

Start from scratch

python3 ping.py --clean

This will delete all logs and any stored data, and then start pinging again.

About

Ping to see if services are up, and send results to Telegram and/or Discord.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages