unpoller / dashboards

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

UniFi Client DPI: InfluxDB Dashboard #3

Closed jkosharek closed 4 years ago

jkosharek commented 4 years ago

Just setup and installed unifi-poller, grafana, and influxDB and imported 'UniFi Client DPI: InfluxDB Dashboard' Imported fine but nothing will load, the "site" selection is empty. All of the other dashboards on "https://grafana.com/grafana/dashboards?dataSource=influxdb&search=unifi-poller" are working ok but not this one.

I am running this against an UDM-PRO, maybe something to do with the way it handles sites?

davidnewhall commented 4 years ago

It sounds like your configuration may be incorrect. Can you share your config?

jkosharek commented 4 years ago

In the up.conf I changed the values for user and pass.

Joe Kosharek | joe@kosharek.commailto:joe@kosharek.com | I.T. Infrastructure | (727) 423-0040

From: David Newhall II notifications@github.com Sent: Monday, February 24, 2020 1:34 PM To: unifi-poller/dashboards dashboards@noreply.github.com Cc: Joe Kosharek joe@kosharek.com; Author author@noreply.github.com Subject: Re: [unifi-poller/dashboards] UniFi Client DPI: InfluxDB Dashboard (#3)

It sounds like your configuration may be incorrect. Can you share your config?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/unifi-poller/dashboards/issues/3?email_source=notifications&email_token=ANX7VBO6P362B66P3HKB6XDREQHIXA5CNFSM4K2MCM4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMZATUY#issuecomment-590481875, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANX7VBLVJ3LTFLG26NQSDZDREQHIXANCNFSM4K2MCM4A.

davidnewhall commented 4 years ago

Set save_dpi to true as well. That should take care of it. EDIT: fixed typo.

jkosharek commented 4 years ago

That was already set to true. I changed sites = ["all"] to = ["default"] and it seems to have fixed it.

How long is the data stored in InfluxDB, is there a setting for purging data?

Joe Kosharek | joe@kosharek.commailto:joe@kosharek.com | I.T. Infrastructure | (727) 423-0040

From: David Newhall II notifications@github.com Sent: Monday, February 24, 2020 1:43 PM To: unifi-poller/dashboards dashboards@noreply.github.com Cc: Joe Kosharek joe@kosharek.com; Author author@noreply.github.com Subject: Re: [unifi-poller/dashboards] UniFi Client DPI: InfluxDB Dashboard (#3)

Set save_sites to true as well. That should take care of it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/unifi-poller/dashboards/issues/3?email_source=notifications&email_token=ANX7VBICRZHILVLBC3BTCWTREQILRA5CNFSM4K2MCM4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMZBV6I#issuecomment-590486265, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANX7VBKSM47DLBRFC73EPIDREQILRANCNFSM4K2MCM4A.

davidnewhall commented 4 years ago

Glad you got it working!

InfluxDB will, by default, store data forever. You can adjust that using retention policies. This document provides more information. https://docs.influxdata.com/influxdb/v1.7/query_language/database_management/

davidnewhall commented 4 years ago

Also, I typo'd and I'm not sure if you saw the corrected/edited message. I meant save_dpi not save_sites.

jkosharek commented 4 years ago

That makes sense, after reading the example config all the way through, I changed my setting to this: [cid:image002.jpg@01D5EB23.3D094CA0]

Thanks for your help!

Joe Kosharek | joe@kosharek.commailto:joe@kosharek.com | I.T. Infrastructure

From: David Newhall II notifications@github.com Sent: Monday, February 24, 2020 2:21 PM To: unifi-poller/dashboards dashboards@noreply.github.com Cc: Joe Kosharek joe@kosharek.com; Author author@noreply.github.com Subject: Re: [unifi-poller/dashboards] UniFi Client DPI: InfluxDB Dashboard (#3)

Also, I typo'd and I'm not sure if you saw the corrected/edited message. I meant save_dpi not save_sites.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/unifi-poller/dashboards/issues/3?email_source=notifications&email_token=ANX7VBNSKY34HMYZSAUIJF3REQM2LA5CNFSM4K2MCM4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMZF4ZA#issuecomment-590503524, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANX7VBIU5VOPB3ZRV2NPEV3REQM2LANCNFSM4K2MCM4A.

davidnewhall commented 4 years ago

You're very welcome! Enjoy the new data!