Index of /addon/collectd
Name Last modified Size Description
Parent Directory -
assocs 2017-03-07 17:19 1.2K
devicestats 2017-03-22 07:22 732
olsrneighbours 2017-03-06 21:24 666
readme.txt 2017-07-19 12:06 1.4K
Some scripts for the collectd-exec plugin:
Put the desired scripts into /etc/collectd, allow execution using "chmod +x".
REMEMBER; These scripts are not meant to be run as-is. First Edit their
contents to set up correct devicenames (these scripts use mela-n2.olsr,
mela-o2.olsr, etc.) and ip-adresses.
Add the scripts in Luci (statistics -> setup -> general plugins -> exec),
remember to provide a full path (e.g. /etc/collectd/assocs)
Remember that you have to download and install the collectd-mod-exec plugin
first and enable it by manually adding following lines to
config statistics 'collectd_exec'
option enable '1'
to see the plugins in action.
Displays the amount of connected clients to each station and the number of
active DHCP leases on the core router.
Requires following script on the stations in "/www/cgi-bin/":
echo -e "Content-type: text/plain\n"
iwinfo wlan0-dhcp-2 assoclist|grep ago|wc -l
Displays, if the devices are reachable via the network by passing a HTTP query
to them (used for 5Ghz devices that have the original firmware running).
Displays the amount of OLSR connections to specific devices (for 5Ghz devices
with original firmware as well)