mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Added rittal-cmc (LCP Plus) skip_values opperand 'not_in_array' returns an error in pre-commit but in principal it's running. Can someone help? 1) LibreNMS\Tests\YamlTest::testDiscoveryDefinitionSchema rittal-cmc.yaml does not validate. Violations: [modules.sensors.fanspeed.data[0].skip_values[0].value] Array value found, but an integer or a string is required [modules.sensors.temperature.data[0].skip_values[0].value] Array value found, but an integer or a string is required [modules.sensors.temperature.data[1].skip_values[0].value] Array value found, but an integer or a string is required [modules.sensors.temperature.data[2].skip_values[0].value] Array value found, but an integer or a string is required [modules.sensors.temperature.data[3].skip_values[0].value] Array value found, but an integer or a string is required * fix Scrutinizer Inspection * fix codeclimate * fix typo * Update discovery_schema.json To allow arrays in comparisons * Control structures * fix the pre-fix issues * Typo in copy/paste * Update rittal-cmc.json * Unit1,2,3,4 and new snmprec, json have not changed * Update rittal-cmc.json Correct JSON data * typo copy paste Co-authored-by: PipoCanaja <[email protected]>
306 lines
13 KiB
YAML
306 lines
13 KiB
YAML
mib: RITTAL-CMC-TC-MIB
|
|
modules:
|
|
sensors:
|
|
temperature:
|
|
data:
|
|
-
|
|
oid: cmcTcUnit1SensorTable
|
|
value: unit1SensorValue
|
|
descr: unit1SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.3.5.2.1.5.{{ $index }}'
|
|
index: 'unit1SensorIndex.{{ $index }}'
|
|
group: 'Water'
|
|
skip_values:
|
|
-
|
|
oid: unit1SensorType
|
|
op: 'not_in_array'
|
|
value: [58,59,64,66,100,101]
|
|
-
|
|
oid: cmcTcUnit1SensorTable
|
|
value: unit1SensorValue
|
|
descr: unit1SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.3.5.2.1.5.{{ $index }}'
|
|
index: 'unit1SensorIndex.{{ $index }}'
|
|
group: 'Air'
|
|
skip_values:
|
|
-
|
|
oid: unit1SensorType
|
|
op: 'not_in_array'
|
|
value: [48,49,50,51,52,53,54,55,56,57]
|
|
-
|
|
oid: cmcTcUnit2SensorTable
|
|
value: unit2SensorValue
|
|
descr: unit2SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.4.5.2.1.5.{{ $index }}'
|
|
index: 'unit2SensorIndex.{{ $index }}'
|
|
group: 'Water'
|
|
skip_values:
|
|
-
|
|
oid: unit2SensorType
|
|
op: 'not_in_array'
|
|
value: [58,59,64,66,100,101]
|
|
-
|
|
oid: cmcTcUnit2SensorTable
|
|
value: unit2SensorValue
|
|
descr: unit2SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.4.5.2.1.5.{{ $index }}'
|
|
index: 'unit2SensorIndex.{{ $index }}'
|
|
group: 'Air'
|
|
skip_values:
|
|
-
|
|
oid: unit2SensorType
|
|
op: 'not_in_array'
|
|
value: [48,49,50,51,52,53,54,55,56,57]
|
|
-
|
|
oid: cmcTcUnit3SensorTable
|
|
value: unit3SensorValue
|
|
descr: unit3SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.5.5.2.1.5.{{ $index }}'
|
|
index: 'unit3SensorIndex.{{ $index }}'
|
|
group: 'Water'
|
|
skip_values:
|
|
-
|
|
oid: unit3SensorType
|
|
op: 'not_in_array'
|
|
value: [58,59,64,66,100,101]
|
|
-
|
|
oid: cmcTcUnit3SensorTable
|
|
value: unit3SensorValue
|
|
descr: unit3SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.5.5.2.1.5.{{ $index }}'
|
|
index: 'unit3SensorIndex.{{ $index }}'
|
|
group: 'Air'
|
|
skip_values:
|
|
-
|
|
oid: unit3SensorType
|
|
op: 'not_in_array'
|
|
value: [48,49,50,51,52,53,54,55,56,57]
|
|
-
|
|
oid: cmcTcUnit4SensorTable
|
|
value: unit4SensorValue
|
|
descr: unit4SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.6.5.2.1.5.{{ $index }}'
|
|
index: 'unit4SensorIndex.{{ $index }}'
|
|
group: 'Water'
|
|
skip_values:
|
|
-
|
|
oid: unit4SensorType
|
|
op: 'not_in_array'
|
|
value: [58,59,64,66,100,101]
|
|
-
|
|
oid: cmcTcUnit4SensorTable
|
|
value: unit4SensorValue
|
|
descr: unit4SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.6.5.2.1.5.{{ $index }}'
|
|
index: 'unit4SensorIndex.{{ $index }}'
|
|
group: 'Air'
|
|
skip_values:
|
|
-
|
|
oid: unit4SensorType
|
|
op: 'not_in_array'
|
|
value: [48,49,50,51,52,53,54,55,56,57]
|
|
fanspeed:
|
|
data:
|
|
-
|
|
oid: cmcTcUnit1SensorTable
|
|
value: unit1SensorValue
|
|
descr: unit1SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.3.5.2.1.5.{{ $index }}'
|
|
index: 'unit1SensorIndex.{{ $index }}'
|
|
group: 'Air'
|
|
skip_values:
|
|
-
|
|
oid: unit1SensorType
|
|
op: 'not_in_array'
|
|
value: [40,41,42,43,44,45,46,47]
|
|
-
|
|
oid: cmcTcUnit2SensorTable
|
|
value: unit2SensorValue
|
|
descr: unit2SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.4.5.2.1.5.{{ $index }}'
|
|
index: 'unit2SensorIndex.{{ $index }}'
|
|
group: 'Air'
|
|
skip_values:
|
|
-
|
|
oid: unit2SensorType
|
|
op: 'not_in_array'
|
|
value: [40,41,42,43,44,45,46,47]
|
|
-
|
|
oid: cmcTcUnit3SensorTable
|
|
value: unit3SensorValue
|
|
descr: unit3SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.5.5.2.1.5.{{ $index }}'
|
|
index: 'unit3SensorIndex.{{ $index }}'
|
|
group: 'Air'
|
|
skip_values:
|
|
-
|
|
oid: unit3SensorType
|
|
op: 'not_in_array'
|
|
value: [40,41,42,43,44,45,46,47]
|
|
-
|
|
oid: cmcTcUnit4SensorTable
|
|
value: unit4SensorValue
|
|
descr: unit4SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.6.5.2.1.5.{{ $index }}'
|
|
index: 'unit4SensorIndex.{{ $index }}'
|
|
group: 'Air'
|
|
skip_values:
|
|
-
|
|
oid: unit2SensorType
|
|
op: 'not_in_array'
|
|
value: [40,41,42,43,44,45,46,47]
|
|
-
|
|
oid: cmcTcUnit1SensorTable
|
|
value: unit1SensorValue
|
|
descr: unit1SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.3.5.2.1.5.{{ $index }}'
|
|
index: 'unit1SensorIndex.{{ $index }}'
|
|
group: 'Water'
|
|
skip_values:
|
|
-
|
|
oid: unit1SensorType
|
|
op: '!='
|
|
value: 61
|
|
-
|
|
oid: cmcTcUnit2SensorTable
|
|
value: unit2SensorValue
|
|
descr: unit2SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.4.5.2.1.5.{{ $index }}'
|
|
index: 'unit2SensorIndex.{{ $index }}'
|
|
group: 'Water'
|
|
skip_values:
|
|
-
|
|
oid: unit2SensorType
|
|
op: '!='
|
|
value: 61
|
|
-
|
|
oid: cmcTcUnit3SensorTable
|
|
value: unit3SensorValue
|
|
descr: unit3SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.5.5.2.1.5.{{ $index }}'
|
|
index: 'unit3SensorIndex.{{ $index }}'
|
|
group: 'Water'
|
|
skip_values:
|
|
-
|
|
oid: unit3SensorType
|
|
op: '!='
|
|
value: 61
|
|
-
|
|
oid: cmcTcUnit4SensorTable
|
|
value: unit4SensorValue
|
|
descr: unit4SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.6.5.2.1.5.{{ $index }}'
|
|
index: 'unit4SensorIndex.{{ $index }}'
|
|
group: 'Water'
|
|
skip_values:
|
|
-
|
|
oid: unit4SensorType
|
|
op: '!='
|
|
value: 61
|
|
cooling:
|
|
data:
|
|
-
|
|
oid: cmcTcUnit1SensorTable
|
|
value: unit1SensorValue
|
|
descr: unit1SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.3.5.2.1.5.{{ $index }}'
|
|
index: 'unit1SensorIndex.{{ $index }}'
|
|
skip_values:
|
|
-
|
|
oid: unit1SensorType
|
|
op: '!='
|
|
value: 27
|
|
-
|
|
oid: cmcTcUnit2SensorTable
|
|
value: unit2SensorValue
|
|
descr: unit2SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.4.5.2.1.5.{{ $index }}'
|
|
index: 'unit2SensorIndex.{{ $index }}'
|
|
skip_values:
|
|
-
|
|
oid: unit2SensorType
|
|
op: '!='
|
|
value: 27
|
|
-
|
|
oid: cmcTcUnit3SensorTable
|
|
value: unit3SensorValue
|
|
descr: unit3SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.5.5.2.1.5.{{ $index }}'
|
|
index: 'unit3SensorIndex.{{ $index }}'
|
|
skip_values:
|
|
-
|
|
oid: unit3SensorType
|
|
op: '!='
|
|
value: 27
|
|
-
|
|
oid: cmcTcUnit4SensorTable
|
|
value: unit4SensorValue
|
|
descr: unit4SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.6.5.2.1.5.{{ $index }}'
|
|
index: 'unit4SensorIndex.{{ $index }}'
|
|
skip_values:
|
|
-
|
|
oid: unit4SensorType
|
|
op: '!='
|
|
value: 27
|
|
waterflow:
|
|
data:
|
|
-
|
|
oid: cmcTcUnit1SensorTable
|
|
value: unit1SensorValue
|
|
descr: unit1SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.3.5.2.1.5.{{ $index }}'
|
|
index: 'unit1SensorIndex.{{ $index }}'
|
|
skip_values:
|
|
-
|
|
oid: unit1uensorType
|
|
op: '!='
|
|
value: 60
|
|
-
|
|
oid: cmcTcUnit2SensorTable
|
|
value: unit2SensorValue
|
|
descr: unit2SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.4.5.2.1.5.{{ $index }}'
|
|
index: 'unit2SensorIndex.{{ $index }}'
|
|
skip_values:
|
|
-
|
|
oid: unit2SensorType
|
|
op: '!='
|
|
value: 60
|
|
-
|
|
oid: cmcTcUnit3SensorTable
|
|
value: unit3SensorValue
|
|
descr: unit3SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.5.5.2.1.5.{{ $index }}'
|
|
index: 'unit3SensorIndex.{{ $index }}'
|
|
skip_values:
|
|
-
|
|
oid: unit3SensorType
|
|
op: '!='
|
|
value: 60
|
|
-
|
|
oid: cmcTcUnit4SensorTable
|
|
value: unit4SensorValue
|
|
descr: unit4SensorText
|
|
num_oid: '.1.3.6.1.4.1.2606.4.2.6.5.2.1.5.{{ $index }}'
|
|
index: 'unit4SensorIndex.{{ $index }}'
|
|
skip_values:
|
|
-
|
|
oid: unit4SensorType
|
|
op: '!='
|
|
value: 60
|
|
state:
|
|
data:
|
|
-
|
|
oid: cmcTcMibCondition
|
|
value: cmcTcMibCondition
|
|
descr: 'Overall status'
|
|
num_oid: '.1.3.6.1.4.1.2606.4.1.3.{{ $index }}'
|
|
index: '.cmcTcMibCondition.{{ $index }}'
|
|
states:
|
|
- { value: 1, generic: 3, graph: 0, descr: OTHER }
|
|
- { value: 2, generic: 0, graph: 0, descr: OK }
|
|
- { value: 3, generic: 1, graph: 0, descr: DEGRADED }
|
|
- { value: 4, generic: 2, graph: 0, descr: FAILED }
|
|
- { value: 5, generic: 3, graph: 0, descr: configChanged }
|