Sign inSign up

ttobias/logfile-notifications

By ttobias

Updated almost 2 years ago

Logfile notifications docker container

Image
1

492

ttobias/logfile-notifications repository overview

Logfile Notifications

Dependency Status

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

Tag summary

Content type

Image

Digest

sha256:5a717fa0d

Size

7.7 MB

Last updated

almost 2 years ago

docker pull ttobias/logfile-notifications:latest-amd64