Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Channel Utilization na #106

Open
tp-edjunior opened this issue Aug 15, 2023 · 20 comments
Open

Channel Utilization na #106

tp-edjunior opened this issue Aug 15, 2023 · 20 comments

Comments

@tp-edjunior
Copy link

Hi Patrice.

All my implementation has done and everything is working but I'm missing some data related to channel interference and utilization on 5GHz spectrum.

My mcaDumpShort.err does not show nothing about it.

Zabbix is gathering data normally and the graphs are being populated as well as you can see in the image below, the ng spectrum are gathering but na don't.

Is there something I missed?

Thank you.

Screenshot 2023-08-15 at 14 52 21

@patricegautier
Copy link
Owner

patricegautier commented Aug 16, 2023

Is the AP you are looking at active on that spectrum? does it have any clients? Also, do you see data for it in the Unifi site/app?

@tp-edjunior
Copy link
Author

My main network is only 5GHz. There are 18 clients connected to this AP.

The ng network is for IoT only and yes it is showing on the controller data for 'na' and 'ng' networks.

Thank you Patrice.

@patricegautier
Copy link
Owner

Ok so to be clear, this AP has some NA clients, but only the Ng Zabbix items for usage,interference etc.. have been created? Or have the NA items been created and they are not populated?

@tp-edjunior
Copy link
Author

The 'na' items have not been created. Just the 'ng'. Thank you.

@patricegautier
Copy link
Owner

patricegautier commented Aug 17, 2023

Is zabbix reporting any issue on that AP with either the 'Active Radio' discovery rule, or any of the prototype items in that rule?

In the UI, you can go to the Host view for that AP, and then discovery rules on the top menu..

@tp-edjunior
Copy link
Author

No errors or issues have been discovered.

All the items are working as expected as far as I can see unless the hostname.

Screenshot 2023-08-18 at 09 06 51
Screenshot 2023-08-18 at 09 08 28
Screenshot 2023-08-18 at 09 09 16

@patricegautier
Copy link
Owner

Ok. can you send the output, from your zabbixServer of:

mca-dump-short.sh -d <ip address of AP> -u <userName> -t AP

you might want to obfuscate private info in there..

@tp-edjunior
Copy link
Author

Good morning Patrice. Follow the attachment suggested.
mca-dump-short.txt

@patricegautier
Copy link
Owner

patricegautier commented Aug 21, 2023 via email

@tp-edjunior
Copy link
Author

I've removed the template from APs. Imported the new yaml and attach the new yaml to APs.

No 'na' on active radio discovery yet just 'ng' as before.

Please let me know if you need something more.

Thank you.

Screenshot 2023-08-21 at 17 11 29

@patricegautier
Copy link
Owner

patricegautier commented Aug 21, 2023 via email

@tp-edjunior
Copy link
Author

Does not change. The same 37 items. Follow the attachments.

Can I provide some different log?
Screenshot 2023-08-21 at 17 26 28
Screenshot 2023-08-21 at 17 26 43

@tp-edjunior
Copy link
Author

Patrice, I did a test on item prototype to check the data return and I got an error. Follow the screenshot.
Screenshot 2023-08-22 at 16 58 00

@patricegautier
Copy link
Owner

patricegautier commented Sep 2, 2023

Can you confirm what the active radio discovery JSONPath preprocessing looks like on the AP template:

image

That should be:

$.radio_table.[?(@.athstats.name != "" && (@.athstats.noise_floor < 0 && @.athstats.noise_floor > -500 || @.cu_total > 0))]

@patricegautier
Copy link
Owner

and please give me another run of mca-dump-short on that AP.. Thanks

@tp-edjunior
Copy link
Author

Follow the JSON Path:

$.radio_table.[?(@.athstats.name != "" && (@.athstats.noise_floor < 0 && @.athstats.noise_floor > -500 || @.cu_total > 0))]

And mac-dump attached.

mca-dump.txt

@tp-edjunior
Copy link
Author

tp-edjunior commented Sep 18, 2023

FYI

Those APs that isn't showing the active radio discovery are Long Range models.

Recently I have added a U6 Pro and adding to Zabbix. Follow the attachment with the output from ARD.

It's working now, please do not consider the attachment.

Screenshot 2023-09-18 at 16 55 14

@patricegautier
Copy link
Owner

Sorry now I am confused.. what's working and what's broken?

@pax0707
Copy link
Contributor

pax0707 commented Nov 24, 2023

I've just noticed I'm missing 5GHz data for my U6 Lite.
Will investigate when I get back home.

@pax0707
Copy link
Contributor

pax0707 commented Dec 6, 2023

┌──[12:39:38]─[0]─[rpi3:/usr/lib/zabbix/externalscripts]
└──| sudo -u zabbix ./mca-dump-short.sh -u pax -v -d 172.16.1.89 -t AP
pax@172.16.1.89's password: 
parse error: Invalid numeric literal at line 1, column 4
{ "at":"12:41:00", "r":"validationError: .vap_table? != null and .radio_table != null", "device":"172.16.1.89", "mcaDumpValidationError":"Error" }

mcaDumpShort.err.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants