svn commit: r355884 - head/sbin/devd
Alexander Motin
mav at FreeBSD.org
Wed Dec 18 18:43:44 UTC 2019
Author: mav
Date: Wed Dec 18 18:43:44 2019
New Revision: 355884
URL: https://svnweb.freebsd.org/changeset/base/355884
Log:
Add missing "ereport." prefixes of ZFS events.
I was unable to find time when those were working. I think they have been
broken for at least 5 years or even longer.
Discussed with: avg@
MFC after: 1 month
Modified:
head/sbin/devd/zfs.conf
Modified: head/sbin/devd/zfs.conf
==============================================================================
--- head/sbin/devd/zfs.conf Wed Dec 18 18:21:39 2019 (r355883)
+++ head/sbin/devd/zfs.conf Wed Dec 18 18:43:44 2019 (r355884)
@@ -4,55 +4,55 @@
notify 10 {
match "system" "ZFS";
- match "type" "fs.zfs.checksum";
+ match "type" "ereport.fs.zfs.checksum";
action "logger -p local7.warn -t ZFS 'checksum mismatch, zpool=$pool path=$vdev_path offset=$zio_offset size=$zio_size'";
};
notify 10 {
match "system" "ZFS";
- match "type" "fs.zfs.io";
+ match "type" "ereport.fs.zfs.io";
action "logger -p local7.warn -t ZFS 'vdev I/O failure, zpool=$pool path=$vdev_path offset=$zio_offset size=$zio_size error=$zio_err'";
};
notify 10 {
match "system" "ZFS";
- match "type" "fs.zfs.data";
+ match "type" "ereport.fs.zfs.data";
action "logger -p local7.warn -t ZFS 'pool I/O failure, zpool=$pool error=$zio_err'";
};
notify 10 {
match "system" "ZFS";
- match "type" "fs.zfs.zpool";
+ match "type" "ereport.fs.zfs.zpool";
action "logger -p local7.err -t ZFS 'failed to load zpool $pool'";
};
notify 10 {
match "system" "ZFS";
- match "type" "fs.zfs.vdev\..*";
+ match "type" "ereport.fs.zfs.vdev\..*";
action "logger -p local7.err -t ZFS 'vdev problem, zpool=$pool path=$vdev_path type=$type'";
};
notify 10 {
match "system" "ZFS";
- match "type" "fs.zfs.io_failure";
+ match "type" "ereport.fs.zfs.io_failure";
action "logger -p local7.alert -t ZFS 'catastrophic pool I/O failure, zpool=$pool'";
};
notify 10 {
match "system" "ZFS";
- match "type" "fs.zfs.probe_failure";
+ match "type" "ereport.fs.zfs.probe_failure";
action "logger -p local7.err -t ZFS 'vdev probe failure, zpool=$pool path=$vdev_path'";
};
notify 10 {
match "system" "ZFS";
- match "type" "fs.zfs.log_replay";
+ match "type" "ereport.fs.zfs.log_replay";
action "logger -p local7.err -t ZFS 'pool log replay failure, zpool=$pool'";
};
notify 10 {
match "system" "ZFS";
- match "type" "fs.zfs.config_cache_write";
+ match "type" "ereport.fs.zfs.config_cache_write";
action "logger -p local7.warn -t ZFS 'failed to write zpool.cache, zpool=$pool'";
};
More information about the svn-src-all
mailing list