Recently I have been using Cacti to graph various things on my home network, like the data throughput on my Cisco switch, the average load on my Raspberry Pi and display this on my internal web server (which is also running on my Raspberry Pi).
This is a little ‘How To’ to get Cacti graphs to display on a web page. It is quite straight forward and will only take a few minutes.
1. Enable Guest user access in Console ⇒ Settings ⇒ Authentication
Guest User : guest
2. Console ⇒ User Management ⇒ Guest
Enabled : On
Realm Permissions : View Graphs = On
3. Embed a graph(s) in remote webpage with the following html code:
• A Graph ID
• B 1 – Daily, 2 – Weekly, 3 – Monthly, 4 – Yearly, 5 – Hourly
• C and D graph width & height (N.B This size is for plot area, not for whole image size)
• E true or blank
Now you will be able to display good looking graphs on your website with Cacti, which is free to use.