Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ZFS Status Report Mailer
# Copyright 2013 Typomedia Foundation. All rights reserved.
# Released under GPL version 3.
# ZFS Status Report Mailer v1.2
mailx -t \
MIME-Version: 1.0
FROM:Fileserver <server@domain.tld>
TO:Administrator <admin@domain.tld>
SUBJECT:ZFS Status Report: `zpool status -x`
Content-Type: text/html
`uname -a`
`host \`hostname\``
`zpool status`
`zpool list`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment