Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/knyar/mikrotik-conn-exporter
Export Prometheus metrics based on mikrotik VPN login/logout log messages
https://github.com/knyar/mikrotik-conn-exporter
Last synced: about 1 month ago
JSON representation
Export Prometheus metrics based on mikrotik VPN login/logout log messages
- Host: GitHub
- URL: https://github.com/knyar/mikrotik-conn-exporter
- Owner: knyar
- Created: 2023-01-10T23:14:59.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-30T12:48:32.000Z (11 months ago)
- Last Synced: 2024-10-03T11:55:39.847Z (about 2 months ago)
- Language: Go
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mikrotik login/logout metric exporter
This tool:
* Reads log stream emitted by Mikrotik routers
* Rarses VPN login and logout messages
* Takes VPN client's IP address and looks it up in a local
[GeoLite2 ASN](
https://dev.maxmind.com/geoip/docs/databases/asn?lang=en)
database.
* Exports login/logout Prometheus metrics broken down by ASN.Log messages are expected to be shipped to the TCP syslog endpoint.
## License
Licensed under MIT license.