Suggestion to change Graph's name

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

Moderators: Developers, Moderators

Post Reply
gilson
Posts: 27
Joined: Wed Jan 23, 2002 7:00 pm
Contact:

Post by gilson »

Registering 60 WAN links forced me to make a usefull change.

The graph's name is generated using "Traffic analysis for" + interface name.

This carries a problem: my 60 WAN links has the same interface names: Serial/0 or eth1 or etc.

BUT the Data Source's name is generated using a value INPUTED by the user. Which usually is a meaningfull name: 3 letters for location, hostname, speed, etc, limited to 15 chars.

In my opinion, this is the best name to be used for the graph (Ex: link_t1_net, att_mia_nyc, etc).

In /var/www/html/cacti/include/cmd_functions.php, change:
$graph_title = "Traffic Analysis for $snmp_interface_description";
to:
$graph_title = "Traffic Analysis for $data_source_name";

Comments ?

Gilson Soares
Sao Paulo, SP
BRAZIL
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Thanks for the suggestion. A few people have already suggested this so far, so in the next version the graph title is completly customizable. I expect the 0.6.4 tonight if all goes well.

-Ian
Guest

Post by Guest »

I've also seen that some interfaces from the SNMP query return a '/' in them, which casuses Cacti to think there is another directory involved. I had to go back and hand edit each one and take out the '/'.

I'll end up having about 500 graphs that cacti will be taking care of.

Thanks
will
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests