HomeFreeBSD

zed syslog entries drop important info

Description

zed syslog entries drop important info

ZED will log zevents summaries to the syslog, however the log entries
tend to drop event details that can be useful for diagnosis. This is
especially true for ereport events, like io, checksum, and delay.

Update the all-syslog.sh script to log additional event information.

Add an optional config option, ZED_SYSLOG_DISPLAY_GUIDS, to zed.rc
for choosing GUIDs over names for pool and vdev.

Change the default ZED_SYSLOG_SUBCLASS_EXCLUDE to exclude history_event
events. These events tend to be frequent, convey no meaningful info,
and are already logged in the zpool history.

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Don Brady <don.brady@delphix.com>
Closes #10967

Details

Provenance
Don Brady <don.brady@delphix.com>Authored on Oct 19 2020, 6:01 PM
GitHub <noreply@github.com>Committed on Oct 19 2020, 6:01 PM
Parents
rGab6a0e236e2a: Ignore zpool_influxdb binary
Branches
Unknown
Tags
Unknown