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

module update: add ignore to hrDevice/hrStorage; drop unused mikrotik lookups #1349

Merged
merged 1 commit into from
Jan 28, 2025
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
27 changes: 22 additions & 5 deletions generator/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -724,10 +724,6 @@ modules:
- source_indexes: [mtxrPartitionIndex]
lookup: mtxrPartitionName
overrides:
ifName:
ignore: true # Lookup metric
ifType:
type: EnumAsInfo
# Remap enums where 1==true, 2==false to become 0==false, 1==true.
hrDiskStorageRemoveble:
scale: -1.0
Expand Down Expand Up @@ -762,13 +758,34 @@ modules:
lookups:
- source_indexes: [hrStorageIndex]
lookup: hrStorageDescr
drop_source_indexes: true
- source_indexes: [hrStorageIndex]
lookup: hrStorageType
overrides:
hrStorageIndex:
ignore: true
hrStorageType:
ignore: true
hrStorageDescr:
ignore: true
hrDevice:
walk:
- hrDevice
lookups:
- source_indexes: [hrDeviceIndex]
lookup: hrDeviceDescr
- source_indexes: [hrDeviceIndex]
lookup: hrDeviceType
overrides:
hrPrinterStatus:
type: EnumAsStateSet
hrDeviceIndex:
ignore: true
hrDeviceType:
ignore: true
hrDeviceDescr:
ignore: true
hrProcessorFrwID:
ignore: true
hrSWRun:
walk:
- hrSWRun
Expand Down
Loading
Loading