From 2d9507062b523d1ee843dda0cebdda3b51fae564 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Thu, 15 May 2014 11:06:39 +0200 Subject: [PATCH] fixed messages of argument isn't numeric in addition at fs.pm in lines 650 and 684 --- Changes | 6 ++++++ lib/fs.pm | 1 + 2 files changed, 7 insertions(+) diff --git a/Changes b/Changes index 0ebf24a..9f0e07b 100644 --- a/Changes +++ b/Changes @@ -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 diff --git a/lib/fs.pm b/lib/fs.pm index 42cb2e4..0a799e8 100644 --- a/lib/fs.pm +++ b/lib/fs.pm @@ -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) {