Giter VIP home page Giter VIP logo

omada_exporter's Introduction

omada_exporter

docker-publish



Prometheus Exporter for TP-Link Omada Controller SDN.

📈 Dashboard

There's a default dashboard in this repo, which would be a good starting point for visualising your metrics. The dashboard is also available on Grafana.com.



Installation

I highly recommend you create a new user in the Omada SDN that has the Viewer role and use that to authenticate instead of your primary admin user.

🐋 Docker

docker run -d \
    -p 9202:9202 \
    -e OMADA_HOST='https://192.168.1.20' \
    -e OMADA_USER='exporter' \
    -e OMADA_PASS='mypassword' \
    -e OMADA_SITE='Default' \
    chhaley/omada_exporter

There's also a GHCR mirror available if you'd prefer to not use Docker Hub. ghcr.io/charlie-haley/omada_exporter

☸️ Helm

helm repo add charlie-haley http://charts.charliehaley.dev
helm repo update
helm install omada-exporter charlie-haley/omada-exporter \
    --set omada.host=https://192.1.1.20 \
    --set omada.username=exporter \
    --set omada.password=mypassword \
    --set omada.site=Default \
    -n monitoring

If you want to use the ServiceMonitor (which is enabled by default) you'll need to have prometheus-operator deployed to your cluster, see values to disable it if you'd like use ingress instead.

You can find the chart repo here, if you'd like to contribute.

🖥️ Command Line

You can download the latest binary release here.

NAME:
   omada-exporter - Prometheus Exporter for TP-Link Omada Controller SDN.

USAGE:
   main [global options] command [command options] [arguments...]

VERSION:
   development

AUTHOR:
   Charlie Haley <[email protected]>

COMMANDS:
   version, v  prints the current version.
   help, h     Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --host value                 The hostname of the Omada Controller, including protocol. [$OMADA_HOST]
   --username value             Username of the Omada user you'd like to use to fetch metrics. [$OMADA_USER]
   --password value             Password for your Omada user. [$OMADA_PASS]
   --port value                 Port on which to expose the Prometheus metrics. (default: "9202") [$OMADA_PORT]
   --site value                 Omada site to scrape metrics from. (default: "Default") [$OMADA_SITE]
   --log-level value            Application log level. (default: "error") [$LOG_LEVEL]
   --timeout value              Timeout when making requests to the Omada Controller. (default: 15) [$OMADA_REQUEST_TIMEOUT]
   --insecure                   Whether to skip verifying the SSL certificate on the controller. (default: false) [$OMADA_INSECURE]
   --disable-go-collector       Disable Go collector metrics. (default: true) [$OMADA_DISABLE_GO_COLLECTOR]
   --disable-process-collector  Disable process collector metrics. (default: true) [$OMADA_DISABLE_PROCESS_COLLECTOR]
   --help, -h                   show help (default: false)
   --version, -v                print the version (default: false)

⚙️ Configuration

Environment Variables

Variable Purpose
OMADA_HOST The hostname of the Omada Controller, including protocol.
OMADA_USER Username of the Omada user you'd like to use to fetch metrics.
OMADA_PASS Password for your Omada user.
OMADA_SITE Site you'd like to get metrics from. (default: "Default")
OMADA_PORT Port on which to expose the Prometheus metrics. (default: 9202)
OMADA_INSECURE Whether to skip verifying the SSL certificate on the controller. (default: false)
OMADA_REQUEST_TIMEOUT Timeout when making requests to the Omada Controller. (default: 15)
OMADA_DISABLE_GO_COLLECTOR Disable Go collector metrics. (default: true)
OMADA_DISABLE_PROCESS_COLLECTOR Disable process collector metrics. (default: true)
LOG_LEVEL Application log level. (default: "error")

Helm

# values.yaml
omada:
    host: "https://192.1.1.20" # The hostname of the Omada Controller, including protocol.
    username: "exporter"       # Username of the Omada user you'd like to use to fetch metrics.
    password: "mypassword"     # Password for your Omada user.
    site: "Default"            # Site you'd like to get metrics from. (default: "Default")
    insecure: false            # Whether to skip verifying the SSL certificate on the controller. (default: false)

📊 Metrics

Name Description Labels
omada_client_download_activity_bytes The current download activity for the client in bytes. client vendor ip mac host_name site site_id connection_mode wifi_mode ap_name ssid vlan_id switch_port
omada_client_signal_pct The signal quality for the wireless client in percent. client vendor ip mac host_name site site_id connection_mode wifi_mode ap_name ssid vlan_id
omada_client_snr_dbm The signal to noise ratio for the wireless client in dBm. client vendor ip mac host_name site site_id connection_mode wifi_mode ap_name ssid vlan_id
omada_client_rssi_dbm The RSSI for the wireless client in dBm. client vendor ip mac host_name site site_id connection_mode wifi_mode ap_name ssid vlan_id
omada_client_traffic_down_bytes Total bytes received by wireless client. client vendor ip mac host_name site site_id connection_mode wifi_mode ap_name ssid vlan_id
omada_client_traffic_up_bytes Total bytes sent by wireless client. client vendor ip mac host_name site site_id connection_mode wifi_mode ap_name ssid vlan_id
omada_client_tx_rate TX rate of wireless client. client vendor ip mac host_name site site_id connection_mode wifi_mode ap_name ssid vlan_id
omada_client_rx_rate RX rate of wireless client. client vendor ip mac host_name site site_id connection_mode wifi_mode ap_name ssid vlan_id
omada_client_connected_total Total number of connected clients. site site_id connection_mode wifi_mode
omada_controller_uptime_seconds Uptime of the controller. controller_name model controller_version firmware_version mac site site_id
omada_controller_storage_used_bytes Storage used on the controller. storage_name controller_name model controller_version firmware_version mac site site_id
omada_controller_storage_available_bytes Total storage available for the controller. storage_name controller_name model controller_version firmware_version mac site site_id
omada_device_uptime_seconds Uptime of the device. device model version ip mac site site_id device_type
omada_device_uptime_seconds Uptime of the device. device model version ip mac site site_id device_type
omada_device_cpu_percentage Percentage of device CPU used. device model version ip mac site site_id device_type
omada_device_mem_percentage Percentage of device Memory used. device model version ip mac site site_id device_type
omada_device_need_upgrade A boolean on whether the device needs an upgrade. device model version ip mac site site_id device_type
omada_device_tx_rate The tx rate of the device. device model version ip mac site site_id device_type
omada_device_rx_rate The rx rate of the device. device model version ip mac site site_id device_type
omada_device_poe_remain_watts The remaining amount of PoE power for the device in watts. device model version ip mac site site_id device_type
omada_device_download Device download traffic. device model version ip mac site site_id device_type
omada_device_upload Device upload traffic. device model version ip mac site site_id device_type
omada_port_power_watts The current PoE usage of the port in watts. device device_mac client vendor switch_port name switch_mac switch_id vlan_id profile site site_id
omada_port_link_status A boolean representing the link status of the port. device device_mac client vendor switch_port name switch_mac switch_id vlan_id profile site site_id
omada_port_link_speed_mbps Port link speed in mbps. This is the capability of the connection, not the active throughput. device device_mac client vendor switch_port name switch_mac switch_id vlan_id profile site site_id
omada_port_link_rx Bytes recieved on a port. device device_mac client vendor switch_port name switch_mac switch_id vlan_id profile site site_id
omada_port_link_tx Bytes transmitted on a port. device device_mac client vendor switch_port name switch_mac switch_id vlan_id profile site site_id

omada_exporter's People

Contributors

charlie-haley avatar chrisbenincasa avatar jamiebrynes7 avatar jfieber avatar michelheusschen avatar patrickeasters avatar raymondmouthaan avatar yoniko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

omada_exporter's Issues

Cert unknow authority

It is an option in a Docker image to run with parameters "-e OMADA_INSECURE=true" because I am facing an issue when trying to skip this error: "{"level":"fatal","error":"Get "[https://192.168.105.30](https://192.168.105.30%5C)": x509: certificate signed by unknown authority","time":"2023-07-26T12:35:22Z","message":"App failed to run"}". When add paramets image can't start.

Feature Req: Option to disable go_ metrics

Since I'm running in a docker container, I am not particularly interested in all the go_ metrics. It would be nice to have a command-line option / environment variable to disable the go_ metrics.

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

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

Error when using "insecure"

Hello,
i´m using the command line version v0.4.3 on a centos 8 server.

as soon as i use the option "--insecure" i get the following error:

`omada-exporter --host 'https://192.168.xxx.xxx' --port '9202' --site 'Daheim' --interval '30' --username 'exporter' --password 'TopSecret' --disable-go-collector --disable-process-collector --insecure

FATA[0000] invalid character '\x1f' looking for beginning of value`

i also tried the enviroment variable, same result and the docker version shows the same behaviour.

next try:
--insecure=true --> same result: error

try the false value:
--insecure=false --> works with the expected result, that the certificate check fails!

I dont´t know what i´m doing wrong?!? maybe you have an idea?

because it´s just an internal server, i don´t want to setup a certificate

thanks
Alexander

Omada Open API Support

Discussed in #80

Originally posted by codersaur September 22, 2023
I see in v5.12 on the Omada Controller Open API is now supported.

Open API: Omada Controller now supports Open API integration. You can access it through Global view > Settings > Platform Integration, which allows you to utilize the REST API of most Controller services. This feature enables you to develop custom applications, embed APIs, or combine your own applications.

Is this relevant for omada_exporter, and if so, is there a plan to migrate to using it?

There are so many issues

There is so many issues from that fact that as soon as i close my terminal the export stops working as it is not a proper docker container to the poor documentation like why would there be an application where you have to keep your terminal always open there is also the other issue of the terminal becoming inoperable as soon as it starts because this isent a container and it doesent even run on restart because i cant enable the feature as its not a container please fix this

exporter started crashing with 0.11.0

hi,

Did an upgrade from 0.10.0 to 0.11.0 (running in k3s, but also tested with podman), and the image fails on startup with this error:
Works fine if I rollback the release to 0.10.0.

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x60 pc=0x7e106c]

goroutine 1 [running]:
github.com/prometheus/client_golang/prometheus.(*Registry).Register(0xc0000cc730, {0xa08890?, 0xc00029e690?})
github.com/prometheus/[email protected]/prometheus/registry.go:291 +0x26c
github.com/prometheus/client_golang/prometheus.(*Registry).MustRegister(0xc0001a0680?, {0xc00029c890?, 0x1, 0x0?})
github.com/prometheus/[email protected]/prometheus/registry.go:402 +0x53
github.com/prometheus/client_golang/prometheus.MustRegister(...)
github.com/prometheus/[email protected]/prometheus/registry.go:178
github.com/charlie-haley/omada_exporter/cmd.run(0xc0001b4640?)
github.com/charlie-haley/[email protected]/cmd/exporter.go:93 +0x27d
github.com/urfave/cli/v2.(*App).RunContext(0xc000196340, {0xa0a868?, 0xc0000b4000}, {0xc00009e1f0, 0x1, 0x1})
github.com/urfave/cli/[email protected]/app.go:322 +0x97c
github.com/urfave/cli/v2.(*App).Run(...)
github.com/urfave/cli/[email protected]/app.go:224
github.com/charlie-haley/omada_exporter/cmd.Run()
github.com/charlie-haley/[email protected]/cmd/exporter.go:54 +0xb34
main.main()
github.com/charlie-haley/[email protected]/main.go:8 +0x17

Context deadline exceeded error

Hi,

I am getting following error while starting the exporter.

time="2022-12-17T06:26:53Z" level=fatal msg="Get \"https://my.domain.redacted:443/": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"

I did set some variables to configure the exporter:

OMADA_HOST=https://my.domain.redacted:443/
OMADA_USER=omada-exporter
OMADA_SITE=Default
OMADA_INSECURE=True

Thank you for your development and support.

Runtime error: slice bounds out of range

Hi,

I tried to use this tool in Docker but the container fails to start with the following error message:

panic: runtime error: slice bounds out of range [1:0] goroutine 1 [running]: github.com/charlie-haley/omada_exporter/pkg/api.(*Client).getCid(0xc000182680) github.com/charlie-haley/[email protected]/pkg/api/auth.go:64 +0x1fc github.com/charlie-haley/omada_exporter/pkg/api.Configure(0xd28700) github.com/charlie-haley/[email protected]/pkg/api/api.go:51 +0x8f github.com/charlie-haley/omada_exporter/cmd.run(0xc000002780?) github.com/charlie-haley/[email protected]/cmd/exporter.go:91 +0x136 github.com/urfave/cli/v2.(*App).RunContext(0xc0000076c0, {0xa0ac68?, 0xc0000b6000}, {0xc0000a01f0, 0x1, 0x1}) github.com/urfave/cli/[email protected]/app.go:322 +0x97c github.com/urfave/cli/v2.(*App).Run(...) github.com/urfave/cli/[email protected]/app.go:224 github.com/charlie-haley/omada_exporter/cmd.Run() github.com/charlie-haley/[email protected]/cmd/exporter.go:60 +0xc25 main.main() github.com/charlie-haley/[email protected]/main.go:8 +0x17

Exporter version: 0.13.0
Omada Controller: 5.13.30.8

Please let me know if you need any other details about my setup.

Exporter unable to collect information on 10GBaseT ports

Firstly, thanks for putting all of this together including the dashboard. It's awesome.

I own a TL-SX3008F among some of the regular switch offerings. The common denominator between them is the SFP+ ports providing the 10G backbone for my network. I noticed that the exporter is unable to poll these SFP ports for metrics.

it's partially related to this code here: https://github.com/charlie-haley/omada_exporter/blob/main/pkg/collector/port.go#L76-L83 however, i'm sure there are other things that need to be updated in collector.go that correspond to it.

if i get some free time in the next few weeks i'll see if i can give updating a shot.

thank you!

Controller supported versions

Hi, what is latest supported controller version? All the time I'm getting weird errors. I cloned repo and in "getCid" I'm not getting any location response and it is throwing panic as slice is empty.

default dashboard for grafana

Add a default Grafana dashboard to the repo - try to make this as generic as possible (utilize panel and row repeats)

unable to login on controller version >=5.0.0

Hi,

This is a great project, but I'm running my docker stack, including the omada-controller, on a Raspberry Pi4. Any chance of an image that will support arm64? Or ideally, the image could have multi-arch tags?

The current amd64 image gives the following error:
"panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x2b1578]"

which is usually an arch mismatch issue.

Thanks.

stange errors

suddenly i get this errors after updating to the latest build of omada_exporter:

image

Any suggestions on this one?

failed to login: unexpected end of JSON input

Hi (again)

I've downloaded the omada-exporter for CLI and I'm note able to login to my Omada Hardware Controller
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: unexpected end of JSON input
pi@raspberrypi:/opt/omada-exporter $

My .profile looks like this

export OMADA_HOST='http://omada.local:8088'
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 - Controller Version 5.6.4

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

Thanks in advance and best regards,
Markus

Metrics Errors

Discussed in #54

Originally posted by jcouzy November 22, 2022
Hi, when I run the Omaha_exporter in docker container is get errors when trying to access the metrics on http://hostname:9202.
I run the container like this:
docker run -d --name=omada-exporter -p 9202:9202 -e OMADA_HOST='https://omada.infra.local' -e OMADA_USER='prometheus' -e OMADA_PASS='*************' -e OMADA_INSECURE=true chhaley/omada_exporter

When I try to access the metrics, I receive these errors:

An error has occurred while serving metrics:

144 error(s) occurred:

  • collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Default" > label:<name:"site_id" value:"Default" > label:<name:"switch_id" value:"60f03f07447e14066d93e7f9" > label:<name:"switch_mac" value:"00-31-92-76-44-6C" > label:<name:"switch_port" value:"1" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:5.2 > } was collected before with the same name and label values

And on and on.

What am I doing wrong?

Document exporter compatbility

Description

Currently we don't have compatible versions of the exporter documented anywhere. We should state in the README which versions of the exporter are compatible with each Omada version

Switch ports not displayed correctly

Hi @charlie-haley,

Thanks for the recent update of the Grafana dashboard!
Unfortunately, it didn't work out-of-box and I had to make a modification regarding the ports query:

The query below doesn't return all ports of the switch

omada_port_link_speed_mbps{switch_mac="$Device", vlan_id="", site="$Site"}

After removing vlan_id="":

omada_port_link_speed_mbps{switch_mac="$Device", site="$Site"}

the port section starts displaying all ports.

This works for the TL-SG3428 v2.0 switch as you can see in the screenshot below (renamed Disabled to Not Connected):

image

However the ports of my two other switches TL-SG2008 and TL-SG2218 don't show as expected. After some digging it turns out that the above query returns for each port that has no connection (marked in red) a value of 10 MB/s instead of the expected 0.

Screenshot 2022-05-28 at 12 31 57

After some more digging, I did the rest call for the TL-SG2008 to get the port status. and as you can see the json shows for port 5 a linkStatus of 0, while the query shows a speed of 10 MB/s.

switch TL-SG2008:

"portStatus": {
                "port": 5,
                "linkStatus": 0,
                "linkSpeed": 1,
                "duplex": 2,
                "poe": false,
                "tx": 0,
                "rx": 0,
                "stpDiscarding": false
            },

Compared to a disconnected port on the TL-SG3428 v2.0

 "portStatus": {
                "port": 25,
                "linkStatus": 0,
                "linkSpeed": 0,
                "duplex": 0,
                "poe": false,
                "tx": 0,
                "rx": 0,
                "stpDiscarding": false
            },

The difference is that the TL-SG2008 reports linkSpeed = 1, while TL-SG3428 v2.0 reports linkSpeed = 0 for ports that are not connected. I am not sure why the TL-SG2008 reports linkSpeed = 1, while there is no connection.

In the omada exporter source code, I found these line

if p.PortStatus.LinkSpeed == 0 {
linkSpeed = 0
}
if p.PortStatus.LinkSpeed == 1 {
linkSpeed = 10
}
if p.PortStatus.LinkSpeed == 2 {
linkSpeed = 100
}
if p.PortStatus.LinkSpeed == 3 {
linkSpeed = 1000
}

And they might be changed to the snippet below, so that in all cases where the LinkStatus is 0 or the LinkSpeed is 0, the returned linkSpeed is 0:

if p.PortStatus.LinkStatus == 0 || p.PortStatus.LinkSpeed == 0 {
	linkSpeed = 0
}
if p.PortStatus.LinkSpeed == 1 {
	linkSpeed = 10
}
if p.PortStatus.LinkSpeed == 2 {
	linkSpeed = 100
}
if p.PortStatus.LinkSpeed == 3 {
	linkSpeed = 1000
}

Hope this helps.

Regards,
Raymond

improve metric naming

Standardise naming to follow a better pattern e.g

omada_device_*
omada_device_port_*
omada_client_*
omada_controller_*

The Omada API and the Prometheus Client has some limitations, ideally I'd like to expose a single metric for omada_download_activity_bytes instead of having omada_download_activity_bytes_wlan

add GHCR mirror

mirror container deployment to GCHR to prevent pull limits

Error when using omada_exporter with a software controler and 3 AP

Hello,

I'm trying to setup this software, but when I run it with the required parameters, I get this error message 👍
docker run -it -p 9202:9202 -e OMADA_HOST="https://1.1.1.1:8043" -e OMADA_USER=redacted -e OMADA_PASS=verylongandcomplicatedpassword -e OMADA_SITE="Default" -e OMADA_INSECURE="true" chhaley/omada_exporter
panic: runtime error: slice bounds out of range [1:0]

goroutine 1 [running]:
github.com/charlie-haley/omada_exporter/pkg/api.(*Client).getCid(0xc0000dc400)
github.com/charlie-haley/[email protected]/pkg/api/auth.go:66 +0x20a
github.com/charlie-haley/omada_exporter/pkg/api.Configure(0xc0000dc3c0)
github.com/charlie-haley/[email protected]/pkg/api/api.go:49 +0xb3
github.com/charlie-haley/omada_exporter/cmd.run(0xc0000ce000)
github.com/charlie-haley/[email protected]/cmd/exporter.go:86 +0x119
github.com/urfave/cli/v2.(*App).RunContext(0xc000082820, {0x99efa8, 0xc000026040}, {0xc00001e200, 0x1, 0x1})
github.com/urfave/cli/[email protected]/app.go:322 +0x7a8
github.com/urfave/cli/v2.(*App).Run(...)
github.com/urfave/cli/[email protected]/app.go:224
github.com/charlie-haley/omada_exporter/cmd.Run()
github.com/charlie-haley/[email protected]/cmd/exporter.go:63 +0xaed
main.main()
github.com/charlie-haley/[email protected]/main.go:8 +0x17

And I don't know when to look to solve this error.

omada_client_connected_total changed in latest omada version

Hi,

In Omada controller version 5.9.31 the filed omada_client_connected_total no longer displays only 1 value, but separate values for each wifi mode (ac, ax, ng, etc)

This will result in the grafana dashboard to have multiple values when it should be only one total number

# TYPE omada_client_connected_total gauge omada_client_connected_total{connection_mode="wireless",site="***",site_id="641c7f4750ab2904d039be64",wifi_mode="802.11ac"} 7 omada_client_connected_total{connection_mode="wireless",site="***",site_id="641c7f4750ab2904d039be64",wifi_mode="802.11axa"} 1 omada_client_connected_total{connection_mode="wireless",site="***",site_id="641c7f4750ab2904d039be64",wifi_mode="802.11na"} 1 omada_client_connected_total{connection_mode="wireless",site="***",site_id="641c7f4750ab2904d039be64",wifi_mode="802.11ng"} 1

Duplicated metrics issues

I'm having issues exporting from my omada instance. I have 3 sites, just pulling the Home one currently.

I'm a bit new to prometheus so not sure what this all means.

I'm running the helm chart (v0.7.1) in k3s with kube-prometheus-stack

My controller version is 5.9.31.

See below errors from opening the /metrics page. Please let me know if any more information is needed I am happy to provide anything.

Thank you 😄

Error Messages
An error has occurred while serving metrics:

84 error(s) occurred:
* collected metric "omada_port_power_watts" { label:<name:"client" value:"Chonk" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"1" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"Chonk" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"1" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:1 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"Chonk" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"1" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:1000 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"parmesan" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"2" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"parmesan" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"2" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:1 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"parmesan" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"2" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:1000 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"cheddar" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"3" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"cheddar" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"3" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:1 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"cheddar" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"3" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:1000 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"idrac-HHRK42S" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"4" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"idrac-HHRK42S" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"4" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:1 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"idrac-HHRK42S" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"4" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:100 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"5" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"5" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:1 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"5" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:1000 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"napei-desktop" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"6" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"napei-desktop" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"6" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"napei-desktop" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"6" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"7" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"7" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"7" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"HAUS" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"8" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"HAUS" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"8" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"HAUS" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"8" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"1" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"9" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"9" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"9" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"10" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"10" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"10" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"11" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"11" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"11" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"12" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"12" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"12" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"13" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"13" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"13" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"14" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"14" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"14" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"15" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"15" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"15" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"16" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"16" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"16" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"17" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"17" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"17" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"18" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"18" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"18" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"19" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"19" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"19" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"20" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"20" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"20" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"21" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"21" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"21" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"22" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"22" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"22" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"23" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"23" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"23" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"24" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"24" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:1 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"24" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:1000 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"25" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"25" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"25" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"26" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"26" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"26" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"27" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"27" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"27" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_power_watts" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"28" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_status" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"28" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "omada_port_link_speed_mbps" { label:<name:"client" value:"" > label:<name:"profile" value:"All" > label:<name:"site" value:"Home" > label:<name:"site_id" value:"627512cfdd6c5266f5be9769" > label:<name:"switch_id" value:"627a18aa433ae270249423a8" > label:<name:"switch_mac" value:"B0-A7-B9-A7-DD-95" > label:<name:"switch_port" value:"28" > label:<name:"vendor" value:"" > label:<name:"vlan_id" value:"" > gauge:<value:0 > } was collected before with the same name and label values

unable to log in with controller v5.3 and exporter v0.5.0

Hello!

I am running omada controller v5.3 on x86 via mbentley/omada-controller:5.3.

In an attempt to get the exporter working I am using ghcr.io/charlie-haley/omada_exporter:0.5.0.

I have all the connection info working but am getting this when attempting to start the container:

time="2022-05-25T21:12:53Z" level=info msg="not logged in, logging in with user: docker"
time="2022-05-25T21:12:53Z" level=fatal msg="failed to login: %!s(<nil>)"

I verified the login was correct by logging in myself with it. I have also tried my admin user with no success.

I saw #7 which was from changes introduced in controller v5. Where did you spot those changes at, I can give it a look to see if anything has changed in auth since then.

My full config is as follows:

  omada:
    container_name: omada
    image: mbentley/omada-controller:5.3
    environment:
      - MANAGE_HTTP_PORT=8088
      - MANAGE_HTTPS_PORT=8043
      - PORTAL_HTTP_PORT=8088
      - PORTAL_HTTPS_PORT=8843
      - SHOW_SERVER_LOGS=true
      - SHOW_MONGODB_LOGS=false
      - TZ='America/Chicago'
    volumes:
      - /home/riley/appdata/omada/data:/opt/tplink/EAPController/data
      - /home/riley/appdata/omada/work:/opt/tplink/EAPController/work
      - /home/riley/appdata/omada/logs:/opt/tplink/EAPController/logs    
    network_mode: host
    restart: unless-stopped
  
  omada_exporter:
    image: ghcr.io/charlie-haley/omada_exporter:0.5.0
    container_name: "omada_exporter"
    ports:
      - 9202:9202
    environment:
      - OMADA_HOST=http://192.168.0.11:8088
      - OMADA_USER=docker
      - OMADA_PASS=supersecretrealpassword
      - OMADA_SITE=Default
      - OMADA_INSECURE=true

Let me know if there is anything else I can share to help. I know a bit of go and can try and lend a hand if needed as well. Thanks for an awesome project!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.