From b059f1cc3c2a8ad6e5a0904cb67676c3c2e243ea Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 10 Dec 2019 14:06:09 +1000 Subject: Tweak the time spans. --- conf/config.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/conf/config.php b/conf/config.php index 5a67007..b6e8bf1 100644 --- a/conf/config.php +++ b/conf/config.php @@ -44,7 +44,7 @@ $CONFIG['allowed'] = array(); #$CONFIG['overview_filter']['interface'] = array('ti' => 'eth0', 't' => 'if_octets'); # default plugins time range -$CONFIG['time_range']['default'] = 86400; +$CONFIG['time_range']['default'] = 86400 * 7; $CONFIG['time_range']['uptime'] = 31536000; # show load averages and used memory on overview page @@ -53,13 +53,15 @@ $CONFIG['showmem'] = false; $CONFIG['showtime'] = false; $CONFIG['term'] = array( - '2hour' => 3600 * 2, - '8hour' => 3600 * 8, - 'day' => 86400, - 'week' => 86400 * 7, - 'month' => 86400 * 31, - 'quarter'=> 86400 * 31 * 3, - 'year' => 86400 * 365, + '2hour' => 3600 * 2, + '8hour' => 3600 * 8, + 'day' => 86400, + 'week' => 86400 * 7, + 'fortnight' => 86400 * 7 * 2, + 'month' => 86400 * 31, + 'quarter' => 86400 * 31 * 3, + 'year' => 86400 * 365, + '2year' => 86400 * 365 * 2, ); # show graphs in bits or bytes -- cgit v1.1