News for hackers. Stuff that matters.
Re:μMon: Stupid simple monitoring by roger_ on Sunday September 24, 2023 @07:04PM (#37638031)
I was recently looking for an ultra minimal monitoring solution for OpenWrt and other lightweight systems (Pi’s, etc.) and was disappointed not to find one that met my needs (negligible CPU, disk space and RAM).

I ended up hacking together a shell script to send data to Home Assistant (via MQTT) which runs on pretty much any system that has at least netcat: https://github.com/roger-/hass-sysmon

Re:μMon: Stupid simple monitoring by synergy20 on Sunday September 24, 2023 @08:36PM (#37638488)
why not use https://collectd.org/ which is in C and used by openwrt's luci already along with rrdtool, small in size, low on resource, and has so many plugins already?
Re:μMon: Stupid simple monitoring by roger_ on Monday September 25, 2023 @06:57AM (#37641841)
I wanted something that would run anywhere with no dependencies. This might work on OpenWrt, but would be trickier to setup on Debian.
Re:μMon: Stupid simple monitoring by synergy20 on Monday September 25, 2023 @11:13AM (#37645177)
you can compile with specific plugins and features you need with ./configure and that cuts out most of the dependencies.
Re:μMon: Stupid simple monitoring by roger_ on Monday September 25, 2023 @02:46PM (#37648660)
collectd + minimal plugins would still be 100+ kB installed on OpenWrt. Plus I'd have to write a solution to get the data into Home Assistant.
Re:μMon: Stupid simple monitoring by protoplancton on Monday September 25, 2023 @06:29AM (#37641625)
Did you have a look at https://www.monitorix.org/ ? I'm not sure if it works on OpenWRT, but otherwise checks all the boxes.
Re:μMon: Stupid simple monitoring by roger_ on Monday September 25, 2023 @06:55AM (#37641832)
It requires Perl, which ruled out OpenWrt devices with ~10 Kb of space.
Re:μMon: Stupid simple monitoring by valyala on Tuesday September 26, 2023 @04:26AM (#37656150)
Did you try VictoriaMetrics [1] and vmagent [2]? It is a single self-contained binary without external dependencies. It requires relatively low amounts of CPU, RAM, disk space and disk IO, and it runs on ARM.

[1] https://github.com/VictoriaMetrics/VictoriaMetrics/

[2] https://docs.victoriametrics.com/vmagent.html