charlie-haley / omada_exporter

Prometheus Exporter for TP-Link Omada Controller SDN.
MIT License
87 stars 14 forks source link

Omada Exporter won't start (FATA[0000] failed to login: %!s(<nil>)) #56

Closed markthebro closed 1 year ago

markthebro commented 1 year ago

Hi,

I've downloaded the omada-exporter for CLI and I'm note able to start the application on my Raspberry Pi. I get all the time the error

pi@raspberrypi:/opt/omada-exporter $ ./omada-exporter
INFO[0000] not logged in, logging in with user: viewer
FATA[0000] failed to login: %!s(<nil>)

My .profile looks like this

export OMADA_HOST='https://omada.local'
export OMADA_USER='viewer'
export OMADA_PASS='viewer011'
export OMADA_INSECURE=true
export OMADA_PORT=9200

The login using the UI does work properly - I'm using a phyiscal Omada Controller. Current used firmware 2.6.1 Build 20220921 Rel.35903

I'm very helpful for any tip....

Thanks in advance and best regards, Markus

markthebro commented 1 year ago

Well, it helps if you can read. I should use the management port.