unpoller / unpoller

Application: Collect ALL UniFi Controller, Site, Device & Client Data - Export to InfluxDB or Prometheus
https://unpoller.com
MIT License
2k stars 143 forks source link

Feature Request: Unifi Dream Machine Support #107

Closed SasquatchSecurity closed 4 years ago

SasquatchSecurity commented 4 years ago

Ubiquiti's upcoming UniFi Dream Machine and Dream Machine Pro combine features of a USG and a switch, among other things. Controller 5.11.x supports this and it appears unifi-poller is grabbing data, but it doesn't appear to make it to a table in InfluxDB. unifi-poller -j devices output to a json includes data collected from the UDMP. I can provide example JSONs, if required.

davidnewhall commented 4 years ago

What version of the poller are you running?

SasquatchSecurity commented 4 years ago

1.5.2. I put some additional information in your Discord. For reference, I'm running a UDM Pro. I was hoping the USG dashboard could be modified to match UDM Pro stats, but doesn't look like mine is picking it up yet.

davidnewhall commented 4 years ago

I believe I fixed this. Left you another test package in Discord DM. latest Docker image has the UDM fix too.

ahiguero commented 4 years ago

for the udm stats to show do we need to create a new dash board or will the stats show on the USG dashboard?

SasquatchSecurity commented 4 years ago

for the udm stats to show do we need to create a new dash board or will the stats show on the USG dashboard?

The stats will show up on the USG and USW based on the functions of the UDM / UDMP. However, it doesn't appear to be functioning just yet. The poller is grabbing the information, but doesn't seem like it's going into InfluxDB as intended.

davidnewhall commented 4 years ago

I uploaded a test deb that should provide this support into the #unifi-poller channel on the Ubiquti Discord. Waiting for some feedback before marking this resolved and cutting a release.