mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Mcc valere (#14753)
* modifications needed for update of VALERE-DC-POWER-MIB with new file ELTEK-BC2000-DC-POWER-MIB * add test results for BC2000 post update * updated test file data * re-upload of updated files * reverted valere.json to defaults and recreated with proper varient .json * replace vpwrShelfIndex with vpwrBayIndex * updated test data * Update test data * try again valere_bc2000.json --------- Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
parent
8f91fb3877
commit
7bd1a57c3e
@ -32,6 +32,6 @@ class Valere extends \LibreNMS\OS
|
||||
public function discoverOS(Device $device): void
|
||||
{
|
||||
parent::discoverOS($device); // yaml
|
||||
$device->features = implode(', ', explode(PHP_EOL, snmp_walk($this->getDeviceArray(), 'vpwrModuleOID', '-Oqvs', 'VALERE-DC-POWER-MIB')));
|
||||
$device->features = implode(', ', explode(PHP_EOL, snmp_walk($this->getDeviceArray(), 'vpwrModuleOID', '-Oqvs', 'ELTEK-BC2000-DC-POWER-MIB')));
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
mib: VALERE-DC-POWER-MIB
|
||||
mib: ELTEK-BC2000-DC-POWER-MIB
|
||||
modules:
|
||||
os:
|
||||
hardware: VALERE-DC-POWER-MIB::vpwrIdentModel.0
|
||||
version: VALERE-DC-POWER-MIB::vpwrIdentControllerVersion.0
|
||||
hardware: ELTEK-BC2000-DC-POWER-MIB::vpwrIdentModel.0
|
||||
version: ELTEK-BC2000-DC-POWER-MIB::vpwrIdentControllerVersion.0
|
||||
sensors:
|
||||
voltage:
|
||||
data:
|
||||
|
3795
mibs/eltek/ELTEK-BC2000-DC-POWER-MIB
Normal file
3795
mibs/eltek/ELTEK-BC2000-DC-POWER-MIB
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
565
tests/data/valere_bc2000.json
Normal file
565
tests/data/valere_bc2000.json
Normal file
@ -0,0 +1,565 @@
|
||||
{
|
||||
"os": {
|
||||
"discovery": {
|
||||
"devices": [
|
||||
{
|
||||
"sysName": "<private>",
|
||||
"sysObjectID": ".1.3.6.1.4.1.13858",
|
||||
"sysDescr": "Sys Description",
|
||||
"sysContact": "<private>",
|
||||
"version": "4.03.00",
|
||||
"hardware": "BC2000",
|
||||
"features": "vpwrDcPowerRectifier, vpwrDcPowerRectifier",
|
||||
"location": "<private>",
|
||||
"os": "valere",
|
||||
"type": "power",
|
||||
"serial": null,
|
||||
"icon": "eltek.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
},
|
||||
"ports": {
|
||||
"discovery": {
|
||||
"ports": [
|
||||
{
|
||||
"port_descr_type": null,
|
||||
"port_descr_descr": null,
|
||||
"port_descr_circuit": null,
|
||||
"port_descr_speed": null,
|
||||
"port_descr_notes": null,
|
||||
"ifDescr": "Ethernet Interface",
|
||||
"ifName": "Ethernet Interface",
|
||||
"portName": null,
|
||||
"ifIndex": 1,
|
||||
"ifSpeed": null,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifOperStatus": "up",
|
||||
"ifOperStatus_prev": null,
|
||||
"ifAdminStatus": null,
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": null,
|
||||
"ifMtu": null,
|
||||
"ifType": "ethernetCsmacd",
|
||||
"ifAlias": "Ethernet Interface",
|
||||
"ifPhysAddress": null,
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": null,
|
||||
"ifTrunk": null,
|
||||
"ignore": 0,
|
||||
"disabled": 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": "Ethernet Interface",
|
||||
"ifName": "Ethernet Interface",
|
||||
"portName": null,
|
||||
"ifIndex": 1,
|
||||
"ifSpeed": 1000000,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifOperStatus": "up",
|
||||
"ifOperStatus_prev": "up",
|
||||
"ifAdminStatus": "up",
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": null,
|
||||
"ifMtu": 1500,
|
||||
"ifType": "ethernetCsmacd",
|
||||
"ifAlias": "Ethernet Interface",
|
||||
"ifPhysAddress": "000a190bc9db",
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": null,
|
||||
"ifTrunk": null,
|
||||
"ignore": 0,
|
||||
"disabled": 0,
|
||||
"deleted": 0,
|
||||
"pagpOperationMode": null,
|
||||
"pagpPortState": null,
|
||||
"pagpPartnerDeviceId": null,
|
||||
"pagpPartnerLearnMethod": null,
|
||||
"pagpPartnerIfIndex": null,
|
||||
"pagpPartnerGroupIfIndex": null,
|
||||
"pagpPartnerDeviceName": null,
|
||||
"pagpEthcOperationMode": null,
|
||||
"pagpDeviceId": null,
|
||||
"pagpGroupIfIndex": null,
|
||||
"ifInUcastPkts": 602792282,
|
||||
"ifInUcastPkts_prev": 0,
|
||||
"ifInUcastPkts_delta": null,
|
||||
"ifInUcastPkts_rate": null,
|
||||
"ifOutUcastPkts": 604570875,
|
||||
"ifOutUcastPkts_prev": 0,
|
||||
"ifOutUcastPkts_delta": null,
|
||||
"ifOutUcastPkts_rate": null,
|
||||
"ifInErrors": 127642,
|
||||
"ifInErrors_prev": 0,
|
||||
"ifInErrors_delta": null,
|
||||
"ifInErrors_rate": null,
|
||||
"ifOutErrors": 0,
|
||||
"ifOutErrors_prev": 0,
|
||||
"ifOutErrors_delta": null,
|
||||
"ifOutErrors_rate": null,
|
||||
"ifInOctets": 0,
|
||||
"ifInOctets_prev": 0,
|
||||
"ifInOctets_delta": null,
|
||||
"ifInOctets_rate": null,
|
||||
"ifOutOctets": 0,
|
||||
"ifOutOctets_prev": 0,
|
||||
"ifOutOctets_delta": null,
|
||||
"ifOutOctets_rate": null,
|
||||
"poll_prev": null,
|
||||
"ifInNUcastPkts": 23503569,
|
||||
"ifInNUcastPkts_prev": 0,
|
||||
"ifInNUcastPkts_delta": null,
|
||||
"ifInNUcastPkts_rate": null,
|
||||
"ifOutNUcastPkts": 142947,
|
||||
"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.13858.2.3.3.0",
|
||||
"sensor_index": "0",
|
||||
"sensor_type": "valere",
|
||||
"sensor_descr": "System Current",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 11,
|
||||
"sensor_limit": null,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.13858.2.1.6.1.4.1.1",
|
||||
"sensor_index": "1.1",
|
||||
"sensor_type": "valere",
|
||||
"sensor_descr": "Module 1 Current",
|
||||
"group": "Shelf 1",
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 5.88,
|
||||
"sensor_limit": 21,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.13858.2.1.6.1.4.1.2",
|
||||
"sensor_index": "1.2",
|
||||
"sensor_type": "valere",
|
||||
"sensor_descr": "Module 2 Current",
|
||||
"group": "Shelf 1",
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 5.94,
|
||||
"sensor_limit": 21,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.13858.2.1.6.1.5.1.1",
|
||||
"sensor_index": "1.1",
|
||||
"sensor_type": "vpwrModuleOperStatus",
|
||||
"sensor_descr": "Module 1 Status",
|
||||
"group": "Shelf 1",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": null,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "vpwrModuleOperStatus"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.13858.2.1.6.1.5.1.2",
|
||||
"sensor_index": "1.2",
|
||||
"sensor_type": "vpwrModuleOperStatus",
|
||||
"sensor_descr": "Module 2 Status",
|
||||
"group": "Shelf 1",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": null,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "vpwrModuleOperStatus"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.13858.2.3.4.0",
|
||||
"sensor_index": "0",
|
||||
"sensor_type": "vpwrSystemControllerState",
|
||||
"sensor_descr": "Controller Status",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 1,
|
||||
"sensor_limit": null,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "vpwrSystemControllerState"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.13858.2.3.6.0",
|
||||
"sensor_index": "0",
|
||||
"sensor_type": "vpwrSystemTempCompensationState",
|
||||
"sensor_descr": "Temperature Compensation",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": null,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "vpwrSystemTempCompensationState"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "temperature",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.13858.2.3.5.0",
|
||||
"sensor_index": "0",
|
||||
"sensor_type": "valere",
|
||||
"sensor_descr": "Internal Temperature",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 24,
|
||||
"sensor_limit": 44,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 14,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "voltage",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.13858.2.3.2.0",
|
||||
"sensor_index": "0",
|
||||
"sensor_type": "valere",
|
||||
"sensor_descr": "System Voltage",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 54.51,
|
||||
"sensor_limit": 62.6865,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 46.3335,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
}
|
||||
],
|
||||
"state_indexes": [
|
||||
{
|
||||
"state_name": "vpwrModuleOperStatus",
|
||||
"state_descr": "Ok",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 0,
|
||||
"state_generic_value": 0
|
||||
},
|
||||
{
|
||||
"state_name": "vpwrModuleOperStatus",
|
||||
"state_descr": "Alarm",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 1,
|
||||
"state_generic_value": 2
|
||||
},
|
||||
{
|
||||
"state_name": "vpwrModuleOperStatus",
|
||||
"state_descr": "Disabled",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 2,
|
||||
"state_generic_value": 3
|
||||
},
|
||||
{
|
||||
"state_name": "vpwrModuleOperStatus",
|
||||
"state_descr": "RingerAOn",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 3,
|
||||
"state_generic_value": 1
|
||||
},
|
||||
{
|
||||
"state_name": "vpwrModuleOperStatus",
|
||||
"state_descr": "RingerBOn",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 4,
|
||||
"state_generic_value": 1
|
||||
},
|
||||
{
|
||||
"state_name": "vpwrModuleOperStatus",
|
||||
"state_descr": "Unknown",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 5,
|
||||
"state_generic_value": 3
|
||||
},
|
||||
{
|
||||
"state_name": "vpwrSystemControllerState",
|
||||
"state_descr": "Unknown",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 0,
|
||||
"state_generic_value": 3
|
||||
},
|
||||
{
|
||||
"state_name": "vpwrSystemControllerState",
|
||||
"state_descr": "Normal",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 1,
|
||||
"state_generic_value": 0
|
||||
},
|
||||
{
|
||||
"state_name": "vpwrSystemControllerState",
|
||||
"state_descr": "Change",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 2,
|
||||
"state_generic_value": 1
|
||||
},
|
||||
{
|
||||
"state_name": "vpwrSystemControllerState",
|
||||
"state_descr": "Alarm",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 3,
|
||||
"state_generic_value": 2
|
||||
},
|
||||
{
|
||||
"state_name": "vpwrSystemControllerState",
|
||||
"state_descr": "Menu",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 4,
|
||||
"state_generic_value": 1
|
||||
},
|
||||
{
|
||||
"state_name": "vpwrSystemControllerState",
|
||||
"state_descr": "IrActive",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 5,
|
||||
"state_generic_value": 1
|
||||
},
|
||||
{
|
||||
"state_name": "vpwrSystemTempCompensationState",
|
||||
"state_descr": "Inactive",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 0,
|
||||
"state_generic_value": 0
|
||||
},
|
||||
{
|
||||
"state_name": "vpwrSystemTempCompensationState",
|
||||
"state_descr": "Active",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 1,
|
||||
"state_generic_value": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
}
|
||||
}
|
150
tests/snmpsim/valere_bc2000.snmprec
Normal file
150
tests/snmpsim/valere_bc2000.snmprec
Normal file
@ -0,0 +1,150 @@
|
||||
1.3.6.1.2.1.1.1.0|4|Sys Description
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.13858
|
||||
1.3.6.1.2.1.1.3.0|67|6353395
|
||||
1.3.6.1.2.1.1.4.0|4|<private>
|
||||
1.3.6.1.2.1.1.5.0|4|<private>
|
||||
1.3.6.1.2.1.1.6.0|4|<private>
|
||||
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|Ethernet Interface
|
||||
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|1000000
|
||||
1.3.6.1.2.1.2.2.1.6.1|4x|000A190BC9DB
|
||||
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|0
|
||||
1.3.6.1.2.1.2.2.1.11.1|65|602792282
|
||||
1.3.6.1.2.1.2.2.1.12.1|65|23503569
|
||||
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|127642
|
||||
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|0
|
||||
1.3.6.1.2.1.2.2.1.17.1|65|604570875
|
||||
1.3.6.1.2.1.2.2.1.18.1|65|142947
|
||||
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|0
|
||||
1.3.6.1.2.1.2.2.1.22.1|6|0.0.0
|
||||
1.3.6.1.2.1.4.3.0|65|601573648
|
||||
1.3.6.1.2.1.4.4.0|65|0
|
||||
1.3.6.1.2.1.4.5.0|65|62
|
||||
1.3.6.1.2.1.4.6.0|65|0
|
||||
1.3.6.1.2.1.4.7.0|65|0
|
||||
1.3.6.1.2.1.4.8.0|65|0
|
||||
1.3.6.1.2.1.4.9.0|65|601573585
|
||||
1.3.6.1.2.1.4.10.0|65|603489382
|
||||
1.3.6.1.2.1.4.11.0|65|0
|
||||
1.3.6.1.2.1.4.12.0|65|0
|
||||
1.3.6.1.2.1.4.14.0|65|0
|
||||
1.3.6.1.2.1.4.15.0|65|0
|
||||
1.3.6.1.2.1.4.16.0|65|0
|
||||
1.3.6.1.2.1.4.17.0|65|0
|
||||
1.3.6.1.2.1.4.18.0|65|0
|
||||
1.3.6.1.2.1.4.19.0|65|0
|
||||
1.3.6.1.2.1.4.20.1.2.10.100.202.149|2|1
|
||||
1.3.6.1.2.1.4.20.1.3.10.100.202.149|64|255.255.255.128
|
||||
1.3.6.1.2.1.4.22.1.2.1.10.100.202.149|4x|000A190BC9DB
|
||||
1.3.6.1.2.1.5.1.0|65|4326018
|
||||
1.3.6.1.2.1.5.2.0|65|0
|
||||
1.3.6.1.2.1.5.3.0|65|3674381
|
||||
1.3.6.1.2.1.5.4.0|65|0
|
||||
1.3.6.1.2.1.5.5.0|65|0
|
||||
1.3.6.1.2.1.5.6.0|65|0
|
||||
1.3.6.1.2.1.5.7.0|65|0
|
||||
1.3.6.1.2.1.5.8.0|65|651633
|
||||
1.3.6.1.2.1.5.9.0|65|0
|
||||
1.3.6.1.2.1.5.10.0|65|0
|
||||
1.3.6.1.2.1.5.11.0|65|0
|
||||
1.3.6.1.2.1.5.12.0|65|0
|
||||
1.3.6.1.2.1.5.13.0|65|0
|
||||
1.3.6.1.2.1.5.14.0|65|651642
|
||||
1.3.6.1.2.1.5.15.0|65|0
|
||||
1.3.6.1.2.1.5.16.0|65|0
|
||||
1.3.6.1.2.1.5.17.0|65|0
|
||||
1.3.6.1.2.1.5.18.0|65|0
|
||||
1.3.6.1.2.1.5.19.0|65|0
|
||||
1.3.6.1.2.1.5.20.0|65|0
|
||||
1.3.6.1.2.1.5.21.0|65|0
|
||||
1.3.6.1.2.1.5.22.0|65|651633
|
||||
1.3.6.1.2.1.5.23.0|65|0
|
||||
1.3.6.1.2.1.5.24.0|65|0
|
||||
1.3.6.1.2.1.5.25.0|65|0
|
||||
1.3.6.1.2.1.5.26.0|65|0
|
||||
1.3.6.1.2.1.6.5.0|65|0
|
||||
1.3.6.1.2.1.6.6.0|65|71
|
||||
1.3.6.1.2.1.6.7.0|65|0
|
||||
1.3.6.1.2.1.6.8.0|65|0
|
||||
1.3.6.1.2.1.6.9.0|66|0
|
||||
1.3.6.1.2.1.6.10.0|65|1799
|
||||
1.3.6.1.2.1.6.11.0|65|2984
|
||||
1.3.6.1.2.1.6.12.0|65|131
|
||||
1.3.6.1.2.1.6.14.0|65|0
|
||||
1.3.6.1.2.1.6.15.0|65|39
|
||||
1.3.6.1.2.1.7.1.0|65|597245702
|
||||
1.3.6.1.2.1.7.2.0|65|1087
|
||||
1.3.6.1.2.1.7.3.0|65|0
|
||||
1.3.6.1.2.1.7.4.0|65|602834800
|
||||
1.3.6.1.2.1.11.1.0|65|597244580
|
||||
1.3.6.1.2.1.11.2.0|65|602834712
|
||||
1.3.6.1.2.1.11.3.0|65|0
|
||||
1.3.6.1.2.1.11.4.0|65|0
|
||||
1.3.6.1.2.1.11.5.0|65|0
|
||||
1.3.6.1.2.1.11.6.0|65|0
|
||||
1.3.6.1.2.1.11.8.0|65|0
|
||||
1.3.6.1.2.1.11.9.0|65|0
|
||||
1.3.6.1.2.1.11.10.0|65|0
|
||||
1.3.6.1.2.1.11.11.0|65|0
|
||||
1.3.6.1.2.1.11.12.0|65|0
|
||||
1.3.6.1.2.1.11.13.0|65|8139370
|
||||
1.3.6.1.2.1.11.14.0|65|0
|
||||
1.3.6.1.2.1.11.15.0|65|2843083
|
||||
1.3.6.1.2.1.11.16.0|65|5488283
|
||||
1.3.6.1.2.1.11.17.0|65|0
|
||||
1.3.6.1.2.1.11.18.0|65|0
|
||||
1.3.6.1.2.1.11.19.0|65|0
|
||||
1.3.6.1.2.1.11.20.0|65|0
|
||||
1.3.6.1.2.1.11.21.0|65|1684075
|
||||
1.3.6.1.2.1.11.22.0|65|0
|
||||
1.3.6.1.2.1.11.24.0|65|0
|
||||
1.3.6.1.2.1.11.25.0|65|0
|
||||
1.3.6.1.2.1.11.26.0|65|0
|
||||
1.3.6.1.2.1.11.27.0|65|0
|
||||
1.3.6.1.2.1.11.28.0|65|597244604
|
||||
1.3.6.1.2.1.11.29.0|65|5590132
|
||||
1.3.6.1.4.1.13858.2.1.1.0|4|Eltek Valere
|
||||
1.3.6.1.4.1.13858.2.1.2.0|4|BC2000
|
||||
1.3.6.1.4.1.13858.2.1.3.0|4| 4.03.00
|
||||
1.3.6.1.4.1.13858.2.1.6.1.1.1.1|2|1
|
||||
1.3.6.1.4.1.13858.2.1.6.1.1.1.2|2|1
|
||||
1.3.6.1.4.1.13858.2.1.6.1.2.1.1|2|1
|
||||
1.3.6.1.4.1.13858.2.1.6.1.2.1.2|2|2
|
||||
1.3.6.1.4.1.13858.2.1.6.1.3.1.1|6|1.3.6.1.4.1.13858.3
|
||||
1.3.6.1.4.1.13858.2.1.6.1.3.1.2|6|1.3.6.1.4.1.13858.3
|
||||
1.3.6.1.4.1.13858.2.1.6.1.4.1.1|2|588
|
||||
1.3.6.1.4.1.13858.2.1.6.1.4.1.2|2|594
|
||||
1.3.6.1.4.1.13858.2.1.6.1.5.1.1|2|0
|
||||
1.3.6.1.4.1.13858.2.1.6.1.5.1.2|2|0
|
||||
1.3.6.1.4.1.13858.2.1.6.1.6.1.1|2|2100
|
||||
1.3.6.1.4.1.13858.2.1.6.1.6.1.2|2|2100
|
||||
1.3.6.1.4.1.13858.2.3.1.0|2|2
|
||||
1.3.6.1.4.1.13858.2.3.2.0|2|5451
|
||||
1.3.6.1.4.1.13858.2.3.3.0|2|11
|
||||
1.3.6.1.4.1.13858.2.3.4.0|2|1
|
||||
1.3.6.1.4.1.13858.2.3.5.0|2|24
|
||||
1.3.6.1.4.1.13858.2.3.6.0|2|0
|
||||
1.3.6.1.4.1.13858.2.3.7.0|2|0
|
||||
1.3.6.1.4.1.13858.2.3.8.0|67|9196820
|
||||
1.3.6.1.4.1.13858.2.3.9.0|66|8
|
||||
1.3.6.1.4.1.13858.7.1.1.1.1.0|2|0
|
||||
1.3.6.1.4.1.13858.7.1.1.1.1.1|2|1
|
||||
1.3.6.1.4.1.13858.7.1.1.1.1.2|2|2
|
||||
1.3.6.1.4.1.13858.7.1.1.1.1.3|2|3
|
||||
1.3.6.1.4.1.13858.7.1.1.1.2.0|4|TProbe 1
|
||||
1.3.6.1.4.1.13858.7.1.1.1.2.1|4|TProbe 2
|
||||
1.3.6.1.4.1.13858.7.1.1.1.2.2|4|TProbe 3
|
||||
1.3.6.1.4.1.13858.7.1.1.1.2.3|4|TProbe 4
|
||||
1.3.6.1.4.1.13858.7.1.1.1.3.0|2|-127
|
||||
1.3.6.1.4.1.13858.7.1.1.1.3.1|2|-127
|
||||
1.3.6.1.4.1.13858.7.1.1.1.3.2|2|-127
|
||||
1.3.6.1.4.1.13858.7.1.1.1.3.3|2|-127
|
Loading…
Reference in New Issue
Block a user