MQTT_will
Use MQTT last will and testament to monitor host up. (by HankB)
Fun_with_MQTT
explore MQTT last will and testament (by HankB)
MQTT_will | Fun_with_MQTT | |
---|---|---|
3 | 1 | |
0 | 0 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 2 years ago | |
C | Shell | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MQTT_will
Posts with mentions or reviews of MQTT_will.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-16.
-
How to monitor a 100s of Pis?
Before that, I wrote an MQTT publisher that used the last will and testament to provide the sort of information you seek. https://github.com/HankB/MQTT_will/tree/main/C
-
Very lightweight monitoring of various Ubuntu/Debian Servers?
Have you looked at MQTT last will and testament? https://github.com/HankB/MQTT_will is more along the lines of a DIY solution but is already programmed and has hooks for sending additional information if that's helpful. The bash version did not work well and the C++ version suffers from a bug in the MQTT library but the C variant is "just right."
-
shunit2 test for this function?
The project is at https://github.com/HankB/MQTT_will/tree/testing
Fun_with_MQTT
Posts with mentions or reviews of Fun_with_MQTT.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-03.
-
shunit2 test for this function?
The infinite loop for sleep is the tricky bit. The purpose of this exercise is that mosquitto_pub should connect to the broker, send the startup message with last will and testament and then occasionally (optionally) send an update. If the connection from mosquitto_pub goes away w/out a clean shutdown of the connection, the broker will send the last will and testament message. I proved that this works in general with this exploration https://github.com/HankB/Fun_with_MQTT and now I want to expand on that to "home lab quality."
What are some alternatives?
When comparing MQTT_will and Fun_with_MQTT you can also consider the following projects:
Checkmk-SMART-plugin-4-FreeBSD - SMART plugin to format `smartctl` output suitable for Checkmk agent on FreeBSD
checkmk - Checkmk - Best-in-class infrastructure & application monitoring
minmon - MinMon - an opinionated minimal monitoring and alarming tool