mirror of https://github.com/mikaku/Monitorix.git
fixed in 'zfs.pm' to convert FRAG to a numeric value it's not used in the pool. #138
This commit is contained in:
parent
00822a2b42
commit
01829ba873
|
@ -270,7 +270,7 @@ sub zfs_update {
|
||||||
$fra = 0;
|
$fra = 0;
|
||||||
}
|
}
|
||||||
$cap =~ s/%//;
|
$cap =~ s/%//;
|
||||||
$fra =~ s/%//;
|
$fra =~ s/[%-]//g; $fra = $fra || 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$rrdata .= ":$free:$udata:$usnap:$cap:$fra:0:0:0:0:0";
|
$rrdata .= ":$free:$udata:$usnap:$cap:$fra:0:0:0:0:0";
|
||||||
|
|
Loading…
Reference in New Issue