Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.05 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.05 KB

Logfile Notifications

Features

  • 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

Supported notification services

Install

  1. Requires python3

  2. Create and use virtual environment (optional): virtualenv venv; source venv/bin/activate

  3. Install requirements: pip install -r requirements.txt

  4. Copy sample config cp sample-config.yaml config.yaml

  5. Modify the config file to your needs

  6. Run

    • python notifications.py config.yaml Or with virtual environment
    • venv/bin/python notifications.py config.yaml

Using the docker image

  1. Pull the image from dockerhub