blob: ef6a6c12b6a1a63177d0ec96cdcd503236cea2ff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# $FreeBSD$
#
# Sample ZFS problem reports handling.
notify 10 {
match "system" "ZFS";
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" "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" "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" "ereport.fs.zfs.zpool";
action "logger -p local7.err -t ZFS failed to load zpool $pool";
};
notify 10 {
match "system" "ZFS";
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" "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" "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" "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" "ereport.fs.zfs.config_cache_write";
action "logger -p local7.warn -t ZFS failed to write zpool.cache, zpool=$pool";
};
notify 10 {
match "system" "ZFS";
match "type" "resource.fs.zfs.removed";
action "logger -p local7.notice -t ZFS vdev is removed, pool_guid=$pool_guid vdev_guid=$vdev_guid";
};
notify 10 {
match "system" "ZFS";
match "type" "resource.fs.zfs.autoreplace";
action "logger -p local7.info -t ZFS autoreplace is configured for vdev, pool_guid=$pool_guid vdev_guid=$vdev_guid";
};
notify 10 {
match "system" "ZFS";
match "type" "resource.fs.zfs.statechange";
action "logger -p local7.notice -t ZFS vdev state changed, pool_guid=$pool_guid vdev_guid=$vdev_guid";
};
|