Pingable http endpoint for monitoring server uptime
Go to file
DrMaxNix cdc69b4cab Merge pull request 'v3.2.0' (#3) from dev into main
Reviewed-on: #3
2023-05-04 18:50:06 +02:00
.editorconfig 🔧 add editorconfig 2023-04-07 14:05:19 +02:00
LICENSE 📄 fill out license 2023-04-07 14:05:54 +02:00
README.md 📝 update install guide to include aiohttp dependency 2023-05-04 18:46:47 +02:00
srvid-beacon.service systemd service 2023-04-07 14:21:30 +02:00
srvid-beacond 🏗️ switch to aiohttp webserver 2023-05-04 18:42:42 +02:00

README.md

SrvID-Beacon

Pingable http endpoint for monitoring server uptime

Setup Instructions

Install python3:

# apt update
# apt install python3 python3-pip
# pip3 install aiohttp

Clone git repository:

# cd /opt
# git clone https://git.tjdev.de/tjdev/srvid-beacon
# cd srvid-beacon

Create srvid-beacon user:

# useradd -s /bin/bash srvid-beacon

Set permissions on daemon file:

# chown :srvid-beacon srvid-beacond
# chmod 654 srvid-beacond

Install as systemd service:

# ln -s /opt/srvid-beacon/srvid-beacon.service /etc/systemd/system/srvid-beacon.service
# systemctl daemon-reload
# systemctl enable srvid-beacon.service
# systemctl start srvid-beacon.service
# systemctl status srvid-beacon.service