diff --git a/includes/definitions/discovery/awplus.yaml b/includes/definitions/discovery/awplus.yaml index 52425eab66..e87dc99ae5 100644 --- a/includes/definitions/discovery/awplus.yaml +++ b/includes/definitions/discovery/awplus.yaml @@ -32,8 +32,7 @@ modules: high_limit: atEnvMonv2VoltageUpperThreshold temperature: options: - skip_values: 128 - skip_values: -128 + skip_values: [128, -128] data: - oid: atEnvMonv2TemperatureTable @@ -50,7 +49,7 @@ modules: num_oid: .1.3.6.1.4.1.207.8.4.4.3.12.1.1.7. descr: atEnvMonv2FanDescription index: 'atEnvMonv2FanIndex.{{ $index }}' - state_name: 'FanState' + state_name: 'AtFanState' states: - { descr: 'null', graph: 0, value: -1, generic: 3 } - { descr: failed, graph: 0, value: 1, generic: 2 } @@ -61,7 +60,7 @@ modules: num_oid: .1.3.6.1.4.1.207.8.4.4.3.12.2.1.8. descr: atEnvMonv2VoltageDescription index: 'atEnvMonv2VoltageIndex.{{ $index }}' - state_name: 'VoltageState' + state_name: 'AtVoltageState' states: - { descr: 'null', graph: 0, value: -1, generic: 3 } - { descr: outOfRange, graph: 0, value: 1, generic: 2 } @@ -72,7 +71,7 @@ modules: num_oid: .1.3.6.1.4.1.207.8.4.4.3.12.3.1.7. descr: atEnvMonv2TemperatureDescription index: 'atEnvMonv2TemperatureIndex.{{ $index }}' - state_name: 'TemperatureState' + state_name: 'AtTemperatureState' states: - { descr: 'null', graph: 0, value: -1, generic: 3 } - { descr: outOfRange, graph: 0, value: 1, generic: 2 } @@ -83,7 +82,7 @@ modules: num_oid: .1.3.6.1.4.1.207.8.4.4.3.12.4.2.1.6. descr: atEnvMonv2PsbSensorDescription index: 'atEnvMonv2PsbSensorIndex.{{ $index }}' - state_name: 'PowerSupplyState' + state_name: 'AtPowerSupplyState' states: - { descr: 'null', graph: 0, value: -1, generic: 3 } - { descr: failed, graph: 0, value: 1, generic: 2 } diff --git a/tests/data/awplus.json b/tests/data/awplus.json index 4a10783b55..8b38f7bb51 100644 --- a/tests/data/awplus.json +++ b/tests/data/awplus.json @@ -10143,7 +10143,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.1.1.7.1.10.1", "sensor_index": "atEnvMonv2FanIndex.1.10.1", - "sensor_type": "FanState", + "sensor_type": "AtFanState", "sensor_descr": "Fan: Fan Tray B 1 Int", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10158,7 +10158,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "AtFanState" }, { "sensor_deleted": "0", @@ -10166,7 +10166,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.1.1.7.1.10.2", "sensor_index": "atEnvMonv2FanIndex.1.10.2", - "sensor_type": "FanState", + "sensor_type": "AtFanState", "sensor_descr": "Fan: Fan Tray B 1 Ext", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10181,7 +10181,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "AtFanState" }, { "sensor_deleted": "0", @@ -10189,7 +10189,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.1.1.7.1.10.3", "sensor_index": "atEnvMonv2FanIndex.1.10.3", - "sensor_type": "FanState", + "sensor_type": "AtFanState", "sensor_descr": "Fan: Fan Tray B 2 Int", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10204,7 +10204,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "AtFanState" }, { "sensor_deleted": "0", @@ -10212,7 +10212,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.1.1.7.1.10.4", "sensor_index": "atEnvMonv2FanIndex.1.10.4", - "sensor_type": "FanState", + "sensor_type": "AtFanState", "sensor_descr": "Fan: Fan Tray B 2 Ext", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10227,7 +10227,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "AtFanState" }, { "sensor_deleted": "0", @@ -10235,7 +10235,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.1.1.7.1.9.1", "sensor_index": "atEnvMonv2FanIndex.1.9.1", - "sensor_type": "FanState", + "sensor_type": "AtFanState", "sensor_descr": "Fan: Fan Tray A 1 Int", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10250,7 +10250,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "AtFanState" }, { "sensor_deleted": "0", @@ -10258,7 +10258,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.1.1.7.1.9.2", "sensor_index": "atEnvMonv2FanIndex.1.9.2", - "sensor_type": "FanState", + "sensor_type": "AtFanState", "sensor_descr": "Fan: Fan Tray A 1 Ext", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10273,7 +10273,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "AtFanState" }, { "sensor_deleted": "0", @@ -10281,7 +10281,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.1.1.7.1.9.3", "sensor_index": "atEnvMonv2FanIndex.1.9.3", - "sensor_type": "FanState", + "sensor_type": "AtFanState", "sensor_descr": "Fan: Fan Tray A 2 Int", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10296,7 +10296,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "AtFanState" }, { "sensor_deleted": "0", @@ -10304,7 +10304,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.1.1.7.1.9.4", "sensor_index": "atEnvMonv2FanIndex.1.9.4", - "sensor_type": "FanState", + "sensor_type": "AtFanState", "sensor_descr": "Fan: Fan Tray A 2 Ext", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10319,7 +10319,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "AtFanState" }, { "sensor_deleted": "0", @@ -10327,7 +10327,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.1.1.7.2.10.1", "sensor_index": "atEnvMonv2FanIndex.2.10.1", - "sensor_type": "FanState", + "sensor_type": "AtFanState", "sensor_descr": "Fan: Fan Tray B 1 Int", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10342,7 +10342,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "AtFanState" }, { "sensor_deleted": "0", @@ -10350,7 +10350,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.1.1.7.2.10.2", "sensor_index": "atEnvMonv2FanIndex.2.10.2", - "sensor_type": "FanState", + "sensor_type": "AtFanState", "sensor_descr": "Fan: Fan Tray B 1 Ext", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10365,7 +10365,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "AtFanState" }, { "sensor_deleted": "0", @@ -10373,7 +10373,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.1.1.7.2.10.3", "sensor_index": "atEnvMonv2FanIndex.2.10.3", - "sensor_type": "FanState", + "sensor_type": "AtFanState", "sensor_descr": "Fan: Fan Tray B 2 Int", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10388,7 +10388,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "AtFanState" }, { "sensor_deleted": "0", @@ -10396,7 +10396,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.1.1.7.2.10.4", "sensor_index": "atEnvMonv2FanIndex.2.10.4", - "sensor_type": "FanState", + "sensor_type": "AtFanState", "sensor_descr": "Fan: Fan Tray B 2 Ext", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10411,7 +10411,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "AtFanState" }, { "sensor_deleted": "0", @@ -10419,7 +10419,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.1.1.7.2.9.1", "sensor_index": "atEnvMonv2FanIndex.2.9.1", - "sensor_type": "FanState", + "sensor_type": "AtFanState", "sensor_descr": "Fan: Fan Tray A 1 Int", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10434,7 +10434,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "AtFanState" }, { "sensor_deleted": "0", @@ -10442,7 +10442,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.1.1.7.2.9.2", "sensor_index": "atEnvMonv2FanIndex.2.9.2", - "sensor_type": "FanState", + "sensor_type": "AtFanState", "sensor_descr": "Fan: Fan Tray A 1 Ext", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10457,7 +10457,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "AtFanState" }, { "sensor_deleted": "0", @@ -10465,7 +10465,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.1.1.7.2.9.3", "sensor_index": "atEnvMonv2FanIndex.2.9.3", - "sensor_type": "FanState", + "sensor_type": "AtFanState", "sensor_descr": "Fan: Fan Tray A 2 Int", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10480,7 +10480,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "AtFanState" }, { "sensor_deleted": "0", @@ -10488,7 +10488,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.1.1.7.2.9.4", "sensor_index": "atEnvMonv2FanIndex.2.9.4", - "sensor_type": "FanState", + "sensor_type": "AtFanState", "sensor_descr": "Fan: Fan Tray A 2 Ext", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10503,7 +10503,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "AtFanState" }, { "sensor_deleted": "0", @@ -10511,7 +10511,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.4.2.1.6.1.1.2", "sensor_index": "atEnvMonv2PsbSensorIndex.1.1.2", - "sensor_type": "PowerSupplyState", + "sensor_type": "AtPowerSupplyState", "sensor_descr": "Fan/Temperature Fault", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10526,7 +10526,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "PowerSupplyState" + "state_name": "AtPowerSupplyState" }, { "sensor_deleted": "0", @@ -10534,7 +10534,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.4.2.1.6.1.1.3", "sensor_index": "atEnvMonv2PsbSensorIndex.1.1.3", - "sensor_type": "PowerSupplyState", + "sensor_type": "AtPowerSupplyState", "sensor_descr": "PSU Power Output", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10549,7 +10549,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "PowerSupplyState" + "state_name": "AtPowerSupplyState" }, { "sensor_deleted": "0", @@ -10557,7 +10557,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.4.2.1.6.1.1.4", "sensor_index": "atEnvMonv2PsbSensorIndex.1.1.4", - "sensor_type": "PowerSupplyState", + "sensor_type": "AtPowerSupplyState", "sensor_descr": "PSU Power Input", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10572,7 +10572,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "PowerSupplyState" + "state_name": "AtPowerSupplyState" }, { "sensor_deleted": "0", @@ -10580,7 +10580,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.4.2.1.6.2.1.2", "sensor_index": "atEnvMonv2PsbSensorIndex.2.1.2", - "sensor_type": "PowerSupplyState", + "sensor_type": "AtPowerSupplyState", "sensor_descr": "Fan/Temperature Fault", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10595,7 +10595,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "PowerSupplyState" + "state_name": "AtPowerSupplyState" }, { "sensor_deleted": "0", @@ -10603,7 +10603,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.4.2.1.6.2.1.3", "sensor_index": "atEnvMonv2PsbSensorIndex.2.1.3", - "sensor_type": "PowerSupplyState", + "sensor_type": "AtPowerSupplyState", "sensor_descr": "PSU Power Output", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10618,7 +10618,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "PowerSupplyState" + "state_name": "AtPowerSupplyState" }, { "sensor_deleted": "0", @@ -10626,7 +10626,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.4.2.1.6.2.1.4", "sensor_index": "atEnvMonv2PsbSensorIndex.2.1.4", - "sensor_type": "PowerSupplyState", + "sensor_type": "AtPowerSupplyState", "sensor_descr": "PSU Power Input", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10641,7 +10641,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "PowerSupplyState" + "state_name": "AtPowerSupplyState" }, { "sensor_deleted": "0", @@ -10649,7 +10649,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.1.5.10", "sensor_index": "atEnvMonv2TemperatureIndex.1.5.10", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Fan Tray B 2", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10664,7 +10664,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -10672,7 +10672,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.1.5.11", "sensor_index": "atEnvMonv2TemperatureIndex.1.5.11", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Near Switch", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10687,7 +10687,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -10695,7 +10695,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.1.5.12", "sensor_index": "atEnvMonv2TemperatureIndex.1.5.12", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Front Left", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10710,7 +10710,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -10718,7 +10718,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.1.5.13", "sensor_index": "atEnvMonv2TemperatureIndex.1.5.13", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Front Mid", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10733,7 +10733,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -10741,7 +10741,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.1.5.14", "sensor_index": "atEnvMonv2TemperatureIndex.1.5.14", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Front Right", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10756,7 +10756,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -10764,7 +10764,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.1.5.15", "sensor_index": "atEnvMonv2TemperatureIndex.1.5.15", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Console", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10779,7 +10779,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -10787,7 +10787,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.1.5.6", "sensor_index": "atEnvMonv2TemperatureIndex.1.5.6", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Internal", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10802,7 +10802,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -10810,7 +10810,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.1.5.7", "sensor_index": "atEnvMonv2TemperatureIndex.1.5.7", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Fan Tray A 1", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10825,7 +10825,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -10833,7 +10833,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.1.5.8", "sensor_index": "atEnvMonv2TemperatureIndex.1.5.8", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Fan Tray A 2", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10848,7 +10848,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -10856,7 +10856,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.1.5.9", "sensor_index": "atEnvMonv2TemperatureIndex.1.5.9", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Fan Tray B 1", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10871,7 +10871,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -10879,7 +10879,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.1.6.1", "sensor_index": "atEnvMonv2TemperatureIndex.1.6.1", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: XEM Front", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10894,7 +10894,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -10902,7 +10902,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.1.6.2", "sensor_index": "atEnvMonv2TemperatureIndex.1.6.2", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: XEM Rear", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10917,7 +10917,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -10925,7 +10925,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.1.7.1", "sensor_index": "atEnvMonv2TemperatureIndex.1.7.1", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: XEM Front", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10940,7 +10940,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -10948,7 +10948,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.1.7.2", "sensor_index": "atEnvMonv2TemperatureIndex.1.7.2", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: XEM Rear", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10963,7 +10963,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -10971,7 +10971,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.2.5.10", "sensor_index": "atEnvMonv2TemperatureIndex.2.5.10", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Fan Tray B 2", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -10986,7 +10986,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -10994,7 +10994,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.2.5.11", "sensor_index": "atEnvMonv2TemperatureIndex.2.5.11", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Near Switch", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11009,7 +11009,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -11017,7 +11017,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.2.5.12", "sensor_index": "atEnvMonv2TemperatureIndex.2.5.12", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Front Left", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11032,7 +11032,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -11040,7 +11040,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.2.5.13", "sensor_index": "atEnvMonv2TemperatureIndex.2.5.13", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Front Mid", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11055,7 +11055,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -11063,7 +11063,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.2.5.14", "sensor_index": "atEnvMonv2TemperatureIndex.2.5.14", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Front Right", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11078,7 +11078,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -11086,7 +11086,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.2.5.15", "sensor_index": "atEnvMonv2TemperatureIndex.2.5.15", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Console", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11101,7 +11101,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -11109,7 +11109,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.2.5.6", "sensor_index": "atEnvMonv2TemperatureIndex.2.5.6", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Internal", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11124,7 +11124,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -11132,7 +11132,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.2.5.7", "sensor_index": "atEnvMonv2TemperatureIndex.2.5.7", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Fan Tray A 1", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11147,7 +11147,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -11155,7 +11155,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.2.5.8", "sensor_index": "atEnvMonv2TemperatureIndex.2.5.8", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Fan Tray A 2", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11170,7 +11170,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -11178,7 +11178,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.2.5.9", "sensor_index": "atEnvMonv2TemperatureIndex.2.5.9", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: Fan Tray B 1", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11193,7 +11193,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -11201,7 +11201,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.2.6.1", "sensor_index": "atEnvMonv2TemperatureIndex.2.6.1", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: XEM Front", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11216,7 +11216,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -11224,7 +11224,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.2.6.2", "sensor_index": "atEnvMonv2TemperatureIndex.2.6.2", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: XEM Rear", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11239,7 +11239,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -11247,7 +11247,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.2.7.1", "sensor_index": "atEnvMonv2TemperatureIndex.2.7.1", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: XEM Front", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11262,7 +11262,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -11270,7 +11270,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.2.7.2", "sensor_index": "atEnvMonv2TemperatureIndex.2.7.2", - "sensor_type": "TemperatureState", + "sensor_type": "AtTemperatureState", "sensor_descr": "Temp: XEM Rear", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11285,7 +11285,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "TemperatureState" + "state_name": "AtTemperatureState" }, { "sensor_deleted": "0", @@ -11293,7 +11293,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.2.1.8.1.5.1", "sensor_index": "atEnvMonv2VoltageIndex.1.5.1", - "sensor_type": "VoltageState", + "sensor_type": "AtVoltageState", "sensor_descr": "Voltage: 2.5V", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11308,7 +11308,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "VoltageState" + "state_name": "AtVoltageState" }, { "sensor_deleted": "0", @@ -11316,7 +11316,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.2.1.8.1.5.2", "sensor_index": "atEnvMonv2VoltageIndex.1.5.2", - "sensor_type": "VoltageState", + "sensor_type": "AtVoltageState", "sensor_descr": "Voltage: Battery", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11331,7 +11331,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "VoltageState" + "state_name": "AtVoltageState" }, { "sensor_deleted": "0", @@ -11339,7 +11339,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.2.1.8.1.5.3", "sensor_index": "atEnvMonv2VoltageIndex.1.5.3", - "sensor_type": "VoltageState", + "sensor_type": "AtVoltageState", "sensor_descr": "Voltage: 3.3V", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11354,7 +11354,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "VoltageState" + "state_name": "AtVoltageState" }, { "sensor_deleted": "0", @@ -11362,7 +11362,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.2.1.8.1.5.4", "sensor_index": "atEnvMonv2VoltageIndex.1.5.4", - "sensor_type": "VoltageState", + "sensor_type": "AtVoltageState", "sensor_descr": "Voltage: 12V", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11377,7 +11377,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "VoltageState" + "state_name": "AtVoltageState" }, { "sensor_deleted": "0", @@ -11385,7 +11385,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.2.1.8.1.5.5", "sensor_index": "atEnvMonv2VoltageIndex.1.5.5", - "sensor_type": "VoltageState", + "sensor_type": "AtVoltageState", "sensor_descr": "Voltage: 1V", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11400,7 +11400,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "VoltageState" + "state_name": "AtVoltageState" }, { "sensor_deleted": "0", @@ -11408,7 +11408,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.2.1.8.2.5.1", "sensor_index": "atEnvMonv2VoltageIndex.2.5.1", - "sensor_type": "VoltageState", + "sensor_type": "AtVoltageState", "sensor_descr": "Voltage: 2.5V", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11423,7 +11423,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "VoltageState" + "state_name": "AtVoltageState" }, { "sensor_deleted": "0", @@ -11431,7 +11431,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.2.1.8.2.5.2", "sensor_index": "atEnvMonv2VoltageIndex.2.5.2", - "sensor_type": "VoltageState", + "sensor_type": "AtVoltageState", "sensor_descr": "Voltage: Battery", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11446,7 +11446,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "VoltageState" + "state_name": "AtVoltageState" }, { "sensor_deleted": "0", @@ -11454,7 +11454,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.2.1.8.2.5.3", "sensor_index": "atEnvMonv2VoltageIndex.2.5.3", - "sensor_type": "VoltageState", + "sensor_type": "AtVoltageState", "sensor_descr": "Voltage: 3.3V", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11469,7 +11469,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "VoltageState" + "state_name": "AtVoltageState" }, { "sensor_deleted": "0", @@ -11477,7 +11477,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.2.1.8.2.5.4", "sensor_index": "atEnvMonv2VoltageIndex.2.5.4", - "sensor_type": "VoltageState", + "sensor_type": "AtVoltageState", "sensor_descr": "Voltage: 12V", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11492,7 +11492,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "VoltageState" + "state_name": "AtVoltageState" }, { "sensor_deleted": "0", @@ -11500,7 +11500,7 @@ "poller_type": "snmp", "sensor_oid": ".1.3.6.1.4.1.207.8.4.4.3.12.2.1.8.2.5.5", "sensor_index": "atEnvMonv2VoltageIndex.2.5.5", - "sensor_type": "VoltageState", + "sensor_type": "AtVoltageState", "sensor_descr": "Voltage: 1V", "sensor_divisor": "1", "sensor_multiplier": "1", @@ -11515,7 +11515,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "VoltageState" + "state_name": "AtVoltageState" }, { "sensor_deleted": "0", @@ -12394,91 +12394,91 @@ ], "state_indexes": [ { - "state_name": "FanState", + "state_name": "AtFanState", "state_descr": "null", "state_draw_graph": "0", "state_value": "-1", "state_generic_value": "3" }, { - "state_name": "FanState", + "state_name": "AtFanState", "state_descr": "failed", "state_draw_graph": "0", "state_value": "1", "state_generic_value": "2" }, { - "state_name": "FanState", + "state_name": "AtFanState", "state_descr": "good", "state_draw_graph": "0", "state_value": "2", "state_generic_value": "0" }, { - "state_name": "PowerSupplyState", + "state_name": "AtPowerSupplyState", "state_descr": "null", "state_draw_graph": "0", "state_value": "-1", "state_generic_value": "3" }, { - "state_name": "PowerSupplyState", + "state_name": "AtPowerSupplyState", "state_descr": "failed", "state_draw_graph": "0", "state_value": "1", "state_generic_value": "2" }, { - "state_name": "PowerSupplyState", + "state_name": "AtPowerSupplyState", "state_descr": "good", "state_draw_graph": "0", "state_value": "2", "state_generic_value": "0" }, { - "state_name": "PowerSupplyState", + "state_name": "AtPowerSupplyState", "state_descr": "notPowered", "state_draw_graph": "0", "state_value": "3", "state_generic_value": "3" }, { - "state_name": "TemperatureState", + "state_name": "AtTemperatureState", "state_descr": "null", "state_draw_graph": "0", "state_value": "-1", "state_generic_value": "3" }, { - "state_name": "TemperatureState", + "state_name": "AtTemperatureState", "state_descr": "outOfRange", "state_draw_graph": "0", "state_value": "1", "state_generic_value": "2" }, { - "state_name": "TemperatureState", + "state_name": "AtTemperatureState", "state_descr": "inRange", "state_draw_graph": "0", "state_value": "2", "state_generic_value": "0" }, { - "state_name": "VoltageState", + "state_name": "AtVoltageState", "state_descr": "null", "state_draw_graph": "0", "state_value": "-1", "state_generic_value": "3" }, { - "state_name": "VoltageState", + "state_name": "AtVoltageState", "state_descr": "outOfRange", "state_draw_graph": "0", "state_value": "1", "state_generic_value": "2" }, { - "state_name": "VoltageState", + "state_name": "AtVoltageState", "state_descr": "inRange", "state_draw_graph": "0", "state_value": "2", @@ -12575,5 +12575,357 @@ } ] } + }, + "vlans": { + "discovery": { + "vlans": [ + { + "vlan_vlan": "1", + "vlan_domain": "1", + "vlan_name": "Link", + "vlan_type": null, + "vlan_mtu": null + }, + { + "vlan_vlan": "2", + "vlan_domain": "1", + "vlan_name": "Link", + "vlan_type": null, + "vlan_mtu": null + }, + { + "vlan_vlan": "4", + "vlan_domain": "1", + "vlan_name": "Link", + "vlan_type": null, + "vlan_mtu": null + }, + { + "vlan_vlan": "20", + "vlan_domain": "1", + "vlan_name": "Link", + "vlan_type": null, + "vlan_mtu": null + }, + { + "vlan_vlan": "99", + "vlan_domain": "1", + "vlan_name": "unused-ports", + "vlan_type": null, + "vlan_mtu": null + }, + { + "vlan_vlan": "100", + "vlan_domain": "1", + "vlan_name": "MC-SRC", + "vlan_type": null, + "vlan_mtu": null + }, + { + "vlan_vlan": "105", + "vlan_domain": "1", + "vlan_name": "Link", + "vlan_type": null, + "vlan_mtu": null + }, + { + "vlan_vlan": "3620", + "vlan_domain": "1", + "vlan_name": "IPTV-SRC", + "vlan_type": null, + "vlan_mtu": null + } + ], + "ports_vlans": [ + { + "vlan": "1", + "baseport": "1", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "0" + }, + { + "vlan": "1", + "baseport": "2", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "0" + }, + { + "vlan": "1", + "baseport": "3", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "0" + }, + { + "vlan": "1", + "baseport": "4", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "0" + }, + { + "vlan": "1", + "baseport": "6", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "1", + "baseport": "11", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "1", + "baseport": "12", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "1", + "baseport": "13", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "1", + "baseport": "17", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "0" + }, + { + "vlan": "1", + "baseport": "18", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "0" + }, + { + "vlan": "1", + "baseport": "19", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "0" + }, + { + "vlan": "1", + "baseport": "20", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "0" + }, + { + "vlan": "1", + "baseport": "21", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "1", + "baseport": "22", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "1", + "baseport": "24", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "1", + "baseport": "25", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "1", + "baseport": "26", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "1", + "baseport": "27", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "1", + "baseport": "28", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "1", + "baseport": "30", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "1", + "baseport": "33", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "0" + }, + { + "vlan": "1", + "baseport": "35", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "2", + "baseport": "5", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "2", + "baseport": "13", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "0" + }, + { + "vlan": "4", + "baseport": "14", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "0" + }, + { + "vlan": "4", + "baseport": "29", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "0" + }, + { + "vlan": "20", + "baseport": "11", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "0" + }, + { + "vlan": "20", + "baseport": "12", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "0" + }, + { + "vlan": "20", + "baseport": "27", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "0" + }, + { + "vlan": "20", + "baseport": "35", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "0" + }, + { + "vlan": "100", + "baseport": "7", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "100", + "baseport": "23", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "100", + "baseport": "34", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "105", + "baseport": "9", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "105", + "baseport": "10", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + }, + { + "vlan": "3620", + "baseport": "8", + "priority": "0", + "state": "unknown", + "cost": "0", + "untagged": "1" + } + ] + } } } diff --git a/tests/data/fiberhome.json b/tests/data/fiberhome.json index 70382b570d..27b6bf9826 100644 --- a/tests/data/fiberhome.json +++ b/tests/data/fiberhome.json @@ -164,7 +164,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "fanState" }, { "sensor_deleted": "0", @@ -187,7 +187,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "fanState" }, { "sensor_deleted": "0", @@ -210,7 +210,7 @@ "entPhysicalIndex_measured": null, "sensor_prev": null, "user_func": null, - "state_name": "FanState" + "state_name": "fanState" }, { "sensor_deleted": "0", @@ -284,14 +284,14 @@ ], "state_indexes": [ { - "state_name": "FanState", + "state_name": "fanState", "state_descr": "Normal", "state_draw_graph": "0", "state_value": "1", "state_generic_value": "0" }, { - "state_name": "FanState", + "state_name": "fanState", "state_descr": "Failed", "state_draw_graph": "0", "state_value": "2",