Files
Tony MurrayandNeil Lathwood 63c85429ae Added support for grouping sensors (#9606)
Improves visual identification for sensors

 - [x] Docs

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2019-01-11 22:42:56 +00:00

89 lines
5.4 KiB
YAML

mib: CISCO-UNIFIED-COMPUTING-EQUIPMENT-MIB
modules:
sensors:
pre-cache:
data:
- oid:
- cucsEquipmentChassisDn
- cucsEquipmentFanModuleDn
- cucsEquipmentPsuDn
state:
data:
-
oid: cucsEquipmentChassisOperState
value: cucsEquipmentChassisOperState
num_oid: '.1.3.6.1.4.1.9.9.719.1.15.7.1.27.{{ $index }}'
descr: 'Chassis - {{ $cucsEquipmentChassisDn }}'
index: '{{ $index }}'
group: Chassis
states:
- { value: 0, descr: unknown, graph: 1, generic: 3 }
- { value: 1, descr: operable, graph: 1, generic: 0 }
- { value: 2, descr: inoperable, graph: 1, generic: 2 }
- { value: 3, descr: degraded, graph: 1, generic: 2 }
- { value: 4, descr: powered off, graph: 1, generic: 3 }
- { value: 5, descr: power problem, graph: 1, generic: 2 }
- { value: 6, descr: removed, graph: 1, generic: 3 }
- { value: 7, descr: voltage problem, graph: 1, generic: 2 }
- { value: 8, descr: thermal problem, graph: 1, generic: 2 }
- { value: 9, descr: performance problem, graph: 1, generic: 2 }
- { value: 10, descr: accessibility problem, graph: 1, generic: 2 }
- { value: 11, descr: identity unestablishable, graph: 1, generic: 2 }
- { value: 12, descr: BIOS POST timeout, graph: 1, generic: 2 }
- { value: 13, descr: disabled, graph: 1, generic: 3 }
- { value: 14, descr: malformed FRU, graph: 1, generic: 1 }
- { value: 51, descr: fabric connectivity problem, graph: 1, generic: 2 }
- { value: 52, descr: fabric unsupported connection, graph: 1, generic: 2 }
- { value: 81, descr: config, graph: 1, generic: 1 }
- { value: 82, descr: equipment problem, graph: 1, generic: 2 }
- { value: 83, descr: decomissioning, graph: 1, generic: 1 }
- { value: 84, descr: chassis limit exceeded, graph: 1, generic: 1 }
- { value: 100, descr: not supported, graph: 1, generic: 1 }
- { value: 101, descr: discovery, graph: 1, generic: 3 }
- { value: 102, descr: discovery failed, graph: 1, generic: 1 }
- { value: 103, descr: identify, graph: 1, generic: 3 }
- { value: 104, descr: post failure, graph: 1, generic: 2 }
- { value: 105, descr: upgrade problem, graph: 1, generic: 2 }
- { value: 106, descr: peer communication problem, graph: 1, generic: 2 }
- { value: 107, descr: auto upgrade, graph: 1, generic: 3 }
-
oid: cucsEquipmentFanModuleOperState
value: cucsEquipmentFanModuleOperState
num_oid: '.1.3.6.1.4.1.9.9.719.1.15.13.1.7.{{ $index }}'
descr: 'Fan Module - {{ $cucsEquipmentFanModuleDn }}'
index: '{{ $index }}'
group: Fans
states:
- { value: 0, descr: unknown, graph: 1, generic: 3 }
- { value: 1, descr: ok, graph: 1, generic: 0 }
- { value: 2, descr: upper non-recoverable, graph: 1, generic: 2 }
- { value: 3, descr: upper critical, graph: 1, generic: 2 }
- { value: 4, descr: upper non-critical, graph: 1, generic: 1 }
- { value: 5, descr: lower non-critical, graph: 1, generic: 1 }
- { value: 6, descr: lower critical, graph: 1, generic: 2 }
- { value: 7, descr: lower non-recoverable, graph: 1, generic: 2 }
- { value: 100, descr: not supported, graph: 1, generic: 3 }
-
oid: cucsEquipmentPsuPower
value: cucsEquipmentPsuPower
num_oid: '.1.3.6.1.4.1.9.9.719.1.15.56.1.10.{{ $index }}'
descr: 'PSU - {{ $cucsEquipmentPsuDn }}'
index: '{{ $index }}'
group: PSU
states:
- { value: 0, descr: unknown, graph: 1, generic: 3 }
- { value: 1, descr: on, graph: 1, generic: 0 }
- { value: 2, descr: test, graph: 1, generic: 3 }
- { value: 3, descr: off, graph: 1, generic: 0 }
- { value: 4, descr: online, graph: 1, generic: 0 }
- { value: 5, descr: offline, graph: 1, generic: 3 }
- { value: 6, descr: off duty, graph: 1, generic: 3 }
- { value: 7, descr: degraded, graph: 1, generic: 2 }
- { value: 8, descr: power save, graph: 1, generic: 0 }
- { value: 9, descr: error, graph: 1, generic: 2 }
- { value: 10, descr: ok, graph: 1, generic: 0 }
- { value: 11, descr: failed, graph: 1, generic: 2 }
- { value: 100, descr: not supported, graph: 1, generic: 3 }