mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
cafdec6285
* Remove unused port fields (and set vlan to default to null) * Update test data for deleted fields * update vlan to null * missed field removals * More correct migration * Update new data * restore accidental deletions
591 lines
24 KiB
JSON
591 lines
24 KiB
JSON
{
|
|
"os": {
|
|
"discovery": {
|
|
"devices": [
|
|
{
|
|
"sysName": "<private>",
|
|
"sysObjectID": ".1.3.6.1.4.1.13858",
|
|
"sysDescr": "Sys Description",
|
|
"sysContact": "<private>",
|
|
"version": "4.01.40",
|
|
"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": "000a19deedfe",
|
|
"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": 407891,
|
|
"ifInUcastPkts_prev": 0,
|
|
"ifInUcastPkts_delta": null,
|
|
"ifInUcastPkts_rate": null,
|
|
"ifOutUcastPkts": 407857,
|
|
"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": 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": 263731,
|
|
"ifInNUcastPkts_prev": 0,
|
|
"ifInNUcastPkts_delta": null,
|
|
"ifInNUcastPkts_rate": null,
|
|
"ifOutNUcastPkts": 2,
|
|
"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": 1599,
|
|
"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": 17,
|
|
"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": 9.11,
|
|
"sensor_limit": 52.5,
|
|
"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": 9.07,
|
|
"sensor_limit": 52.5,
|
|
"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": 25,
|
|
"sensor_limit": 45,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 15,
|
|
"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": "temperature",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.13858.7.1.1.1.3.0",
|
|
"sensor_index": "battery0",
|
|
"sensor_type": "valere",
|
|
"sensor_descr": "Main Batteries",
|
|
"group": "Batteries",
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 30,
|
|
"sensor_limit": 50,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 20,
|
|
"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,
|
|
"sensor_limit": 62.1,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 45.9,
|
|
"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"
|
|
}
|
|
}
|