i do not want the daily graph..

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

Moderators: Developers, Moderators

Post Reply
underscore
Posts: 1
Joined: Wed Oct 22, 2003 2:37 am

i do not want the daily graph..

Post by underscore »

Is it possible to display for a graph only the weekly, monthly and yearly section but not the daily one?

_
User avatar
NetVicious
Posts: 49
Joined: Mon Oct 13, 2003 1:14 pm
Location: Spain

Post by NetVicious »

Yo need to assing to the Data Template the RRA's you want.

In your case Weekly, Monthly and Yearly.

On the Graph Tree you should add the graph individually.

But there is a little bug/problem on cacti for this. It displays always the daily graph on the first page of the Tree View
.. //\/ e t . \/ i c i o u s ..
Guest

Post by Guest »

ok, i was using a wrong data template (one with also daily rra :-)
what do you mean by first page of the graph tree ?
I've got to simply add a new graph tree, right?

thx

_
User avatar
NetVicious
Posts: 49
Joined: Mon Oct 13, 2003 1:14 pm
Location: Spain

Post by NetVicious »

I refer to the page you could see when you click on GRAPHS top left image.

I have added manually every graph on the Graph Trees. Here you can select what type of rra do you want to use to show the graph.

I have selected in some graphs the weekly rra, but cacti shows daily rra.



Yeah!

I patched it ;-)

Line 401 on includes/tree_view_functions.php

After:

Code: Select all

print "<td align='center'><a href='graph.php?local_graph_id=" . $leaf["local_graph_id"] . "&rra_id=all&type=tree'><img src='graph_image.php?local_graph_id=" . $leaf["local_graph_id"] . "&rra_id=" . read_graph_config_option("default_rra_id") . "' border='0' alt='" . $leaf["graph_title"] . "'></a></td>";
Before:

Code: Select all

print "<td align='center'><a href='graph.php?local_graph_id=" . $leaf["local_graph_id"] . "&rra_id=all&type=tree'><img src='graph_image.php?local_graph_id=" . $leaf["local_graph_id"] . "&rra_id=" . $leaf["rra_id"] . "' border='0' alt='" . $leaf["graph_title"] . "'></a></td>";
I don't know If I have destroyed some capacitiy, but now works for me

Waiting for RaX aproval/checking! ;-)
.. //\/ e t . \/ i c i o u s ..
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests