A collectd module written in Python for getting the xDSL status of Zyxel VMG1312 modems/routers
Project description
collectd-plugin-VMG1312-B30A-xDSL
Supported hardware
This is a collectd plugin for monitoring the xDSL status of Zyxel VMG1312 VDSL/VDSL2 modems/routers.
I developed and tested it with the B30A-version (a VDSL2-Vectoring modem for Germany) of this modem, but it might work as well with other variants.
Supported parameters
This plugin reads the xDSL-status only!
For reading things like interface-counters etc. the modem has an SNMP-server that can be used. Unfortunately this SNMP-server does not serve the xDSL-status (facepalm!), that's where this plugin comes into place.
If your modem has a page like the one shown below, this plugin will probably be able to read all status parameters of the first three sections. The "VDSL Counters" section won't be a read - I don't see much use in reading these.
Dependencies
- collectd 4.9+
Installation
pip3 install collectd-plugin-VMG1312-xDSL
- Configure the plugin as shown below
- Restart collectd
Configuration
LoadPlugin python
<Plugin python>
Import "VMG1312_xDSL"
<Module VMG1312_xDSL>
URL "http://yourmodem.yourdomain"
User "admin"
Password "1234"
</Module>
</Plugin>
License
This project is licensed under the terms of the GPLv3 license.
Build
python setup.py sdist
twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for collectd-plugin-VMG1312-xDSL-1.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37db97b9ce140fc9e0b28bf00dceb1906f54fb762da47c0a8f0e15ecb98c1b13 |
|
MD5 | cb12c9018840272b6667ca3f146e1368 |
|
BLAKE2b-256 | e20a0d89e7f1ee7666a60c5aae51b6865766926a23502dac08d3ea3abb206ec6 |