The script fetches the data from bng's SNMP interface and thus dynamicly
adapts to bng's configuration. This means that no further configuration
is needed after enabling the plugin.
This icecast plugin captures a set of data similar to the "icecast2_"
and "icecast2_all" plugin. Sadly both are not configurable (manual
changes are required for target host and access credentials).
Additionally they use the rather old-fashioned (and password restricted)
xml status output.
This new plugin "icecast2_stats" (written from scratch) contains the
following notable differences:
* runs with Python 3
* supports a real "autoconf" and "suggest" interface
* is configurable (target host and port) via environment settings
* uses the json status output instead of the xml data
* contains no hard-coded values, names or patterns
This works around a syntax warning emitted by the continuous integration
tool.
This commit encloses the python part of the hybrid shell / python script
within a "here" document.
This works around a syntax warning of the continuous integration system.
The cause of this warning could have never triggered anyway.
This commit encloses the whole python code safely in a "here" document.
Collect information related to ath9k wireless events and states.
* rate control statistics ("rc_stats")
* events (dropped, transmitted, beacon loss, ...)
* traffic (packets, bytes)
All data is collected for each separate station (in case of multiple
connected peers). Combined graphs are provided as a summary.
Collect basic information about the neighbours of an OLSR node:
* link quality
* neighbour link quality
* number of nodes reachable behind each neighbour
* ping times of direct neighbours
OLSR is a routing protocol (layer 3).
This plugin tracks the occupation of the shared medium (wifi channel).
It uses the "iw" tool for extracting the time slices spent by
the wireless driver receiving, transmitting or ignoring (noise) on the
current channel. This ratio is a good indication for the remaining
capacity of the shared communication medium.
* Fix to remove dots from vserver names (replace them with underscores;
dots confuse munin)
* Drop support for old (pre 2.6.19) kernels
* Replace cat | grep | cut pipelines with a single sed each
* Add env.stripdomain (a domain name to strip from the end of vserver names
when generating labels; be sure to include the leading dot)