From 1d3482c65a00342de681e777c74108734ece0eab Mon Sep 17 00:00:00 2001 From: Peter Holik Date: Wed, 26 Mar 2008 13:48:09 +0100 Subject: [PATCH] sensors plugin: Simple fix for temperature sensors. Hi everybody! While playing with sensors i missed temperature rrd files: --- sensors.c.orig 2008-03-25 14:58:21.000000000 +0100 +++ sensors.c 2008-03-25 14:58:27.000000000 +0100 @@ -580,7 +580,7 @@ type = "fanspeed"; else if (fl->feature->type == SENSORS_FEATURE_TEMP) - type = "input"; + type = "temperature"; else continue; because this type got registered as input and "input" is not in types.db after configuring with --enable-debug i saw a log: No such dataset registered: input should that be also without --enable-debug in my syslog? cu Peter --- src/sensors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sensors.c b/src/sensors.c index a96e04cc..2a0a9ea5 100644 --- a/src/sensors.c +++ b/src/sensors.c @@ -580,7 +580,7 @@ static int sensors_read (void) type = "fanspeed"; else if (fl->feature->type == SENSORS_FEATURE_TEMP) - type = "input"; + type = "temperature"; else continue; -- 2.30.2