diff options
author | Tobias Waldvogel <tobias.waldvogel@gmail.com> | 2020-04-21 12:34:30 +0200 |
---|---|---|
committer | Tobias Waldvogel <tobias.waldvogel@gmail.com> | 2020-04-21 18:36:56 +0200 |
commit | 7eb63dfc275888b361c09bcec6d050a64a520520 (patch) | |
tree | dafcee213441143bea63dc5ce3fd6ac5473c54d5 /applications/luci-app-statistics/root | |
parent | f76a020db1936e66551e1e33c6bbc1fb6bc727e3 (diff) |
luci-app-statistics: add syslog plugin
Signed-off-by: Tobias Waldvogel <tobias.waldvogel@gmail.com>
Diffstat (limited to 'applications/luci-app-statistics/root')
-rw-r--r-- | applications/luci-app-statistics/root/etc/config/luci_statistics | 5 | ||||
-rw-r--r-- | applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/syslog.json | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/applications/luci-app-statistics/root/etc/config/luci_statistics b/applications/luci-app-statistics/root/etc/config/luci_statistics index d97087d19..c2f27c2a5 100644 --- a/applications/luci-app-statistics/root/etc/config/luci_statistics +++ b/applications/luci-app-statistics/root/etc/config/luci_statistics @@ -42,6 +42,11 @@ config statistics 'collectd_logfile' config statistics 'collectd_network' option enable '0' +config statistics 'collectd_syslog' + option enable '0' + option LogLevel 'warning' + option NotifyLevel 'WARNING' + config statistics 'collectd_unixsock' option enable '0' option SocketFile '/var/run/collectd/query.sock' diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/syslog.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/syslog.json new file mode 100644 index 000000000..27bec7136 --- /dev/null +++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/syslog.json @@ -0,0 +1,9 @@ +{ + "title": "Syslog", + "category": "output", + "legend": [ + ["LogLevel","NotifyLevel"], + [], + [] + ] +} |