mirror of https://github.com/mikaku/Monitorix.git
fixed messages of argument isn't numeric in addition at fs.pm in lines 650 and 684
This commit is contained in:
parent
a08e05c44a
commit
2d9507062b
6
Changes
6
Changes
|
@ -4,6 +4,12 @@
|
||||||
- Fixed regexp that prevented collecting LOADPCT and ITEMP values in 'apcupsd'
|
- Fixed regexp that prevented collecting LOADPCT and ITEMP values in 'apcupsd'
|
||||||
module.
|
module.
|
||||||
(thanks to Patrick Fallberg, patrick AT fallberg.net)
|
(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
|
3.5.1 - 06-May-2014
|
||||||
|
|
|
@ -623,6 +623,7 @@ sub fs_update {
|
||||||
$use = ($used * 100) / ($used + $free) unless $used + $free == 0;
|
$use = ($used * 100) / ($used + $free) unless $used + $free == 0;
|
||||||
} elsif($f) {
|
} elsif($f) {
|
||||||
my $pid;
|
my $pid;
|
||||||
|
@tmp = (0) x 10;
|
||||||
eval {
|
eval {
|
||||||
local $SIG{'ALRM'} = sub {
|
local $SIG{'ALRM'} = sub {
|
||||||
if($pid) {
|
if($pid) {
|
||||||
|
|
Loading…
Reference in New Issue