klenzel/check_unifi45

Parse Error with Unifi Controller 6.2.26

Closed this issue · 2 comments

Hi,

i tried out your plugin on my linux hosted unifi controller and my icinga2 installation.

The check is executed and i get a response, but i also get a parse error:
parse error: Invalid numeric literal at line 1, column 10 /usr/lib/nagios/plugins/check_unifi45.sh: Zeile 163: [: !=: Einstelliger (unärer) Operator erwartet. OK: Für den Unifi-Controller sind keine Updates verfügbar

Is something wrong with my configuration or is the plugin not compatible with latest version of the unifi controller?

Thanks, Alex

No idea, anyone?

Check out my new Version of this Script für Unifi Controllers >=6
This should solve your problem.

https://github.com/klenzel/check_unifi65