unpoller / dashboards

UniFi Poller Grafana Dashboards
https://unifipoller.com
MIT License
26 stars 12 forks source link

Add UXG Max gateway to supported gateway list #36

Open exzz opened 6 months ago

exzz commented 6 months ago

Hello,

Many thanks for all this work.

New released "Gateway Max" identified as type 'uxg', compared to my previous model, 'usg'. Grafana variables need to be updated to show related metrics in USG dashboard:

Controller --> label_values(unpoller_device_info{type=~"udm|usg|ugw|uxg"},source)   
Site --> label_values(unpoller_device_info{source=~"$Controller", type=~"udm|usg|ugw|uxg"},site_name)   
Gateway --> label_values(unpoller_device_info{site_name=~"$Site", type=~"udm|usg|ugw|uxg"},name)    

I guess it is the same for new "UniFi Cloud Gateway Ultra" that may match type = 'ucg' (I do not own such device to validated the type value)

CollinLeishman commented 4 months ago

I came here to say the same thing. All that needs to be done is add uxg to all instances of type=~\"udm|usg|ugw\"