Hi,
I am trying to create a template of a graph of specific SNMP OID.
I managed to make this work by creating a Graph Template AND a Data Template,
then, for a new host, I need to apply the graph template, then the data template, then assign the data template as an item in the graph template.
Is there a quicker solution ?
Thanks !
A graph template that contains a data source template ?
Moderators: Developers, Moderators
-
- Posts: 24
- Joined: Thu Dec 11, 2008 10:42 am
There is an easier solution. You are on the right track, though.
The way I do it is when I run across a graph that I need that isn't already built in to Cacti, I first figure out what the OID for the SNMP object that I am wanting to graph is. Then, I create a data template based on that OID string. After creating the data template, I then create a graph template, using the new data template as the data source(s). Then when you want to create a graph for a device, you just select the graph template from the drop-down and fill in any information that your graph template requires (depending on how you set it up).
That's it!
If you need more specific help, let me know. I have several examples of what you are wanting to do.
The way I do it is when I run across a graph that I need that isn't already built in to Cacti, I first figure out what the OID for the SNMP object that I am wanting to graph is. Then, I create a data template based on that OID string. After creating the data template, I then create a graph template, using the new data template as the data source(s). Then when you want to create a graph for a device, you just select the graph template from the drop-down and fill in any information that your graph template requires (depending on how you set it up).
That's it!
If you need more specific help, let me know. I have several examples of what you are wanting to do.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: A graph template that contains a data source template ?
The recommended way of doing things along with some basic working principles is published at the 1st link of my sig.plotting4fun wrote:Hi,
I am trying to create a template of a graph of specific SNMP OID.
I managed to make this work by creating a Graph Template AND a Data Template,
then, for a new host, I need to apply the graph template, then the data template, then assign the data template as an item in the graph template.
Is there a quicker solution ?
Thanks !
Reinhard
Who is online
Users browsing this forum: No registered users and 2 guests