Skip to content

allows notification of a failed systemd-unit through telegram

License

Notifications You must be signed in to change notification settings

CurrySoftware/Telegram-Notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Telegram-Notifier

This repository contains three scripts and one systemd-unit file that allow notification of a failed systemd unit via Telegram.

Get your own telegram-bot and chat-id and replace the placeholders in etc/telegram/key.sh then you will be able to:

  1. telegram "message" in any shell script: Your bot will send you "message"
  2. unit-status-telegram systemd-unit-name in any shell script: Your bot will send you the status message of systemd-unit
  3. Place OnFailure=unit-status-telegram@%n.service in the Unit section if any systemd-unit and be notified on its failure in telegram

About

allows notification of a failed systemd-unit through telegram

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages