I have deleted and recreated with 0.7. I did it again just now on 0.7l, and I'm still getting the alert messages.
hmmm..
You may look at the jobscript
Code:
[FONT="Courier New"][SIZE="2"] # get needed infos in $text
#zpool status
$text=&exe("zpool status");
# check disk error
if ($text=~/DEGRADED|UNAVAIL/s) {
$r.="1"; $sub.=" -DISK ERR-";
} else {
$text="-disk errors: none\n";
if (-f $err1) { unlink ($err1); } # delete disk old error
}
# check avail < 15% ()
$pools=&exe("zpool list");
$text.="\n------------------------------\nzpool list\n$pools\n\nPool capacity from zfs list\n";
$t=&zfslib_pool2used; # list of pools + % used based on zfs list
$text.="$t";
if ($t=~/\%\!/) {
$sub.=" -Low CAP ALERT 15%-";
$r.="1";
} else {
if (-f $err2) { unlink ($err2); } # delete disk cap error
}
# no reason
##########################################################################################
if (!($r=~/1/)) { return (); } # no reason[/SIZE][/FONT]
comment out in the cap-check area
Code:
from:
$sub.=" -Low CAP ALERT 15%-";
$r.="1";;
to
$sub.=" -Low CAP ALERT 15%-";
# $r.="1";
to be sure, its not a problem of this part.