Skip to contentSkip to conversation

Sensor history

DISCUSSION Vijay Khemka 7 participants 10 messages Mar 30, 2020 – Apr 24, 2020

lore
Share & tools
lore
#0 lore raw

Is there any implementation for reading sensor history. Please point me to the repo or code base.

Regards
-Vijay

#1 lore raw
Quoted 1 line · Vijay Khemka

Is there any implementation for reading sensor history. Please point me to the repo or code base.

I do not believe that the BMC is storing any sensor history. To get this, you would need to poll the sensors and store the values on another machine.

--Vernon

#2 lore raw
Quoted 3 lines · Vernon Mauery
Quoted 1 line · Vijay Khemka

Is there any implementation for reading sensor history. Please point me to the repo or code base.

I do not believe that the BMC is storing any sensor history.

There were some interfaces added to the openpower namespace for this kind of thing. https://github.com/openbmc/phosphor-dbus-interfaces/tree/master/org/open_power/Sensor/Aggregation/History

The application implementing them is in the phosphor-power repository (power-supply).

Quoted 1 line

To get this, you would need to poll the sensors and store the values on another machine.

To implement the Redfish Telemetry service would we need to store them on the BMC as well?

-brad

#3 lore raw

Hi Team,

There is a telemetry proposal in docs and repository.
https://github.com/openbmc/docs/blob/master/designs/telemetry.md
https://github.com/openbmc/telemetry

The proposal seems promising and complete.
What is the implementation status?

Thanks,
Troy Lee

-----Original Message-----
From: openbmc <[email protected]> On Behalf Of Brad Bishop
Sent: Tuesday, April 14, 2020 4:39 AM
To: Vijay Khemka <[email protected]>; Vernon Mauery <[email protected]>
Cc: [email protected]
Subject: [ExternalEmail] Re: Sensor history

Quoted 4 lines · Vernon Mauery
Quoted 2 lines · Vijay Khemka

Is there any implementation for reading sensor history. Please point me to the repo or code base.

I do not believe that the BMC is storing any sensor history.

There were some interfaces added to the openpower namespace for this kind of thing.
https://github.com/openbmc/phosphor-dbus-interfaces/tree/master/org/open_power/Sensor/Aggregation/History

The application implementing them is in the phosphor-power repository (power-supply).

Quoted 2 lines

To get this, you would need to poll the sensors and store the values on another machine.

To implement the Redfish Telemetry service would we need to store them on the BMC as well?

-brad
CONFIDENTIALITY NOTICE: This e-mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed and may contain confidential and privileged information protected by law. If you received this e-mail in error, any review, use, dissemination, distribution, or copying of the e-mail is strictly prohibited. Please notify the sender immediately by return e-mail and delete all copies from your system.

#5 lore raw
In reply to Brad Bishop

On 4/13/20, 1:39 PM, "Brad Bishop" <[email protected]> wrote:

at 5:00 PM, Vernon Mauery <[email protected]> wrote:

> On 30-Mar-2020 08:02 PM, Vijay Khemka wrote:
>> Is there any implementation for reading sensor history. Please point me >> to the repo or code base.
> I do not believe that the BMC is storing any sensor history.

There were some interfaces added to the openpower namespace for this kind of thing.
https://github.com/openbmc/phosphor-dbus-interfaces/tree/master/org/open_power/Sensor/Aggregation/History

The application implementing them is in the phosphor-power repository (power-supply).

> To get this, you would need to poll the sensors and store the values on > another machine.

To implement the Redfish Telemetry service would we need to store them on the BMC as well?
It will be nice if we can store it in RAM at least with larger data and some diskspace With small log rotate.

-brad

#6 lore raw
Quoted 7 lines

Hi Team,

There is a telemetry proposal in docs and repository.
https://github.com/openbmc/docs/blob/master/designs/telemetry.md
https://github.com/openbmc/telemetry
The proposal seems promising and complete. What is the implementation status?

I'm also curious about a status update here. Were there any design issues that needed to be worked out, or is it ready to develop?

Quoted 1 line
Quoted 1 line

To implement the Redfish Telemetry service would we need to store

them on

Quoted 2 lines
Quoted 1 line

the BMC as well?

It will be nice if we can store it in RAM at least with larger data and

some diskspace

Quoted 1 line

With small log rotate.

The Telemetry Service already has a concept of log rotation, but overall I agree that storing in RAM first with optional persistence is better than the other way around.
- Richard

#7 lore raw

TelemetryService is currently in development.

Integration with EventService was tested and proved to work fine. Intel have prepared demo for 2020 Virtual OCP Summit if you are willing to have some insight about use cases.

We should expect solution to start appearing in upstream sooner than later as feature is almost complete - it requires legal issues to be sorted out.

Regards,
Adrian

W dniu 4/14/2020 o 22:41, Richard Hanley pisze:

Quoted 17 lines
Quoted 7 lines

Hi Team,

There is a telemetry proposal in docs and repository.
https://github.com/openbmc/docs/blob/master/designs/telemetry.md
https://github.com/openbmc/telemetry
The proposal seems promising and complete. What is the implementation status?

I'm also curious about a status update here.  Were there any design issues that needed to be worked out, or is it ready to develop?

Quoted 2 lines
Quoted 1 line

    To implement the Redfish Telemetry service would we need to store them on     the BMC as well?

It will be nice if we can store it in RAM at least with larger data

and some diskspace

Quoted 1 line

With small log rotate.

The Telemetry Service already has a concept of log rotation, but overall I agree that storing in RAM first with optional persistence is better than the other way around.
- Richard

#8 lore raw

Adrian,

Thanks for the update!

Thanks
Troy Lee

-----Original Message-----
From: openbmc <[email protected]> On Behalf Of Adrian Ambro?ewicz
Sent: Wednesday, April 15, 2020 4:15 PM
To: Richard Hanley <[email protected]>; Vijay Khemka <[email protected]>
Cc: Vernon Mauery <[email protected]>; [email protected]; Brad Bishop <[email protected]>
Subject: [ExternalEmail] Re: Sensor history

TelemetryService is currently in development.

Integration with EventService was tested and proved to work fine. Intel have prepared demo for 2020 Virtual OCP Summit if you are willing to have some insight about use cases.

We should expect solution to start appearing in upstream sooner than later as feature is almost complete - it requires legal issues to be sorted out.

Regards,
Adrian

W dniu 4/14/2020 o 22:41, Richard Hanley pisze:

Quoted 14 lines
Quoted 7 lines

Hi Team,

There is a telemetry proposal in docs and repository.
https://github.com/openbmc/docs/blob/master/designs/telemetry.md
https://github.com/openbmc/telemetry
The proposal seems promising and complete. What is the implementation status?

I'm also curious about a status update here. Were there any design issues that needed to be worked out, or is it ready to develop?

Quoted 3 lines
Quoted 3 lines

To implement the Redfish Telemetry service would we need to store
them on
the BMC as well?

Quoted 7 lines
Quoted 1 line

It will be nice if we can store it in RAM at least with larger data

and some diskspace >With small log rotate.

The Telemetry Service already has a concept of log rotation, but overall I agree that storing in RAM first with optional persistence is better than the other way around.
- Richard

CONFIDENTIALITY NOTICE: This e-mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed and may contain confidential and privileged information protected by law. If you received this e-mail in error, any review, use, dissemination, distribution, or copying of the e-mail is strictly prohibited. Please notify the sender immediately by return e-mail and delete all copies from your system.

#9 lore raw

Hi,

I would like to upload a patch for the telemetry documentation that addresses the report storage in non-volatile memory and some D-Bus API extensions for better alignment with the Redfish Telemetry Service. The changes are results of integration with the Event Service.

Piotr Matuszczak
---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173, 80-298 Gdansk
KRS 101882
NIP 957-07-52-316

-----Original Message-----
From: openbmc <[email protected]> On Behalf Of [email protected]
Sent: Wednesday, April 15, 2020 11:53 AM
To: Adrian Ambrożewicz <[email protected]>; Richard Hanley <[email protected]>; Vijay Khemka <[email protected]>
Cc: Vernon Mauery <[email protected]>; [email protected]; Brad Bishop <[email protected]>
Subject: RE: [ExternalEmail] Re: Sensor history

Adrian,

Thanks for the update!

Thanks
Troy Lee

-----Original Message-----
From: openbmc <[email protected]> On Behalf Of Adrian Ambro?ewicz
Sent: Wednesday, April 15, 2020 4:15 PM
To: Richard Hanley <[email protected]>; Vijay Khemka <[email protected]>
Cc: Vernon Mauery <[email protected]>; [email protected]; Brad Bishop <[email protected]>
Subject: [ExternalEmail] Re: Sensor history

TelemetryService is currently in development.

Integration with EventService was tested and proved to work fine. Intel have prepared demo for 2020 Virtual OCP Summit if you are willing to have some insight about use cases.

We should expect solution to start appearing in upstream sooner than later as feature is almost complete - it requires legal issues to be sorted out.

Regards,
Adrian

W dniu 4/14/2020 o 22:41, Richard Hanley pisze:

Quoted 14 lines
Quoted 7 lines

Hi Team,

There is a telemetry proposal in docs and repository.
https://github.com/openbmc/docs/blob/master/designs/telemetry.md
https://github.com/openbmc/telemetry
The proposal seems promising and complete. What is the implementation status?

I'm also curious about a status update here. Were there any design issues that needed to be worked out, or is it ready to develop?

Quoted 3 lines
Quoted 3 lines

To implement the Redfish Telemetry service would we need to store
them on
the BMC as well?

Quoted 7 lines
Quoted 1 line

It will be nice if we can store it in RAM at least with larger data

and some diskspace >With small log rotate.

The Telemetry Service already has a concept of log rotation, but overall I agree that storing in RAM first with optional persistence is better than the other way around.
- Richard

CONFIDENTIALITY NOTICE: This e-mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed and may contain confidential and privileged information protected by law. If you received this e-mail in error, any review, use, dissemination, distribution, or copying of the e-mail is strictly prohibited. Please notify the sender immediately by return e-mail and delete all copies from your system.