openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Li, Yong B" <yong.b.li@intel.com>
To: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Cc: "feistjj@gmail.com" <feistjj@gmail.com>, 郁雷 <yulei.sh@bytedance.com>
Subject: How to list all sensors through redfish?
Date: Sat, 10 Oct 2020 13:06:08 +0000	[thread overview]
Message-ID: <SN6PR11MB29437D2F974612BD91DBCEC0B7090@SN6PR11MB2943.namprd11.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 468 bytes --]

Hi All,

Based on the current bmcweb implementation:
https://github.com/openbmc/bmcweb/blob/master/redfish-core/lib/sensors.hpp#L61

The below URL only list these power/current/utilization sensors:
redfish/v1/Chassis/$chassis/Sensors

Just want to know why not list all running sensors? Is it required by redfish spec?

Is there any way to  list all sensors through redfish interface? Like the “ipmitool sensor list” command?

Thanks,
Yong

[-- Attachment #2: Type: text/html, Size: 2737 bytes --]

             reply	other threads:[~2020-10-10 13:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-10 13:06 Li, Yong B [this message]
2020-10-13  2:17 ` How to list all sensors through redfish? Lei Yu
2020-10-13 16:30   ` Gunnar Mills
2020-10-14  2:08     ` Li, Yong B
2020-10-14 16:26     ` Vijay Khemka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SN6PR11MB29437D2F974612BD91DBCEC0B7090@SN6PR11MB2943.namprd11.prod.outlook.com \
    --to=yong.b.li@intel.com \
    --cc=feistjj@gmail.com \
    --cc=openbmc@lists.ozlabs.org \
    --cc=yulei.sh@bytedance.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).