From 30cda07b5038c2f09c4e35b8af3c3af4b41285aa Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Tue, 4 Jun 2013 14:51:56 +0200 Subject: [PATCH] Fixed a bug that prevented from seeing stats in the 'nfss' graph --- Changes | 8 +++++++- lib/nfss.pm | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index c833785..5712d6d 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,8 @@ +3.N.N - NN-XXX-2013 +==================== +- Fixed a bug that prevented from seeing stats in the 'nfss' graph. + + 3.2.1 - 03-Jun-2013 ==================== - Changed the source from where is collected the memory usage in the 'squid' @@ -14,7 +19,8 @@ aren't permanently connected to the system. - Updated the 'monitorix.service' file. [#20] (thanks to Christopher Meng, rpm AT cicku.me) -- Fixed a bug that prevented seeing the Core temperatures in the 'lmsens' graph. +- Fixed a bug that prevented from seeing the Core temperatures in the 'lmsens' + graph. (thanks to Bryan Guidroz, bryanguidroz AT hotmail.com) - Fixed a typo and escaped a pair of hyphens in the monitorix.conf(5) man page. diff --git a/lib/nfss.pm b/lib/nfss.pm index 9f4428a..58d3663 100644 --- a/lib/nfss.pm +++ b/lib/nfss.pm @@ -200,7 +200,7 @@ sub nfss_update { if(/^rpc\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$/) { @rpc = ($1, $2, $3, $4, $5); } - my $version = ""; + my $version = $nfss->{version}; $version = "4ops" if $nfss->{version} eq "4"; if(/^proc$version /) { my @tmp = split(' ', $_);