accesspoints: add wifi clients metrics into prometheus
`wifi_network_clients` exposes the amount of connected wifi clients
This commit is contained in:
parent
ba014a64d0
commit
90e231d371
|
@ -32,10 +32,20 @@
|
||||||
notify:
|
notify:
|
||||||
- restart prometheus-node-exporter-lua
|
- restart prometheus-node-exporter-lua
|
||||||
|
|
||||||
- name: install prometheus-node-exporter-lua-wifi
|
- name: uninstall vanilla prometheus-node-exporter-lua-wifi
|
||||||
opkg:
|
opkg:
|
||||||
name: prometheus-node-exporter-lua-wifi
|
name: prometheus-node-exporter-lua-wifi
|
||||||
update_cache: yes
|
state: absent
|
||||||
|
notify:
|
||||||
|
- restart prometheus-node-exporter-lua
|
||||||
|
|
||||||
|
- name: install custom prometheus-node-exporter-lua-wifi
|
||||||
|
copy:
|
||||||
|
src: files/wifi.lua
|
||||||
|
dest: /usr/lib/lua/prometheus-collectors/wifi.lua
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0755
|
||||||
notify:
|
notify:
|
||||||
- restart prometheus-node-exporter-lua
|
- restart prometheus-node-exporter-lua
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue