Skip to content

UDM Pro #9

@gnoffer

Description

@gnoffer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions