Monny-Docker: monitoring Docker container statuses with Telegram notifications

Hi everyone! Monny-Docker is my mini-service for monitoring the status of Docker containers, which sends notifications to Telegram. I liked the idea of sending status updates to Telegram, and after one situation when a container unexpectedly failed to start, I created this implementation of the service for myself.

Project repository: https://github.com/DigneZzZ/monny-docker/

Setup on installation

During installation you will need to enter TelegramBotID and ChatID. ChatID is the place where the bot will write messages. In my case this is a separate channel (only for me), where my bots sit and send notifications when needed.

The service will automatically install all necessary dependencies for the Python script to run.

Management commands

  • monny help → view the list of available commands;
  • monny uninstall → remove the service from the system;
  • monny stop → stop the service (if it starts spamming you too much, for example during a long restart);
  • monny start → start the service.

Basically, that’s the main functionality for now :slightly_smiling_face:

If you liked it and would also like to see the ability to choose containers for monitoring — write, I’ll try to implement it.

Installation

bash <(curl -L -s https://raw.githubusercontent.com/DigneZzZ/monny-docker/main/setup_monny.sh)

The article was first published on 2024-06-20 on openode.xyz; moved and updated on 2026-08-04.