From 5d53334b639d2357c178b536d9f2ef8cea75eb05 Mon Sep 17 00:00:00 2001 From: Vasil Kolev Date: Wed, 30 Oct 2019 17:49:47 +0200 Subject: [PATCH] collectd: new plugins --- files/all/etc/collectd.conf | 4 ++-- prepwifi.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/all/etc/collectd.conf b/files/all/etc/collectd.conf index 7dcad52..9ba64b0 100644 --- a/files/all/etc/collectd.conf +++ b/files/all/etc/collectd.conf @@ -93,8 +93,8 @@ LoadPlugin exec Exec "nobody" "/usr/share/collectd/wlstats_gather.sh" -LoadPlugin ethstat - +LoadPlugin interface + Interface "eth0" Interface "eth1" Interface "wlan0" diff --git a/prepwifi.sh b/prepwifi.sh index 7146be4..1acf648 100644 --- a/prepwifi.sh +++ b/prepwifi.sh @@ -27,4 +27,4 @@ while ! fping ${newip}; do sleep 5; done ssh-keygen -R ${newip} sleep 3 -ssh -o stricthostkeychecking=no root@${newip} "opkg remove wpad-mini; opkg remove wpad; opkg update && opkg install ebtables tcpdump bc iftop hostapd-openssl && reboot" +ssh -o stricthostkeychecking=no root@${newip} "opkg remove wpad-mini; opkg remove wpad; opkg update && opkg install ebtables tcpdump bc iftop hostapd-openssl collectd collectd-mod-iwinfo collectd-mod-interface collectd-mod-cpu collectd-mod-exec collectd-mod-load collectd-mod-memory collectd-mod-network && reboot"