Skip Core X temp sensors

No need to monitor them, as long as we already monitor the CPU temp
tags/zabbix-agent-addons-0.2.114-1
Daniel Berteaud 5 years ago
parent 35f1623c5f
commit 30a4e4a15d
  1. 5
      zabbix_scripts/util_generate_sensors_ini

@ -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;
}

Loading…
Cancel
Save