Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bastischubert/add tplink ddm #1304

Merged
merged 3 commits into from
Nov 30, 2024

Conversation

bastischubert
Copy link
Member

TPlink ddm monitoring

tested against TPLink SG3428X

# HELP ddmStatusBiasCurrent This object indicates the bias current of the port. - 1.3.6.1.4.1.11863.6.96.1.7.1.1.4 (regex extracted)
# TYPE ddmStatusBiasCurrent gauge
ddmStatusBiasCurrent{ifAlias="promtest",ifIndex="49180",ifName="ten-gigabitEthernet 1/0/28"} 38.424
# HELP ddmStatusLossSignal This object indicates whether local SFP reports signal loss or not. - 1.3.6.1.4.1.11863.6.96.1.7.1.1.8 (regex extracted)
# TYPE ddmStatusLossSignal gauge
ddmStatusLossSignal{ifAlias="promtest",ifIndex="49180",ifName="ten-gigabitEthernet 1/0/28"} 0
# HELP ddmStatusRxPow This object indicates the rx power of the port. - 1.3.6.1.4.1.11863.6.96.1.7.1.1.6 (regex extracted)
# TYPE ddmStatusRxPow gauge
ddmStatusRxPow{ifAlias="promtest",ifIndex="49180",ifName="ten-gigabitEthernet 1/0/28"} 0.0001
# HELP ddmStatusTemperature This object indicates the temperature of the port. - 1.3.6.1.4.1.11863.6.96.1.7.1.1.2 (regex extracted)
# TYPE ddmStatusTemperature gauge
ddmStatusTemperature{ifAlias="promtest",ifIndex="49180",ifName="ten-gigabitEthernet 1/0/28"} 41.328125
# HELP ddmStatusTxFault This object indicates whether remote SFP reports signal loss or not. - 1.3.6.1.4.1.11863.6.96.1.7.1.1.9 (regex extracted)
# TYPE ddmStatusTxFault gauge
ddmStatusTxFault{ifAlias="promtest",ifIndex="49180",ifName="ten-gigabitEthernet 1/0/28"} 0
# HELP ddmStatusTxPow This object indicates the tx power of the port. - 1.3.6.1.4.1.11863.6.96.1.7.1.1.5 (regex extracted)
# TYPE ddmStatusTxPow gauge
ddmStatusTxPow{ifAlias="promtest",ifIndex="49180",ifName="ten-gigabitEthernet 1/0/28"} 0.5973
# HELP ddmStatusVoltage This object indicates the voltage of the port. - 1.3.6.1.4.1.11863.6.96.1.7.1.1.3 (regex extracted)
# TYPE ddmStatusVoltage gauge
ddmStatusVoltage{ifAlias="promtest",ifIndex="49180",ifName="ten-gigabitEthernet 1/0/28"} 3.2886

Signed-off-by: Sebastian Schubert <basti@schubert.digital>
Signed-off-by: Sebastian Schubert <basti@schubert.digital>
@bastischubert bastischubert requested a review from SuperQ November 28, 2024 22:21
Copy link
Member

@RichiH RichiH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@RichiH RichiH merged commit f166e4d into prometheus:main Nov 30, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants