20 lines
1.4 KiB
Diff
20 lines
1.4 KiB
Diff
diff -ru munin-2.0.9.orig/master/lib/Munin/Master/HTMLConfig.pm munin-2.0.9/master/lib/Munin/Master/HTMLConfig.pm
|
|
--- munin-2.0.9.orig/master/lib/Munin/Master/HTMLConfig.pm 2012-12-05 13:19:35.000000000 -0600
|
|
+++ munin-2.0.9/master/lib/Munin/Master/HTMLConfig.pm 2012-12-20 21:37:22.364028610 -0600
|
|
@@ -499,11 +499,11 @@
|
|
my $start_year = $epoch_now - (3600 * 24 * 400);
|
|
my $size_x = 800;
|
|
my $size_y = 400;
|
|
- my $common_url = "$root_path/static/dynazoom.html?cgiurl_graph=$config->{'cgiurl_graph'}&plugin_name=$path&size_x=$size_x&size_y=$size_y";
|
|
- $srv{zoomday} = "$common_url&start_epoch=$start_day&stop_epoch=$epoch_now";
|
|
- $srv{zoomweek} = "$common_url&start_epoch=$start_week&stop_epoch=$epoch_now";
|
|
- $srv{zoommonth} = "$common_url&start_epoch=$start_month&stop_epoch=$epoch_now";
|
|
- $srv{zoomyear} = "$common_url&start_epoch=$start_year&stop_epoch=$epoch_now";
|
|
+ my $common_url = "$root_path/static/dynazoom.html?cgiurl_graph=$config->{'cgiurl_graph'}&plugin_name=$path&size_x=$size_x&size_y=$size_y";
|
|
+ $srv{zoomday} = "$common_url&start_epoch=$start_day&stop_epoch=$epoch_now";
|
|
+ $srv{zoomweek} = "$common_url&start_epoch=$start_week&stop_epoch=$epoch_now";
|
|
+ $srv{zoommonth} = "$common_url&start_epoch=$start_month&stop_epoch=$epoch_now";
|
|
+ $srv{zoomyear} = "$common_url&start_epoch=$start_year&stop_epoch=$epoch_now";
|
|
}
|
|
|
|
for my $scale (@times) {
|