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

UISP intergration error #478

Closed
Zacgoose opened this issue Apr 13, 2024 · 1 comment
Closed

UISP intergration error #478

Zacgoose opened this issue Apr 13, 2024 · 1 comment

Comments

@Zacgoose
Copy link

Zacgoose commented Apr 13, 2024

Any ideas? I can't seem to find what would be causing this. All my APs and Stations are in bridge mode as i hand out public IPs via DHCP.

I am running the latest stable UISP 2.3.57
Error:
root@libreqos:/opt/libreqos/src# python3 integrationUISP.py
Running Python Version 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
Loading Data from UISP
Compiling Site Bandwidths
Finding AP Capacities
Traceback (most recent call last):
File "/opt/libreqos/src/integrationUISP.py", line 569, in
importFromUISP()
File "/opt/libreqos/src/integrationUISP.py", line 562, in importFromUISP
case "full": buildFullGraph()
File "/opt/libreqos/src/integrationUISP.py", line 394, in buildFullGraph
findApCapacities(devices, siteBandwidth)
File "/opt/libreqos/src/integrationUISP.py", line 148, in findApCapacities
if device['identification']['role'] == "ap":
TypeError: string indices must be integers

ISPconfig.py

UISP integration

automaticImportUISP = True
uispAuthToken = 'REDACTED'

UISPbaseURL = 'https://REDACTED'

uispSite = 'Home'

uispStrategy = "full"

uispSuspendedStrategy = "none"

airMax_capacity = 0.65
ltu_capacity = 0.90

excludeSites = ['Vasse Office']

findIPv6usingMikrotik = False

bandwidthOverheadFactor = 1.05

committedBandwidthMultiplier = 0.98

exceptionCPEs = {}

@Zacgoose
Copy link
Author

Okay so turns out it wants the NMS API key not the CRM API key.
Can this please be made more clear in the docs?

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

1 participant