Skip to content

Small MQTT client, which sends/receives MQTT messages about available APT updates and notifies a Telgram account.

Notifications You must be signed in to change notification settings

mzurhorst/apt-mqtt-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apt-mqtt-status

Small MQTT client, which sends/receives MQTT messages about available APT updates and notifies a Telgram account.

Introduction

apt-mqtt-status can run in client or server mode.

Client mode

apt-mqtt-status will be executed periodically (e.g. via a Cronjob), update apt repositories (apt update) and creates a summary upgradable packages (apt list --upgradable). This summary will be sumitted to the server by publishing to an MQTT topic.

The following information will be published:

  • hostname
  • IPv4 address
  • total number of upgradable packages
  • restart hint

Example messages:

Client_1 (192.168.47.11) - no updates available.

Client_1 (192.168.47.11) - 57 updated packages awaiting installation.

Client_1 (192.168.47.11) - 57 updated packages awaiting installation. Restart may be required!

Server mode

apt-mqtt-status will run as a permanently (e.g. as a systemd service) and subscripe to an MQTT topic. Those messages from (multiple) clients will be forwarded to an Telegram account.

Compatability

Developed and tested on Debian 11 ("Bullseye").

Todo-List

  • Setup Wizzard
  • Identfy critical updates which require a reboot

About

Small MQTT client, which sends/receives MQTT messages about available APT updates and notifies a Telgram account.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages