collectd: new plugins
This commit is contained in:
parent
6b373958bf
commit
5d53334b63
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue