Cisco SB/CBS environment sensors (#14154)

* Update ciscosb.yaml

Added detection for environment sensors (FAN and PSU) for cisco small business devices

* Added test data

* Update ciscosb_sg550x-8f8t.json

Korrektur Übertragungsfehler

* Update ciscosb_cbs250-24p-4x.json

* Update ciscosb_cbs250-24p-4x.json

* Update ciscosb_cbs250-24p-4x.json

* Update ciscosb_cbs250-24p-4x.json

* Update ciscosb_cbs250-24p-4x.json

Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
Fehler12 2022-08-08 03:12:07 +02:00 committed by GitHub
parent 8179cd90b6
commit 8d863fbc83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 79980 additions and 1 deletions

View File

@ -1,4 +1,4 @@
mib: CISCOSB-rndMng
mib: CISCOSB-rndMng:CISCOSB-HWENVIROMENT:CISCOSB-POE-MIB
modules:
os:
sysDescr_regex:
@ -13,3 +13,66 @@ modules:
oid: rlCpuUtilDuringLastMinute
num_oid: '.1.3.6.1.4.1.9.6.1.101.1.8.{{ $index }}'
descr: CPU
sensors:
state:
data:
-
oid: rlEnvMonFanState
value: rlEnvMonFanState
num_oid: '.1.3.6.1.4.1.9.6.1.101.83.1.1.1.3.{{ $index }}'
descr: 'FAN {{ $index }} Status'
index: '{{ $index }}'
states:
- { value: 1, descr: normal, graph: 1, generic: 0 }
- { value: 2, descr: wrning, graph: 1, generic: 1 }
- { value: 3, descr: critical, graph: 1, generic: 2 }
- { value: 4, descr: shutdown, graph: 1, generic: 2 }
- { value: 5, descr: notPresent, graph: 1, generic: 3 }
- { value: 6, descr: notFunctioning, graph: 1, generic: 2 }
skip_values:
-
oid: rlEnvMonFanState
op: '=='
value: 5
-
oid: rlEnvMonSupplyState
value: rlEnvMonSupplyState
num_oid: '.1.3.6.1.4.1.9.6.1.101.83.1.2.1.3.{{ $index }}'
descr: 'PSU {{ $index }} Status'
index: '{{ $index }}'
states:
- { value: 1, descr: normal, graph: 1, generic: 0 }
- { value: 2, descr: wrning, graph: 1, generic: 1 }
- { value: 3, descr: critical, graph: 1, generic: 2 }
- { value: 4, descr: shutdown, graph: 1, generic: 2 }
- { value: 5, descr: notPresent, graph: 1, generic: 3 }
- { value: 6, descr: notFunctioning, graph: 1, generic: 2 }
skip_values:
-
oid: rlEnvMonSupplyState
op: '=='
value: 5
# power:
# data:
# -
# oid: rlPethPsePortOutputPower
# value: rlPethPsePortOutputPower
# num_oid: '.1.3.6.1.4.1.9.6.1.101.108.1.1.5.{{ $index }}'
# index: '{{ $index }}'
# descr: 'POE Usage Port {{ $index }}'
# divisor : 1000
# high_limit: rlPethPsePortOperPowerLimit
temperature:
data:
-
oid: rlEnvFanDataTemp
value: rlEnvFanDataTemp
num_oid: '.1.3.6.1.4.1.9.6.1.101.83.5.1.1.2.{{ $index }}'
index: '{{ $index }}'
descr: 'FAN {{ $index }} Temperature'
user_func: fahrenheit_to_celsius
skip_values:
-
oid: rlEnvFanDataTemp
op: '=='
value: 0

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff