How to use this =============== The tools provided here are to be used for monitoring of OpenFest related infrastructure. Current Tools ============= `wlstats-gather.sh` - prototype wireless statistics gatherer for collectd infrastructure Tools Usage =========== wlstats-gather.sh ----------------- This is intended to be used as an exec plugin for collectd. As such collectd and it's exec plugin are mandatory. Please note: Although possible to load collectd plugin multiple times it is not advisable. For best results load a plugin only once ``` LoadPlugin exec Exec "username:groupname" "/path/to/wlstats-gather.sh" ``` Please note: * if username:groupname combo is ommitted you have no guarantees on the permissions the user that will execute the plugin will have. Full example ============ Central collector (server) -------------------------- ``` Hostname central-collectd FQDNLookup false # how often data will come ... do not change once set Interval 60 # timeouts and load optimization Timeout 5 #ReadThreads 5 #WriteThreads 5 # logging LoadPlugin syslog LogLevel info # now start listening on network / UDP (25826) LoadPlugin network Listen "0.0.0.0" ReportStats true # and let's save the data LoadPlugin rrdtool DataDir /srv/metrics/collectd/rrd # can lead to some data loss CreateFilesAsync true ``` AP (client) sending metrics --------------------------- ``` Hostname AP-left-1 FQDNLookup false Interval 60 # timeouts and load optimization Timeout 5 #ReadThreads 5 #WriteThreads 5 # logging LoadPlugin syslog LogLevel info # Sending to network / UDP (25826) LoadPlugin network Server "central-collectd" # some mtrics to collect ... LoadPlugin exec Exec "nobody" "/mon/wlstats-gather.sh" ```