mirror_zfs/cmd/zed
Chris Dunlap ce119da33d Combine data-notify.sh with io-notify.sh
The data-notify.sh ZEDLET serves a very similar purpose to
io-notify.sh, namely, to generate a notification in response to a
particular error event.  Initially, data-notify.sh was separated from
io-notify.sh since the "data" zevent does not (as I understand it)
pertain to a specific vdev device.  This stands in contrast to the
"checksum" and "io" zevents (both handled by io-notify.sh) that can
be attributed to a specific vdev.  At the time, it seemed simpler to
handle these two cases in separate scripts.

This commit adds support for the "data" zevent to io-notify.sh, and
symlinks io-notify.sh to data-notify.sh.  It also adds the counts
for vdev_read_errors, vdev_write_errors, and vdev_cksum_errors to
the notification message.

Signed-off-by: Chris Dunlap <cdunlap@llnl.gov>
2015-04-27 12:08:08 -07:00
..
zed.d Combine data-notify.sh with io-notify.sh 2015-04-27 12:08:08 -07:00
.gitignore Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
Makefile.am Add support for Pushbullet notifications 2015-04-27 12:08:08 -07:00
zed_conf.c Protect against adding duplicate strings in ZED 2015-01-30 14:46:17 -08:00
zed_conf.h Obtain advisory lock on ZED PID file 2014-10-06 13:17:40 -07:00
zed_event.c Cleanup _zed_event_add_nvpair() 2015-01-30 14:46:44 -08:00
zed_event.h Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
zed_exec.c Refer to ZED's scripts as ZEDLETs 2014-09-25 13:54:17 -07:00
zed_exec.h Refer to ZED's scripts as ZEDLETs 2014-09-25 13:54:17 -07:00
zed_file.c Remove reverse indentation from zed comments. 2014-09-22 12:17:53 -07:00
zed_file.h Replace zed_file_create_dirs() with mkdirp() 2014-04-09 13:32:54 -07:00
zed_log.c Remove reverse indentation from zed comments. 2014-09-22 12:17:53 -07:00
zed_log.h Cleanup zed logging 2014-09-02 14:18:53 -07:00
zed_strings.c Protect against adding duplicate strings in ZED 2015-01-30 14:46:17 -08:00
zed_strings.h Protect against adding duplicate strings in ZED 2015-01-30 14:46:17 -08:00
zed.c Obtain advisory lock on ZED PID file 2014-10-06 13:17:40 -07:00
zed.h Refer to ZED's scripts as ZEDLETs 2014-09-25 13:54:17 -07:00