Anyone using "zpool_report.sh" ?

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Hi,

Sorry, I forgot who wrote this? The notes for it reference Chris Moore but I think this is someone who copied his stuff and made their own.
I've got what I believe is the latest version of the script, updated the email section and it fails to work

If I try to run it manually it spits out an error.

root@freenas[/mnt/ARRAY/data/backup/FreeNAS/Scripts]# ./zpool_report.sh
date: illegal option -- -
usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
root@freenas[/mnt/ARRAY/data/backup/FreeNAS/Scripts]#



I got the impression the only thing requiring configuring, was the email address?
 
Top