This is an old revision of the document!
Using Templates
Using a Host Template
Surely, you want to see this Host Template in action. This was already described in My First Graph, where we took the ucd/net SNMP Host as a Host Template.
So please select a Host, that is already defined to cacti:
and Save. Then scroll down to see the Assoiated Graph Template and the Associated Data Query:
Now select Create Graphs for this Host from the top of the page. You'll be presented with a new page to select the wanted Graphs:
Select our new UDP thingy and some Traffic Graph Template for an interesting interface and Create. The result is displayed with the next page:
You'll have to wait for two polling cycles for data to be filled.
Using Graph Templates
It is possible, only to use the Graph Template created above. It is not necessary to associate a Host Template to get the new UDP stuff. As an example, please select an arbitrary device, that responds to SNMP requests for UDP (see: My first data Template) from the Device list. Scroll down to the Associated Graph Templates section and select the UDP Traffic Graph Template
and Add:
Again, Select Graphs for this Host:
and Create:
Please notice, that not only a creation message appears. The Graph Template just selected is grayed out, the checkbox disappeared. This is to make clear, what Graph Templates already were chosen to prevent unwanted duplication.
Please select Edit this Host again, to see what changed in the Associated Graph Templates section:
The Status of this Graph Template has changed to Is Being Graphed. You may Edit to jump to Graph Management and see your graph: