collectd: new plugins

This commit is contained in:
Vasil Kolev 2019-10-30 17:49:47 +02:00 committed by root
parent 6b373958bf
commit 5d53334b63
2 changed files with 3 additions and 3 deletions

View File

@ -93,8 +93,8 @@ LoadPlugin exec
<Plugin exec> <Plugin exec>
Exec "nobody" "/usr/share/collectd/wlstats_gather.sh" Exec "nobody" "/usr/share/collectd/wlstats_gather.sh"
</Plugin> </Plugin>
LoadPlugin ethstat LoadPlugin interface
<Plugin ethstat> <Plugin interface>
Interface "eth0" Interface "eth0"
Interface "eth1" Interface "eth1"
Interface "wlan0" Interface "wlan0"

View File

@ -27,4 +27,4 @@ while ! fping ${newip}; do sleep 5; done
ssh-keygen -R ${newip} ssh-keygen -R ${newip}
sleep 3 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"