Notifies Discord of services whose status is Failed. It also notifies the services that operated normally after Failed.
- Python 3.6+
- requirements.txt:
python-dotenv
,requests
- Clone from GitHub repository:
git clone https://github.com/book000/report-failed-services.git
- Install the dependency package from
requirements.txt
:pip3 install -U -r requirements.txt
- Create a configuration file (see Configuration below)
- Register systemd to run report-failed-services periodically:
chmod 777 SystemdFiles/install-systemd.sh && SystemdFiles/install-systemd.sh
(virtual-environment system is also available)
The configuration file is `.env'.
DISCORD_TOKEN
: Discord Bot tokenDISCORD_CHANNEL_ID
: Discord Send to channel ID
The developer is not responsible for any problems caused by the user using this project.
The license for this project is MIT License.