https://github.com/pboardman/wancommonifc1_exporter
Export network data from UPNP devices supporting WANCommonIFC1 to Prometheus
https://github.com/pboardman/wancommonifc1_exporter
Last synced: 3 months ago
JSON representation
Export network data from UPNP devices supporting WANCommonIFC1 to Prometheus
- Host: GitHub
- URL: https://github.com/pboardman/wancommonifc1_exporter
- Owner: pboardman
- License: mit
- Created: 2020-12-20T17:21:53.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-21T14:27:23.000Z (over 4 years ago)
- Last Synced: 2025-02-23T17:16:54.586Z (4 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WANCommonIFC1_exporter
Export network data from UPNP devices supporting WANCommonIFC1 to Prometheus
## Installation
Require python 3.8+
Installation via pip:
```
pip install WANCommonIFC1_exporter
```Installation via this repo:
```
git clone https://github.com/pboardman/WANCommonIFC1_exporter
python setup.py install
```## Usage
Launch it like this:
```
WANCommonIFC1_exporter IP_OF_UPNP_DEVICE PORT_UPNP_IS_RUNNING_ON
```
WANCommonIFC1_exporter will then expose metrics on port **8125** on `/` and `/metrics`## Metrics
| Metric Name | Description | Data Type
|----------|-------------|------
|bytes_received_total|Number of bytes received since WANCommonIFC1_exporter was started|Counter
|bytes_sent_total|Number of bytes sent since WANCommonIFC1_exporter was started|Counter