Files
Tony Murray 61316ce2cc PHP 8 fixes (#12528)
* port related errors

* more fixes

* fix storage count

* add tests for php8

* style

* only need not empty

* aix fixes....

* storage WIP

* fix aix discovering hrstorage
fix db test adding .gitkeep
fix os modules when discovery only

* fix aos processors wrong oid

* fix mempool number casting

* fix aos7 cpu

* use + 0 cast instead of floatval()

* more verbose error on invalid json

* remove invalid data in json

* actually fix the json

* correct json error fix

* cast_number() function
fix aruba-instant and aos6 bugs exposed by new function, probably more...

* fix a-f
fix inadequate sort for component data

* fix global port poll time

* fix mempools precent 0, route count, ntp const

* fix schleifenbauer liberal current usage

* further number casting refinement

* vrp

* fix tests

* fix arbos

* warn cleanups adjust to :: change

* fix ciena-sds

* fix drac

* fix dell-rpdu anddlink

* fix and improve arubaos
better error when getting an array in Processor

* fix atenpdu, add missing arubaos files

* aruba-instant to yaml
apparently I didn't need to do this, the diff just looks really odd
It did add ranged sub-index replacements

* docker app, was completely wrong... fixed

* fix sentry4 divide by 0...

* fixed root issue, remove check

* nicer cidr in ipv6 code

* remove bogus enuxus battery bank skip_values

* Fix InfluxDB tests

* remove extra import

* fix other style issues.

* influx "style" fixes
2021-03-12 18:10:14 -06:00

82 lines
3.6 KiB
YAML

mib: EQUIPMENT-MIB:DLINKSW-ENTITY-EXT-MIB
modules:
mempools:
data:
-
percent_used: AGENT-GENERAL-MIB::agentDRAMutilization
index: 0
-
oid: DLINKSW-ENTITY-EXT-MIB::dEntityExtMemoryUtilTable
total: dEntityExtMemUtilTotal
used: dEntityExtMemUtilUsed
free: dEntityExtMemUtilFree
descr: '{{ $subindex1 }} Memory'
snmp_flags: '-OQUs'
os:
sysDescr_regex: '/(D-Link )?(?<hardware>\S+) (?<version>[0-9.]+)?/'
version:
- DLINKSW-ENTITY-EXT-MIB::dEntityExtVersionRuntime.1
- .1.3.6.1.2.1.16.19.2.0
- .1.3.6.1.4.1.171.12.11.1.9.4.1.11.1
serial:
- .1.3.6.1.4.1.171.12.11.1.9.4.1.17.1
- .1.3.6.1.4.1.171.12.1.1.12.0
processors:
data:
-
oid: AGENT-GENERAL-MIB::agentCPUutilizationIn5sec
value: AGENT-GENERAL-MIB::agentCPUutilizationIn5sec
num_oid: '.1.3.6.1.4.1.171.12.1.1.6.1.{{ $index }}'
-
oid: DLINKSW-ENTITY-EXT-MIB::dEntityExtCpuUtilOneMinute
value: DLINKSW-ENTITY-EXT-MIB::dEntityExtCpuUtilOneMinute
num_oid: '.1.3.6.1.4.1.171.14.5.1.7.1.4.{{ $index }}'
sensors:
temperature:
data:
-
oid: swTemperatureTable
value: swTemperatureCurrent
num_oid: '.1.3.6.1.4.1.171.12.11.1.8.1.2.{{ $index }}'
descr: 'Current Sys Temp {{ $index }}'
index: 'swTemperatureCurrent.{{ $index }}'
-
oid: dEntityExtEnvTempTable
value: dEntityExtEnvTempCurrent
num_oid: '.1.3.6.1.4.1.171.14.5.1.1.1.1.4.{{ $index }}'
descr: $dEntityExtEnvTempDescr
index: 'dEntityExtEnvTempCurrent.{{ $index }}'
low_limit: dEntityExtEnvTempThresholdLow
high_limit: dEntityExtEnvTempThresholdHigh
state:
data:
-
oid: dEntityExtEnvFanTable
value: dEntityExtEnvFanStatus
num_oid: '.1.3.6.1.4.1.171.14.5.1.1.2.1.4.{{ $index }}'
descr: dEntityExtEnvFanDescr
index: 'dEntityExtEnvFanStatus.{{ $index }}'
states:
- { descr: Ok, graph: 1, value: 1, generic: 0 }
- { descr: Fault, graph: 1, value: 2, generic: 2 }
-
oid: dEntityExtEnvPowerTable
value: dEntityExtEnvPowerStatus
num_oid: '.1.3.6.1.4.1.171.14.5.1.1.3.1.6.{{ $index }}'
descr: dEntityExtEnvPowerDescr
index: 'dEntityExtEnvPowerStatus.{{ $index }}'
states:
- { descr: In Operation, graph: 1, value: 1, generic: 0 }
- { descr: Failed, graph: 1, value: 2, generic: 2 }
- { descr: Empty, graph: 1, value: 3, generic: 3 }
-
oid: dEntityExtEnvTempTable
value: dEntityExtEnvTempStatus
num_oid: '.1.3.6.1.4.1.171.14.5.1.1.1.1.7.{{ $index }}'
descr: dEntityExtEnvTempDescr
index: 'dEntityExtEnvTempStatus.{{ $index }}'
states:
- { descr: Ok, graph: 1, value: 1, generic: 0 }
- { descr: Abnormal, graph: 1, value: 2, generic: 2 }