Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mweinelt/lua-lease-monitor
Provides DHCP leases via ubus based on data pulled from udhcpsnoop
https://github.com/mweinelt/lua-lease-monitor
Last synced: 7 days ago
JSON representation
Provides DHCP leases via ubus based on data pulled from udhcpsnoop
- Host: GitHub
- URL: https://github.com/mweinelt/lua-lease-monitor
- Owner: mweinelt
- License: eupl-1.2
- Created: 2022-08-17T22:53:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-17T23:10:56.000Z (over 2 years ago)
- Last Synced: 2024-11-07T03:45:20.254Z (about 2 months ago)
- Language: Lua
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lua-lease-monitor
A lua script that provides DHCP lease information that flows via the
local access point.The snooping happens with via data provided by [udhcpsnoop](https://github.com/blogic/udhcpsnoop)
There is a patch that applies against the hostapd_stations collector
that is part of prometheus-node-exporter-lua maintained in
openwrt/packages.I've used this setup to enhance station information with IP addresses
and hostnames to get a richer Grafana dashboard experience.It should honestly be cleaned up and packaged for public consumption
via the packages feed. That's a todo for another time, for now this
repository serves as a code dump for anyone to make us of it.