Skip to content

Instantly share code, notes, and snippets.

@nijel
Created March 9, 2017 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nijel/70d8d854a38e3c1e2827664c1954d910 to your computer and use it in GitHub Desktop.
Save nijel/70d8d854a38e3c1e2827664c1954d910 to your computer and use it in GitHub Desktop.
/etc/config/luci_statistics changes after upgrade to Turris OS 3.6
diff --git a/turris/etc/config/luci_statistics b/turris/etc/config/luci_statistics
index d6a6237..de16f29 100644
--- a/turris/etc/config/luci_statistics
+++ b/turris/etc/config/luci_statistics
@@ -1,3 +1,4 @@
+# general settings
config statistics 'collectd'
option BaseDir '/var/run/collectd'
@@ -13,12 +14,14 @@ config statistics 'rrdtool'
option image_width '600'
option image_path '/tmp/rrdimg'
+# output plugins
+
config statistics 'collectd_rrdtool'
option enable '1'
+ option DataDir '/tmp/rrd'
option RRARows '100'
option RRASingle '1'
option RRATimespans '1hour 1day 1week 1month 1year'
- option DataDir '/mnt/storage/rrd'
config statistics 'collectd_csv'
option enable '0'
@@ -44,6 +47,8 @@ config statistics 'collectd_unixsock'
option SocketFile '/var/run/collectd/query.sock'
option SocketGroup 'nogroup'
+# input plugins
+
config statistics 'collectd_conntrack'
option enable '0'
@@ -51,9 +56,11 @@ config statistics 'collectd_cpu'
option enable '0'
config statistics 'collectd_df'
+ option enable '0'
+ option Devices '/dev/mtdblock/4'
+ option MountPoints '/jffs'
+ option FSTypes 'tmpfs'
option IgnoreSelected '0'
- option enable '1'
- option MountPoints '/mnt/storage /'
config statistics 'collectd_disk'
option enable '0'
@@ -73,8 +80,8 @@ config statistics 'collectd_exec'
config statistics 'collectd_interface'
option enable '1'
+ option Interfaces 'br-lan'
option IgnoreSelected '0'
- option Interfaces 'eth1 br-guest br-lan wlan1 wlan0'
config statistics 'collectd_iptables'
option enable '0'
@@ -101,17 +108,12 @@ config statistics 'collectd_irq'
config statistics 'collectd_iwinfo'
option enable '1'
- list Interfaces 'wlan0'
- list Interfaces 'radio0.network2'
- list Interfaces 'wlan1'
- list Interfaces 'radio1.network2'
- option IgnoreSelected '0'
config statistics 'collectd_load'
option enable '1'
config statistics 'collectd_memory'
- option enable '1'
+ option enable '0'
config statistics 'collectd_netlink'
option enable '0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment