mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
9d35fbc6a7
* Initial entity-physical code * Split out Entity-MIB trait * Cisco Cellular inventory * Fix bad test data * alfo80hd - we now include all entPhysical entries * Correct aos7 test data * Add entPhysicalClass as last resort for label in ui * aos add previously filtered data * Fixup arista-eos data * Update ariast_eos data * Arris, clean garbage in Rev fields * Aruba Instant custom inventory ported * ArubaOS CX add vendor type mib * aviat-wtm test data refresh * axos add shelf fix data fields a bit * ciena-rls * ciena-sds * Skip cimc for now... no test data * Cisco updates * Comware data update * Update dnos * Clean Edgeos garbage, make code from Arris shareable * Relaxed ifIndex match, some devices cheat and send back static strings instead of formatted OIDs * Regex refinement and updated edgeos with new clean data * Update edgeswitch data * Update eltex-mes21xx data * eltex-mes23xx * Guess at eltex-mes24xx since there is no test data * Update eurostor, fix firmware version * Apply fixes from StyleCI * fixes * Update fortigate data * Update fortiweb, ftd, and fusion * Update linux LSI * Fix hexToAscii null removal with different seperator handling * icotera add final snmprec data to avoid snmpsim bug * Update IOS data * Update mrv-od * Add junos translation * Generic data updates n-r * ruijie workaround snmpsim bug * Port saf-cfm * Recode Schleifenbauer, and fix entPhysicalIndex values * SmartAX fixes * sm-os and tait-infra93 * timos inventory was not right, fix it up * ubiquoss-pon * VRP, has custom data collection on top of normal adapt port ifIndex lookup to handle it * VRP exceeded the string length specified in ENTITY-MIB... * data updates * Final data update and code cleanup * Apply fixes from StyleCI * Lint fixes * Add missing SnmpResponse->pluck() code * Update db_schema.yaml * Fix bad test data * Another instant-on update * oops * Remove some unused code # Conflicts: # includes/html/pages/device/overview.inc.php --------- Co-authored-by: Tony Murray <murrant@users.noreply.github.com>
405 lines
17 KiB
JSON
405 lines
17 KiB
JSON
{
|
|
"sensors": {
|
|
"discovery": {
|
|
"sensors": [
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "state",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.4526.10.43.1.7.1.3.0",
|
|
"sensor_index": "boxServicesPowSupplyItemState.0",
|
|
"sensor_type": "boxServicesPowSupplyItemState",
|
|
"sensor_descr": "PSU 0 State",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 2,
|
|
"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": "boxServicesPowSupplyItemState"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "temperature",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.4526.10.43.1.8.1.5.1.0",
|
|
"sensor_index": "boxServicesTempSensorTemperature.1.0",
|
|
"sensor_type": "netgear",
|
|
"sensor_descr": "Switch 1 Sensor 0 Temperature",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 47,
|
|
"sensor_limit": 67,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 37,
|
|
"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": "boxServicesPowSupplyItemState",
|
|
"state_descr": "notpresent",
|
|
"state_draw_graph": 0,
|
|
"state_value": 1,
|
|
"state_generic_value": 0
|
|
},
|
|
{
|
|
"state_name": "boxServicesPowSupplyItemState",
|
|
"state_descr": "operational",
|
|
"state_draw_graph": 0,
|
|
"state_value": 2,
|
|
"state_generic_value": 0
|
|
},
|
|
{
|
|
"state_name": "boxServicesPowSupplyItemState",
|
|
"state_descr": "failed",
|
|
"state_draw_graph": 0,
|
|
"state_value": 3,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "boxServicesPowSupplyItemState",
|
|
"state_descr": "powering",
|
|
"state_draw_graph": 0,
|
|
"state_value": 4,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "boxServicesPowSupplyItemState",
|
|
"state_descr": "nopower",
|
|
"state_draw_graph": 0,
|
|
"state_value": 5,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "boxServicesPowSupplyItemState",
|
|
"state_descr": "notpowering",
|
|
"state_draw_graph": 0,
|
|
"state_value": 6,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "boxServicesPowSupplyItemState",
|
|
"state_descr": "incompatible",
|
|
"state_draw_graph": 0,
|
|
"state_value": 7,
|
|
"state_generic_value": 1
|
|
}
|
|
]
|
|
},
|
|
"poller": "matches discovery"
|
|
},
|
|
"os": {
|
|
"discovery": {
|
|
"devices": [
|
|
{
|
|
"sysName": "<private>",
|
|
"sysObjectID": ".1.3.6.1.4.1.4526.100.11.22",
|
|
"sysDescr": "M4100-D12G ProSafe 12-port Gigabit L2+ Intelligent Edge Desktop Managed Switch, 10.0.2.26, B1.0.1.1",
|
|
"sysContact": "<private>",
|
|
"version": "10.0.2.26",
|
|
"hardware": "M4100-D12G",
|
|
"features": null,
|
|
"location": "<private>",
|
|
"os": "netgear",
|
|
"type": "network",
|
|
"serial": null,
|
|
"icon": "netgear.svg"
|
|
}
|
|
]
|
|
},
|
|
"poller": "matches discovery"
|
|
},
|
|
"entity-physical": {
|
|
"discovery": {
|
|
"entPhysical": [
|
|
{
|
|
"entPhysicalIndex": 1,
|
|
"entPhysicalDescr": "M4100-D12G ProSafe 12-port Gigabit L2+ Intelligent Edge Desktop Managed Switch",
|
|
"entPhysicalClass": null,
|
|
"entPhysicalName": "Unit 1",
|
|
"entPhysicalHardwareRev": null,
|
|
"entPhysicalFirmwareRev": null,
|
|
"entPhysicalSoftwareRev": null,
|
|
"entPhysicalAlias": null,
|
|
"entPhysicalAssetID": null,
|
|
"entPhysicalIsFRU": null,
|
|
"entPhysicalModelName": null,
|
|
"entPhysicalVendorType": null,
|
|
"entPhysicalSerialNum": null,
|
|
"entPhysicalContainedIn": 0,
|
|
"entPhysicalParentRelPos": -1,
|
|
"entPhysicalMfgName": null,
|
|
"ifIndex": null
|
|
},
|
|
{
|
|
"entPhysicalIndex": 2,
|
|
"entPhysicalDescr": "Broadcom BCM56144 - 12 GE Port Dedicated Ethernet Line Card",
|
|
"entPhysicalClass": null,
|
|
"entPhysicalName": "Slot 1.0",
|
|
"entPhysicalHardwareRev": null,
|
|
"entPhysicalFirmwareRev": null,
|
|
"entPhysicalSoftwareRev": null,
|
|
"entPhysicalAlias": null,
|
|
"entPhysicalAssetID": null,
|
|
"entPhysicalIsFRU": null,
|
|
"entPhysicalModelName": null,
|
|
"entPhysicalVendorType": null,
|
|
"entPhysicalSerialNum": null,
|
|
"entPhysicalContainedIn": 0,
|
|
"entPhysicalParentRelPos": -1,
|
|
"entPhysicalMfgName": null,
|
|
"ifIndex": null
|
|
},
|
|
{
|
|
"entPhysicalIndex": 3,
|
|
"entPhysicalDescr": "Slot: 0 Port: 1 Gigabit - Level",
|
|
"entPhysicalClass": null,
|
|
"entPhysicalName": "0/1",
|
|
"entPhysicalHardwareRev": null,
|
|
"entPhysicalFirmwareRev": null,
|
|
"entPhysicalSoftwareRev": null,
|
|
"entPhysicalAlias": null,
|
|
"entPhysicalAssetID": null,
|
|
"entPhysicalIsFRU": null,
|
|
"entPhysicalModelName": null,
|
|
"entPhysicalVendorType": null,
|
|
"entPhysicalSerialNum": null,
|
|
"entPhysicalContainedIn": 0,
|
|
"entPhysicalParentRelPos": -1,
|
|
"entPhysicalMfgName": null,
|
|
"ifIndex": null
|
|
},
|
|
{
|
|
"entPhysicalIndex": 4,
|
|
"entPhysicalDescr": "Slot: 0 Port: 2 Gigabit - Level",
|
|
"entPhysicalClass": null,
|
|
"entPhysicalName": "0/2",
|
|
"entPhysicalHardwareRev": null,
|
|
"entPhysicalFirmwareRev": null,
|
|
"entPhysicalSoftwareRev": null,
|
|
"entPhysicalAlias": null,
|
|
"entPhysicalAssetID": null,
|
|
"entPhysicalIsFRU": null,
|
|
"entPhysicalModelName": null,
|
|
"entPhysicalVendorType": null,
|
|
"entPhysicalSerialNum": null,
|
|
"entPhysicalContainedIn": 0,
|
|
"entPhysicalParentRelPos": -1,
|
|
"entPhysicalMfgName": null,
|
|
"ifIndex": null
|
|
},
|
|
{
|
|
"entPhysicalIndex": 5,
|
|
"entPhysicalDescr": "Slot: 0 Port: 3 Gigabit - Level",
|
|
"entPhysicalClass": null,
|
|
"entPhysicalName": "0/3",
|
|
"entPhysicalHardwareRev": null,
|
|
"entPhysicalFirmwareRev": null,
|
|
"entPhysicalSoftwareRev": null,
|
|
"entPhysicalAlias": null,
|
|
"entPhysicalAssetID": null,
|
|
"entPhysicalIsFRU": null,
|
|
"entPhysicalModelName": null,
|
|
"entPhysicalVendorType": null,
|
|
"entPhysicalSerialNum": null,
|
|
"entPhysicalContainedIn": 0,
|
|
"entPhysicalParentRelPos": -1,
|
|
"entPhysicalMfgName": null,
|
|
"ifIndex": null
|
|
},
|
|
{
|
|
"entPhysicalIndex": 6,
|
|
"entPhysicalDescr": "Slot: 0 Port: 4 Gigabit - Level",
|
|
"entPhysicalClass": null,
|
|
"entPhysicalName": "0/4",
|
|
"entPhysicalHardwareRev": null,
|
|
"entPhysicalFirmwareRev": null,
|
|
"entPhysicalSoftwareRev": null,
|
|
"entPhysicalAlias": null,
|
|
"entPhysicalAssetID": null,
|
|
"entPhysicalIsFRU": null,
|
|
"entPhysicalModelName": null,
|
|
"entPhysicalVendorType": null,
|
|
"entPhysicalSerialNum": null,
|
|
"entPhysicalContainedIn": 0,
|
|
"entPhysicalParentRelPos": -1,
|
|
"entPhysicalMfgName": null,
|
|
"ifIndex": null
|
|
},
|
|
{
|
|
"entPhysicalIndex": 7,
|
|
"entPhysicalDescr": "Slot: 0 Port: 5 Gigabit - Level",
|
|
"entPhysicalClass": null,
|
|
"entPhysicalName": "0/5",
|
|
"entPhysicalHardwareRev": null,
|
|
"entPhysicalFirmwareRev": null,
|
|
"entPhysicalSoftwareRev": null,
|
|
"entPhysicalAlias": null,
|
|
"entPhysicalAssetID": null,
|
|
"entPhysicalIsFRU": null,
|
|
"entPhysicalModelName": null,
|
|
"entPhysicalVendorType": null,
|
|
"entPhysicalSerialNum": null,
|
|
"entPhysicalContainedIn": 0,
|
|
"entPhysicalParentRelPos": -1,
|
|
"entPhysicalMfgName": null,
|
|
"ifIndex": null
|
|
},
|
|
{
|
|
"entPhysicalIndex": 8,
|
|
"entPhysicalDescr": "Slot: 0 Port: 6 Gigabit - Level",
|
|
"entPhysicalClass": null,
|
|
"entPhysicalName": "0/6",
|
|
"entPhysicalHardwareRev": null,
|
|
"entPhysicalFirmwareRev": null,
|
|
"entPhysicalSoftwareRev": null,
|
|
"entPhysicalAlias": null,
|
|
"entPhysicalAssetID": null,
|
|
"entPhysicalIsFRU": null,
|
|
"entPhysicalModelName": null,
|
|
"entPhysicalVendorType": null,
|
|
"entPhysicalSerialNum": null,
|
|
"entPhysicalContainedIn": 0,
|
|
"entPhysicalParentRelPos": -1,
|
|
"entPhysicalMfgName": null,
|
|
"ifIndex": null
|
|
},
|
|
{
|
|
"entPhysicalIndex": 9,
|
|
"entPhysicalDescr": "Slot: 0 Port: 7 Gigabit - Level",
|
|
"entPhysicalClass": null,
|
|
"entPhysicalName": "0/7",
|
|
"entPhysicalHardwareRev": null,
|
|
"entPhysicalFirmwareRev": null,
|
|
"entPhysicalSoftwareRev": null,
|
|
"entPhysicalAlias": null,
|
|
"entPhysicalAssetID": null,
|
|
"entPhysicalIsFRU": null,
|
|
"entPhysicalModelName": null,
|
|
"entPhysicalVendorType": null,
|
|
"entPhysicalSerialNum": null,
|
|
"entPhysicalContainedIn": 0,
|
|
"entPhysicalParentRelPos": -1,
|
|
"entPhysicalMfgName": null,
|
|
"ifIndex": null
|
|
},
|
|
{
|
|
"entPhysicalIndex": 10,
|
|
"entPhysicalDescr": "Slot: 0 Port: 8 Gigabit - Level",
|
|
"entPhysicalClass": null,
|
|
"entPhysicalName": "0/8",
|
|
"entPhysicalHardwareRev": null,
|
|
"entPhysicalFirmwareRev": null,
|
|
"entPhysicalSoftwareRev": null,
|
|
"entPhysicalAlias": null,
|
|
"entPhysicalAssetID": null,
|
|
"entPhysicalIsFRU": null,
|
|
"entPhysicalModelName": null,
|
|
"entPhysicalVendorType": null,
|
|
"entPhysicalSerialNum": null,
|
|
"entPhysicalContainedIn": 0,
|
|
"entPhysicalParentRelPos": -1,
|
|
"entPhysicalMfgName": null,
|
|
"ifIndex": null
|
|
},
|
|
{
|
|
"entPhysicalIndex": 11,
|
|
"entPhysicalDescr": "Slot: 0 Port: 9 Gigabit - Level",
|
|
"entPhysicalClass": null,
|
|
"entPhysicalName": "0/9",
|
|
"entPhysicalHardwareRev": null,
|
|
"entPhysicalFirmwareRev": null,
|
|
"entPhysicalSoftwareRev": null,
|
|
"entPhysicalAlias": null,
|
|
"entPhysicalAssetID": null,
|
|
"entPhysicalIsFRU": null,
|
|
"entPhysicalModelName": null,
|
|
"entPhysicalVendorType": null,
|
|
"entPhysicalSerialNum": null,
|
|
"entPhysicalContainedIn": 0,
|
|
"entPhysicalParentRelPos": -1,
|
|
"entPhysicalMfgName": null,
|
|
"ifIndex": null
|
|
},
|
|
{
|
|
"entPhysicalIndex": 12,
|
|
"entPhysicalDescr": "Slot: 0 Port: 10 Gigabit - Level",
|
|
"entPhysicalClass": null,
|
|
"entPhysicalName": "0/10",
|
|
"entPhysicalHardwareRev": null,
|
|
"entPhysicalFirmwareRev": null,
|
|
"entPhysicalSoftwareRev": null,
|
|
"entPhysicalAlias": null,
|
|
"entPhysicalAssetID": null,
|
|
"entPhysicalIsFRU": null,
|
|
"entPhysicalModelName": null,
|
|
"entPhysicalVendorType": null,
|
|
"entPhysicalSerialNum": null,
|
|
"entPhysicalContainedIn": 0,
|
|
"entPhysicalParentRelPos": -1,
|
|
"entPhysicalMfgName": null,
|
|
"ifIndex": null
|
|
},
|
|
{
|
|
"entPhysicalIndex": 13,
|
|
"entPhysicalDescr": "Slot: 0 Port: 11 Gigabit - Level",
|
|
"entPhysicalClass": null,
|
|
"entPhysicalName": "0/11",
|
|
"entPhysicalHardwareRev": null,
|
|
"entPhysicalFirmwareRev": null,
|
|
"entPhysicalSoftwareRev": null,
|
|
"entPhysicalAlias": null,
|
|
"entPhysicalAssetID": null,
|
|
"entPhysicalIsFRU": null,
|
|
"entPhysicalModelName": null,
|
|
"entPhysicalVendorType": null,
|
|
"entPhysicalSerialNum": null,
|
|
"entPhysicalContainedIn": 0,
|
|
"entPhysicalParentRelPos": -1,
|
|
"entPhysicalMfgName": null,
|
|
"ifIndex": null
|
|
},
|
|
{
|
|
"entPhysicalIndex": 14,
|
|
"entPhysicalDescr": "Slot: 0 Port: 12 Gigabit - Level",
|
|
"entPhysicalClass": null,
|
|
"entPhysicalName": "0/12",
|
|
"entPhysicalHardwareRev": null,
|
|
"entPhysicalFirmwareRev": null,
|
|
"entPhysicalSoftwareRev": null,
|
|
"entPhysicalAlias": null,
|
|
"entPhysicalAssetID": null,
|
|
"entPhysicalIsFRU": null,
|
|
"entPhysicalModelName": null,
|
|
"entPhysicalVendorType": null,
|
|
"entPhysicalSerialNum": null,
|
|
"entPhysicalContainedIn": 0,
|
|
"entPhysicalParentRelPos": -1,
|
|
"entPhysicalMfgName": null,
|
|
"ifIndex": null
|
|
}
|
|
]
|
|
},
|
|
"poller": "matches discovery"
|
|
}
|
|
}
|