Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
187
plugins/inputs/redfish/testdata/dell_chassis.json
vendored
Normal file
187
plugins/inputs/redfish/testdata/dell_chassis.json
vendored
Normal file
|
@ -0,0 +1,187 @@
|
|||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Chassis.Chassis",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1",
|
||||
"@odata.type": "#Chassis.v1_6_0.Chassis",
|
||||
"Actions": {
|
||||
"#Chassis.Reset": {
|
||||
"ResetType@Redfish.AllowableValues": [
|
||||
"On",
|
||||
"ForceOff"
|
||||
],
|
||||
"target": "/redfish/v1/Chassis/System.Embedded.1/Actions/Chassis.Reset"
|
||||
}
|
||||
},
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"AssetTag": null,
|
||||
"ChassisType": "RackMount",
|
||||
"Description": "It represents the properties for physical components for any system.It represent racks, rackmount servers, blades, standalone, modular systems,enclosures, and all other containers.The non-cpu/device centric parts of the schema are all accessed either directly or indirectly through this resource.",
|
||||
"Id": "System.Embedded.1",
|
||||
"IndicatorLED": "Off",
|
||||
"Links": {
|
||||
"ComputerSystems": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"ComputerSystems@odata.count": 1,
|
||||
"Contains": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/Enclosure.Internal.0-1:RAID.Integrated.1-1"
|
||||
}
|
||||
],
|
||||
"Contains@odata.count": 1,
|
||||
"CooledBy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.1A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.1B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.2A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.2B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.3A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.3B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.4A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.4B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.5A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.5B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.6A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.6B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.7A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.7B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.8A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.8B"
|
||||
}
|
||||
],
|
||||
"CooledBy@odata.count": 16,
|
||||
"Drives": [],
|
||||
"Drives@odata.count": 0,
|
||||
"ManagedBy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Managers/iDRAC.Embedded.1"
|
||||
}
|
||||
],
|
||||
"ManagedBy@odata.count": 1,
|
||||
"ManagersInChassis": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Managers/iDRAC.Embedded.1"
|
||||
}
|
||||
],
|
||||
"ManagersInChassis@odata.count": 1,
|
||||
"PCIeDevices": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/216-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-31"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-17"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/3-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-28"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-23"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/25-0"
|
||||
}
|
||||
],
|
||||
"PCIeDevices@odata.count": 8,
|
||||
"PoweredBy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power/PowerSupplies/PSU.Slot.1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power/PowerSupplies/PSU.Slot.2"
|
||||
}
|
||||
],
|
||||
"PoweredBy@odata.count": 2,
|
||||
"Storage": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Storage/RAID.Integrated.1-1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Storage/AHCI.Embedded.1-1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Storage/AHCI.Embedded.2-1"
|
||||
}
|
||||
],
|
||||
"Storage@odata.count": 3
|
||||
},
|
||||
"Location": {
|
||||
"Info": ";;;;1",
|
||||
"InfoFormat": "DataCenter;RoomName;Aisle;RackName;RackSlot",
|
||||
"Placement": {
|
||||
"Rack": "",
|
||||
"Row": ""
|
||||
},
|
||||
"PostalAddress": {
|
||||
"Building": "",
|
||||
"Room": ""
|
||||
}
|
||||
},
|
||||
"Manufacturer": "Dell Inc.",
|
||||
"Model": "PowerEdge R640",
|
||||
"Name": "Computer System Chassis",
|
||||
"NetworkAdapters": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/NetworkAdapters"
|
||||
},
|
||||
"PartNumber": "0CRT1GA05",
|
||||
"PhysicalSecurity": {
|
||||
"IntrusionSensor": "Normal",
|
||||
"IntrusionSensorNumber": 115,
|
||||
"IntrusionSensorReArm": "Manual"
|
||||
},
|
||||
"Power": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power"
|
||||
},
|
||||
"PowerState": "On",
|
||||
"SKU": "CLFV7M2",
|
||||
"SerialNumber": "CNIVC007CV0803",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"HealthRollup": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"Thermal": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Thermal"
|
||||
}
|
||||
}
|
188
plugins/inputs/redfish/testdata/dell_chassisinvalid.json
vendored
Normal file
188
plugins/inputs/redfish/testdata/dell_chassisinvalid.json
vendored
Normal file
|
@ -0,0 +1,188 @@
|
|||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Chassis.Chassis",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1",
|
||||
"@odata.type": "#Chassis.v1_6_0.Chassis",
|
||||
"Actions": {
|
||||
"#Chassis.Reset": {
|
||||
"ResetType@Redfish.AllowableValues": [
|
||||
"On",
|
||||
"ForceOff"
|
||||
],
|
||||
"target": "/redfish/v1/Chassis/System.Embedded.1/Actions/Chassis.Reset"
|
||||
}
|
||||
},
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"AssetTag": null,
|
||||
"ChassisType": "RackMount",
|
||||
"Description": "It represents the properties for physical components for any system.It represent racks, rackmount servers, blades, standalone, modular systems,enclosures, and all other containers.The non-cpu/device centric parts of the schema are all accessed either directly or indirectly through this resource.",
|
||||
"Id": "System.Embedded.1",
|
||||
"IndicatorLED": "Off",
|
||||
"Links": {
|
||||
"ComputerSystems": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"ComputerSystems@odata.count": 1,
|
||||
"Contains": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/Enclosure.Internal.0-1:RAID.Integrated.1-1"
|
||||
}
|
||||
],
|
||||
"Contains@odata.count": 1,
|
||||
"CooledBy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.1A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.1B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.2A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.2B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.3A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.3B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.4A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.4B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.5A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.5B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.6A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.6B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.7A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.7B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.8A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.8B"
|
||||
}
|
||||
],
|
||||
"CooledBy@odata.count": 16,
|
||||
"Drives": [],
|
||||
"Drives@odata.count": 0,
|
||||
"ManagedBy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Managers/iDRAC.Embedded.1"
|
||||
}
|
||||
],
|
||||
"ManagedBy@odata.count": 1,
|
||||
"ManagersInChassis": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Managers/iDRAC.Embedded.1"
|
||||
}
|
||||
],
|
||||
"ManagersInChassis@odata.count": 1,
|
||||
"PCIeDevices": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/216-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-31"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-17"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/3-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-28"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-23"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/25-0"
|
||||
}
|
||||
],
|
||||
"PCIeDevices@odata.count": 8,
|
||||
"PoweredBy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power/PowerSupplies/PSU.Slot.1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power/PowerSupplies/PSU.Slot.2"
|
||||
}
|
||||
],
|
||||
"PoweredBy@odata.count": 2,
|
||||
"Storage": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Storage/RAID.Integrated.1-1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Storage/AHCI.Embedded.1-1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Storage/AHCI.Embedded.2-1"
|
||||
}
|
||||
],
|
||||
"Storage@odata.count": 3
|
||||
},
|
||||
"Location": {
|
||||
"Info": ";;;;1",
|
||||
"InfoFormat": "DataCenter;RoomName;Aisle;RackName;RackSlot",
|
||||
"Placement": {
|
||||
"Rack": "",
|
||||
"Row": ""
|
||||
},
|
||||
"PostalAddress": {
|
||||
"Building": "",
|
||||
"Room": ""
|
||||
}
|
||||
},
|
||||
"Manufacturer": "Dell Inc.",
|
||||
"Model": "PowerEdge R640",
|
||||
"Name": "Computer System Chassis",
|
||||
"NetworkAdapters": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/NetworkAdapters"
|
||||
},
|
||||
"PartNumber": "0CRT1GA05",
|
||||
"PhysicalSecurity": {
|
||||
"IntrusionSensor": "Normal",
|
||||
"IntrusionSensorNumber": 115,
|
||||
"IntrusionSensorReArm": "Manual"
|
||||
},
|
||||
"Power": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power"
|
||||
},
|
||||
"PowerState": "On",
|
||||
"SKU": "CLFV7M2",
|
||||
"SerialNumber": "CNIVC007CV0803",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"HealthRollup": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"Thermal": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Thermal"
|
||||
}
|
||||
}
|
||||
{
|
207
plugins/inputs/redfish/testdata/dell_power.json
vendored
Normal file
207
plugins/inputs/redfish/testdata/dell_power.json
vendored
Normal file
|
@ -0,0 +1,207 @@
|
|||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Power.Power",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power",
|
||||
"@odata.type": "#Power.v1_5_0.Power",
|
||||
"Description": "Power",
|
||||
"Id": "Power",
|
||||
"Name": "Power",
|
||||
"PowerControl": [
|
||||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Power.Power",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power/PowerControl",
|
||||
"@odata.type": "#Power.v1_4_0.PowerControl",
|
||||
"MemberId": "PowerControl",
|
||||
"Name": "System Power Control",
|
||||
"PowerAllocatedWatts": 1628,
|
||||
"PowerAvailableWatts": 0,
|
||||
"PowerCapacityWatts": 1628,
|
||||
"PowerConsumedWatts": 429,
|
||||
"PowerLimit": {
|
||||
"CorrectionInMs": 0,
|
||||
"LimitException": "HardPowerOff",
|
||||
"LimitInWatts": 348
|
||||
},
|
||||
"PowerMetrics": {
|
||||
"AverageConsumedWatts": 426,
|
||||
"IntervalInMin": 1,
|
||||
"MaxConsumedWatts": 436,
|
||||
"MinConsumedWatts": 425
|
||||
},
|
||||
"PowerRequestedWatts": 704,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 2
|
||||
}
|
||||
],
|
||||
"PowerControl@odata.count": 1,
|
||||
"PowerSupplies": [
|
||||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Power.Power",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power/PowerSupplies/PSU.Slot.1",
|
||||
"@odata.type": "#Power.v1_5_0.PowerSupply",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"EfficiencyPercent": 0.9100000262260437,
|
||||
"FirmwareVersion": "00.1B.53",
|
||||
"HotPluggable": true,
|
||||
"InputRanges": [
|
||||
{
|
||||
"InputType": "AC",
|
||||
"MaximumFrequencyHz": 63,
|
||||
"MaximumVoltage": 264,
|
||||
"MinimumFrequencyHz": 47,
|
||||
"MinimumVoltage": 90,
|
||||
"OutputWattage": 750
|
||||
}
|
||||
],
|
||||
"InputRanges@odata.count": 1,
|
||||
"LastPowerOutputWatts": null,
|
||||
"LineInputVoltage": 206,
|
||||
"LineInputVoltageType": "AC240V",
|
||||
"Manufacturer": "Dell",
|
||||
"MemberId": "PSU.Slot.1",
|
||||
"Model": "PWR SPLY,750W,RDNT,ARTESYN ",
|
||||
"Name": "PS1 Status",
|
||||
"Oem": {
|
||||
"Dell": {
|
||||
"DellPowerSupply": {
|
||||
"@odata.context": "/redfish/v1/$metadata#DellPowerSupply.DellPowerSupply",
|
||||
"@odata.id": "/redfish/v1/Dell/Chassis/System.Embedded.1/Power/PowerSupplies/DellPowerSupply/PSU.Slot.1",
|
||||
"@odata.type": "#DellPowerSupply.v1_0_0.DellPowerSupply",
|
||||
"IsSwitchingSupply": true,
|
||||
"Links": {
|
||||
"DellPSNumericSensorCollection": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Dell/Systems/System.Embedded.1/DellPSNumericSensor/iDRAC.Embedded.1%23PS1Current1"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"DellPowerSupplyView": {
|
||||
"@odata.context": "/redfish/v1/$metadata#DellPowerSupplyView.DellPowerSupplyView",
|
||||
"@odata.id": "/redfish/v1/Dell/Chassis/System.Embedded.1/Power/PowerSupplies/DellPowerSupplyView/PSU.Slot.1",
|
||||
"@odata.type": "#DellPowerSupplyView.v1_0_0.DellPowerSupplyView",
|
||||
"DetailedState": "Presence Detected",
|
||||
"Range1MaxInputPowerWatts": 900
|
||||
}
|
||||
}
|
||||
},
|
||||
"PartNumber": "0PJMDNA01",
|
||||
"PowerCapacityWatts": 750,
|
||||
"PowerInputWatts": 900,
|
||||
"PowerOutputWatts": 203,
|
||||
"PowerSupplyType": "AC",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"SerialNumber": "PHARP0079G0049",
|
||||
"SparePartNumber": "0PJMDNA01",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
}
|
||||
],
|
||||
"PowerSupplies@odata.count": 1,
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"Voltages": [
|
||||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Power.Power",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Voltages/iDRAC.Embedded.1%23SystemBoardDIMMPG",
|
||||
"@odata.type": "#Power.v1_3_0.Voltage",
|
||||
"LowerThresholdCritical": null,
|
||||
"LowerThresholdFatal": null,
|
||||
"LowerThresholdNonCritical": null,
|
||||
"MaxReadingRange": 0,
|
||||
"MemberId": "iDRAC.Embedded.1#SystemBoardDIMMPG",
|
||||
"MinReadingRange": 0,
|
||||
"Name": "System Board DIMM PG",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"ReadingVolts": 1,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"SensorNumber": 7,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Power.Power",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Voltages/iDRAC.Embedded.1%23SystemBoardNDCPG",
|
||||
"@odata.type": "#Power.v1_3_0.Voltage",
|
||||
"LowerThresholdCritical": null,
|
||||
"LowerThresholdFatal": null,
|
||||
"LowerThresholdNonCritical": null,
|
||||
"MaxReadingRange": 197,
|
||||
"MemberId": "iDRAC.Embedded.1#SystemBoardNDCPG",
|
||||
"MinReadingRange": 139,
|
||||
"Name": "System Board NDC PG",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"ReadingVolts": 1,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"SensorNumber": 8,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Power.Power",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Voltages/iDRAC.Embedded.1%23SystemBoardPS1PGFAIL",
|
||||
"@odata.type": "#Power.v1_3_0.Voltage",
|
||||
"LowerThresholdCritical": null,
|
||||
"LowerThresholdFatal": null,
|
||||
"LowerThresholdNonCritical": null,
|
||||
"MaxReadingRange": 197,
|
||||
"MemberId": "iDRAC.Embedded.1#SystemBoardPS1PGFAIL",
|
||||
"MinReadingRange": 139,
|
||||
"Name": "System Board PS1 PG FAIL",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"ReadingVolts": 1,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"SensorNumber": 9,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
}
|
||||
],
|
||||
"Voltages@odata.count": 4
|
||||
}
|
207
plugins/inputs/redfish/testdata/dell_powerinvalid.json
vendored
Normal file
207
plugins/inputs/redfish/testdata/dell_powerinvalid.json
vendored
Normal file
|
@ -0,0 +1,207 @@
|
|||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Power.Power",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power",
|
||||
"@odata.type": "#Power.v1_5_0.Power",
|
||||
"Description": "Power",
|
||||
"Id": "Power",
|
||||
"Name": "Power",
|
||||
"PowerControl": [
|
||||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Power.Power",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power/PowerControl",
|
||||
"@odata.type": "#Power.v1_4_0.PowerControl",
|
||||
"MemberId": "PowerControl",
|
||||
"Name": "System Power Control",
|
||||
"PowerAllocatedWatts": 1628,
|
||||
"PowerAvailableWatts": 0,
|
||||
"PowerCapacityWatts": 1628,
|
||||
"PowerConsumedWatts": 429,
|
||||
"PowerLimit": {
|
||||
"CorrectionInMs": 0,
|
||||
"LimitException": "HardPowerOff",
|
||||
"LimitInWatts": 348
|
||||
},
|
||||
"PowerMetrics": {
|
||||
"AverageConsumedWatts": 426,
|
||||
"IntervalInMin": 1,
|
||||
"MaxConsumedWatts": 436,
|
||||
"MinConsumedWatts": 425
|
||||
},
|
||||
"PowerRequestedWatts": 704,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 2
|
||||
}
|
||||
],
|
||||
"PowerControl@odata.count": 1,
|
||||
"PowerSupplies": [
|
||||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Power.Power",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power/PowerSupplies/PSU.Slot.1",
|
||||
"@odata.type": "#Power.v1_5_0.PowerSupply",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"EfficiencyPercent": 0.9100000262260437,
|
||||
"FirmwareVersion": "00.1B.53",
|
||||
"HotPluggable": true,
|
||||
"InputRanges": [
|
||||
{
|
||||
"InputType": "AC",
|
||||
"MaximumFrequencyHz": 63,
|
||||
"MaximumVoltage": 264,
|
||||
"MinimumFrequencyHz": 47,
|
||||
"MinimumVoltage": 90,
|
||||
"OutputWattage": 750
|
||||
}
|
||||
],
|
||||
"InputRanges@odata.count": 1,
|
||||
"LastPowerOutputWatts": null,
|
||||
"LineInputVoltage": 206,
|
||||
"LineInputVoltageType": "AC240V",
|
||||
"Manufacturer": "Dell",
|
||||
"MemberId": "PSU.Slot.1",
|
||||
"Model": "PWR SPLY,750W,RDNT,ARTESYN ",
|
||||
"Name": PS1 Status,
|
||||
"Oem": {
|
||||
"Dell": {
|
||||
"DellPowerSupply": {
|
||||
"@odata.context": "/redfish/v1/$metadata#DellPowerSupply.DellPowerSupply",
|
||||
"@odata.id": "/redfish/v1/Dell/Chassis/System.Embedded.1/Power/PowerSupplies/DellPowerSupply/PSU.Slot.1",
|
||||
"@odata.type": "#DellPowerSupply.v1_0_0.DellPowerSupply",
|
||||
"IsSwitchingSupply": true,
|
||||
"Links": {
|
||||
"DellPSNumericSensorCollection": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Dell/Systems/System.Embedded.1/DellPSNumericSensor/iDRAC.Embedded.1%23PS1Current1"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"DellPowerSupplyView": {
|
||||
"@odata.context": "/redfish/v1/$metadata#DellPowerSupplyView.DellPowerSupplyView",
|
||||
"@odata.id": "/redfish/v1/Dell/Chassis/System.Embedded.1/Power/PowerSupplies/DellPowerSupplyView/PSU.Slot.1",
|
||||
"@odata.type": "#DellPowerSupplyView.v1_0_0.DellPowerSupplyView",
|
||||
"DetailedState": "Presence Detected",
|
||||
"Range1MaxInputPowerWatts": 900
|
||||
}
|
||||
}
|
||||
},
|
||||
"PartNumber": "0PJMDNA01",
|
||||
"PowerCapacityWatts": 750,
|
||||
"PowerInputWatts": 900,
|
||||
"PowerOutputWatts": 203,
|
||||
"PowerSupplyType": "AC",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"SerialNumber": "PHARP0079G0049",
|
||||
"SparePartNumber": "0PJMDNA01",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
}
|
||||
],
|
||||
"PowerSupplies@odata.count": 1,
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"Voltages": [
|
||||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Power.Power",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Voltages/iDRAC.Embedded.1%23SystemBoardDIMMPG",
|
||||
"@odata.type": "#Power.v1_3_0.Voltage",
|
||||
"LowerThresholdCritical": null,
|
||||
"LowerThresholdFatal": null,
|
||||
"LowerThresholdNonCritical": null,
|
||||
"MaxReadingRange": 0,
|
||||
"MemberId": "iDRAC.Embedded.1#SystemBoardDIMMPG",
|
||||
"MinReadingRange": 0,
|
||||
"Name": "System Board DIMM PG",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"ReadingVolts": 1,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"SensorNumber": 7,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Power.Power",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Voltages/iDRAC.Embedded.1%23SystemBoardNDCPG",
|
||||
"@odata.type": "#Power.v1_3_0.Voltage",
|
||||
"LowerThresholdCritical": null,
|
||||
"LowerThresholdFatal": null,
|
||||
"LowerThresholdNonCritical": null,
|
||||
"MaxReadingRange": 197,
|
||||
"MemberId": "iDRAC.Embedded.1#SystemBoardNDCPG",
|
||||
"MinReadingRange": 139,
|
||||
"Name": "System Board NDC PG",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"ReadingVolts": 1,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"SensorNumber": 8,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Power.Power",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Voltages/iDRAC.Embedded.1%23SystemBoardPS1PGFAIL",
|
||||
"@odata.type": "#Power.v1_3_0.Voltage",
|
||||
"LowerThresholdCritical": null,
|
||||
"LowerThresholdFatal": null,
|
||||
"LowerThresholdNonCritical": null,
|
||||
"MaxReadingRange": 197,
|
||||
"MemberId": "iDRAC.Embedded.1#SystemBoardPS1PGFAIL",
|
||||
"MinReadingRange": 139,
|
||||
"Name": "System Board PS1 PG FAIL",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"ReadingVolts": 1,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"SensorNumber": 9,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
}
|
||||
],
|
||||
"Voltages@odata.count": 4
|
||||
}
|
329
plugins/inputs/redfish/testdata/dell_systems.json
vendored
Normal file
329
plugins/inputs/redfish/testdata/dell_systems.json
vendored
Normal file
|
@ -0,0 +1,329 @@
|
|||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#ComputerSystem.ComputerSystem",
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1",
|
||||
"@odata.type": "#ComputerSystem.v1_5_0.ComputerSystem",
|
||||
"Actions": {
|
||||
"#ComputerSystem.Reset": {
|
||||
"ResetType@Redfish.AllowableValues": [
|
||||
"On",
|
||||
"ForceOff",
|
||||
"ForceRestart",
|
||||
"GracefulShutdown",
|
||||
"PushPowerButton",
|
||||
"Nmi"
|
||||
],
|
||||
"target": "/redfish/v1/Systems/System.Embedded.1/Actions/ComputerSystem.Reset"
|
||||
}
|
||||
},
|
||||
"AssetTag": "",
|
||||
"Bios": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Bios"
|
||||
},
|
||||
"BiosVersion": "2.3.10",
|
||||
"Boot": {
|
||||
"BootOptions": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/BootOptions"
|
||||
},
|
||||
"BootOrder": [
|
||||
"Boot0002",
|
||||
"Boot0003",
|
||||
"Boot0005",
|
||||
"Boot0004"
|
||||
],
|
||||
"BootOrder@odata.count": 4,
|
||||
"BootSourceOverrideEnabled": "Once",
|
||||
"BootSourceOverrideMode": "UEFI",
|
||||
"BootSourceOverrideTarget": "None",
|
||||
"BootSourceOverrideTarget@Redfish.AllowableValues": [
|
||||
"None",
|
||||
"Pxe",
|
||||
"Floppy",
|
||||
"Cd",
|
||||
"Hdd",
|
||||
"BiosSetup",
|
||||
"Utilities",
|
||||
"UefiTarget",
|
||||
"SDCard",
|
||||
"UefiHttp"
|
||||
],
|
||||
"UefiTargetBootSourceOverride": ""
|
||||
},
|
||||
"Description": "Computer System which represents a machine (physical or virtual) and the local resources such as memory, cpu and other devices that can be accessed from that machine.",
|
||||
"EthernetInterfaces": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/EthernetInterfaces"
|
||||
},
|
||||
"HostName": "tpa-hostname",
|
||||
"HostWatchdogTimer": {
|
||||
"FunctionEnabled": true,
|
||||
"Status": {
|
||||
"State": "Enabled"
|
||||
},
|
||||
"TimeoutAction": "None"
|
||||
},
|
||||
"HostingRoles": [],
|
||||
"HostingRoles@odata.count": 0,
|
||||
"Id": "System.Embedded.1",
|
||||
"IndicatorLED": "Off",
|
||||
"Links": {
|
||||
"Chassis": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"Chassis@odata.count": 1,
|
||||
"CooledBy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.1A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.1B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.2A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.2B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.3A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.3B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.4A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.4B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.5A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.5B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.6A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.6B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.7A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.7B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.8A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.8B"
|
||||
}
|
||||
],
|
||||
"CooledBy@odata.count": 16,
|
||||
"ManagedBy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Managers/iDRAC.Embedded.1"
|
||||
}
|
||||
],
|
||||
"ManagedBy@odata.count": 1,
|
||||
"Oem": {
|
||||
"Dell": {
|
||||
"BootOrder": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/BootSources"
|
||||
},
|
||||
"DellNumericSensorCollection": {
|
||||
"@odata.id": "/redfish/v1/Dell/Systems/System.Embedded.1/DellNumericSensorCollection"
|
||||
},
|
||||
"DellOSDeploymentService": {
|
||||
"@odata.id": "/redfish/v1/Dell/Systems/System.Embedded.1/DellOSDeploymentService"
|
||||
},
|
||||
"DellPresenceAndStatusSensorCollection": {
|
||||
"@odata.id": "/redfish/v1/Dell/Systems/System.Embedded.1/DellPresenceAndStatusSensorCollection"
|
||||
},
|
||||
"DellRaidService": {
|
||||
"@odata.id": "/redfish/v1/Dell/Systems/System.Embedded.1/DellRaidService"
|
||||
},
|
||||
"DellSensorCollection": {
|
||||
"@odata.id": "/redfish/v1/Dell/Systems/System.Embedded.1/DellSensorCollection"
|
||||
},
|
||||
"DellSoftwareInstallationService": {
|
||||
"@odata.id": "/redfish/v1/Dell/Systems/System.Embedded.1/DellSoftwareInstallationService"
|
||||
}
|
||||
}
|
||||
},
|
||||
"PoweredBy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power/PowerSupplies/PSU.Slot.1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power/PowerSupplies/PSU.Slot.2"
|
||||
}
|
||||
],
|
||||
"PoweredBy@odata.count": 2
|
||||
},
|
||||
"Manufacturer": "Dell Inc.",
|
||||
"Memory": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Memory"
|
||||
},
|
||||
"MemorySummary": {
|
||||
"MemoryMirroring": "System",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"HealthRollup": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"TotalSystemMemoryGiB": 476.837376
|
||||
},
|
||||
"Model": "PowerEdge R640",
|
||||
"Name": "System",
|
||||
"NetworkInterfaces": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/NetworkInterfaces"
|
||||
},
|
||||
"Oem": {
|
||||
"Dell": {
|
||||
"DellSystem": {
|
||||
"@odata.context": "/redfish/v1/$metadata#DellSystem.DellSystem",
|
||||
"@odata.id": "/redfish/v1/Dell/Systems/System.Embedded.1/DellSystem/System.Embedded.1",
|
||||
"@odata.type": "#DellSystem.v1_0_0.DellSystem",
|
||||
"BIOSReleaseDate": "08/15/2019",
|
||||
"BaseBoardChassisSlot": "NA",
|
||||
"BatteryRollupStatus": "OK",
|
||||
"BladeGeometry": "NotApplicable",
|
||||
"CMCIP": null,
|
||||
"CPURollupStatus": "OK",
|
||||
"ChassisServiceTag": "CLFV7M2",
|
||||
"ExpressServiceCode": "27417828170",
|
||||
"FanRollupStatus": "OK",
|
||||
"IntrusionRollupStatus": "OK",
|
||||
"LicensingRollupStatus": "OK",
|
||||
"MaxDIMMSlots": 24,
|
||||
"MaxPCIeSlots": 3,
|
||||
"NodeID": "CLFV7M2",
|
||||
"PSRollupStatus": "OK",
|
||||
"PowerCapEnabledState": "Disabled",
|
||||
"StorageRollupStatus": "OK",
|
||||
"SysMemPrimaryStatus": "OK",
|
||||
"SystemGeneration": "14G Monolithic",
|
||||
"SystemID": 1814,
|
||||
"TempRollupStatus": "OK",
|
||||
"UUID": "4c4c4544-004c-4610-8056-c3c04f374d32",
|
||||
"VoltRollupStatus": "OK"
|
||||
}
|
||||
}
|
||||
},
|
||||
"PCIeDevices": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/216-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-31"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-17"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/3-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-28"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-23"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/25-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/24-0"
|
||||
}
|
||||
],
|
||||
"PCIeDevices@odata.count": 9,
|
||||
"PCIeFunctions": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/216-0-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/216-0-1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/0-31-4"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/0-17-5"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/0-31-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/3-0-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/0-28-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/0-0-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/0-23-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/0-28-4"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/25-0-1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/25-0-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/24-0-0"
|
||||
}
|
||||
],
|
||||
"PCIeFunctions@odata.count": 13,
|
||||
"PartNumber": "0CRT1GA05",
|
||||
"PowerState": "On",
|
||||
"ProcessorSummary": {
|
||||
"Count": 2,
|
||||
"LogicalProcessorCount": 80,
|
||||
"Model": "Intel(R) Xeon(R) Gold 6138 CPU @ 2.00GHz",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"HealthRollup": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
},
|
||||
"Processors": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Processors"
|
||||
},
|
||||
"SKU": "CLFV7M2",
|
||||
"SecureBoot": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/SecureBoot"
|
||||
},
|
||||
"SerialNumber": "CNIVC007CV0803",
|
||||
"SimpleStorage": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/SimpleStorage/Controllers"
|
||||
},
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"HealthRollup": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"Storage": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Storage"
|
||||
},
|
||||
"SystemType": "Physical",
|
||||
"TrustedModules": [
|
||||
{
|
||||
"FirmwareVersion": "Unknown",
|
||||
"Status": {
|
||||
"State": "Disabled"
|
||||
}
|
||||
}
|
||||
],
|
||||
"UUID": "4c4c4544-004c-4610-8056-c3c04f374d32"
|
||||
}
|
329
plugins/inputs/redfish/testdata/dell_systemsinvalid.json
vendored
Normal file
329
plugins/inputs/redfish/testdata/dell_systemsinvalid.json
vendored
Normal file
|
@ -0,0 +1,329 @@
|
|||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#ComputerSystem.ComputerSystem",
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1",
|
||||
"@odata.type": "#ComputerSystem.v1_5_0.ComputerSystem",
|
||||
"Actions": {
|
||||
"#ComputerSystem.Reset": {
|
||||
"ResetType@Redfish.AllowableValues": [
|
||||
"On",
|
||||
"ForceOff",
|
||||
"ForceRestart",
|
||||
"GracefulShutdown",
|
||||
"PushPowerButton",
|
||||
"Nmi"
|
||||
],
|
||||
"target": "/redfish/v1/Systems/System.Embedded.1/Actions/ComputerSystem.Reset"
|
||||
}
|
||||
},
|
||||
"AssetTag": "",
|
||||
"Bios": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Bios"
|
||||
},
|
||||
"BiosVersion": "2.3.10",
|
||||
"Boot": {
|
||||
"BootOptions": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/BootOptions"
|
||||
},
|
||||
"BootOrder": [
|
||||
"Boot0002",
|
||||
"Boot0003",
|
||||
"Boot0005",
|
||||
"Boot0004"
|
||||
],
|
||||
"BootOrder@odata.count": 4,
|
||||
"BootSourceOverrideEnabled": "Once",
|
||||
"BootSourceOverrideMode": "UEFI",
|
||||
"BootSourceOverrideTarget": "None",
|
||||
"BootSourceOverrideTarget@Redfish.AllowableValues": [
|
||||
"None",
|
||||
"Pxe",
|
||||
"Floppy",
|
||||
"Cd",
|
||||
"Hdd",
|
||||
"BiosSetup",
|
||||
"Utilities",
|
||||
"UefiTarget",
|
||||
"SDCard",
|
||||
"UefiHttp"
|
||||
],
|
||||
"UefiTargetBootSourceOverride": ""
|
||||
},
|
||||
"Description": "Computer System which represents a machine (physical or virtual) and the local resources such as memory, cpu and other devices that can be accessed from that machine.",
|
||||
"EthernetInterfaces": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/EthernetInterfaces"
|
||||
}
|
||||
"HostName": "tpa-hostname",
|
||||
"HostWatchdogTimer": {
|
||||
"FunctionEnabled": true,
|
||||
"Status": {
|
||||
"State": "Enabled"
|
||||
},
|
||||
"TimeoutAction": "None"
|
||||
},
|
||||
"HostingRoles": [],
|
||||
"HostingRoles@odata.count": 0,
|
||||
"Id": "System.Embedded.1",
|
||||
"IndicatorLED": "Off",
|
||||
"Links": {
|
||||
"Chassis": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"Chassis@odata.count": 1,
|
||||
"CooledBy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.1A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.1B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.2A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.2B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.3A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.3B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.4A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.4B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.5A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.5B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.6A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.6B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.7A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.7B"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.8A"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.8B"
|
||||
}
|
||||
],
|
||||
"CooledBy@odata.count": 16,
|
||||
"ManagedBy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Managers/iDRAC.Embedded.1"
|
||||
}
|
||||
],
|
||||
"ManagedBy@odata.count": 1,
|
||||
"Oem": {
|
||||
"Dell": {
|
||||
"BootOrder": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/BootSources"
|
||||
},
|
||||
"DellNumericSensorCollection": {
|
||||
"@odata.id": "/redfish/v1/Dell/Systems/System.Embedded.1/DellNumericSensorCollection"
|
||||
},
|
||||
"DellOSDeploymentService": {
|
||||
"@odata.id": "/redfish/v1/Dell/Systems/System.Embedded.1/DellOSDeploymentService"
|
||||
},
|
||||
"DellPresenceAndStatusSensorCollection": {
|
||||
"@odata.id": "/redfish/v1/Dell/Systems/System.Embedded.1/DellPresenceAndStatusSensorCollection"
|
||||
},
|
||||
"DellRaidService": {
|
||||
"@odata.id": "/redfish/v1/Dell/Systems/System.Embedded.1/DellRaidService"
|
||||
},
|
||||
"DellSensorCollection": {
|
||||
"@odata.id": "/redfish/v1/Dell/Systems/System.Embedded.1/DellSensorCollection"
|
||||
},
|
||||
"DellSoftwareInstallationService": {
|
||||
"@odata.id": "/redfish/v1/Dell/Systems/System.Embedded.1/DellSoftwareInstallationService"
|
||||
}
|
||||
}
|
||||
},
|
||||
"PoweredBy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power/PowerSupplies/PSU.Slot.1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power/PowerSupplies/PSU.Slot.2"
|
||||
}
|
||||
],
|
||||
"PoweredBy@odata.count": 2
|
||||
},
|
||||
"Manufacturer": "Dell Inc.",
|
||||
"Memory": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Memory"
|
||||
},
|
||||
"MemorySummary": {
|
||||
"MemoryMirroring": "System",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"HealthRollup": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"TotalSystemMemoryGiB": 476.837376
|
||||
},
|
||||
"Model": "PowerEdge R640",
|
||||
"Name": "System",
|
||||
"NetworkInterfaces": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/NetworkInterfaces"
|
||||
},
|
||||
"Oem": {
|
||||
"Dell": {
|
||||
"DellSystem": {
|
||||
"@odata.context": "/redfish/v1/$metadata#DellSystem.DellSystem",
|
||||
"@odata.id": "/redfish/v1/Dell/Systems/System.Embedded.1/DellSystem/System.Embedded.1",
|
||||
"@odata.type": "#DellSystem.v1_0_0.DellSystem",
|
||||
"BIOSReleaseDate": "08/15/2019",
|
||||
"BaseBoardChassisSlot": "NA",
|
||||
"BatteryRollupStatus": "OK",
|
||||
"BladeGeometry": "NotApplicable",
|
||||
"CMCIP": null,
|
||||
"CPURollupStatus": "OK",
|
||||
"ChassisServiceTag": "CLFV7M2",
|
||||
"ExpressServiceCode": "27417828170",
|
||||
"FanRollupStatus": "OK",
|
||||
"IntrusionRollupStatus": "OK",
|
||||
"LicensingRollupStatus": "OK",
|
||||
"MaxDIMMSlots": 24,
|
||||
"MaxPCIeSlots": 3,
|
||||
"NodeID": "CLFV7M2",
|
||||
"PSRollupStatus": "OK",
|
||||
"PowerCapEnabledState": "Disabled",
|
||||
"StorageRollupStatus": "OK",
|
||||
"SysMemPrimaryStatus": "OK",
|
||||
"SystemGeneration": "14G Monolithic",
|
||||
"SystemID": 1814,
|
||||
"TempRollupStatus": "OK",
|
||||
"UUID": "4c4c4544-004c-4610-8056-c3c04f374d32",
|
||||
"VoltRollupStatus": "OK"
|
||||
}
|
||||
}
|
||||
},
|
||||
"PCIeDevices": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/216-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-31"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-17"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/3-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-28"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/0-23"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/25-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeDevice/24-0"
|
||||
}
|
||||
],
|
||||
"PCIeDevices@odata.count": 9,
|
||||
"PCIeFunctions": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/216-0-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/216-0-1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/0-31-4"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/0-17-5"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/0-31-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/3-0-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/0-28-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/0-0-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/0-23-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/0-28-4"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/25-0-1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/25-0-0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/PCIeFunction/24-0-0"
|
||||
}
|
||||
],
|
||||
"PCIeFunctions@odata.count": 13,
|
||||
"PartNumber": "0CRT1GA05",
|
||||
"PowerState": "On",
|
||||
"ProcessorSummary": {
|
||||
"Count": 2,
|
||||
"LogicalProcessorCount": 80,
|
||||
"Model": "Intel(R) Xeon(R) Gold 6138 CPU @ 2.00GHz",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"HealthRollup": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
},
|
||||
"Processors": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Processors"
|
||||
},
|
||||
"SKU": "CLFV7M2",
|
||||
"SecureBoot": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/SecureBoot"
|
||||
},
|
||||
"SerialNumber": "CNIVC007CV0803",
|
||||
"SimpleStorage": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/SimpleStorage/Controllers"
|
||||
},
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"HealthRollup": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"Storage": {
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Storage"
|
||||
},
|
||||
"SystemType": "Physical",
|
||||
"TrustedModules": [
|
||||
{
|
||||
"FirmwareVersion": "Unknown",
|
||||
"Status": {
|
||||
"State": "Disabled"
|
||||
}
|
||||
}
|
||||
],
|
||||
"UUID": "4c4c4544-004c-4610-8056-c3c04f374d32"
|
||||
}
|
589
plugins/inputs/redfish/testdata/dell_thermal.json
vendored
Normal file
589
plugins/inputs/redfish/testdata/dell_thermal.json
vendored
Normal file
|
@ -0,0 +1,589 @@
|
|||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Thermal.Thermal",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Thermal",
|
||||
"@odata.type": "#Thermal.v1_4_0.Thermal",
|
||||
"Description": "Represents the properties for Temperature and Cooling",
|
||||
"Fans": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.1A",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan1A",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.1A",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan1A",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 17760,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.1B",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan1B",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.1B",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan1B",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 15360,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.2A",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan2A",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.2A",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan2A",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 17880,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.2B",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan2B",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.2B",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan2B",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 15120,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.3A",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan3A",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.3A",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan3A",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 18000,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.3B",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan3B",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.3B",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan3B",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 15600,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.4A",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan4A",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.4A",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan4A",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 17280,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.4B",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan4B",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.4B",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan4B",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 15360,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.5A",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan5A",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.5A",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan5A",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 17640,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.5B",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan5B",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.5B",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan5B",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 15600,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.6A",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan6A",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.6A",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan6A",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 17760,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.6B",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan6B",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.6B",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan6B",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 15600,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.7A",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan7A",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.7A",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan7A",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 17400,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.7B",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan7B",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.7B",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan7B",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 15720,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.8A",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan8A",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.8A",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan8A",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 18000,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.8B",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan8B",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.8B",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan8B",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 15840,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
}
|
||||
],
|
||||
"Fans@odata.count": 16,
|
||||
"Id": "Thermal",
|
||||
"Name": "Thermal",
|
||||
"Redundancy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Thermal/Redundancy/iDRAC.Embedded.1%23SystemBoardFanRedundancy",
|
||||
"@odata.type": "#Redundancy.v1_3_0.Redundancy",
|
||||
"MaxNumSupported": 0,
|
||||
"MemberId": "iDRAC.Embedded.1#SystemBoardFanRedundancy",
|
||||
"MinNumNeeded": 0,
|
||||
"Mode": "N+m",
|
||||
"Name": "System Board Fan Redundancy",
|
||||
"RedundancyEnabled": true,
|
||||
"RedundancySet": [],
|
||||
"RedundancySet@odata.count": 0,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
}
|
||||
],
|
||||
"Redundancy@odata.count": 1,
|
||||
"Temperatures": [
|
||||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Thermal.Thermal",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Temperatures/iDRAC.Embedded.1%23CPU1Temp",
|
||||
"@odata.type": "#Thermal.v1_4_0.Temperature",
|
||||
"LowerThresholdCritical": 3,
|
||||
"LowerThresholdFatal": 3,
|
||||
"LowerThresholdNonCritical": null,
|
||||
"MaxReadingRangeTemp": 93,
|
||||
"MemberId": "iDRAC.Embedded.1#CPU1Temp",
|
||||
"MinReadingRangeTemp": 3,
|
||||
"Name": "CPU1 Temp",
|
||||
"PhysicalContext": "CPU",
|
||||
"ReadingCelsius": 40,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Processors/CPU.Socket.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"SensorNumber": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 93,
|
||||
"UpperThresholdFatal": 93,
|
||||
"UpperThresholdNonCritical": null
|
||||
}
|
||||
],
|
||||
"Temperatures@odata.count": 4
|
||||
}
|
589
plugins/inputs/redfish/testdata/dell_thermalinvalid.json
vendored
Normal file
589
plugins/inputs/redfish/testdata/dell_thermalinvalid.json
vendored
Normal file
|
@ -0,0 +1,589 @@
|
|||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Thermal.Thermal",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Thermal",
|
||||
"@odata.type": "#Thermal.v1_4_0.Thermal",
|
||||
"Description": "Represents the properties for Temperature and Cooling",
|
||||
"Fans": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.1A",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan1A",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.1A",
|
||||
"MinReadingRange": 600,
|
||||
"Name": System Board Fan1A,
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 17760,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.1B",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan1B",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.1B",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan1B",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 15360,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.2A",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan2A",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.2A",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan2A",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 17880,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.2B",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan2B",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.2B",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan2B",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 15120,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.3A",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan3A",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.3A",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan3A",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 18000,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.3B",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan3B",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.3B",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan3B",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 15600,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.4A",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan4A",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.4A",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan4A",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 17280,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.4B",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan4B",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.4B",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan4B",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 15360,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.5A",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan5A",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.5A",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan5A",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 17640,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.5B",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan5B",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.5B",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan5B",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 15600,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.6A",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan6A",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.6A",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan6A",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 17760,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.6B",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan6B",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.6B",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan6B",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 15600,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.7A",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan7A",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.7A",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan7A",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 17400,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.7B",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan7B",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.7B",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan7B",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 15720,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.8A",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan8A",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.8A",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan8A",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 18000,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17%7C%7CFan.Embedded.8B",
|
||||
"@odata.type": "#Thermal.v1_4_0.Fan",
|
||||
"Assembly": {
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Assembly"
|
||||
},
|
||||
"FanName": "System Board Fan8B",
|
||||
"LowerThresholdCritical": 600,
|
||||
"LowerThresholdFatal": 600,
|
||||
"LowerThresholdNonCritical": 960,
|
||||
"MaxReadingRange": null,
|
||||
"MemberId": "0x17||Fan.Embedded.8B",
|
||||
"MinReadingRange": 600,
|
||||
"Name": "System Board Fan8B",
|
||||
"PhysicalContext": "SystemBoard",
|
||||
"Reading": 15840,
|
||||
"ReadingUnits": "RPM",
|
||||
"Redundancy": [],
|
||||
"Redundancy@odata.count": 0,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": null,
|
||||
"UpperThresholdFatal": null,
|
||||
"UpperThresholdNonCritical": null
|
||||
}
|
||||
],
|
||||
"Fans@odata.count": 16,
|
||||
"Id": "Thermal",
|
||||
"Name": "Thermal",
|
||||
"Redundancy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Thermal/Redundancy/iDRAC.Embedded.1%23SystemBoardFanRedundancy",
|
||||
"@odata.type": "#Redundancy.v1_3_0.Redundancy",
|
||||
"MaxNumSupported": 0,
|
||||
"MemberId": "iDRAC.Embedded.1#SystemBoardFanRedundancy",
|
||||
"MinNumNeeded": 0,
|
||||
"Mode": "N+m",
|
||||
"Name": "System Board Fan Redundancy",
|
||||
"RedundancyEnabled": true,
|
||||
"RedundancySet": [],
|
||||
"RedundancySet@odata.count": 0,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
}
|
||||
],
|
||||
"Redundancy@odata.count": 1,
|
||||
"Temperatures": [
|
||||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Thermal.Thermal",
|
||||
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Temperatures/iDRAC.Embedded.1%23CPU1Temp",
|
||||
"@odata.type": "#Thermal.v1_4_0.Temperature",
|
||||
"LowerThresholdCritical": 3,
|
||||
"LowerThresholdFatal": 3,
|
||||
"LowerThresholdNonCritical": null,
|
||||
"MaxReadingRangeTemp": 93,
|
||||
"MemberId": "iDRAC.Embedded.1#CPU1Temp",
|
||||
"MinReadingRangeTemp": 3,
|
||||
"Name": "CPU1 Temp",
|
||||
"PhysicalContext": "CPU",
|
||||
"ReadingCelsius": 40,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Processors/CPU.Socket.1"
|
||||
}
|
||||
],
|
||||
"RelatedItem@odata.count": 1,
|
||||
"SensorNumber": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 93,
|
||||
"UpperThresholdFatal": 93,
|
||||
"UpperThresholdNonCritical": null
|
||||
}
|
||||
],
|
||||
"Temperatures@odata.count": 4
|
||||
}
|
31
plugins/inputs/redfish/testdata/hp_chassis.json
vendored
Normal file
31
plugins/inputs/redfish/testdata/hp_chassis.json
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"ChassisType": "RackMount",
|
||||
"Location": {
|
||||
"Info": ";;;;1",
|
||||
"InfoFormat": "DataCenter;RoomName;Aisle;RackName;RackSlot",
|
||||
"Placement": {
|
||||
"Rack": "",
|
||||
"Row": ""
|
||||
},
|
||||
"PostalAddress": {
|
||||
"Building": "",
|
||||
"Room": ""
|
||||
}
|
||||
},
|
||||
"Manufacturer": "HP",
|
||||
"Model": "Proliant Gen10",
|
||||
"PartNumber": "CT6NWPYZ",
|
||||
"Power": {
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power"
|
||||
},
|
||||
"PowerState": "On",
|
||||
"SKU": "CLFYTTWP",
|
||||
"SerialNumber": "QWEVC007C99803",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"Thermal": {
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Thermal"
|
||||
}
|
||||
}
|
144
plugins/inputs/redfish/testdata/hp_power.json
vendored
Normal file
144
plugins/inputs/redfish/testdata/hp_power.json
vendored
Normal file
|
@ -0,0 +1,144 @@
|
|||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Power.Power",
|
||||
"@odata.etag": "W/\"2E43EED0\"",
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power",
|
||||
"@odata.type": "#Power.v1_3_0.Power",
|
||||
"Id": "Power",
|
||||
"Name": "PowerMetrics",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpePowerMetricsExt.HpePowerMetricsExt",
|
||||
"@odata.type": "#HpePowerMetricsExt.v2_2_0.HpePowerMetricsExt",
|
||||
"BrownoutRecoveryEnabled": true,
|
||||
"HasCpuPowerMetering": true,
|
||||
"HasDimmPowerMetering": true,
|
||||
"HasGpuPowerMetering": false,
|
||||
"HasPowerMetering": true,
|
||||
"HighEfficiencyMode": "Balanced",
|
||||
"Links": {
|
||||
"PowerMeter": {
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power/PowerMeter"
|
||||
},
|
||||
"FastPowerMeter": {
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power/FastPowerMeter"
|
||||
},
|
||||
"FederatedGroupCapping": {
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power/FederatedGroupCapping"
|
||||
}
|
||||
},
|
||||
"MinimumSafelyAchievableCap": null,
|
||||
"MinimumSafelyAchievableCapValid": false,
|
||||
"SNMPPowerThresholdAlert": {
|
||||
"DurationInMin": 0,
|
||||
"ThresholdWatts": 0,
|
||||
"Trigger": "Disabled"
|
||||
}
|
||||
}
|
||||
},
|
||||
"PowerControl": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#PowerControl/0",
|
||||
"MemberId": "0",
|
||||
"PowerCapacityWatts": 1600,
|
||||
"PowerConsumedWatts": 221,
|
||||
"PowerMetrics": {
|
||||
"AverageConsumedWatts": 221,
|
||||
"IntervalInMin": 20,
|
||||
"MaxConsumedWatts": 252,
|
||||
"MinConsumedWatts": 220
|
||||
}
|
||||
}
|
||||
],
|
||||
"PowerSupplies": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#PowerSupplies/0",
|
||||
"FirmwareVersion": "1.02",
|
||||
"LastPowerOutputWatts": 0,
|
||||
"LineInputVoltage": 205,
|
||||
"LineInputVoltageType": "ACHighLine",
|
||||
"Manufacturer": "CHCNY",
|
||||
"MemberId": "0",
|
||||
"Model": "865414-B21",
|
||||
"Name": "HpeServerPowerSupply",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeServerPowerSupply.HpeServerPowerSupply",
|
||||
"@odata.type": "#HpeServerPowerSupply.v2_0_0.HpeServerPowerSupply",
|
||||
"AveragePowerOutputWatts": 0,
|
||||
"BayNumber": 1,
|
||||
"HotplugCapable": true,
|
||||
"MaxPowerOutputWatts": 143,
|
||||
"Mismatched": false,
|
||||
"PowerSupplyStatus": {
|
||||
"State": "Ok"
|
||||
},
|
||||
"iPDUCapable": false
|
||||
}
|
||||
},
|
||||
"PowerCapacityWatts": 800,
|
||||
"PowerSupplyType": "AC",
|
||||
"SerialNumber": "5WEBP0B8JAQ2K9",
|
||||
"SparePartNumber": "866730-001",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#PowerSupplies/1",
|
||||
"FirmwareVersion": "1.02",
|
||||
"LastPowerOutputWatts": 90,
|
||||
"LineInputVoltage": 205,
|
||||
"LineInputVoltageType": "ACHighLine",
|
||||
"Manufacturer": "CHCNY",
|
||||
"MemberId": "1",
|
||||
"Model": "865414-B21",
|
||||
"Name": "HpeServerPowerSupply",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeServerPowerSupply.HpeServerPowerSupply",
|
||||
"@odata.type": "#HpeServerPowerSupply.v2_0_0.HpeServerPowerSupply",
|
||||
"AveragePowerOutputWatts": 90,
|
||||
"BayNumber": 2,
|
||||
"HotplugCapable": true,
|
||||
"MaxPowerOutputWatts": 99,
|
||||
"Mismatched": false,
|
||||
"PowerSupplyStatus": {
|
||||
"State": "Ok"
|
||||
},
|
||||
"iPDUCapable": false
|
||||
}
|
||||
},
|
||||
"PowerCapacityWatts": 800,
|
||||
"PowerSupplyType": "AC",
|
||||
"SerialNumber": "5WEBP0B8JAQ2KL",
|
||||
"SparePartNumber": "866730-001",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
}
|
||||
],
|
||||
"Redundancy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#Redundancy/0",
|
||||
"MaxNumSupported": 2,
|
||||
"MemberId": "0",
|
||||
"MinNumNeeded": 2,
|
||||
"Mode": "Failover",
|
||||
"Name": "PowerSupply Redundancy Group 1",
|
||||
"RedundancySet": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#PowerSupplies/0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#PowerSupplies/1"
|
||||
}
|
||||
],
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
145
plugins/inputs/redfish/testdata/hp_powerinvalid.json
vendored
Normal file
145
plugins/inputs/redfish/testdata/hp_powerinvalid.json
vendored
Normal file
|
@ -0,0 +1,145 @@
|
|||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Power.Power",
|
||||
"@odata.etag": "W/\"2E43EED0\"",
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power",
|
||||
"@odata.type": "#Power.v1_3_0.Power",
|
||||
"Id": "Power",
|
||||
"Name": "PowerMetrics",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpePowerMetricsExt.HpePowerMetricsExt",
|
||||
"@odata.type": "#HpePowerMetricsExt.v2_2_0.HpePowerMetricsExt",
|
||||
"BrownoutRecoveryEnabled": true,
|
||||
"HasCpuPowerMetering": true,
|
||||
"HasDimmPowerMetering": true,
|
||||
"HasGpuPowerMetering": false,
|
||||
"HasPowerMetering": true,
|
||||
"HighEfficiencyMode": "Balanced",
|
||||
"Links": {
|
||||
"PowerMeter": {
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power/PowerMeter"
|
||||
},
|
||||
"FastPowerMeter": {
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power/FastPowerMeter"
|
||||
},
|
||||
"FederatedGroupCapping": {
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power/FederatedGroupCapping"
|
||||
}
|
||||
},
|
||||
"MinimumSafelyAchievableCap": null,
|
||||
"MinimumSafelyAchievableCapValid": false,
|
||||
"SNMPPowerThresholdAlert": {
|
||||
"DurationInMin": 0,
|
||||
"ThresholdWatts": 0,
|
||||
"Trigger": "Disabled"
|
||||
}
|
||||
}
|
||||
},
|
||||
"PowerControl": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#PowerControl/0",
|
||||
"MemberId": "0",
|
||||
"PowerCapacityWatts": 1600,
|
||||
"PowerConsumedWatts": 221,
|
||||
"PowerMetrics": {
|
||||
"AverageConsumedWatts": 221,
|
||||
"IntervalInMin": 20,
|
||||
"MaxConsumedWatts": 252,
|
||||
"MinConsumedWatts": 220
|
||||
}
|
||||
}
|
||||
],
|
||||
"PowerSupplies": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#PowerSupplies/0",
|
||||
"FirmwareVersion": "1.02",
|
||||
"LastPowerOutputWatts": 0,
|
||||
"LineInputVoltage": 205,
|
||||
"LineInputVoltageType": "ACHighLine",
|
||||
"Manufacturer": "CHCNY",
|
||||
"MemberId": "0",
|
||||
"Model": "865414-B21",
|
||||
"Name": "HpeServerPowerSupply",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeServerPowerSupply.HpeServerPowerSupply",
|
||||
"@odata.type": "#HpeServerPowerSupply.v2_0_0.HpeServerPowerSupply",
|
||||
"AveragePowerOutputWatts": 0,
|
||||
"BayNumber": 1,
|
||||
"HotplugCapable": true,
|
||||
"MaxPowerOutputWatts": 143,
|
||||
"Mismatched": false,
|
||||
"PowerSupplyStatus": {
|
||||
"State": "Ok"
|
||||
},
|
||||
"iPDUCapable": false
|
||||
}
|
||||
},
|
||||
"PowerCapacityWatts": 800,
|
||||
"PowerSupplyType": "AC",
|
||||
"SerialNumber": "5WEBP0B8JAQ2K9",
|
||||
"SparePartNumber": "866730-001",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#PowerSupplies/1",
|
||||
"FirmwareVersion": "1.02",
|
||||
"LastPowerOutputWatts": 90,
|
||||
"LineInputVoltage": 205,
|
||||
"LineInputVoltageType": "ACHighLine",
|
||||
"Manufacturer": "CHCNY",
|
||||
"MemberId": "1",
|
||||
"Model": "865414-B21",
|
||||
"Name": "HpeServerPowerSupply",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeServerPowerSupply.HpeServerPowerSupply",
|
||||
"@odata.type": "#HpeServerPowerSupply.v2_0_0.HpeServerPowerSupply",
|
||||
"AveragePowerOutputWatts": 90,
|
||||
"BayNumber": 2,
|
||||
"HotplugCapable": true,
|
||||
"MaxPowerOutputWatts": 99,
|
||||
"Mismatched": false,
|
||||
"PowerSupplyStatus": {
|
||||
"State": "Ok"
|
||||
},
|
||||
"iPDUCapable": false
|
||||
}
|
||||
},
|
||||
"PowerCapacityWatts": 800,
|
||||
"PowerSupplyType": "AC",
|
||||
"SerialNumber": "5WEBP0B8JAQ2KL",
|
||||
"SparePartNumber": "866730-001",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
}
|
||||
],
|
||||
"Redundancy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#Redundancy/0",
|
||||
"MaxNumSupported": 2,
|
||||
"MemberId": "0",
|
||||
"MinNumNeeded": 2,
|
||||
"Mode": "Failover",
|
||||
"Name": "PowerSupply Redundancy Group 1",
|
||||
"RedundancySet": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#PowerSupplies/0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#PowerSupplies/1"
|
||||
}
|
||||
],
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
319
plugins/inputs/redfish/testdata/hp_systems.json
vendored
Normal file
319
plugins/inputs/redfish/testdata/hp_systems.json
vendored
Normal file
|
@ -0,0 +1,319 @@
|
|||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#ComputerSystem.ComputerSystem",
|
||||
"@odata.etag": "W/\"43E302D1\"",
|
||||
"@odata.id": "/redfish/v1/Systems/1/",
|
||||
"@odata.type": "#ComputerSystem.v1_4_0.ComputerSystem",
|
||||
"Id": "1",
|
||||
"Actions": {
|
||||
"#ComputerSystem.Reset": {
|
||||
"ResetType@Redfish.AllowableValues": [
|
||||
"On",
|
||||
"ForceOff",
|
||||
"ForceRestart",
|
||||
"Nmi",
|
||||
"PushPowerButton"
|
||||
],
|
||||
"target": "/redfish/v1/Systems/1/Actions/ComputerSystem.Reset/"
|
||||
}
|
||||
},
|
||||
"AssetTag": "",
|
||||
"Bios": {
|
||||
"@odata.id": "/redfish/v1/systems/1/bios/"
|
||||
},
|
||||
"BiosVersion": "U32 v2.10 (05/21/2019)",
|
||||
"Boot": {
|
||||
"BootSourceOverrideEnabled": "Disabled",
|
||||
"BootSourceOverrideMode": "UEFI",
|
||||
"BootSourceOverrideTarget": "None",
|
||||
"BootSourceOverrideTarget@Redfish.AllowableValues": [
|
||||
"None",
|
||||
"Cd",
|
||||
"Hdd",
|
||||
"Usb",
|
||||
"SDCard",
|
||||
"Utilities",
|
||||
"Diags",
|
||||
"BiosSetup",
|
||||
"Pxe",
|
||||
"UefiShell",
|
||||
"UefiHttp",
|
||||
"UefiTarget"
|
||||
],
|
||||
"UefiTargetBootSourceOverride": "None",
|
||||
"UefiTargetBootSourceOverride@Redfish.AllowableValues": [
|
||||
"HD(1,GPT,0E3A0969-7AFC-4B55-8B24-AEFA09F33D2D,0x800,0x12C000)/\\EFI\\redhat\\shimx64.efi",
|
||||
"UsbClass(0xFFFF,0xFFFF,0xFF,0xFF,0xFF)",
|
||||
"PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(8030E0421B1C,0x1)/IPv4(0.0.0.0)/Uri()",
|
||||
"PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(8030E0421B1C,0x1)/IPv4(0.0.0.0)",
|
||||
"PciRoot(0x3)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(48DF37959430,0x1)/IPv4(0.0.0.0)/Uri()",
|
||||
"PciRoot(0x3)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(48DF37959430,0x1)/IPv4(0.0.0.0)",
|
||||
"PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(8030E0421B1C,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)/Uri()",
|
||||
"PciRoot(0x3)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(48DF37959430,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)/Uri()",
|
||||
"PciRoot(0x3)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(48DF37959430,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)",
|
||||
"PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(8030E0421B1C,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)",
|
||||
"PciRoot(0x9)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(B88303866AE8,0x1)/IPv4(0.0.0.0)/Uri()",
|
||||
"PciRoot(0x9)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(B88303866AE8,0x1)/IPv4(0.0.0.0)",
|
||||
"PciRoot(0x9)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(B88303866AE8,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)/Uri()",
|
||||
"PciRoot(0x9)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(B88303866AE8,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)",
|
||||
"PciRoot(0x0)/Pci(0x14,0x0)/USB(0x13,0x0)",
|
||||
"PciRoot(0x3)/Pci(0x0,0x0)/Pci(0x0,0x0)/Scsi(0x0,0x0)"
|
||||
]
|
||||
},
|
||||
"EthernetInterfaces": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces/"
|
||||
},
|
||||
"HostName": "tpa-hostname",
|
||||
"IndicatorLED": "Off",
|
||||
"Links": {
|
||||
"ManagedBy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Managers/1/"
|
||||
}
|
||||
],
|
||||
"Chassis": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/"
|
||||
}
|
||||
]
|
||||
},
|
||||
"LogServices": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/LogServices/"
|
||||
},
|
||||
"Manufacturer": "HPE",
|
||||
"Memory": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/Memory/"
|
||||
},
|
||||
"MemoryDomains": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/MemoryDomains/"
|
||||
},
|
||||
"MemorySummary": {
|
||||
"Status": {
|
||||
"HealthRollup": "OK"
|
||||
},
|
||||
"TotalSystemMemoryGiB": 384,
|
||||
"TotalSystemPersistentMemoryGiB": 0
|
||||
},
|
||||
"Model": "ProLiant DL360 Gen10",
|
||||
"Name": "Computer System",
|
||||
"NetworkInterfaces": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/NetworkInterfaces/"
|
||||
},
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeComputerSystemExt.HpeComputerSystemExt",
|
||||
"@odata.type": "#HpeComputerSystemExt.v2_6_1.HpeComputerSystemExt",
|
||||
"Actions": {
|
||||
"#HpeComputerSystemExt.PowerButton": {
|
||||
"PushType@Redfish.AllowableValues": [
|
||||
"Press",
|
||||
"PressAndHold"
|
||||
],
|
||||
"target": "/redfish/v1/Systems/1/Actions/Oem/Hpe/HpeComputerSystemExt.PowerButton/"
|
||||
},
|
||||
"#HpeComputerSystemExt.SecureSystemErase": {
|
||||
"target": "/redfish/v1/Systems/1/Actions/Oem/Hpe/HpeComputerSystemExt.SecureSystemErase/"
|
||||
},
|
||||
"#HpeComputerSystemExt.SystemReset": {
|
||||
"ResetType@Redfish.AllowableValues": [
|
||||
"ColdBoot",
|
||||
"AuxCycle"
|
||||
],
|
||||
"target": "/redfish/v1/Systems/1/Actions/Oem/Hpe/HpeComputerSystemExt.SystemReset/"
|
||||
}
|
||||
},
|
||||
"AggregateHealthStatus": {
|
||||
"AgentlessManagementService": "Unavailable",
|
||||
"BiosOrHardwareHealth": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"FanRedundancy": "Redundant",
|
||||
"Fans": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"Memory": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"Network": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"PowerSupplies": {
|
||||
"PowerSuppliesMismatch": false,
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"PowerSupplyRedundancy": "Redundant",
|
||||
"Processors": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"SmartStorageBattery": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"Storage": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"Temperatures": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Bios": {
|
||||
"Backup": {
|
||||
"Date": "05/21/2019",
|
||||
"Family": "U32",
|
||||
"VersionString": "U32 v2.10 (05/21/2019)"
|
||||
},
|
||||
"Current": {
|
||||
"Date": "05/21/2019",
|
||||
"Family": "U32",
|
||||
"VersionString": "U32 v2.10 (05/21/2019)"
|
||||
},
|
||||
"UefiClass": 2
|
||||
},
|
||||
"CurrentPowerOnTimeSeconds": 29290,
|
||||
"DeviceDiscoveryComplete": {
|
||||
"AMSDeviceDiscovery": "NoAMS",
|
||||
"DeviceDiscovery": "vMainDeviceDiscoveryComplete",
|
||||
"SmartArrayDiscovery": "Complete"
|
||||
},
|
||||
"ElapsedEraseTimeInMinutes": 0,
|
||||
"EndOfPostDelaySeconds": null,
|
||||
"EstimatedEraseTimeInMinutes": 0,
|
||||
"IntelligentProvisioningAlwaysOn": true,
|
||||
"IntelligentProvisioningIndex": 9,
|
||||
"IntelligentProvisioningLocation": "System Board",
|
||||
"IntelligentProvisioningVersion": "3.30.213",
|
||||
"IsColdBooting": false,
|
||||
"Links": {
|
||||
"PCIDevices": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/PCIDevices/"
|
||||
},
|
||||
"PCISlots": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/PCISlots/"
|
||||
},
|
||||
"NetworkAdapters": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/BaseNetworkAdapters/"
|
||||
},
|
||||
"SmartStorage": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/SmartStorage/"
|
||||
},
|
||||
"USBPorts": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/USBPorts/"
|
||||
},
|
||||
"USBDevices": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/USBDevices/"
|
||||
},
|
||||
"EthernetInterfaces": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces/"
|
||||
},
|
||||
"WorkloadPerformanceAdvisor": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/WorkloadPerformanceAdvisor/"
|
||||
}
|
||||
},
|
||||
"PCAPartNumber": "847479-002",
|
||||
"PCASerialNumber": "PWUFL0ARHCF3KR",
|
||||
"PostDiscoveryCompleteTimeStamp": "2020-02-24T02:43:43Z",
|
||||
"PostDiscoveryMode": null,
|
||||
"PostMode": null,
|
||||
"PostState": "FinishedPost",
|
||||
"PowerAllocationLimit": 1600,
|
||||
"PowerAutoOn": "Restore",
|
||||
"PowerOnDelay": "Minimum",
|
||||
"PowerOnMinutes": 95715,
|
||||
"PowerRegulatorMode": "Max",
|
||||
"PowerRegulatorModesSupported": [
|
||||
"OSControl",
|
||||
"Dynamic",
|
||||
"Max",
|
||||
"Min"
|
||||
],
|
||||
"ProcessorJitterControl": {
|
||||
"ConfiguredFrequencyLimitMHz": 0,
|
||||
"Mode": "Disabled"
|
||||
},
|
||||
"SMBIOS": {
|
||||
"extref": "/smbios"
|
||||
},
|
||||
"ServerFQDN": "TPAVCPAR088S4.vici.verizon.com",
|
||||
"SmartStorageConfig": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/systems/1/smartstorageconfig/"
|
||||
}
|
||||
],
|
||||
"SystemROMAndiLOEraseComponentStatus": {
|
||||
"BIOSSettingsEraseStatus": "Idle",
|
||||
"iLOSettingsEraseStatus": "Idle"
|
||||
},
|
||||
"SystemROMAndiLOEraseStatus": "Idle",
|
||||
"SystemUsage": {
|
||||
"AvgCPU0Freq": 0,
|
||||
"AvgCPU1Freq": 6,
|
||||
"CPU0Power": 50,
|
||||
"CPU1Power": 51,
|
||||
"CPUICUtil": 0,
|
||||
"CPUUtil": 0,
|
||||
"IOBusUtil": 0,
|
||||
"JitterCount": 35,
|
||||
"MemoryBusUtil": 0
|
||||
},
|
||||
"UserDataEraseComponentStatus": {},
|
||||
"UserDataEraseStatus": "Idle",
|
||||
"VirtualProfile": "Inactive"
|
||||
}
|
||||
},
|
||||
"PowerState": "On",
|
||||
"ProcessorSummary": {
|
||||
"Count": 2,
|
||||
"Model": "Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz",
|
||||
"Status": {
|
||||
"HealthRollup": "OK"
|
||||
}
|
||||
},
|
||||
"Processors": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/Processors/"
|
||||
},
|
||||
"SKU": "867959-B21",
|
||||
"SecureBoot": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/SecureBoot/"
|
||||
},
|
||||
"SerialNumber": "MXQ93003RB",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"Storage": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/Storage/"
|
||||
},
|
||||
"SystemType": "Physical",
|
||||
"TrustedModules": [
|
||||
{
|
||||
"FirmwareVersion": "73.0",
|
||||
"InterfaceType": "TPM1_2",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeTrustedModuleExt.HpeTrustedModuleExt",
|
||||
"@odata.type": "#HpeTrustedModuleExt.v2_0_0.HpeTrustedModuleExt",
|
||||
"VendorName": "STMicro"
|
||||
}
|
||||
},
|
||||
"Status": {
|
||||
"State": "Disabled"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
320
plugins/inputs/redfish/testdata/hp_systemsinvalid.json
vendored
Normal file
320
plugins/inputs/redfish/testdata/hp_systemsinvalid.json
vendored
Normal file
|
@ -0,0 +1,320 @@
|
|||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#ComputerSystem.ComputerSystem",
|
||||
"@odata.etag": "W/\"43E302D1\"",
|
||||
"@odata.id": "/redfish/v1/Systems/1/",
|
||||
"@odata.type": "#ComputerSystem.v1_4_0.ComputerSystem",
|
||||
"Id": "1",
|
||||
"Actions": {
|
||||
"#ComputerSystem.Reset": {
|
||||
"ResetType@Redfish.AllowableValues": [
|
||||
"On",
|
||||
"ForceOff",
|
||||
"ForceRestart",
|
||||
"Nmi",
|
||||
"PushPowerButton"
|
||||
],
|
||||
"target": "/redfish/v1/Systems/1/Actions/ComputerSystem.Reset/"
|
||||
}
|
||||
},
|
||||
"AssetTag": "",
|
||||
"Bios": {
|
||||
"@odata.id": "/redfish/v1/systems/1/bios/"
|
||||
},
|
||||
"BiosVersion": "U32 v2.10 (05/21/2019)",
|
||||
"Boot": {
|
||||
"BootSourceOverrideEnabled": "Disabled",
|
||||
"BootSourceOverrideMode": "UEFI",
|
||||
"BootSourceOverrideTarget": "None",
|
||||
"BootSourceOverrideTarget@Redfish.AllowableValues": [
|
||||
"None",
|
||||
"Cd",
|
||||
"Hdd",
|
||||
"Usb",
|
||||
"SDCard",
|
||||
"Utilities",
|
||||
"Diags",
|
||||
"BiosSetup",
|
||||
"Pxe",
|
||||
"UefiShell",
|
||||
"UefiHttp",
|
||||
"UefiTarget"
|
||||
],
|
||||
"UefiTargetBootSourceOverride": "None",
|
||||
"UefiTargetBootSourceOverride@Redfish.AllowableValues": [
|
||||
"HD(1,GPT,0E3A0969-7AFC-4B55-8B24-AEFA09F33D2D,0x800,0x12C000)/\\EFI\\redhat\\shimx64.efi",
|
||||
"UsbClass(0xFFFF,0xFFFF,0xFF,0xFF,0xFF)",
|
||||
"PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(8030E0421B1C,0x1)/IPv4(0.0.0.0)/Uri()",
|
||||
"PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(8030E0421B1C,0x1)/IPv4(0.0.0.0)",
|
||||
"PciRoot(0x3)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(48DF37959430,0x1)/IPv4(0.0.0.0)/Uri()",
|
||||
"PciRoot(0x3)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(48DF37959430,0x1)/IPv4(0.0.0.0)",
|
||||
"PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(8030E0421B1C,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)/Uri()",
|
||||
"PciRoot(0x3)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(48DF37959430,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)/Uri()",
|
||||
"PciRoot(0x3)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(48DF37959430,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)",
|
||||
"PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(8030E0421B1C,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)",
|
||||
"PciRoot(0x9)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(B88303866AE8,0x1)/IPv4(0.0.0.0)/Uri()",
|
||||
"PciRoot(0x9)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(B88303866AE8,0x1)/IPv4(0.0.0.0)",
|
||||
"PciRoot(0x9)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(B88303866AE8,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)/Uri()",
|
||||
"PciRoot(0x9)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(B88303866AE8,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)",
|
||||
"PciRoot(0x0)/Pci(0x14,0x0)/USB(0x13,0x0)",
|
||||
"PciRoot(0x3)/Pci(0x0,0x0)/Pci(0x0,0x0)/Scsi(0x0,0x0)"
|
||||
]
|
||||
},
|
||||
"EthernetInterfaces": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces/"
|
||||
},
|
||||
"HostName": "tpa-hostname",
|
||||
"IndicatorLED": "Off",
|
||||
"Links": {
|
||||
"ManagedBy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Managers/1/"
|
||||
}
|
||||
],
|
||||
"Chassis": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/"
|
||||
}
|
||||
]
|
||||
},
|
||||
"LogServices": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/LogServices/"
|
||||
},
|
||||
"Manufacturer": "HPE",
|
||||
"Memory": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/Memory/"
|
||||
},
|
||||
"MemoryDomains": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/MemoryDomains/"
|
||||
},
|
||||
"MemorySummary": {
|
||||
"Status": {
|
||||
"HealthRollup": "OK"
|
||||
},
|
||||
"TotalSystemMemoryGiB": 384,
|
||||
"TotalSystemPersistentMemoryGiB": 0
|
||||
},
|
||||
"Model": "ProLiant DL360 Gen10",
|
||||
"Name": "Computer System",
|
||||
"NetworkInterfaces": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/NetworkInterfaces/"
|
||||
},
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeComputerSystemExt.HpeComputerSystemExt",
|
||||
"@odata.type": "#HpeComputerSystemExt.v2_6_1.HpeComputerSystemExt",
|
||||
"Actions": {
|
||||
"#HpeComputerSystemExt.PowerButton": {
|
||||
"PushType@Redfish.AllowableValues": [
|
||||
"Press",
|
||||
"PressAndHold"
|
||||
],
|
||||
"target": "/redfish/v1/Systems/1/Actions/Oem/Hpe/HpeComputerSystemExt.PowerButton/"
|
||||
},
|
||||
"#HpeComputerSystemExt.SecureSystemErase": {
|
||||
"target": "/redfish/v1/Systems/1/Actions/Oem/Hpe/HpeComputerSystemExt.SecureSystemErase/"
|
||||
},
|
||||
"#HpeComputerSystemExt.SystemReset": {
|
||||
"ResetType@Redfish.AllowableValues": [
|
||||
"ColdBoot",
|
||||
"AuxCycle"
|
||||
],
|
||||
"target": "/redfish/v1/Systems/1/Actions/Oem/Hpe/HpeComputerSystemExt.SystemReset/"
|
||||
}
|
||||
},
|
||||
"AggregateHealthStatus": {
|
||||
"AgentlessManagementService": "Unavailable",
|
||||
"BiosOrHardwareHealth": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"FanRedundancy": "Redundant",
|
||||
"Fans": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"Memory": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"Network": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"PowerSupplies": {
|
||||
"PowerSuppliesMismatch": false,
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"PowerSupplyRedundancy": "Redundant",
|
||||
"Processors": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"SmartStorageBattery": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"Storage": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
},
|
||||
"Temperatures": {
|
||||
"Status": {
|
||||
"Health": "OK"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Bios": {
|
||||
"Backup": {
|
||||
"Date": "05/21/2019",
|
||||
"Family": "U32",
|
||||
"VersionString": "U32 v2.10 (05/21/2019)"
|
||||
},
|
||||
"Current": {
|
||||
"Date": "05/21/2019",
|
||||
"Family": "U32",
|
||||
"VersionString": "U32 v2.10 (05/21/2019)"
|
||||
},
|
||||
"UefiClass": 2
|
||||
},
|
||||
"CurrentPowerOnTimeSeconds": 29290,
|
||||
"DeviceDiscoveryComplete": {
|
||||
"AMSDeviceDiscovery": "NoAMS",
|
||||
"DeviceDiscovery": "vMainDeviceDiscoveryComplete",
|
||||
"SmartArrayDiscovery": "Complete"
|
||||
},
|
||||
"ElapsedEraseTimeInMinutes": 0,
|
||||
"EndOfPostDelaySeconds": null,
|
||||
"EstimatedEraseTimeInMinutes": 0,
|
||||
"IntelligentProvisioningAlwaysOn": true,
|
||||
"IntelligentProvisioningIndex": 9,
|
||||
"IntelligentProvisioningLocation": "System Board",
|
||||
"IntelligentProvisioningVersion": "3.30.213",
|
||||
"IsColdBooting": false,
|
||||
"Links": {
|
||||
"PCIDevices": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/PCIDevices/"
|
||||
},
|
||||
"PCISlots": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/PCISlots/"
|
||||
},
|
||||
"NetworkAdapters": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/BaseNetworkAdapters/"
|
||||
},
|
||||
"SmartStorage": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/SmartStorage/"
|
||||
},
|
||||
"USBPorts": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/USBPorts/"
|
||||
},
|
||||
"USBDevices": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/USBDevices/"
|
||||
},
|
||||
"EthernetInterfaces": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces/"
|
||||
},
|
||||
"WorkloadPerformanceAdvisor": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/WorkloadPerformanceAdvisor/"
|
||||
}
|
||||
},
|
||||
"PCAPartNumber": "847479-002",
|
||||
"PCASerialNumber": "PWUFL0ARHCF3KR",
|
||||
"PostDiscoveryCompleteTimeStamp": "2020-02-24T02:43:43Z",
|
||||
"PostDiscoveryMode": null,
|
||||
"PostMode": null,
|
||||
"PostState": "FinishedPost",
|
||||
"PowerAllocationLimit": 1600,
|
||||
"PowerAutoOn": "Restore",
|
||||
"PowerOnDelay": "Minimum",
|
||||
"PowerOnMinutes": 95715,
|
||||
"PowerRegulatorMode": "Max",
|
||||
"PowerRegulatorModesSupported": [
|
||||
"OSControl",
|
||||
"Dynamic",
|
||||
"Max",
|
||||
"Min"
|
||||
],
|
||||
"ProcessorJitterControl": {
|
||||
"ConfiguredFrequencyLimitMHz": 0,
|
||||
"Mode": "Disabled"
|
||||
},
|
||||
"SMBIOS": {
|
||||
"extref": "/smbios"
|
||||
},
|
||||
"ServerFQDN": "TPAVCPAR088S4.vici.verizon.com",
|
||||
"SmartStorageConfig": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/systems/1/smartstorageconfig/"
|
||||
}
|
||||
],
|
||||
"SystemROMAndiLOEraseComponentStatus": {
|
||||
"BIOSSettingsEraseStatus": "Idle",
|
||||
"iLOSettingsEraseStatus": "Idle"
|
||||
},
|
||||
"SystemROMAndiLOEraseStatus": "Idle",
|
||||
"SystemUsage": {
|
||||
"AvgCPU0Freq": 0,
|
||||
"AvgCPU1Freq": 6,
|
||||
"CPU0Power": 50,
|
||||
"CPU1Power": 51,
|
||||
"CPUICUtil": 0,
|
||||
"CPUUtil": 0,
|
||||
"IOBusUtil": 0,
|
||||
"JitterCount": 35,
|
||||
"MemoryBusUtil": 0
|
||||
},
|
||||
"UserDataEraseComponentStatus": {},
|
||||
"UserDataEraseStatus": "Idle",
|
||||
"VirtualProfile": "Inactive"
|
||||
}
|
||||
},
|
||||
"PowerState": "On",
|
||||
"ProcessorSummary": {
|
||||
"Count": 2,
|
||||
"Model": "Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz",
|
||||
"Status": {
|
||||
"HealthRollup": "OK"
|
||||
}
|
||||
},
|
||||
"Processors": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/Processors/"
|
||||
},
|
||||
"SKU": "867959-B21",
|
||||
"SecureBoot": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/SecureBoot/"
|
||||
},
|
||||
"SerialNumber": "MXQ93003RB",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"Storage": {
|
||||
"@odata.id": "/redfish/v1/Systems/1/Storage/"
|
||||
},
|
||||
"SystemType": "Physical",
|
||||
"TrustedModules": [
|
||||
{
|
||||
"FirmwareVersion": "73.0",
|
||||
"InterfaceType": "TPM1_2",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeTrustedModuleExt.HpeTrustedModuleExt",
|
||||
"@odata.type": "#HpeTrustedModuleExt.v2_0_0.HpeTrustedModuleExt",
|
||||
"VendorName": "STMicro"
|
||||
}
|
||||
},
|
||||
"Status": {
|
||||
"State": "Disabled"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
116
plugins/inputs/redfish/testdata/hp_thermal.json
vendored
Normal file
116
plugins/inputs/redfish/testdata/hp_thermal.json
vendored
Normal file
|
@ -0,0 +1,116 @@
|
|||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Thermal.Thermal",
|
||||
"@odata.etag": "W/\"14E8662D\"",
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Thermal",
|
||||
"@odata.type": "#Thermal.v1_1_0.Thermal",
|
||||
"Id": "Thermal",
|
||||
"Fans": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Thermal#Fans/0",
|
||||
"MemberId": "0",
|
||||
"Name": "Fan 1",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeServerFan.HpeServerFan",
|
||||
"@odata.type": "#HpeServerFan.v2_0_0.HpeServerFan",
|
||||
"HotPluggable": true,
|
||||
"Location": "System",
|
||||
"Redundant": true
|
||||
}
|
||||
},
|
||||
"Reading": 23,
|
||||
"ReadingUnits": "Percent",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Thermal#Fans/1",
|
||||
"MemberId": "1",
|
||||
"Name": "Fan 2",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeServerFan.HpeServerFan",
|
||||
"@odata.type": "#HpeServerFan.v2_0_0.HpeServerFan",
|
||||
"HotPluggable": true,
|
||||
"Location": "System",
|
||||
"Redundant": true
|
||||
}
|
||||
},
|
||||
"Reading": 23,
|
||||
"ReadingUnits": "Percent",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Thermal#Fans/2",
|
||||
"MemberId": "2",
|
||||
"Name": "Fan 3",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeServerFan.HpeServerFan",
|
||||
"@odata.type": "#HpeServerFan.v2_0_0.HpeServerFan",
|
||||
"HotPluggable": true,
|
||||
"Location": "System",
|
||||
"Redundant": true
|
||||
}
|
||||
},
|
||||
"Reading": 23,
|
||||
"ReadingUnits": "Percent",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
}
|
||||
],
|
||||
"Name": "Thermal",
|
||||
"Temperatures": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Thermal#Temperatures/0",
|
||||
"MemberId": "0",
|
||||
"Name": "01-Inlet Ambient",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeSeaOfSensors.HpeSeaOfSensors",
|
||||
"@odata.type": "#HpeSeaOfSensors.v2_0_0.HpeSeaOfSensors",
|
||||
"LocationXmm": 15,
|
||||
"LocationYmm": 0
|
||||
}
|
||||
},
|
||||
"PhysicalContext": "Intake",
|
||||
"ReadingCelsius": 19,
|
||||
"SensorNumber": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 42,
|
||||
"UpperThresholdFatal": 47
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Thermal#Temperatures/42",
|
||||
"MemberId": "42",
|
||||
"Name": "44-P/S 2 Zone",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeSeaOfSensors.HpeSeaOfSensors",
|
||||
"@odata.type": "#HpeSeaOfSensors.v2_0_0.HpeSeaOfSensors",
|
||||
"LocationXmm": 4,
|
||||
"LocationYmm": 7
|
||||
}
|
||||
},
|
||||
"PhysicalContext": "PowerSupply",
|
||||
"ReadingCelsius": 34,
|
||||
"SensorNumber": 43,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 75,
|
||||
"UpperThresholdFatal": 80
|
||||
}
|
||||
]
|
||||
}
|
72
plugins/inputs/redfish/testdata/hp_thermal_ilo4.json
vendored
Normal file
72
plugins/inputs/redfish/testdata/hp_thermal_ilo4.json
vendored
Normal file
|
@ -0,0 +1,72 @@
|
|||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Thermal.Thermal",
|
||||
"@odata.etag": "W/\"14E8662D\"",
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Thermal",
|
||||
"@odata.type": "#Thermal.v1_1_0.Thermal",
|
||||
"Id": "Thermal",
|
||||
"Fans": [
|
||||
{
|
||||
"CurrentReading": 17,
|
||||
"FanName": "Fan 1",
|
||||
"Oem": {
|
||||
"Hp": {
|
||||
"@odata.type": "#HpServerFan.1.0.0.HpServerFan",
|
||||
"Location": "System",
|
||||
"Type": "HpServerFan.1.0.0"
|
||||
}
|
||||
},
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"Units": "Percent"
|
||||
}
|
||||
],
|
||||
"Name": "Thermal",
|
||||
"Temperatures": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Thermal#Temperatures/0",
|
||||
"MemberId": "0",
|
||||
"Name": "01-Inlet Ambient",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeSeaOfSensors.HpeSeaOfSensors",
|
||||
"@odata.type": "#HpeSeaOfSensors.v2_0_0.HpeSeaOfSensors",
|
||||
"LocationXmm": 15,
|
||||
"LocationYmm": 0
|
||||
}
|
||||
},
|
||||
"PhysicalContext": "Intake",
|
||||
"ReadingCelsius": 19,
|
||||
"SensorNumber": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 42,
|
||||
"UpperThresholdFatal": 47
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Thermal#Temperatures/42",
|
||||
"MemberId": "42",
|
||||
"Name": "44-P/S 2 Zone",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeSeaOfSensors.HpeSeaOfSensors",
|
||||
"@odata.type": "#HpeSeaOfSensors.v2_0_0.HpeSeaOfSensors",
|
||||
"LocationXmm": 4,
|
||||
"LocationYmm": 7
|
||||
}
|
||||
},
|
||||
"PhysicalContext": "PowerSupply",
|
||||
"ReadingCelsius": 34,
|
||||
"SensorNumber": 43,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 75,
|
||||
"UpperThresholdFatal": 80
|
||||
}
|
||||
]
|
||||
}
|
117
plugins/inputs/redfish/testdata/hp_thermalinvalid.json
vendored
Normal file
117
plugins/inputs/redfish/testdata/hp_thermalinvalid.json
vendored
Normal file
|
@ -0,0 +1,117 @@
|
|||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Thermal.Thermal",
|
||||
"@odata.etag": "W/\"14E8662D\"",
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Thermal",
|
||||
"@odata.type": "#Thermal.v1_1_0.Thermal",
|
||||
"Id": "Thermal",
|
||||
"Fans": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Thermal#Fans/0",
|
||||
"MemberId": "0",
|
||||
"Name": "Fan 1",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeServerFan.HpeServerFan",
|
||||
"@odata.type": "#HpeServerFan.v2_0_0.HpeServerFan",
|
||||
"HotPluggable": true,
|
||||
"Location": "System",
|
||||
"Redundant": true
|
||||
}
|
||||
},
|
||||
"Reading": 23,
|
||||
"ReadingUnits": "Percent",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Thermal#Fans/1",
|
||||
"MemberId": "1",
|
||||
"Name": "Fan 2",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeServerFan.HpeServerFan",
|
||||
"@odata.type": "#HpeServerFan.v2_0_0.HpeServerFan",
|
||||
"HotPluggable": true,
|
||||
"Location": "System",
|
||||
"Redundant": true
|
||||
}
|
||||
},
|
||||
"Reading": 23,
|
||||
"ReadingUnits": "Percent",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Thermal#Fans/2",
|
||||
"MemberId": "2",
|
||||
"Name": "Fan 3",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeServerFan.HpeServerFan",
|
||||
"@odata.type": "#HpeServerFan.v2_0_0.HpeServerFan",
|
||||
"HotPluggable": true,
|
||||
"Location": "System",
|
||||
"Redundant": true
|
||||
}
|
||||
},
|
||||
"Reading": 23,
|
||||
"ReadingUnits": "Percent",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
}
|
||||
],
|
||||
"Name": "Thermal",
|
||||
"Temperatures": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Thermal#Temperatures/0",
|
||||
"MemberId": "0",
|
||||
"Name": "01-Inlet Ambient",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeSeaOfSensors.HpeSeaOfSensors",
|
||||
"@odata.type": "#HpeSeaOfSensors.v2_0_0.HpeSeaOfSensors",
|
||||
"LocationXmm": 15,
|
||||
"LocationYmm": 0
|
||||
}
|
||||
},
|
||||
"PhysicalContext": "Intake",
|
||||
"ReadingCelsius": 19,
|
||||
"SensorNumber": 1,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 42,
|
||||
"UpperThresholdFatal": 47
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Thermal#Temperatures/42",
|
||||
"MemberId": "42",
|
||||
"Name": "44-P/S 2 Zone",
|
||||
"Oem": {
|
||||
"Hpe": {
|
||||
"@odata.context": "/redfish/v1/$metadata#HpeSeaOfSensors.HpeSeaOfSensors",
|
||||
"@odata.type": "#HpeSeaOfSensors.v2_0_0.HpeSeaOfSensors",
|
||||
"LocationXmm": 4,
|
||||
"LocationYmm": 7
|
||||
}
|
||||
},
|
||||
"PhysicalContext": "PowerSupply",
|
||||
"ReadingCelsius": 34,
|
||||
"SensorNumber": 43,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 75,
|
||||
"UpperThresholdFatal": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
Loading…
Add table
Add a link
Reference in a new issue