This program collects metrics from the web interface of Zyxel GS1200 PoE switches, and submits them to Riemann. Collected metrics include
- power usage per port,
- number of packets received and transmitted per port,
- link status and speed per port,
- total power usage, and
- system information such as firmware version and mac address.
A riemann-dash dashboard fed by this program may look like this:
How to run
pip3 install --user riemann-zyxel-gs1200
cp example.ini my_configuration.ini
edit my_configuration.ini
python3 -m riemann_zyxel_gs1200 my_configuration.ini
License
Copyright (c) 2019, Martin Stensgård. All rights reserved.
riemann-zyxel-gs1200 is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, only version 3 of the License.
riemann-zyxel-gs1200 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with riemann-zyxel-gs1200. If not, see http://www.gnu.org/licenses/.