add zfs event daemon notes
This commit is contained in:
parent
0c091aba7e
commit
ddfccdfe96
47
ansible/roles/zfs-install/notes/mail_and_zed.txt
Normal file
47
ansible/roles/zfs-install/notes/mail_and_zed.txt
Normal file
@ -0,0 +1,47 @@
|
||||
install inetutils (for hostname) s-nail (for mail) and msmtp-mta , which brings in msmtp as a dependancy
|
||||
|
||||
configure /etc/msmtprc
|
||||
|
||||
account default
|
||||
host smtp.balsillie.net
|
||||
port 465
|
||||
tls on
|
||||
tls_starttls off
|
||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||
auth on
|
||||
user "Hypervisor 00 <hv00@balsillie.net>"
|
||||
password changeme
|
||||
from hv00@balsillie.net
|
||||
aliases /etc/aliases
|
||||
allow_from_override off
|
||||
set_from_header on
|
||||
|
||||
configure /etc/alaises
|
||||
|
||||
root: admin@balsillie.net
|
||||
default: admin@balsillie.net
|
||||
|
||||
edit nano /etc/zfs/zed.d/zed.rc
|
||||
|
||||
uncomment line
|
||||
|
||||
ZED_EMAIL_ADDR="root" # the aliases file will translate this
|
||||
ZED_NOTIFY_VERBOSE=1 # Receiev alerts for healthy pool scrubs
|
||||
ZED_EMAIL_PROG="msmtp"
|
||||
|
||||
start and enable zfs-zed.service
|
||||
|
||||
|
||||
install smartmontools
|
||||
|
||||
edit nano /etc/smartd.conf
|
||||
|
||||
replace
|
||||
|
||||
DEVICESCAN
|
||||
|
||||
with
|
||||
|
||||
DEVICESCAN -a -m admin@balsillie.net -M test
|
||||
|
||||
start/enable smartd.service
|
Loading…
Reference in New Issue
Block a user