Plugin PCIe Errors
Name: |
PCIe_Errors plugin |
---|---|
Type: |
read |
Callbacks: |
init, config, read, shutdown |
Status: |
supported |
FirstVersion: |
|
Copyright: |
2019 Intel Corporation |
License: |
|
Manpage: |
|
See also: |
The purpose of this feature is to monitor and report PCI Express errors. There are two mechanisms for error handling. First is base line which is mandatory for every PCIe device, but provides only limited information as there are only four error types. It resides in Device Status register of PCI Express capability. The second is extended capability with Advance Error Reporting. It can provide detailed information about errors set on device. Its occurrence is optional, and not every device provides this extended information.
see PCIe Errors High Level Design
<Plugin pcie_errors>
Source "sysfs"
AccessDir "/sys/bus/pci"
ReportMasked false
PersistentNotifications false
FirstFullRead false
LogFile "/var/log/syslog"
<MsgPattern "AER">
<Match>
Name "aer error"
Regex "AER:.*error received"
SubmatchIdx -1
</Match>
<Match>
Name "incident time"
Regex "(... .. ..:..:..) .* pcieport.*AER"
IsMandatory false
</Match>
<Match>
Name "root port"
Regex "pcieport (.*): AER:"
</Match>
<Match>
Name "device"
Regex " ([0-9a-fA-F:\\.]*): PCIe Bus Error"
</Match>
<Match>
Name "severity"
Regex "severity=([^,]*)"
</Match>
<Match>
Name "error type"
Regex "type=(.*),"
IsMandatory false
</Match>
<Match>
Name "id"
Regex ", id=(.*)"
</Match>
</MsgPattern>
</Plugin>
needs to be added
|
|
|
|
|
|
|
|
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
None yet. Add one now!
Depends on sysfs and proc file systems