aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zed/zed.d/all-syslog.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/zed/zed.d/all-syslog.sh')
-rwxr-xr-xcmd/zed/zed.d/all-syslog.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/zed/zed.d/all-syslog.sh b/cmd/zed/zed.d/all-syslog.sh
index b34d17cef..5a3c8ad4d 100755
--- a/cmd/zed/zed.d/all-syslog.sh
+++ b/cmd/zed/zed.d/all-syslog.sh
@@ -6,5 +6,6 @@
. "${ZED_ZEDLET_DIR}/zed-functions.sh"
zed_log_msg "eid=${ZEVENT_EID}" "class=${ZEVENT_SUBCLASS}" \
- "${ZEVENT_POOL:+"pool=${ZEVENT_POOL}"}"
+ "${ZEVENT_POOL:+"pool=${ZEVENT_POOL}"}" \
+ "${ZEVENT_VDEV_STATE_STR:+"vdev_state=${ZEVENT_VDEV_STATE_STR}"}"
exit 0