Files
Tony Murray 941037e44e Convert OS discovery to new style (#12099)
* terra

* airos

* port cisco os polling
old wwan polling was broken and deprecated anyway

* enterasys

* Brother, a few changes

* AW Plus

* Fabos

* set expected test data

* 3com

* Adva FSP150

* advantech

* airos-af

* aix

* akcp

* allied

* allworx and missed mibs

* anyos

* fixup some zyxel shared stuffs
zywall graph polling

* aos

* apc

* apex

* apsoluteos

* fix copyrights

* arris

* arris

* aruba-instant

* ArubaOS

* Ascom

* asuswrt-merlin, ats

* audiocodes

* avocent

* avtech

* barracuda

* binox

* boss

* canonprinter

* cdata

* ceraos

* ciena-waveserver

* fix 3com

* fix airos

* fix brother yaml?

* fix aos more

* fix and improve apc

* fix arista test data

* yaml discovery (basic)

* cimc

* mib not used

* remove old discovery file

* ciscosat

* ciscosb fixes + improvements

* comware

* ctm

* cumulus

* cxr-ts

* cyberoam-utm

* cyberpower

* dahua-nvr

* dasan-nos

* datadomain

* dcn-software and fallback oids

* dd-wrt

* dell-laser

* d*

* e* and location

* forti, post processing, oid coalescing

* Freebsd array of sysDescr regex

* finish f*

* g*

* h*

* i* WIP

* i*

* Junos

* j*

* k*

* unix refactor previous to yaml more
inject $device

* fixes

* fixes

* l*

* m*

* n* ability to set other fields in regex
tnmsne polling to eloquent

* o*

* p*

* q* + bonus calix

* r*

* s* WIP

* s*

* t*

* u*

* v*
rework vrp to yaml (hybrid)

* w*

* x*

* z*

* a* easy no-data

* fixes

* style fixes

* missed ApexPlus

* fix signature

* Add missing location data

* rename getDevice functions

* add new cisco ftd data

* update docs

* revert sill snmp format

* fix snmp options

* update for new smartax test data

* rebase dsm

* fix voss
2020-09-18 15:12:07 +02:00

132 lines
6.0 KiB
YAML

mib: NSCRTV-ROOT
modules:
os:
hardware: NSCRTV-ROOT::commonDeviceModelNumber.1
serial: NSCRTV-ROOT::commonDeviceSerialNumber.1
sensors:
state:
data:
-
oid: commonDeviceResetCause
num_oid: '.1.3.6.1.4.1.17409.1.3.3.2.2.1.13.{{ $index }}'
descr: "Last Reset Cause"
group: Common
state_name: commonDeviceResetCause
states:
- { value: 1, generic: 3, graph: 1, descr: 'other' }
- { value: 2, generic: 2, graph: 1, descr: 'powerup' }
- { value: 3, generic: 1, graph: 1, descr: 'command' }
- { value: 4, generic: 1, graph: 1, descr: 'watchdog' }
- { value: 5, generic: 1, graph: 1, descr: 'craft' }
-
oid: commonDeviceTamperStatus
num_oid: '.1.3.6.1.4.1.17409.1.3.3.2.2.1.11.{{ $index }}'
descr: "Safety Switch"
group: Common
state_name: commonDeviceTamperStatus
states:
- { value: 1, generic: 1, graph: 1, descr: 'intact' }
- { value: 2, generic: 0, graph: 1, descr: 'compromised' }
-
oid: commonDeviceCraftStatus
num_oid: '.1.3.6.1.4.1.17409.1.3.3.2.2.1.14.{{ $index }}'
descr: "RS232 or RS485 Status"
group: Common
state_name: commonDeviceCraftStatus
states:
- { value: 1, generic: 2, graph: 1, descr: 'disconnected' }
- { value: 2, generic: 0, graph: 1, descr: 'connected' }
-
oid: powerSupplyStatusA
num_oid: '.1.3.6.1.4.1.17409.1.11.32.{{ $index }}'
descr: "Power Supply A"
group: Power
state_name: powerSupplyStatusA
states:
- { value: 0, generic: 3, graph: 1, descr: 'undefined' }
- { value: 1, generic: 0, graph: 1, descr: 'nominal' }
- { value: 2, generic: 2, graph: 1, descr: 'failure' }
- { value: 3, generic: 1, graph: 1, descr: 'notInstalled' }
-
oid: powerSupplyStatusB
num_oid: '.1.3.6.1.4.1.17409.1.11.33.{{ $index }}'
descr: "Power Supply B"
group: Power
state_name: powerSupplyStatusB
states:
- { value: 0, generic: 3, graph: 1, descr: 'undefined' }
- { value: 1, generic: 0, graph: 1, descr: 'nominal' }
- { value: 2, generic: 2, graph: 1, descr: 'failure' }
- { value: 3, generic: 1, graph: 1, descr: 'notInstalled' }
-
oid: oaDCPowerSupplyMode
num_oid: '.1.3.6.1.4.1.17409.1.11.6.{{ $index }}'
descr: "Power Supply Mode"
group: Power
state_name: oaDCPowerSupplyMode
states:
- { value: 1, generic: 0, graph: 1, descr: 'loadsharing' }
- { value: 2, generic: 0, graph: 1, descr: 'switchRedundant' }
- { value: 3, generic: 1, graph: 1, descr: 'aloneSupply' }
temperature:
data:
-
oid: commonDeviceInfoEntry
value: commonDeviceInternalTemperature
num_oid: '.1.3.6.1.4.1.17409.1.3.3.2.2.1.12.{{ $index }}'
index: 'commonDeviceInternalTemperature.{{ $index }}'
descr: Internal Temperature
group: Device
-
oid: oaPumpEntry
value: oaPumpTemp
num_oid: '.1.3.6.1.4.1.17409.1.11.4.1.4.{{ $index }}'
index: 'oaPumpTemp.{{ $index }}'
descr: "Laser Temperature {{ $index }}"
group: Laser
divisor: 10
voltage:
data:
-
oid: oaDCPowerEntry
value: oaDCPowerVoltage
num_oid: '.1.3.6.1.4.1.17409.1.11.7.1.2.{{ $index }}'
index: 'oaDCPowerVoltage.{{ $index }}'
descr: oaDCPowerName
group: Power
divisor: 10
current:
data:
-
oid: oaDCPowerEntry
value: oaDCPowerCurrent
num_oid: '.1.3.6.1.4.1.17409.1.11.7.1.3.{{ $index }}'
index: 'oaDCPowerCurrent.{{ $index }}'
descr: oaDCPowerName
group: Power
divisor: 100
-
oid: oaPumpEntry
value: oaPumpBIAS
num_oid: '.1.3.6.1.4.1.17409.1.11.4.1.2.{{ $index }}'
index: 'oaPumpBIAS.{{ $index }}'
descr: "BIAS {{ $index }}"
group: Laser
multiplier: 100
dbm:
data:
-
oid: oaOutputOpticalPower
num_oid: '.1.3.6.1.4.1.17409.1.11.2.{{ $index }}'
index: 'oaOutputOpticalPower.{{ $index }}'
descr: Total Output Optical Power
group: Output
divisor: 10
-
oid: oaInputOpticalPower
num_oid: '.1.3.6.1.4.1.17409.1.11.3.{{ $index }}'
index: 'oaInputOpticalPower.{{ $index }}'
descr: Input Optical Power
group: Input
divisor: 10