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

Deduplicate UCD-SNMP-MIB OIDs #1200

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 13 additions & 26 deletions generator/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,6 @@ modules:
#
synology:
walk:
- laNames
- laLoadInt
- ssCpuUser
- ssCpuSystem
- ssCpuIdle
- memory
- 1.3.6.1.4.1.6574.1 # synoSystem
- 1.3.6.1.4.1.6574.2 # synoDisk
- 1.3.6.1.4.1.6574.3 # synoRaid
Expand All @@ -241,9 +235,6 @@ modules:
- source_indexes: [raidIndex]
lookup: raidName
drop_source_indexes: true
- source_indexes: [laIndex]
lookup: laNames
drop_source_indexes: true
overrides:
diskModel:
type: DisplayString
Expand All @@ -270,23 +261,29 @@ modules:
version:
type: DisplayString

# DD-WRT
# UCD-SNMP-MIB
#
# The list of SNMP OIDs to care about for DD-WRT can be found here: https://www.dd-wrt.com/wiki/index.php/SNMP#Known_OID.C2.B4s_via_SNMP
# University of California, Davis extensions. Commonly used for host
# metrics. For example, Linux-based systems, DD-WRT, Synology,
# Mikrotik, Kemp LoadMaster, etc.
#
# Tested on DD-WRT v3.0-r31825 (04/06/17) with an ASUS RT-AC66U
# http://www.net-snmp.org/docs/mibs/UCD-SNMP-MIB.txt
#
ddwrt:
ucd_la_table:
walk:
- 1.3.6.1.4.1.2021.4 # memory
- 1.3.6.1.4.1.2021.10.1.1 # laIndex
- 1.3.6.1.4.1.2021.10.1.2 # laNames
- 1.3.6.1.4.1.2021.10.1.5 # laLoadInt
- 1.3.6.1.4.1.2021.11 # systemStats
- 1.3.6.1.4.1.2021.10.1.6 # laLoadFloat
lookups:
- source_indexes: [laIndex]
lookup: laNames
drop_source_indexes: true
ucd_memory:
walk:
- 1.3.6.1.4.1.2021.4 # memory
ucd_system_stats:
walk:
- 1.3.6.1.4.1.2021.11 # systemStats

# Ubiquiti / AirFiber
#
Expand Down Expand Up @@ -366,12 +363,6 @@ modules:
# https://support.kemptechnologies.com/hc/en-us/articles/202375677-LoadMaster-SNMP-MIB-s
kemp_loadmaster:
walk:
- laNames
- laLoadInt
- ssCpuUser
- ssCpuSystem
- ssCpuIdle
- memory
- 1.3.6.1.4.1.12196.13.0 # VSdesc
- 1.3.6.1.4.1.12196.13.1 # VSentry
- 1.3.6.1.4.1.12196.13.2 # RSentry
Expand Down Expand Up @@ -558,17 +549,13 @@ modules:
# http://download2.mikrotik.com/Mikrotik.mib
mikrotik:
walk:
- laIndex
- sysDescr
- mikrotik
lookups:
- source_indexes: [ifIndex]
lookup: ifName
- source_indexes: [mtxrInterfaceStatsIndex]
lookup: ifName
- source_indexes: [laIndex]
lookup: laNames
drop_source_indexes: true
- source_indexes: [mtxrGaugeIndex]
lookup: mtxrGaugeName
drop_source_indexes: true
Expand Down
Loading