When i use the built in "SNMP Interfaces" to create graphs, it works fine.
However, i like to do a little more with the graphs that i'm creating.
What i've had to do is duplicate a graph and then go in and change each graph item by hand to the proper data source.
Is there a way to change the default "graph" that Cacti uses? It would save me alot of time... sort of like "graph template" where you setup your own template and then choose when you "make all graphs" etc?
How to change the "default" graph
Moderators: Developers, Moderators
Right now there is no official support for a graph templating system. However this is something that I do plan on adding some day.
For now if your up for a little hacking; open up 'cmd_functions.php' and search for 'CreateGraphDataFromSNMPData'. The default parameters for a traffic graph/data source are defined within this function.
-Ian
For now if your up for a little hacking; open up 'cmd_functions.php' and search for 'CreateGraphDataFromSNMPData'. The default parameters for a traffic graph/data source are defined within this function.
-Ian
Who is online
Users browsing this forum: No registered users and 2 guests