Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.
/ monitoring Public archive

Some monitoring scripts which send their data over MQTT

License

Notifications You must be signed in to change notification settings

limolitz/monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monitoring Scripts

My monitoring scripts.

Each folder consists of a script which logs its data to a MQTT script you can find here. Whatever you do when the data is written to your MQTT broker is up to you, I store it in an InfluxDB and visualize it in Grafana.

Currently working scripts:

  • Logging of traffic (Linux and MacOs only)
  • Logging of RAM usage (Linux and MacOS only)
  • Logging of CPU usage (Linux and MacOS only)
  • Logging of eMail traffic over IMAP

Systemd timers

Some of the scripts should be run via a classical cronjob, some rather with a systemd timer. To set this up, copy the .service and .timer files to ~/.config/systemd/user, adjust the paths inside them and run systemctl enable --user --now UNIT.timer.

About

Some monitoring scripts which send their data over MQTT

Resources

License

Stars

Watchers

Forks