- Monitoring state of python processes on various Linux systems
- Monitoring availability of devices with pings
- Monitoring state of FHEM instances
- Detecting all states fast with asynchronous running
- Reading all device data from config.yml
- Ensures that the bot runs permanently
- Clone this Repository
git clone git@github.com:Andre0512/MonitoringBot.git && cd MonitoringBot/
- Create virtual environment (optional)
python3 -m venv venv && soure ./venv/bin/activate
- Install requierd pip packages
pip install -r requirements.txt
- Editing config.yml and add your personal data:
cp config.yml.default config.yml ; nano config.yml
- You can get a token from the Telegram BotFather
- Replace the placeholder with your data
- Running the MonitoringBot
./MonitoringBot.py
- Install crontab for checking the bot running state every minute:
(cat /etc/crontab && echo "* * * * * $USER bash $PWD/startup.sh &") | sudo tee /etc/crontab
This project is under the MIT license. If you can do anything with the project, have fun ;)