diff options
author | onefang | 2019-12-10 14:06:09 +1000 |
---|---|---|
committer | onefang | 2019-12-10 14:06:09 +1000 |
commit | b059f1cc3c2a8ad6e5a0904cb67676c3c2e243ea (patch) | |
tree | eb4f51ca04b3ce2d419ac71863c00ab47720dfe7 | |
parent | New config for "allowed" graphs, so people can hide some of them. (diff) | |
download | apt-panopticon_cgp-b059f1cc3c2a8ad6e5a0904cb67676c3c2e243ea.zip apt-panopticon_cgp-b059f1cc3c2a8ad6e5a0904cb67676c3c2e243ea.tar.gz apt-panopticon_cgp-b059f1cc3c2a8ad6e5a0904cb67676c3c2e243ea.tar.bz2 apt-panopticon_cgp-b059f1cc3c2a8ad6e5a0904cb67676c3c2e243ea.tar.xz |
Tweak the time spans.
-rw-r--r-- | conf/config.php | 18 |
1 files 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(); | |||
44 | #$CONFIG['overview_filter']['interface'] = array('ti' => 'eth0', 't' => 'if_octets'); | 44 | #$CONFIG['overview_filter']['interface'] = array('ti' => 'eth0', 't' => 'if_octets'); |
45 | 45 | ||
46 | # default plugins time range | 46 | # default plugins time range |
47 | $CONFIG['time_range']['default'] = 86400; | 47 | $CONFIG['time_range']['default'] = 86400 * 7; |
48 | $CONFIG['time_range']['uptime'] = 31536000; | 48 | $CONFIG['time_range']['uptime'] = 31536000; |
49 | 49 | ||
50 | # show load averages and used memory on overview page | 50 | # show load averages and used memory on overview page |
@@ -53,13 +53,15 @@ $CONFIG['showmem'] = false; | |||
53 | $CONFIG['showtime'] = false; | 53 | $CONFIG['showtime'] = false; |
54 | 54 | ||
55 | $CONFIG['term'] = array( | 55 | $CONFIG['term'] = array( |
56 | '2hour' => 3600 * 2, | 56 | '2hour' => 3600 * 2, |
57 | '8hour' => 3600 * 8, | 57 | '8hour' => 3600 * 8, |
58 | 'day' => 86400, | 58 | 'day' => 86400, |
59 | 'week' => 86400 * 7, | 59 | 'week' => 86400 * 7, |
60 | 'month' => 86400 * 31, | 60 | 'fortnight' => 86400 * 7 * 2, |
61 | 'quarter'=> 86400 * 31 * 3, | 61 | 'month' => 86400 * 31, |
62 | 'year' => 86400 * 365, | 62 | 'quarter' => 86400 * 31 * 3, |
63 | 'year' => 86400 * 365, | ||
64 | '2year' => 86400 * 365 * 2, | ||
63 | ); | 65 | ); |
64 | 66 | ||
65 | # show graphs in bits or bytes | 67 | # show graphs in bits or bytes |