Skip to content
New issue

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

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

Already on GitHub? # 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
SuperQ added a commit that referenced this pull request Jan 3, 2025
BREAKING CHANGES:

This version of the exporter introduces a cleaned up default snmp.yml that moved all
ucd-snmp-mib oids into a separate module.

If you used one of the following modules:
* synology
* ddwrt
* kemp_loadmaster 

you will need to change your scrape config to also include the ucd_la_table module as well.
See https://github.com/prometheus/snmp_exporter/tree/main?tab=readme-ov-file#multi-module-handling for further instructions.

* [CHANGE] generator: Update generator default MIBOPTS #1231
* [CHANGE] adopt log/slog, drop go-kit/log #1249
* [ENHANCEMENT] generator: Improve config error message #1274
* [FEATURE] add ParseDateAndTime type #1234 
* [FEATURE] Set UseUnconnectedUDPSocket option if one of the modules has if set #1247
* [FEATURE] add NTPTimeStamp type #1315
* [BUGFIX] fixed dashboard mixins #1319

snmp.yml changes:
* cleanup ucd-snmp-mibs #1200
  * moved oids from synology,ddwrt and kemp_loadmaster to new module ucd_la_table 
* Added support for Sophos XG Series #1239
* Added support for HPE #1267
* Added support for powercom #1275
* Added support for Cisco IMC #1293
* Updated mib for apc #1303
* Added support for TPLink DDM #1304

---------

Signed-off-by: Sebastian Schubert <basti@schubert.digital>
Signed-off-by: Sebastian Schubert <16682281+bastischubert@users.noreply.github.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants