Files
librenms-librenms/includes/definitions/discovery/dsm.yaml
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

123 lines
6.3 KiB
YAML

mib: SYNOLOGY-SYSTEM-MIB:SYNOLOGY-RAID-MIB:SYNOLOGY-DISK-MIB
modules:
os:
hardware: SYNOLOGY-SYSTEM-MIB::modelName.0
version: SYNOLOGY-SYSTEM-MIB::version.0
version_regex: '/(DSM )?(?<version>\S+)/'
serial: SYNOLOGY-SYSTEM-MIB::serialNumber.0
sensors:
temperature:
data:
-
oid: temperature
num_oid: '.1.3.6.1.4.1.6574.1.2.{{ $index }}'
descr: 'System'
index: '99'
group: 'System'
-
oid: diskTable
value: diskTemperature
num_oid: '.1.3.6.1.4.1.6574.2.1.1.6.{{ $index }}'
descr: '{{ $diskID }} {{ $diskModel }}'
index: '{{ $index }}'
group: 'Disks'
state:
data:
-
oid: systemStatus
num_oid: '.1.3.6.1.4.1.6574.1.1.{{ $index }}'
descr: 'System'
index: '{{ $index }}'
group: 'System'
state_name: systemStatusState
states:
- { value: 1, generic: 0, graph: 0, descr: 'Normal' }
- { value: 2, generic: 2, graph: 0, descr: 'Failed' }
-
oid: powerStatus
num_oid: '.1.3.6.1.4.1.6574.1.3.{{ $index }}'
descr: 'Power'
index: '{{ $index }}'
group: 'System'
state_name: powerStatusState
states:
- { value: 1, generic: 0, graph: 0, descr: 'Normal' }
- { value: 2, generic: 2, graph: 0, descr: 'Failed' }
-
oid: systemFanStatus
num_oid: '.1.3.6.1.4.1.6574.1.4.1.{{ $index }}'
descr: 'FAN - System'
index: '{{ $index }}'
group: 'System'
state_name: systemFanStatusState
states:
- { value: 1, generic: 0, graph: 0, descr: 'Normal' }
- { value: 2, generic: 2, graph: 0, descr: 'Failed' }
-
oid: cpuFanStatus
num_oid: '.1.3.6.1.4.1.6574.1.4.2.{{ $index }}'
descr: 'FAN - CPU'
index: '{{ $index }}'
group: 'System'
state_name: cpuFanStatusState
states:
- { value: 1, generic: 0, graph: 0, descr: 'Normal' }
- { value: 2, generic: 2, graph: 0, descr: 'Failed' }
-
oid: upgradeAvailable
num_oid: '.1.3.6.1.4.1.6574.1.5.4.{{ $index }}'
descr: 'Upgrade Availability'
index: '{{ $index }}'
group: 'System'
state_name: upgradeAvailableState
states:
- { value: 1, generic: 1, graph: 0, descr: 'Available' }
- { value: 2, generic: 0, graph: 0, descr: 'Unavailable' }
- { value: 3, generic: 3, graph: 0, descr: 'Connecting' }
- { value: 4, generic: 3, graph: 0, descr: 'Disconnected' }
- { value: 5, generic: 3, graph: 0, descr: 'Others' }
-
oid: raidTable
value: raidStatus
num_oid: '.1.3.6.1.4.1.6574.3.1.1.3.{{ $index }}'
descr: '{{ $raidName }}'
index: '{{ $index }}'
group: 'RAIDs'
state_name: raidStatusState
states:
- { value: 1, generic: 0, graph: 0, descr: 'Normal' }
- { value: 2, generic: 1, graph: 0, descr: 'Repairing' }
- { value: 3, generic: 1, graph: 0, descr: 'Migrating' }
- { value: 4, generic: 1, graph: 0, descr: 'Expanding' }
- { value: 5, generic: 1, graph: 0, descr: 'Deleting' }
- { value: 6, generic: 1, graph: 0, descr: 'Creating' }
- { value: 7, generic: 1, graph: 0, descr: 'RaidSyncing' }
- { value: 8, generic: 1, graph: 0, descr: 'RaidParityChecking' }
- { value: 9, generic: 1, graph: 0, descr: 'RaidAssembling' }
- { value: 10, generic: 1, graph: 0, descr: 'Canceling' }
- { value: 11, generic: 2, graph: 0, descr: 'Degrade' }
- { value: 12, generic: 2, graph: 0, descr: 'Crashed' }
- { value: 13, generic: 1, graph: 0, descr: 'DataScrubbing' }
- { value: 14, generic: 1, graph: 0, descr: 'RaidDeploying' }
- { value: 15, generic: 1, graph: 0, descr: 'RaidUnDeploying' }
- { value: 16, generic: 1, graph: 0, descr: 'RaidMountCache' }
- { value: 17, generic: 1, graph: 0, descr: 'RaidUnmountCache' }
- { value: 18, generic: 1, graph: 0, descr: 'RaidExpandingUnfinishedSHR' }
- { value: 19, generic: 1, graph: 0, descr: 'RaidConvertSHRToPool' }
- { value: 20, generic: 1, graph: 0, descr: 'RaidMigrateSHR1ToSHR2' }
- { value: 21, generic: 3, graph: 0, descr: 'RaidUnknownStatus' }
-
oid: diskTable
value: diskStatus
num_oid: '.1.3.6.1.4.1.6574.2.1.1.5.{{ $index }}'
descr: '{{ $diskID }} {{ $diskModel }}'
index: '{{ $index }}'
group: 'Disks'
state_name: diskStatusState
states:
- { value: 1, generic: 0, graph: 0, descr: 'Normal' }
- { value: 2, generic: 1, graph: 0, descr: 'Initialized' }
- { value: 3, generic: 1, graph: 0, descr: 'NotInitialized' }
- { value: 4, generic: 2, graph: 0, descr: 'SystemPartitionFailed' }
- { value: 5, generic: 2, graph: 0, descr: 'Crashed' }