Skip to main content

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.

VMG1312-B30A-xDSL-page

Dependencies

  • collectd 4.9+

Installation

  1. pip3 install collectd-plugin-VMG1312-xDSL
  2. Configure the plugin as shown below
  3. Restart collectd

Configuration

LoadPlugin python 
<Plugin python>
    Import "VMG1312_xDSL"

    <Module VMG1312_xDSL>
        URL "http://<ip_of_your_modem>"
        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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collectd-plugin-VMG1312-xDSL-1.0.5.tar.gz (19.8 kB view details)

Uploaded Source

File details

Details for the file collectd-plugin-VMG1312-xDSL-1.0.5.tar.gz.

File metadata

  • Download URL: collectd-plugin-VMG1312-xDSL-1.0.5.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.9

File hashes

Hashes for collectd-plugin-VMG1312-xDSL-1.0.5.tar.gz
Algorithm Hash digest
SHA256 e34c17a2dd54179a97b816bb1b754f9ac9bf980972d61d122248eae53452c775
MD5 4ee15f0b37a1210ba91445e55fb0556a
BLAKE2b-256 ce76d9f6ee1d0c309025025292d14f94f96fb5229c6aea8871cf072d2bbecaab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page