mirror of https://github.com/mikaku/Monitorix.git
fixed in 'zfs.pm' the way how is collected pool's data
This commit is contained in:
parent
10ad53ffbd
commit
593e1a7ea7
4
Changes
4
Changes
|
@ -23,7 +23,7 @@
|
|||
- Fixed to limit the length of the device names in 'fs.pm'.
|
||||
- Fixed a missing gap colouring in some zoomed graphs of 'system.pm'.
|
||||
- Fixed to save missing values as 'unknown' in 'apcupsd.pm'. [#201]
|
||||
- Fixed XSS vulnerability in CGI variables. [#203]
|
||||
- Fixed a XSS vulnerability in CGI variables. [#203]
|
||||
(thanks to Sebastian Gilon from http://testarmy.com/, who pointed this out)
|
||||
- Fixed to check if setgid() and setuid() functions were successful before
|
||||
starting the HTTP built-in.
|
||||
|
@ -32,6 +32,8 @@
|
|||
(thanks to Sander Bos for pointing this out)
|
||||
- Fixed to set permissions 0600 to log files.
|
||||
(thanks to Sander Bos for pointing this out)
|
||||
- Fixed in 'zfs.pm' the way how is collected pool's data.
|
||||
(thanks to Derek Dongray, derek AT valedon.co.uk)
|
||||
|
||||
|
||||
3.10.0 - 25-Sep-2017
|
||||
|
|
|
@ -257,9 +257,9 @@ sub zfs_update {
|
|||
if($pool) {
|
||||
my @zpool;
|
||||
|
||||
$free = trim(`zfs get -rHp -o value available $pool`);
|
||||
$udata = trim(`zfs get -rHp -o value used $pool`);
|
||||
$usnap = trim(`zfs get -rHp -o value usedbysnapshots $pool`);
|
||||
$free = trim(`zfs get -Hp -o value available $pool`);
|
||||
$udata = trim(`zfs get -Hp -o value used $pool`);
|
||||
$usnap = eval join('+',`zfs get -rHp -o value usedbysnapshots -tfilesystem $pool`);
|
||||
@zpool = split(' ', `zpool list -H $pool` || "");
|
||||
|
||||
if(scalar(@zpool) == 10) { # ZFS version 0.6.4+
|
||||
|
|
Loading…
Reference in New Issue