Platform Event Filters
A platform event filter (PEF) can trigger an action. For each PEF, you can choose the action to be taken (or take no action) when a platform event occurs.
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter includes the following sections:
A platform event filter (PEF) can trigger an action. For each PEF, you can choose the action to be taken (or take no action) when a platform event occurs.
You can configure actions and alerts for the following platform event filters:
ID | Platform Event Filter |
---|---|
1 |
Temperature Critical Assert Filter |
2 |
Voltage Critical Assert Filter |
3 |
Current Assert Filter |
4 |
Fan Critical Assert Filter |
5 |
Processor Assert Filter |
6 |
Power Supply Critical Assert Filter |
7 |
Memory Critical Assert Filter |
Command or Action | Purpose | |
---|---|---|
Step 1 |
Server# scope fault |
Enters the fault command mode. |
Step 2 |
Server /fault # scope pef id |
Enters the platform event filter command mode for the specified event. See the Platform Event Filter table for event ID numbers. |
Step 3 |
Server /fault/pef # set action {none | reboot | power-cycle | power-off} |
Selects the desired system action when this event occurs. The action can be one of the following:
|
Step 4 |
Server /fault/pef # commit |
Commits the transaction to the system configuration. |
This example configures the platform event alert for an event:
Server# scope fault
Server /fault # scope pef 5
Server /fault/pef # set action reboot
Server /fault/pef *# commit
Server /fault/pef # show
Platform Event Filter Event Action
--------------------- --------------------------- -----------
5 Processor Assert Filter reboot
Server /fault/pef #
Command or Action | Purpose | |
---|---|---|
Step 1 |
Server# scope fault |
Enters the fault command mode. |
Step 2 |
Server /fault # set platform-event-enabled yes |
Enables platform event alerts. |
Step 3 |
Server /fault # commit |
Commits the transaction to the system configuration. |
Step 4 |
Server /fault # reset-event-filters |
Resets the platform event filters. |
Step 5 |
Server /fault # show pef |
Displays the latest platform event filters. |
The following example enables platform event alerts:
Server# scope fault
Server /fault # set platform-event-enabled yes
Server /fault *# commit
Server /fault # show
Platform Event Enabled
-----------------------
yes
Server /fault # reset-event-filters
Server /fault # show pef
Platform Event Filter Event Action
--------------------- ----------------------------------- -----------
1 Temperature Critical Assert Filter none
2 Voltage Critical Assert Filter none
3 Current Assert Filter none
4 Fan Critical Assert Filter none
5 Processor Assert Filter none
6 Power Supply Critical Assert Filter none
7 Memory Critical Assert Filter none
Server /fault #