X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=applications%2Fluci-app-statistics%2Froot%2Fusr%2Fbin%2Fstat-genconfig;h=2bf63c1fe668081e9f5c6e6ea8530cb3d45b8a26;hb=314dd1aa11d1fbe3501928e89823e2521eb651d3;hp=c4542bbc2f61feeadb3e9e1a7b22ee44a70d0f6c;hpb=ff36d1b9e981956a4d674cd95bd2049499339c8a;p=project%2Fluci.git diff --git a/applications/luci-app-statistics/root/usr/bin/stat-genconfig b/applications/luci-app-statistics/root/usr/bin/stat-genconfig index c4542bbc2..2bf63c1fe 100755 --- a/applications/luci-app-statistics/root/usr/bin/stat-genconfig +++ b/applications/luci-app-statistics/root/usr/bin/stat-genconfig @@ -255,6 +255,12 @@ end plugins = { + apcups = { + { "Host", "Port" }, + { }, + { } + }, + collectd = { { "BaseDir", "Include", "PIDFile", "PluginDir", "TypesDB", "Interval", "ReadThreads", "Hostname" }, { }, @@ -279,6 +285,12 @@ plugins = { { } }, + contextswitch = { + { }, + { }, + { } + }, + csv = { { "DataDir" }, { "StoreRates" }, @@ -455,8 +467,10 @@ preprocess = { section("collectd") +section("logfile") + for plugin in pairs(plugins) do - if plugin ~= "collectd" then + if (plugin ~= "collectd") and (plugin ~= "logfile") then section( plugin ) end end