Skip to contentSkip to conversation

Asynchronous Event Notification support.

DISCUSSION Ratan Gupta 5 participants 8 messages Aug 25, 2019 – Aug 28, 2019

lore
Share & tools
lore
#0 lore raw

Hi All,

Does anyone have suggestions on enabling Asynchronus Event notification support for Redfish?

We are doing some exploration on this area and wanted to hear if someone is already working on it. Will be happy to collaborate.

Thanks,
Ratan

#1 lore raw

On 8/25/19, 3:43 AM, "openbmc on behalf of Ratan Gupta" <[email protected] on behalf of [email protected]> wrote:

Hi All,

Does anyone have suggestions on enabling Asynchronus Event notification support for Redfish?
Are you looking for redfish only? Are we even handling any such event in BMC Like sensor threshold crossing or any system failure etc.

We are doing some exploration on this area and wanted to hear if someone is already working on it. Will be happy to collaborate.

Thanks,
Ratan

#2 lore raw

Hi,

As far as I know, the phosphor-sel-logger has the ability to monitor the threshold crossing which generated by phosphor-hwmon or dbus-sensors on DBus, and then it will generate redfish event log or journal log.

However, I didn't see the IPMI SEL being generated regarding to the name of the repository.

Thanks,
Troy Lee

-----Original Message-----
From: openbmc <[email protected]> On Behalf Of Vijay Khemka
Sent: Tuesday, August 27, 2019 10:30 AM
To: Ratan Gupta <[email protected]>; [email protected]; Tanous, Ed <[email protected]>
Subject: [ExternalEmail] Re: Asynchronous Event Notification support.

On 8/25/19, 3:43 AM, "openbmc on behalf of Ratan Gupta" <[email protected] on behalf of [email protected]> wrote:

Hi All,

Does anyone have suggestions on enabling Asynchronus Event notification
support for Redfish?
Are you looking for redfish only? Are we even handling any such event in BMC Like sensor threshold crossing or any system failure etc.

We are doing some exploration on this area and wanted to hear if someone is already working on it. Will be happy to collaborate.

Thanks,
Ratan

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.

#3 lore raw
Quoted 5 lines · On 8/27/2019 12:02 AM, [email protected] wrote:

Hi,

As far as I know, the phosphor-sel-logger has the ability to monitor the threshold crossing which generated by phosphor-hwmon or dbus-sensors on DBus, and then it will generate redfish event log or journal log.

However, I didn't see the IPMI SEL being generated regarding to the name of the repository.

Hi Troy,

The phosphor-sel-logger will log the IPMI SEL and Redfish event to the journal. Other modules are then responsible for getting the events out of the journal and making them available to a user.

For example in Intel systems, we use rsyslog to extract the IPMI SEL log entries from the journal and store them to a persisted syslog file. (See https://github.com/Intel-BMC/openbmc/tree/intel/meta-openbmc-mods/meta-common/recipes-extended/rsyslog.)

Then, IPMI uses the SEL entries in the syslog file to handle the SEL IPMI commands. (See https://github.com/openbmc/intel-ipmi-oem/blob/master/src/storagecommands.cpp.)

Quoted 32 lines

Thanks,
Troy Lee

-----Original Message-----
From: openbmc <[email protected]> On Behalf Of Vijay Khemka
Sent: Tuesday, August 27, 2019 10:30 AM
To: Ratan Gupta <[email protected]>; [email protected]; Tanous, Ed <[email protected]>
Subject: [ExternalEmail] Re: Asynchronous Event Notification support.

On 8/25/19, 3:43 AM, "openbmc on behalf of Ratan Gupta" <[email protected] on behalf of [email protected]> wrote:

Hi All,

Does anyone have suggestions on enabling Asynchronus Event notification
support for Redfish?
Are you looking for redfish only? Are we even handling any such event in BMC Like sensor threshold crossing or any system failure etc.

We are doing some exploration on this area and wanted to hear if someone is already working on it. Will be happy to collaborate.

Thanks,
Ratan

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.

#4 lore raw

Hi Jason,

It's very useful information to know.

Thanks,
Troy Lee

-----Original Message-----
From: openbmc <[email protected]> On Behalf Of Bills, Jason M
Sent: Wednesday, August 28, 2019 1:31 AM
To: [email protected]
Subject: Re: [ExternalEmail] Re: Asynchronous Event Notification support.

Quoted 5 lines · On 8/27/2019 12:02 AM, [email protected] wrote:

Hi,

As far as I know, the phosphor-sel-logger has the ability to monitor the threshold crossing which generated by phosphor-hwmon or dbus-sensors on DBus, and then it will generate redfish event log or journal log.

However, I didn't see the IPMI SEL being generated regarding to the name of the repository.

Hi Troy,

The phosphor-sel-logger will log the IPMI SEL and Redfish event to the journal. Other modules are then responsible for getting the events out of the journal and making them available to a user.

For example in Intel systems, we use rsyslog to extract the IPMI SEL log entries from the journal and store them to a persisted syslog file. (See
https://github.com/Intel-BMC/openbmc/tree/intel/meta-openbmc-mods/meta-common/recipes-extended/rsyslog.)

Then, IPMI uses the SEL entries in the syslog file to handle the SEL IPMI commands. (See
https://github.com/openbmc/intel-ipmi-oem/blob/master/src/storagecommands.cpp.)

Quoted 25 lines

Thanks,
Troy Lee

-----Original Message-----
From: openbmc <[email protected]> On Behalf Of Vijay Khemka
Sent: Tuesday, August 27, 2019 10:30 AM
To: Ratan Gupta <[email protected]>; [email protected]; Tanous, Ed <[email protected]>
Subject: [ExternalEmail] Re: Asynchronous Event Notification support.

On 8/25/19, 3:43 AM, "openbmc on behalf of Ratan Gupta" <[email protected] on behalf of [email protected]> wrote:

Hi All,

Does anyone have suggestions on enabling Asynchronus Event notification
support for Redfish?
Are you looking for redfish only? Are we even handling any such event in BMC Like sensor threshold crossing or any system failure etc.

We are doing some exploration on this area and wanted to hear if someone is already working on it. Will be happy to collaborate.

Quoted 9 lines

Thanks,
Ratan

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.

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 Vijay Khemka
Quoted 9 lines · Vijay Khemka

On 8/25/19, 3:43 AM, "openbmc on behalf of Ratan Gupta" <[email protected] on behalf of [email protected]> wrote:

Hi All,

Does anyone have suggestions on enabling Asynchronus Event notification support for Redfish?
Are you looking for redfish only? Are we even handling any such event in BMC Like sensor threshold crossing or any system failure etc.

Yes, I was looking for sending the events through Redfish(Http), Currently we don't have a standard way to send the event out of the BMC. Once the base framework is ready then we can send the event for the state change, telemetry, event logs etc.

Quoted 11 lines

We are doing some exploration on this area and wanted to hear if someone is already working on it. Will be happy to collaborate.

Thanks,
Ratan

#6 lore raw
In reply to Ratan Gupta

Yes, Ratan

We are working in enabling the same.

Appu will be send out the Redfish eventing design document for review.

regards,

Richard

Quoted 11 lines · Ratan Gupta

Hi All,

Does anyone have suggestions on enabling Asynchronus Event notification support for Redfish?

We are doing some exploration on this area and wanted to hear if someone is already working on it. Will be happy to collaborate.

Thanks,
Ratan

#7 lore raw
Quoted 6 lines · Richard Marian

Yes, Ratan

We are working in enabling the same.

Appu will be send out the Redfish eventing design document for review.

That is great, Please let me know how can we collaborate.

Quoted 17 lines

regards,

Richard

Quoted 10 lines · Ratan Gupta

Hi All,

Does anyone have suggestions on enabling Asynchronus Event notification support for Redfish?

We are doing some exploration on this area and wanted to hear if someone is already working on it. Will be happy to collaborate.

Thanks,
Ratan