Files
librenms-librenms/includes/definitions/discovery/ies5000.yaml
Tony Murray f2f169ae78 Modernize mempools (#12282)
* mempools to modern module
quick hacky hrstorage port

* port ucd-snmp-mib to Mempools

* Populate DB for ucd
Prep for yaml

* initial yaml attempt

* more complex conversions
fixes to YamlDiscovery, make leading $ optional and allow mib::oid format

* walk full tables and skip values
normalize percentages above 100

* handle precent only ones (specify total as 100)

* Move default polling out of YamlMempoolsDiscovery

* fixes

* Update test data hrstorage should be correct.

* perc_warn for hrstorage

* Host Resources, record buffer, cached, and shared

* Host Resources is always better, don't do both HR and UCD

* fix unix, include warning levels

* variable size

* consolidate skip_values

* define mempools schema

* number instead of integer

* more schema refactor

* one more skip_values reference

* throw error for invalid oid translation
aos6

* a*  and Cisco

* updated test data

* update almost all hrstorage data files

* b*

* c* with test data
use standard cache for hrStorage

* use cache for storage module too

* hand bsnmp properly

* bdcom

* exclude total oid from yaml so it is not polled
May add a way to ignore this behavior and poll it, but I don't know if that is needed.

* automatically handle percent only values

* ciscowlc

* only poll used or free if we have used, free, and total.

* fix skipping

* the dlinkoning
fix find value when value "name" is numeric

* support numeric oids

* dnos/ftos attempt

* I guess we can't filter on total > 0

* edgecos

* e*

* f WIP

* f*

* gwd (aka g*)

* h* + procurve

* i*

* j*

* m*

* support 0% used memory (however unlikely)

* n*

* CISCO-PROCESS-MIB memory, share cache with processors module

* ignore mempools with invalid total

* p*

* quanta

* r*
fix raisecom mibs terribly broken

* s-z

* style fixes

* Move VRP back to PHP and make it actually work

* fix zynos

* update schema

* Update Cisco processor data for description bug fixes

* fix comware processors

* comware mempools with memory size
default precision to 1

* sophos-xg updated data

* hrstorage use ram size for buffers, cache, and shared

* Show memory available instead of free in device overview

* UCD, use same rrd format, store available instead of free in the db.

* Calculate availability for HOST-RESOURCES-MIB

* Convert UCD to standard polling

* rename old rrd files

* initial graph work

* graph WIP

* Graph looking decent

* Graph looking decent for hr

* remove old ucd_graph code

* handle availability mempool
more graph cleanup

* color adjustments

* remove accidental free calculation

* Update test data and fix corner cases

* fis pfsense

* update schema

* add default value for mempool_class

* fix whitespace

* update schema

* update schema correctly

* one more time

* fortigate_1500d-sensors missing oids

* Update docs.

* fix indent

* add implements MempoolsDiscovery explicitly to OS

* remove ucd_memory graph references
remove unused device_memory graph

* remove unused functions

* set devices with mempools to rediscover to prevent/minimize gaps

* use a subquery

* add overview graph

* port health mempools table

* Update device mempool

* only show overview if multiple

* Don't override user set warn percentages in discovery

* fix missed usage

* fix style

* Safety check to not rename rrd files incorrectly if migration has not been run.

* Fix overview percent bar and represent available and used on the bar

* missed an item to convert to mempool_class

* percent on the wrong side
2020-11-23 15:35:35 -06:00

119 lines
6.1 KiB
YAML

mib: ZYXEL-IES5000-MIB
modules:
mempools:
data:
-
oid: ZYXEL-IES5000-MIB::memoryUsageTable
percent_used: ZYXEL-IES5000-MIB::memoryCurValue
descr: ZYXEL-IES5000-MIB::memoryDescr
warn_percent: ZYXEL-IES5000-MIB::memoryHighThresh
os:
serial: .1.3.6.1.4.1.890.1.5.13.5.6.2.1.3.0
version:
- .1.3.6.1.4.1.890.1.5.13.5.6.3.1.4.0.1
- .1.3.6.1.4.1.890.1.5.13.5.6.3.1.4.0.6
processors:
data:
-
oid: cpuUtilizationTable
value: cpuCurValue
num_oid: '.1.3.6.1.4.1.890.1.5.13.5.11.3.4.1.2.{{ $index }}'
snmp_flags: ['-OeQUsb', '-Pu'] # workaround for underscores in mib
descr: '{{ $index }} {{ $cpuDescr }}'
#high_limit: cpuHighThresh
sensors:
fanspeed:
data:
-
oid: fanRpmTable
value: fanRpmCurValue
num_oid: '.1.3.6.1.4.1.890.1.5.13.5.11.3.1.1.2.{{ $index }}'
snmp_flags: ['-OeQUs', '-Pu'] # workaround for underscores in mib
descr: '{{ $fanRpmDescr }} Speed'
low_limit: fanRpmLowThresh
high_limit: fanRpmHighThresh
voltage:
data:
-
oid: voltageTable
value: voltageCurValue
num_oid: '.1.3.6.1.4.1.890.1.5.13.5.11.3.2.1.2.{{ $index }}'
snmp_flags: ['-OeQUs', '-Pu'] # workaround for underscores in mib
descr: '{{ $voltageDescr }} {{ $voltageNominalValue }}mA'
divisor: 1000
low_limit: voltageLowThresh
high_limit: voltageHighThresh
temperature:
data:
-
oid: temperatureTable
value: temperatureCurValue
num_oid: '.1.3.6.1.4.1.890.1.5.13.5.11.3.3.1.2.{{ $index }}'
snmp_flags: ['-OeQUs', '-Pu'] # workaround for underscores in mib
descr: '{{ $temperatureDescr }}'
low_limit: temperatureLowThresh
high_limit: temperatureHighThresh
state:
data:
-
oid: chassisTable
value: chassisStatus
num_oid: '.1.3.6.1.4.1.890.1.5.13.5.6.2.1.5.{{ $index }}'
snmp_flags: ['-LE 3', '-OeQUs', '-Pu'] # workaround for underscores in mib
descr: 'Chassis {{ $chassisNumber }} Status'
state_name: chassisStatus
states:
- { descr: empty, graph: 0, value: 1, generic: 3 }
- { descr: up, graph: 0, value: 2, generic: 0 }
- { descr: down, graph: 0, value: 3, generic: 2 }
- { descr: testing, graph: 0, value: 4, generic: 1 }
-
oid: slotTable
value: slotModuleStatus
num_oid: '.1.3.6.1.4.1.890.1.5.13.5.6.3.1.7.{{ $index }}'
snmp_flags: ['-LE 3', '-OeQUs', '-Pu'] # workaround for underscores in mib
descr: '{{ $index }} {{ $slotModuleDescr }} {{ $slotModuleFWVersion }} Status'
state_name: slotModuleStatus
skip_values: 1
states:
- { descr: empty, graph: 0, value: 1, generic: 3 }
- { descr: up, graph: 0, value: 2, generic: 0 }
- { descr: down, graph: 0, value: 3, generic: 2 }
- { descr: testing, graph: 0, value: 4, generic: 1 }
- { descr: standby, graph: 0, value: 5, generic: 3 }
-
oid: systemStatus
value: systemStatus
num_oid: '.1.3.6.1.4.1.890.1.5.13.5.11.1.1.{{ $index }}'
snmp_flags: ['-LE 3','-OeQUs', '-Pu'] # workaround for underscores in mib
descr: 'System Status'
state_name: systemStatus
states:
- { value: 1, generic: 0, graph: 0, descr: moduleNoDefect }
- { value: 2, generic: 2, graph: 0, descr: moduleOverHeat }
- { value: 4, generic: 2, graph: 0, descr: moduleFanRpmLow }
- { value: 8, generic: 2, graph: 0, descr: moduleVoltageLow }
- { value: 16, generic: 2, graph: 0, descr: moduleThermalSensorFailure }
- { value: 32, generic: 2, graph: 0, descr: modulePullOut }
- { value: 64, generic: 2, graph: 0, descr: powerDC48VAFailure }
- { value: 128, generic: 2, graph: 0, descr: powerDC48VBFailure }
- { value: 256, generic: 2, graph: 0, descr: extAlarmInputTrigger }
- { value: 512, generic: 2, graph: 0, descr: moduleDown }
- { value: 1024, generic: 2, graph: 0, descr: mscSwitchOverOK }
- { value: 2048, generic: 2, graph: 0, descr: networkTopologyChange }
- { value: 4096, generic: 2, graph: 0, descr: macSpoof }
- { value: 8192, generic: 2, graph: 0, descr: cpuHigh }
- { value: 16384, generic: 2, graph: 0, descr: memoryUsageHigh }
- { value: 32768, generic: 2, graph: 0, descr: packetBufferUsageHigh }
-
oid: ledAlarmStatus
value: ledAlarmStatus
num_oid: '.1.3.6.1.4.1.890.1.5.13.5.11.1.2.1.{{ $index }}'
snmp_flags: ['-LE 3','-OeQUs', '-Pu'] # workaround for underscores in mib
descr: 'Alarm LED Status'
state_name: alarmLedStatus
states:
- { value: 1, generic: 2, graph: 0, descr: on }
- { value: 2, generic: 0, graph: 0, descr: off }