webui not working for me
Vijay Khemka
vijaykhemka at fb.com
Tue Jan 7 12:13:37 AEDT 2020
Alright I am getting data from curl command
curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/xyz/openbmc_project/sensors/enumerate
"/xyz/openbmc_project/sensors/temperature/Core_16_CPU1": {
"Associations": [
[
"chassis",
"all_sensors",
"/xyz/openbmc_project/inventory/system/board/TiogaPass_Baseboard"
]
],
"CriticalAlarmHigh": false,
"CriticalHigh": 89.0,
"MaxValue": 127.0,
"MinValue": -128.0,
"Value": 21.0,
"WarningAlarmHigh": false,
"WarningHigh": 79.0
},
"/xyz/openbmc_project/sensors/temperature/Core_16_CPU1/chassis": {
"endpoints": [
"/xyz/openbmc_project/inventory/system/board/TiogaPass_Baseboard"
]
},
Regards
-Vijay
From: Gunnar Mills <gmills at linux.vnet.ibm.com>
Date: Monday, January 6, 2020 at 4:40 PM
To: Vijay Khemka <vijaykhemka at fb.com>, "openbmc at lists.ozlabs.org" <openbmc at lists.ozlabs.org>
Subject: Re: webui not working for me
On 1/6/2020 6:29 PM, Vijay Khemka wrote:
It says on page “there are no sensors available”
A curl call to /xyz/openbmc_project/sensors/enumerate returns all the sensors correctly ?
If so, probably will need to add some console.log()s to that function
https://github.com/openbmc/phosphor-webui/blob/f70f42553615972163b36c9b4d77be07e4399122/app/common/services/api-utils.js#L912
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200107/87c22828/attachment.htm>
More information about the openbmc
mailing list