lib/rrd.php question

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

Moderators: Developers, Moderators

Post Reply
Int
Posts: 4
Joined: Wed Feb 16, 2005 1:06 am

lib/rrd.php question

Post by Int »

Could anybody explain?

lib/rrd.php
============================
/* override: graph end time */

if ((!isset($graph_data_array["graph_end"])) || ($graph_data_array["graph_end"] == "0")) {
$graph_end = -($seconds_between_graph_updates);
}else{
$graph_end = $graph_data_array["graph_end"];
}

============================
Why cacti use $seconds_between_graph_updates for "end" parameter of rrdtool graph?

i think it would be better to use "now"
instead of -($seconds_between_graph_updates)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest