- Supports multiple log files
- Trigger lines in logfiles based on regex
- Service can be controlled interactively through the Telegram bot
- Disable notifications for certain time
- Administrator users can change the config through the Telegram bot
-
Requires python3
-
Create and use virtual environment (optional):
virtualenv venv; source venv/bin/activate
-
Install requirements:
pip install -r requirements.txt
-
Copy sample config
cp sample-config.yaml config.yaml
-
Modify the config file to your needs
-
Run
python notifications.py config.yaml
Or with virtual environmentvenv/bin/python notifications.py config.yaml
- Pull the image from dockerhub
-
docker pull ttobias/logfile-notifications
-