How to change the "default" graph

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
ekool
Posts: 7
Joined: Tue Jan 29, 2002 7:00 pm
Contact:

Post by ekool »

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?
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests