-
Notifications
You must be signed in to change notification settings - Fork 2
Description
With UDMM-Pro i got following error:
root@vpn00:~# ./check_unifi-controller.sh.1 parse error: Invalid numeric literal at line 2, column 0 ./check_unifi-controller.sh.1: Zeile 59: [: =: Einstelliger (unärer) Operator erwartet. parse error: Invalid numeric literal at line 2, column 0 parse error: Invalid numeric literal at line 2, column 0 0 UniFi-Controller - Hostname: , Build , Check-Script BUILD 2021-02-27 parse error: Invalid numeric literal at line 2, column 0 0 UniFi-Devices devices=|sites=|unamed=0|unadopted=0 devices on sites - no unnamed or unadopted devices found
as told on https://ubntwiki.com/products/software/unifi-controller/api for UDM pro there is an other api login link, i change it in the script. i also have changed BASEURL to
BASEURL="https://192.168.22.1/proxy/network"
but both without success.
root@vpn00:/usr/lib/check_mk_agent/local# ./check_unifi-controller.sh parse error: Invalid numeric literal at line 2, column 0 ./check_unifi-controller.sh: Zeile 59: [: =: Einstelliger (unärer) Operator erwartet. parse error: Invalid numeric literal at line 2, column 0 parse error: Invalid numeric literal at line 2, column 0 0 UniFi-Controller - Hostname: , Build , Check-Script BUILD 2021-02-27 parse error: Invalid numeric literal at line 2, column 0 0 UniFi-Devices devices=|sites=|unamed=0|unadopted=0 devices on sites - no unnamed or unadopted devices found