system monitor and push to mqtt.
requirements:
- os linux
- lm_sensors (opzional)
Usage:
copy this script and put it on crontab
*/1 * * * * bash ~/health.sh
or curl
*/1 * * * * curl -sSfL https://raw.githubusercontent.com/william89731/health2mqtt/main/health.sh | bash
compose file, enjoy :)
here manifest k8s. for 3 machine (bareMetal). one isnstance per node
use topics and payloads mqtt for any situations (beatiful dashboard grafana,telegram...)