Default Agent - Offline yet getting data still (traefik-log-dashboard discussion #87)

:speech_balloon: GitHub discussion traefik-log-dashboard #87 in Q&A, started by ghost on GitHub

Upon start this is how is my agent is all the time.

External Image

Red and green at the same time:

External Image

docker compose logs -f

Show only errors for GeoIP (do not have it, there is not much difference if enabled true/false, some logs regarding this are present all the time).

Like this: Agent location error: {“error”:“GeoIP databases not available”}

last line from traefik-log-dashboard-agent | [TRAEFIK-LOG-DASHBOARD] <date_time> main.go:95: Server listening on port 5000.

And that is all.

Yet on dashboard the logs are shown as some action is performed on service the traefik is logging.

The config is what is here - just my path to logs and tokens


:speech_balloon: Join in here or on GitHub.

hhftechnology commented on GitHub:

(Migration V1/2 on Pangolin · hhftechnology/traefik-log-dashboard · Discussion #83 · GitHub)
thanks.:slight_smile: first agent is picked up from eve variables so even if incorrect in the setting it will Superseed it so even if it shows offline in the dashboard data will flow. check the url path and the token you will see it connected.

:white_check_mark: Marked as the answer on GitHub.

ghost replied in a thread on GitHub to hhftechnology:

It wasn’t the URL but the token, needed add it in the web UI.

But it’s in the compose, hardcoded (URL is here as well).

If in browser the cache is cleared, must add this in browser again.

Don’t understand, why it is like this.

There is (yet?) no log-in in to dashboard view. So I’m counting on SSO from Pangolin to shield this service.

Why re-auth my agent again again?
Is it because of pairing agents with dashboard - if they are in different networks as sec. measure, ie. it is acting as login?

(New to this - have only one Traefik, so no use yet to this multi agent set-up.)

hhftechnology replied in a thread on GitHub to hhftechnology:

because it remains in browser memory, this dashboard is not meant to be kept running, it for log analysis only. on the other hand ages can be kept running so when you need to see situation you just have to up the container and load your json files with all the agents