CreatingGraphs
How to create new templates or graph
Introduction
This
document explains how to create Cacti templates simply and reliably.
For this example, we’ll assume you are going to add a new set of graphs
into the ss_get_by_ssh.php file. This means you’re going to write a
command to SSH to a server and collect some data, parsing code to turn
that into a list of named values to graph, and graphs to display the
result.This example will show a fairly complex set of graphs.
If you understand the example, you should be ready to create quite
complex graphs yourself. We’re going to collect data from
/proc/diskstats on Linux and graph it.