Cacti on a Raspberry Pi (and a Synology NAS)


Nothing’s as great to look at as traffic stats of your home network.

Well, not really, but still here’s the gist of how you can take a Raspberry Pi, hook it up to your network, and set up cacti on it to monitor your devices. I’ll even throw in some SNMP goodness for Synology DiskStations in the next post.

Actually, most of this post is a shameless copy from n00badmin (http://n00blab.com/cacti-pi/), with the SQL part moved from the Raspberry Pi to my Synology NAS, but more on that below. Make sure to visit his site on more Pi/cacti optimization goodness.

For those of you not in the know, cacti is a web front-end to rrdtool, which you can use to track any time-series data (network traffic, disk usage, CPU load, but also outside temperature, your power meter readings, or even stock market data) and draw pretty graphs like the one shown above. Further, a Raspberry Pi is a small form-factor computer designed by the Raspberry Pi foundation, mainly intended for educational use, but more than capable enough for running a webserver (provided you don’t want to serve too large an audience) or cacti, for that matter.

[

← Before After →