Skip Core X temp sensors

No need to monitor them, as long as we already monitor the CPU temp
This commit is contained in:
Daniel Berteaud 2020-02-25 18:33:17 +01:00
parent 35f1623c5f
commit 30a4e4a15d

View File

@ -256,6 +256,11 @@ if ($lmsensor && -x $lmsensor){
next SENSOR;
}
if ($name =~ m/^Core\s+\d+/){
print "Skipping individual core sensor $name\n";
next SENSOR;
}
if ($thr =~ m/high\s+=\s+\+(\d+(\.\d+)?)/){
$sensor->{threshold_high} = $1;
}