diff --git a/html/images/os/wisi.png b/html/images/os/wisi.png new file mode 100644 index 0000000000..22a0861d54 Binary files /dev/null and b/html/images/os/wisi.png differ diff --git a/includes/definitions/discovery/wisi-tangram.yaml b/includes/definitions/discovery/wisi-tangram.yaml new file mode 100644 index 0000000000..bc6e64fe6f --- /dev/null +++ b/includes/definitions/discovery/wisi-tangram.yaml @@ -0,0 +1,55 @@ +mib: WISI-GTSENSORS-MIB +modules: + sensors: + fanspeed: + data: + - + oid: gtFansTable + value: gtFanSpeed + num_oid: '.1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.4.{{ $index }}' + descr: '{{ $gtFanName }}' + index: 'gtFanSpeed.{{ $index }}' + temperature: + data: + - + oid: gtTempsTable + value: gtTempValue + num_oid: '.1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.3.{{ $index }}' + descr: '{{ $gtTempName }}' + index: 'gtTempValue.{{ $index }}' + group: 'Chassis' + - + oid: gtPSUsTable + value: gtPSUTemperature + num_oid: '.1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.8.{{ $index }}' + descr: 'Power Supply ({{ $gtPSUName }})' + index: 'gtPSUTemperature.{{ $index }}' + group: 'Power Supply' + voltage: + data: + - + oid: gtPSUsTable + value: gtPSUVoltageExt + num_oid: '.1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.7.{{ $index }}' + descr: 'Power Supply ({{ $gtPSUName }})' + index: 'gtPSUVoltageExt.{{ $index }}' + divisor: 100 + group: 'External Voltage' + - + oid: gtPSUsTable + value: gtPSUVoltageInt + num_oid: '.1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.5.{{ $index }}' + descr: 'Power Supply ({{ $gtPSUName }})' + index: 'gtPSUVoltageInt.{{ $index }}' + divisor: 100 + group: 'Internal Voltage' + current: + data: + - + oid: gtPSUsTable + value: gtPSUCurrent + num_oid: '.1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.4.{{ $index }}' + descr: 'Power Supply ({{ $gtPSUName }})' + index: 'gtTempValue.{{ $index }}' + divisor: 1000 + group: 'Internal Current' diff --git a/includes/definitions/wisi-tangram.yaml b/includes/definitions/wisi-tangram.yaml new file mode 100644 index 0000000000..e822f8eed3 --- /dev/null +++ b/includes/definitions/wisi-tangram.yaml @@ -0,0 +1,14 @@ +os: wisi-tangram +text: 'WISI Tangram' +type: network +icon: wisi +mib_dir: + - wisi +over: [] +discovery: + - sysObjectID: + - .1.3.6.1.4.1.7465 + - snmpget: + oid: .1.3.6.1.4.1.7465.20.2.9.1.2.1.3.1.2 + op: contains + value: 'GT01' diff --git a/includes/polling/os/wisi-tangram.inc.php b/includes/polling/os/wisi-tangram.inc.php new file mode 100644 index 0000000000..fb26f65d66 --- /dev/null +++ b/includes/polling/os/wisi-tangram.inc.php @@ -0,0 +1,5 @@ +", + "sysObjectID": ".1.3.6.1.4.1.7465", + "sysDescr": null, + "sysContact": null, + "version": null, + "hardware": null, + "features": null, + "os": "wisi-tangram", + "type": "network", + "serial": null, + "icon": "wisi.png", + "location": null + } + ] + }, + "poller": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.4.1.7465", + "sysDescr": null, + "sysContact": "", + "version": "3.2.8", + "hardware": "GT01W", + "features": null, + "os": "wisi-tangram", + "type": "network", + "serial": "", + "icon": "wisi.png", + "location": "" + } + ] + } + }, + "ports": { + "discovery": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "Management port", + "ifName": "Management port", + "portName": null, + "ifIndex": 1, + "ifSpeed": null, + "ifConnectorPresent": null, + "ifPromiscuousMode": null, + "ifHighSpeed": null, + "ifOperStatus": null, + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": "ethernetCsmacd", + "ifAlias": "Management port", + "ifPhysAddress": null, + "ifHardType": null, + "ifLastChange": 0, + "ifVlan": "", + "ifTrunk": null, + "counter_in": null, + "counter_out": null, + "ignore": 0, + "disabled": 0, + "detailed": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": null, + "ifInUcastPkts_prev": null, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": null, + "ifOutUcastPkts_prev": null, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": null, + "ifInErrors_prev": null, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": null, + "ifOutErrors_prev": null, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": null, + "ifInOctets_prev": null, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": null, + "ifOutOctets_prev": null, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": null, + "ifInNUcastPkts_prev": null, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": null, + "ifOutNUcastPkts_prev": null, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": null, + "ifInDiscards_prev": null, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": null, + "ifOutDiscards_prev": null, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": null, + "ifInUnknownProtos_prev": null, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": null, + "ifInBroadcastPkts_prev": null, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": null, + "ifOutBroadcastPkts_prev": null, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": null, + "ifInMulticastPkts_prev": null, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": null, + "ifOutMulticastPkts_prev": null, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + }, + "poller": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "Management port", + "ifName": "Management port", + "portName": null, + "ifIndex": 1, + "ifSpeed": 1000000000, + "ifConnectorPresent": null, + "ifPromiscuousMode": null, + "ifHighSpeed": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 1500, + "ifType": "ethernetCsmacd", + "ifAlias": "Management port", + "ifPhysAddress": "000398090c7c", + "ifHardType": null, + "ifLastChange": 0, + "ifVlan": "", + "ifTrunk": null, + "counter_in": null, + "counter_out": null, + "ignore": 0, + "disabled": 0, + "detailed": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": 0, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 0, + "ifOutUcastPkts_prev": 0, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": 0, + "ifInErrors_prev": 0, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": 0, + "ifOutErrors_prev": 0, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": 1538910367, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 1481193546, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 0, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 0, + "ifOutNUcastPkts_prev": 0, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": 0, + "ifInDiscards_prev": 0, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": 0, + "ifOutDiscards_prev": 0, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": 0, + "ifInUnknownProtos_prev": 0, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": 0, + "ifInBroadcastPkts_prev": 0, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": 0, + "ifOutBroadcastPkts_prev": 0, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": 0, + "ifInMulticastPkts_prev": 0, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": 0, + "ifOutMulticastPkts_prev": 0, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + } + }, + "sensors": { + "discovery": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.4.10.2", + "sensor_index": "gtTempValue.10.2", + "sensor_type": "wisi-tangram", + "sensor_descr": "Power Supply (GT552110)", + "group": "Internal Current", + "sensor_divisor": 1000, + "sensor_multiplier": 1, + "sensor_current": 1.677, + "sensor_limit": 2.5155, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.4.9.1", + "sensor_index": "gtTempValue.9.1", + "sensor_type": "wisi-tangram", + "sensor_descr": "Power Supply (GT552110)", + "group": "Internal Current", + "sensor_divisor": 1000, + "sensor_multiplier": 1, + "sensor_current": 0.903, + "sensor_limit": 1.3545, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "fanspeed", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.4.11.1", + "sensor_index": "gtFanSpeed.11.1", + "sensor_type": "wisi-tangram", + "sensor_descr": "fan1 of 8", + "group": "", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 8400, + "sensor_limit": 15120, + "sensor_limit_warn": null, + "sensor_limit_low": 6720, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "fanspeed", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.4.11.2", + "sensor_index": "gtFanSpeed.11.2", + "sensor_type": "wisi-tangram", + "sensor_descr": "fan2 of 8", + "group": "", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 8460, + "sensor_limit": 15228, + "sensor_limit_warn": null, + "sensor_limit_low": 6768, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "fanspeed", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.4.11.3", + "sensor_index": "gtFanSpeed.11.3", + "sensor_type": "wisi-tangram", + "sensor_descr": "fan3 of 8", + "group": "", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 8460, + "sensor_limit": 15228, + "sensor_limit_warn": null, + "sensor_limit_low": 6768, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "fanspeed", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.4.11.4", + "sensor_index": "gtFanSpeed.11.4", + "sensor_type": "wisi-tangram", + "sensor_descr": "fan4 of 8", + "group": "", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 8220, + "sensor_limit": 14796, + "sensor_limit_warn": null, + "sensor_limit_low": 6576, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "fanspeed", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.4.11.5", + "sensor_index": "gtFanSpeed.11.5", + "sensor_type": "wisi-tangram", + "sensor_descr": "fan5 of 8", + "group": "", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 8400, + "sensor_limit": 15120, + "sensor_limit_warn": null, + "sensor_limit_low": 6720, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "fanspeed", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.4.11.6", + "sensor_index": "gtFanSpeed.11.6", + "sensor_type": "wisi-tangram", + "sensor_descr": "fan6 of 8", + "group": "", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 11040, + "sensor_limit": 19872, + "sensor_limit_warn": null, + "sensor_limit_low": 8832, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "fanspeed", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.4.11.7", + "sensor_index": "gtFanSpeed.11.7", + "sensor_type": "wisi-tangram", + "sensor_descr": "fan7 of 8", + "group": "", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 11340, + "sensor_limit": 20412, + "sensor_limit_warn": null, + "sensor_limit_low": 9072, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "fanspeed", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.4.11.8", + "sensor_index": "gtFanSpeed.11.8", + "sensor_type": "wisi-tangram", + "sensor_descr": "fan8 of 8", + "group": "", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 8040, + "sensor_limit": 14472, + "sensor_limit_warn": null, + "sensor_limit_low": 6432, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.8.10.2", + "sensor_index": "gtPSUTemperature.10.2", + "sensor_type": "wisi-tangram", + "sensor_descr": "Power Supply (GT552110)", + "group": "Power Supply", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 29, + "sensor_limit": 49, + "sensor_limit_warn": null, + "sensor_limit_low": 19, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.8.9.1", + "sensor_index": "gtPSUTemperature.9.1", + "sensor_type": "wisi-tangram", + "sensor_descr": "Power Supply (GT552110)", + "group": "Power Supply", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 32, + "sensor_limit": 52, + "sensor_limit_warn": null, + "sensor_limit_low": 22, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.3.1.1", + "sensor_index": "gtTempValue.1.1", + "sensor_type": "wisi-tangram", + "sensor_descr": "Unit temp", + "group": "Chassis", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 31, + "sensor_limit": 51, + "sensor_limit_warn": null, + "sensor_limit_low": 21, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.3.10.3", + "sensor_index": "gtTempValue.10.3", + "sensor_type": "wisi-tangram", + "sensor_descr": "GT552110", + "group": "Chassis", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 29, + "sensor_limit": 49, + "sensor_limit_warn": null, + "sensor_limit_low": 19, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.3.2.1", + "sensor_index": "gtTempValue.2.1", + "sensor_type": "wisi-tangram", + "sensor_descr": "Unit temp", + "group": "Chassis", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 31, + "sensor_limit": 51, + "sensor_limit_warn": null, + "sensor_limit_low": 21, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.3.4.1", + "sensor_index": "gtTempValue.4.1", + "sensor_type": "wisi-tangram", + "sensor_descr": "Unit temp", + "group": "Chassis", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 32, + "sensor_limit": 52, + "sensor_limit_warn": null, + "sensor_limit_low": 22, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.3.7.1", + "sensor_index": "gtTempValue.7.1", + "sensor_type": "wisi-tangram", + "sensor_descr": "GT11-Board", + "group": "Chassis", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 38, + "sensor_limit": 58, + "sensor_limit_warn": null, + "sensor_limit_low": 28, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.3.9.2", + "sensor_index": "gtTempValue.9.2", + "sensor_type": "wisi-tangram", + "sensor_descr": "GT552110", + "group": "Chassis", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 32, + "sensor_limit": 52, + "sensor_limit_warn": null, + "sensor_limit_low": 22, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.7.10.2", + "sensor_index": "gtPSUVoltageExt.10.2", + "sensor_type": "wisi-tangram", + "sensor_descr": "Power Supply (GT552110)", + "group": "External Voltage", + "sensor_divisor": 100, + "sensor_multiplier": 1, + "sensor_current": 120.6, + "sensor_limit": 138.69, + "sensor_limit_warn": null, + "sensor_limit_low": 102.51, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.7.9.1", + "sensor_index": "gtPSUVoltageExt.9.1", + "sensor_type": "wisi-tangram", + "sensor_descr": "Power Supply (GT552110)", + "group": "External Voltage", + "sensor_divisor": 100, + "sensor_multiplier": 1, + "sensor_current": 121.2, + "sensor_limit": 139.38, + "sensor_limit_warn": null, + "sensor_limit_low": 103.02, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.5.10.2", + "sensor_index": "gtPSUVoltageInt.10.2", + "sensor_type": "wisi-tangram", + "sensor_descr": "Power Supply (GT552110)", + "group": "Internal Voltage", + "sensor_divisor": 100, + "sensor_multiplier": 1, + "sensor_current": 120.6, + "sensor_limit": 138.69, + "sensor_limit_warn": null, + "sensor_limit_low": 102.51, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.5.9.1", + "sensor_index": "gtPSUVoltageInt.9.1", + "sensor_type": "wisi-tangram", + "sensor_descr": "Power Supply (GT552110)", + "group": "Internal Voltage", + "sensor_divisor": 100, + "sensor_multiplier": 1, + "sensor_current": 120.6, + "sensor_limit": 138.69, + "sensor_limit_warn": null, + "sensor_limit_low": 102.51, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + } + ], + "state_indexes": [] + }, + "poller": "matches discovery" + } +} diff --git a/tests/snmpsim/wisi-tangram.snmprec b/tests/snmpsim/wisi-tangram.snmprec new file mode 100644 index 0000000000..d14b286b2f --- /dev/null +++ b/tests/snmpsim/wisi-tangram.snmprec @@ -0,0 +1,99 @@ +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.7465 +1.3.6.1.2.1.1.3.0|67|119786800 +1.3.6.1.2.1.1.4.0|4| +1.3.6.1.2.1.1.5.0|4| +1.3.6.1.2.1.1.6.0|4| +1.3.6.1.2.1.2.2.1.1.1|2|1 +1.3.6.1.2.1.2.2.1.2.1|4|Management port +1.3.6.1.2.1.2.2.1.3.1|2|6 +1.3.6.1.2.1.2.2.1.4.1|2|1500 +1.3.6.1.2.1.2.2.1.5.1|66|1000000000 +1.3.6.1.2.1.2.2.1.6.1|4x|000398090C7C +1.3.6.1.2.1.2.2.1.7.1|2|1 +1.3.6.1.2.1.2.2.1.8.1|2|1 +1.3.6.1.2.1.2.2.1.9.1|67|0 +1.3.6.1.2.1.2.2.1.10.1|65|1538910367 +1.3.6.1.2.1.2.2.1.11.1|65|0 +1.3.6.1.2.1.2.2.1.12.1|65|0 +1.3.6.1.2.1.2.2.1.13.1|65|0 +1.3.6.1.2.1.2.2.1.14.1|65|0 +1.3.6.1.2.1.2.2.1.15.1|65|0 +1.3.6.1.2.1.2.2.1.16.1|65|1481193546 +1.3.6.1.2.1.2.2.1.17.1|65|0 +1.3.6.1.2.1.2.2.1.18.1|65|0 +1.3.6.1.2.1.2.2.1.19.1|65|0 +1.3.6.1.2.1.2.2.1.20.1|65|0 +1.3.6.1.2.1.2.2.1.21.1|66|532 +1.3.6.1.2.1.2.2.1.22.1|6|0.0 +1.3.6.1.2.1.4.20.1.2.10.10.128.60|2|1 +1.3.6.1.2.1.4.20.1.3.10.10.128.60|64|255.255.255.0 +1.3.6.1.4.1.7465.20.2.9.1.2.1.1.0|66|7 +1.3.6.1.4.1.7465.20.2.9.1.2.1.3.1.2.7|4|GT01W +1.3.6.1.4.1.7465.20.2.9.1.2.1.3.1.4.7|4|3.2.8 +1.3.6.1.4.1.7465.20.2.9.1.2.1.3.1.5.7|4| +1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.2.1.1|4|Unit temp +1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.2.2.1|4|Unit temp +1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.2.4.1|4|Unit temp +1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.2.7.1|4|GT11-Board +1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.2.9.2|4|GT552110 +1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.2.10.3|4|GT552110 +1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.3.1.1|2|31 +1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.3.2.1|2|31 +1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.3.4.1|2|32 +1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.3.7.1|2|38 +1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.3.9.2|2|32 +1.3.6.1.4.1.7465.20.2.9.1.3.1.2.1.3.10.3|2|29 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.2.11.1|4|fan1 of 8 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.2.11.2|4|fan2 of 8 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.2.11.3|4|fan3 of 8 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.2.11.4|4|fan4 of 8 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.2.11.5|4|fan5 of 8 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.2.11.6|4|fan6 of 8 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.2.11.7|4|fan7 of 8 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.2.11.8|4|fan8 of 8 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.3.11.1|66|0 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.3.11.2|66|0 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.3.11.3|66|0 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.3.11.4|66|0 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.3.11.5|66|0 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.3.11.6|66|0 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.3.11.7|66|0 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.3.11.8|66|0 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.4.11.1|66|8400 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.4.11.2|66|8460 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.4.11.3|66|8460 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.4.11.4|66|8220 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.4.11.5|66|8400 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.4.11.6|66|11040 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.4.11.7|66|11340 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.4.11.8|66|8040 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.5.11.1|65|1197834 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.5.11.2|65|1197834 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.5.11.3|65|1197834 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.5.11.4|65|1197834 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.5.11.5|65|1197834 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.5.11.6|65|1197834 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.5.11.7|65|1197834 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.5.11.8|65|1197834 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.6.11.1|65|13405785 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.6.11.2|65|13405785 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.6.11.3|65|13405785 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.6.11.4|65|13405785 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.6.11.5|65|13405785 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.6.11.6|65|13405785 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.6.11.7|65|13405785 +1.3.6.1.4.1.7465.20.2.9.1.3.1.4.1.6.11.8|65|13405785 +1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.2.9.1|4|GT552110 +1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.2.10.2|4|GT552110 +1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.3.9.1|66|220000 +1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.3.10.2|66|220000 +1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.4.9.1|66|903 +1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.4.10.2|66|1677 +1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.5.9.1|66|12060 +1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.5.10.2|66|12060 +1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.6.9.1|66|14017 +1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.6.10.2|66|14214 +1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.7.9.1|66|12120 +1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.7.10.2|66|12060 +1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.8.9.1|2|32 +1.3.6.1.4.1.7465.20.2.9.1.3.1.6.1.8.10.2|2|29