Commit 2921ea3d authored by josch09's avatar josch09

coretemp-isa-0000 fix for new output

parent a2f9efe4
2018/06/13 - now on gitlab.com
- new sensor added: asus-isa-0000
- coretemp-isa-0000 fix for new output
2015/11/19 - fixed issues with rrdtool 1.5.0 and higher, rrdtool no
no longer likes ':' in some places
......
......@@ -351,6 +351,9 @@ sub fun_coretempisa000
if (/Core \d+\:\s+\+(\d+)\.{0,1}(\d){0,1}/o) {
@$temp[$valid] = $1 * 10 + $2;
++$valid;
} elsif (/Package id \d+\:\s+\+(\d+)\.{0,1}(\d){0,1}/o) {
@$temp[$valid] = $1 * 10 + $2;
++$valid;
} elsif (/Physical id \d+\:\s+\+(\d+)\.{0,1}(\d){0,1}/o) {
@$temp[$valid] = $1 * 10 + $2;
++$valid;
......
......@@ -92,6 +92,7 @@ cd ../testdata3
sleep 1
####################################################
DATABASEDIR=../testout ../../rrd_health.pl TEST asus-isa-0000
DATABASEDIR=../testout ../../rrd_health.pl TEST coretemp-isa-0000::5
DATABASEDIR=../testout ../../rrd_health.pl TEST k8temp-pci-00c3
DATABASEDIR=../testout ../../rrd_health.pl TEST k8temp-pci-00c3::2
DATABASEDIR=../testout ../../rrd_health.pl TEST w83627ehf-isa-0290
......
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +51.0°C (high = +84.0°C, crit = +100.0°C)
Core 0: +49.0°C (high = +84.0°C, crit = +100.0°C)
Core 1: +47.0°C (high = +84.0°C, crit = +100.0°C)
Core 2: +48.0°C (high = +84.0°C, crit = +100.0°C)
Core 3: +44.0°C (high = +84.0°C, crit = +100.0°C)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment