diff options
author | Pim van den Berg | 2014-03-22 15:29:28 +0100 |
---|---|---|
committer | Pim van den Berg | 2014-03-22 15:35:57 +0100 |
commit | 5a9db96a2b8cd89a62947049d35692d45689155b (patch) | |
tree | 7e74f235ce9ce410c15df16f6cbb911f0b791524 /conf | |
parent | inc/collectd.inc.php: use RegexIterator + strip $dir from result (diff) | |
download | apt-panopticon_cgp-5a9db96a2b8cd89a62947049d35692d45689155b.zip apt-panopticon_cgp-5a9db96a2b8cd89a62947049d35692d45689155b.tar.gz apt-panopticon_cgp-5a9db96a2b8cd89a62947049d35692d45689155b.tar.bz2 apt-panopticon_cgp-5a9db96a2b8cd89a62947049d35692d45689155b.tar.xz |
add rrdcached flush support
Diffstat (limited to 'conf')
-rw-r--r-- | conf/config.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/config.php b/conf/config.php index f2fab29..ffa42cf 100644 --- a/conf/config.php +++ b/conf/config.php | |||
@@ -72,9 +72,14 @@ $CONFIG['max-height'] = $CONFIG['detail-height'] * 2; | |||
72 | 72 | ||
73 | # collectd's unix socket (unixsock plugin) | 73 | # collectd's unix socket (unixsock plugin) |
74 | # enabled: 'unix:///var/run/collectd-unixsock' | 74 | # enabled: 'unix:///var/run/collectd-unixsock' |
75 | # enabled (rrdcached): 'unix:///var/run/rrdcached.sock' | ||
75 | # disabled: NULL | 76 | # disabled: NULL |
76 | $CONFIG['socket'] = NULL; | 77 | $CONFIG['socket'] = NULL; |
77 | 78 | ||
79 | # flush rrd data to disk using "collectd" (unixsock plugin) | ||
80 | # or a "rrdcached" server | ||
81 | $CONFIG['flush_type'] = 'collectd'; | ||
82 | |||
78 | # system default timezone when not set | 83 | # system default timezone when not set |
79 | $CONFIG['default_timezone'] = 'UTC'; | 84 | $CONFIG['default_timezone'] = 'UTC'; |
80 | 85 | ||