Skip to content

About

allows notification of a failed systemd-unit through telegram

Topics

Resources

Stars

17 stars

Watchers

2 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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

Stars

17 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages