fixed messages of argument isn't numeric in addition at fs.pm in lines 650 and 684

This commit is contained in:
Jordi Sanfeliu 2014-05-15 11:06:39 +02:00
parent a08e05c44a
commit 2d9507062b
2 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,12 @@
- Fixed regexp that prevented collecting LOADPCT and ITEMP values in 'apcupsd'
module.
(thanks to Patrick Fallberg, patrick AT fallberg.net)
- Fixed to show the filesystem name when Monitorix is unable to detect its
device name.
- Fixed messages of argument isn't numeric in addition at fs.pm in lines 650 and
684. This happened if one of the filesystems defined is not a real mount
point with an associated device name.
(thanks to Andreas Itzchak Rehberg, izzy AT qumran.org for pointing this out)
3.5.1 - 06-May-2014

View File

@ -623,6 +623,7 @@ sub fs_update {
$use = ($used * 100) / ($used + $free) unless $used + $free == 0;
} elsif($f) {
my $pid;
@tmp = (0) x 10;
eval {
local $SIG{'ALRM'} = sub {
if($pid) {