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

I'm unable to get WifiSite to work. #127

Open
d4v3r0y opened this issue Dec 27, 2024 · 1 comment
Open

I'm unable to get WifiSite to work. #127

d4v3r0y opened this issue Dec 27, 2024 · 1 comment

Comments

@d4v3r0y
Copy link

d4v3r0y commented Dec 27, 2024

I'm still unable to get WifiSite to work. Added to my case from yesterday but realized it was closed so creating another.

root@ubuntu:/usr/lib/zabbix/externalscripts# sudo -u zabbix /usr/lib/zabbix/externalscripts/mca-dump-short.sh -d 10.10.1.50 -v -u SSHUSER -i /home/zabbix/.ssh/zb_id_rsa -t WIFI_SITE Unknown device Type: 'WIFI_SITE' Usage /usr/lib/zabbix/externalscripts/mca-dump-short.sh -i privateKeyPath -p <passwordFilePath> -u user -v -d targetDevice [-t AP|SWITCH|SWITCH_FEATURE_DISCOVERY|SWITCH_DISCOVERY|UDMP|UDMP_FAN_DISCOVERY|UDMP_TEMP_DISCOVERY|USG|USG-LITE|CK|WIFI_SITE] -i specify private public key pair path -p specify password file path to be passed to sshpass -f. Note if both -i and -p are provided, the password file will be used -u SSH user name for Unifi device -d IP or FQDN for Unifi device -o alternate port for SSH connection -t Unifi device type -v verbose and non compressed output -w verbose output for port discovery -x extreme debugging -o <timeout> max timeout (3s minimum) -O echoes debug and timing info to /tmp/mcaDumpShort.log; errors are always echoed to /tmp/mcaDumpShort.err -V <jqExpression> Provide a JQ expression that must return a non empty output to validate the results. A json error is returned otherwise -b run SSH in batch mode (do not ask for passwords)

Connecting to individual APs works fine.

Let me know if you see something wrong here.
image
image
image
image
image
image
image
image
image
image
image

Originally posted by @d4v3r0y in #126 (comment)

@d4v3r0y d4v3r0y changed the title I'm still unable to get WifiSite to work. I'm unable to get WifiSite to work. Dec 27, 2024
@patricegautier
Copy link
Owner

so the wifi site template is different from the others.. it is a convenience to be able to get total bandwidth and other numbers across a site. mac-dump.short does not support -t WIFI-SITE, that was a mistake in the script. All you should have to do is assign the template to one of the APs on your site (theatre control room looks like), with a macro with a group name of your choosing, and create a host group in Zabbix containing all the APs in your site.. That last part I think is what is missing from your screenshots..

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

2 participants