FreeNAS-scripts icon indicating copy to clipboard operation
FreeNAS-scripts copied to clipboard

get-system-temps.pl "Argument "36.0C" isn't numeric in numeric le (<=) at get-system-temps.pl line 152"

Open weust1979 opened this issue 4 years ago • 0 comments

Seems the perl script add C hard coded while the output from sysctl is already showing the C, resulting in the below error per CPU core:

=== CPU (16) === Argument "38.0C" isn't numeric in numeric le (<=) at get-system-temps.pl line 152. CPU 0: 38.0CC Argument "38.0C" isn't numeric in numeric le (<=) at get-system-temps.pl line 152. CPU 1: 38.0CC Argument "38.0C" isn't numeric in numeric le (<=) at get-system-temps.pl line 152. CPU 2: 38.0CC Argument "38.0C" isn't numeric in numeric le (<=) at get-system-temps.pl line 152. CPU 3: 38.0CC Argument "36.0C" isn't numeric in numeric le (<=) at get-system-temps.pl line 152. CPU 4: 36.0CC Argument "37.0C" isn't numeric in numeric le (<=) at get-system-temps.pl line 152. CPU 5: 37.0CC Argument "36.0C" isn't numeric in numeric le (<=) at get-system-temps.pl line 152. CPU 6: 36.0CC Argument "36.0C" isn't numeric in numeric le (<=) at get-system-temps.pl line 152. CPU 7: 36.0CC Argument "37.0C" isn't numeric in numeric le (<=) at get-system-temps.pl line 152. CPU 8: 37.0CC Argument "37.0C" isn't numeric in numeric le (<=) at get-system-temps.pl line 152. CPU 9: 37.0CC Argument "37.0C" isn't numeric in numeric le (<=) at get-system-temps.pl line 152. CPU 10: 37.0CC Argument "37.0C" isn't numeric in numeric le (<=) at get-system-temps.pl line 152. CPU 11: 37.0CC Argument "38.0C" isn't numeric in numeric le (<=) at get-system-temps.pl line 152. CPU 12: 38.0CC Argument "38.0C" isn't numeric in numeric le (<=) at get-system-temps.pl line 152. CPU 13: 38.0CC Argument "36.0C" isn't numeric in numeric le (<=) at get-system-temps.pl line 152. CPU 14: 36.0CC Argument "36.0C" isn't numeric in numeric le (<=) at get-system-temps.pl line 152. CPU 15: 36.0CC

weust1979 avatar Oct 18 '21 12:10 weust1979