diff options
Diffstat (limited to 'src/store/modules/HardwareStatus')
4 files changed, 10 insertions, 13 deletions
diff --git a/src/store/modules/HardwareStatus/FanStore.js b/src/store/modules/HardwareStatus/FanStore.js index fed3f742..e58296b5 100644 --- a/src/store/modules/HardwareStatus/FanStore.js +++ b/src/store/modules/HardwareStatus/FanStore.js @@ -54,9 +54,9 @@ const FanStore = { let url = null; if (lastHour) { url = - '/redfish/v1/TelemetryService/MetricReports/hour_data&id=fans&period=last_hour'; + '/redfish/v1/TelemetryService/MetricReports/fans&period=last_hour'; } else { - url = '/redfish/v1/TelemetryService/MetricReports/hour_data&id=fans'; + url = '/redfish/v1/TelemetryService/MetricReports/fans'; } return await api .get(url) diff --git a/src/store/modules/HardwareStatus/MemoryStore.js b/src/store/modules/HardwareStatus/MemoryStore.js index 358ca725..924d52a1 100644 --- a/src/store/modules/HardwareStatus/MemoryStore.js +++ b/src/store/modules/HardwareStatus/MemoryStore.js @@ -68,10 +68,9 @@ const MemoryStore = { let url = null; if (lastHour) { url = - '/redfish/v1/TelemetryService/MetricReports/hour_data&id=dimm_temp&period=last_hour'; + '/redfish/v1/TelemetryService/MetricReports/dimm_temp&period=last_hour'; } else { - url = - '/redfish/v1/TelemetryService/MetricReports/hour_data&id=dimm_temp'; + url = '/redfish/v1/TelemetryService/MetricReports/dimm_temp'; } return await api .get(url) diff --git a/src/store/modules/HardwareStatus/MotherboardStore.js b/src/store/modules/HardwareStatus/MotherboardStore.js index 7b2fe032..09f24498 100644 --- a/src/store/modules/HardwareStatus/MotherboardStore.js +++ b/src/store/modules/HardwareStatus/MotherboardStore.js @@ -23,10 +23,9 @@ const MotherboardStore = { let url = null; if (lastHour) { url = - '/redfish/v1/TelemetryService/MetricReports/hour_data&id=other_temp&period=last_hour'; + '/redfish/v1/TelemetryService/MetricReports/other_temp&period=last_hour'; } else { - url = - '/redfish/v1/TelemetryService/MetricReports/hour_data&id=other_temp'; + url = '/redfish/v1/TelemetryService/MetricReports/other_temp'; } return await api .get(url) diff --git a/src/store/modules/HardwareStatus/ProcessorStore.js b/src/store/modules/HardwareStatus/ProcessorStore.js index 5466b85e..68b29ab6 100644 --- a/src/store/modules/HardwareStatus/ProcessorStore.js +++ b/src/store/modules/HardwareStatus/ProcessorStore.js @@ -84,9 +84,9 @@ const ProcessorStore = { let url = null; if (lastHour) { url = - '/redfish/v1/TelemetryService/MetricReports/hour_data&id=power&period=last_hour'; + '/redfish/v1/TelemetryService/MetricReports/power&period=last_hour'; } else { - url = '/redfish/v1/TelemetryService/MetricReports/hour_data&id=power'; + url = '/redfish/v1/TelemetryService/MetricReports/power'; } return await api .get(url) @@ -103,10 +103,9 @@ const ProcessorStore = { let url = null; if (lastHour) { url = - '/redfish/v1/TelemetryService/MetricReports/hour_data&id=cpu_temp&period=last_hour'; + '/redfish/v1/TelemetryService/MetricReports/cpu_temp&period=last_hour'; } else { - url = - '/redfish/v1/TelemetryService/MetricReports/hour_data&id=cpu_temp'; + url = '/redfish/v1/TelemetryService/MetricReports/cpu_temp'; } return await api .get(url) |