Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



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?


I wanted something that would run anywhere with no dependencies. This might work on OpenWrt, but would be trickier to setup on Debian.


you can compile with specific plugins and features you need with ./configure and that cuts out most of the dependencies.


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.


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


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.


It requires Perl, which ruled out OpenWrt devices with ~10 Kb of space.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: