How to install cacti on raspberry pi
The reason this is a useless graph is it only gives you a representation of the CPU utilization every 5 minutes.and on a machine running cacti.that's its busiest time. Cacti would then average that amount over 300 seconds (5min). So in my case, due to the fact RPi was only polling itself, when that 5 minute mark came the CPU use was very busy processing the php activities, snmp polls of itself etc.Ĭacti would get a CPU use value between 60% - 90% every 5 minutes. So here's the deal with that graph I've been trying to figure out.Ĭacti's poller, by default polls every 5 minutes. How many devices/data points are you looking to monitor? This is why I prefer Cacti to something like raspcontrol (although I will suggest they try and add ability to add a tab for snmp data or integrate cacti as its open source) as it allows you to collect historical and maintain current and historical data which can be very helpful in troubleshooting and trending.
I will also try and push my set up by adding 4 more devices to Cacti for monitoring to see how it performs. Will be sure to post the results/findings. Also going to look into ramfs and other optimization options. (currently between 15-21 % use) I have a second RPi that I am going to install using lighttpd to see if it makes a large difference. Obviously if you add more and more devices you will need to accommodate the growth in the SQL and rrd databases.Īs you can see CPU use is something I am going to investigate and try to optimize. (currently using just a bit more than the image install itself) The storage does not increase as you store more and more historical data as the rrd files that provide the data to be graphed are simply updated with new values. One of the great things about Cacti and rrdtool is that the database and storage is predictable.