logwatch shows wrong temperature

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I am using the logwatch application and I note that the smartd deamon return wrong information: the temperature is not displayed in Celsius degree !
Is it a smartd problem or a logwatch problem ?
Is is possible to change the display ?
--------------------- Smartd Begin ------------------------
/dev/sda [SAT] :
Usage: Temperature_Celsius (194) changed to
116, 116, 115, 116, 117, 117, 116, 116, 115, 115, 114, 114,
115, 115, 114, 114,
/dev/sdb [SAT] :
Usage: Temperature_Celsius (194) changed to
102, 103, 104, 104, 105, 105, 104, 105, 104, 104, 105, 105,
106, 105, 104, 105, 104, 105, 104, 104, 103, 103, 102, 102,
103, 103,
/dev/sdc [SAT] :
Usage: Temperature_Celsius (194) changed to
101, 102, 102, 101, 101, 102, 101, 102, 102, 103, 103, 102,
103, 102, 102, 101, 101, 100, 100, 101, 101,
/dev/sdd [SAT] :
Usage: Temperature_Celsius (194) changed to
106, 106, 107, 108, 108, 107, 107, 106, 106, 107, 107, 108,
108, 107, 107, 108, 108, 107, 108, 107, 107, 106, 106, 105,
105, 106, 106, 105,
---------------------- Smartd End -------------------------
debian smart logwatch
add a comment |Â
up vote
0
down vote
favorite
I am using the logwatch application and I note that the smartd deamon return wrong information: the temperature is not displayed in Celsius degree !
Is it a smartd problem or a logwatch problem ?
Is is possible to change the display ?
--------------------- Smartd Begin ------------------------
/dev/sda [SAT] :
Usage: Temperature_Celsius (194) changed to
116, 116, 115, 116, 117, 117, 116, 116, 115, 115, 114, 114,
115, 115, 114, 114,
/dev/sdb [SAT] :
Usage: Temperature_Celsius (194) changed to
102, 103, 104, 104, 105, 105, 104, 105, 104, 104, 105, 105,
106, 105, 104, 105, 104, 105, 104, 104, 103, 103, 102, 102,
103, 103,
/dev/sdc [SAT] :
Usage: Temperature_Celsius (194) changed to
101, 102, 102, 101, 101, 102, 101, 102, 102, 103, 103, 102,
103, 102, 102, 101, 101, 100, 100, 101, 101,
/dev/sdd [SAT] :
Usage: Temperature_Celsius (194) changed to
106, 106, 107, 108, 108, 107, 107, 106, 106, 107, 107, 108,
108, 107, 107, 108, 108, 107, 108, 107, 107, 106, 106, 105,
105, 106, 106, 105,
---------------------- Smartd End -------------------------
debian smart logwatch
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am using the logwatch application and I note that the smartd deamon return wrong information: the temperature is not displayed in Celsius degree !
Is it a smartd problem or a logwatch problem ?
Is is possible to change the display ?
--------------------- Smartd Begin ------------------------
/dev/sda [SAT] :
Usage: Temperature_Celsius (194) changed to
116, 116, 115, 116, 117, 117, 116, 116, 115, 115, 114, 114,
115, 115, 114, 114,
/dev/sdb [SAT] :
Usage: Temperature_Celsius (194) changed to
102, 103, 104, 104, 105, 105, 104, 105, 104, 104, 105, 105,
106, 105, 104, 105, 104, 105, 104, 104, 103, 103, 102, 102,
103, 103,
/dev/sdc [SAT] :
Usage: Temperature_Celsius (194) changed to
101, 102, 102, 101, 101, 102, 101, 102, 102, 103, 103, 102,
103, 102, 102, 101, 101, 100, 100, 101, 101,
/dev/sdd [SAT] :
Usage: Temperature_Celsius (194) changed to
106, 106, 107, 108, 108, 107, 107, 106, 106, 107, 107, 108,
108, 107, 107, 108, 108, 107, 108, 107, 107, 106, 106, 105,
105, 106, 106, 105,
---------------------- Smartd End -------------------------
debian smart logwatch
I am using the logwatch application and I note that the smartd deamon return wrong information: the temperature is not displayed in Celsius degree !
Is it a smartd problem or a logwatch problem ?
Is is possible to change the display ?
--------------------- Smartd Begin ------------------------
/dev/sda [SAT] :
Usage: Temperature_Celsius (194) changed to
116, 116, 115, 116, 117, 117, 116, 116, 115, 115, 114, 114,
115, 115, 114, 114,
/dev/sdb [SAT] :
Usage: Temperature_Celsius (194) changed to
102, 103, 104, 104, 105, 105, 104, 105, 104, 104, 105, 105,
106, 105, 104, 105, 104, 105, 104, 104, 103, 103, 102, 102,
103, 103,
/dev/sdc [SAT] :
Usage: Temperature_Celsius (194) changed to
101, 102, 102, 101, 101, 102, 101, 102, 102, 103, 103, 102,
103, 102, 102, 101, 101, 100, 100, 101, 101,
/dev/sdd [SAT] :
Usage: Temperature_Celsius (194) changed to
106, 106, 107, 108, 108, 107, 107, 106, 106, 107, 107, 108,
108, 107, 107, 108, 108, 107, 108, 107, 107, 106, 106, 105,
105, 106, 106, 105,
---------------------- Smartd End -------------------------
debian smart logwatch
debian smart logwatch
edited Feb 3 '15 at 15:31
chaos
34.4k771114
34.4k771114
asked Feb 3 '15 at 15:24
Bertaud
135110
135110
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
0
down vote
smartd shows the raw value which is an 8-bit number, i.e. something between 0 and 255. These "Temperature_Celsius (194) changed" messages can usually be ignored.
With smartctl -H /dev/sdc (replace sdc with whatever disk you want to check) you can see all attributes, the last column is the "real" value (don't ask me why it's labelled "RAW_VALUE"). As the smartctl manpage says, Each vendor uses their own algorithm to convert this "Raw" value to a "Normalized" value in the range from 1 to 254.
Finally the question was how to display in the smartd log the temparature in Celcius degrees !
â Bertaud
Feb 5 '15 at 13:57
The smartd log is not useful for this. If you want to monitor the "real" temperature, get thehddtemputility.
â wurtel
Feb 6 '15 at 7:32
add a comment |Â
up vote
0
down vote
If you want to see the real temperature, you can adjust /etc/smartd.conf accordingly. One of the lines commented out says:
# Alternative setting to report more useful raw temperature in syslog.
# DEVICESCAN -R 194 -R 231 -I 9
The man page on smartd.conf even states what those IDs mean, and thus what that line stands for: include the raw (-R) values for the mentioned ID when reporting â and:
A common use of this Directive is to track the device Temperature (often ID=194 or 231).
Which explains those two numbers. The -I 9 is advising smartmon to ignore the device with that ID. And sorry, it doesn't say what device ID 9 might represent; all it says on this is
This is useful, for example, if one of the device Attributes is the disk temperature (usually Attribute 194 or 231). It's annoying to get reports each time the temperature changes.
You will need to restart the smartmon service for the changes to take effect (sudo service smartmontools restart), a reload seems not to be sufficient.
Note changes in that file affecting the smartmon service logging into your syslog. For the command line tool smartctl, please take a look at it's man page on how to achieve the same.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
smartd shows the raw value which is an 8-bit number, i.e. something between 0 and 255. These "Temperature_Celsius (194) changed" messages can usually be ignored.
With smartctl -H /dev/sdc (replace sdc with whatever disk you want to check) you can see all attributes, the last column is the "real" value (don't ask me why it's labelled "RAW_VALUE"). As the smartctl manpage says, Each vendor uses their own algorithm to convert this "Raw" value to a "Normalized" value in the range from 1 to 254.
Finally the question was how to display in the smartd log the temparature in Celcius degrees !
â Bertaud
Feb 5 '15 at 13:57
The smartd log is not useful for this. If you want to monitor the "real" temperature, get thehddtemputility.
â wurtel
Feb 6 '15 at 7:32
add a comment |Â
up vote
0
down vote
smartd shows the raw value which is an 8-bit number, i.e. something between 0 and 255. These "Temperature_Celsius (194) changed" messages can usually be ignored.
With smartctl -H /dev/sdc (replace sdc with whatever disk you want to check) you can see all attributes, the last column is the "real" value (don't ask me why it's labelled "RAW_VALUE"). As the smartctl manpage says, Each vendor uses their own algorithm to convert this "Raw" value to a "Normalized" value in the range from 1 to 254.
Finally the question was how to display in the smartd log the temparature in Celcius degrees !
â Bertaud
Feb 5 '15 at 13:57
The smartd log is not useful for this. If you want to monitor the "real" temperature, get thehddtemputility.
â wurtel
Feb 6 '15 at 7:32
add a comment |Â
up vote
0
down vote
up vote
0
down vote
smartd shows the raw value which is an 8-bit number, i.e. something between 0 and 255. These "Temperature_Celsius (194) changed" messages can usually be ignored.
With smartctl -H /dev/sdc (replace sdc with whatever disk you want to check) you can see all attributes, the last column is the "real" value (don't ask me why it's labelled "RAW_VALUE"). As the smartctl manpage says, Each vendor uses their own algorithm to convert this "Raw" value to a "Normalized" value in the range from 1 to 254.
smartd shows the raw value which is an 8-bit number, i.e. something between 0 and 255. These "Temperature_Celsius (194) changed" messages can usually be ignored.
With smartctl -H /dev/sdc (replace sdc with whatever disk you want to check) you can see all attributes, the last column is the "real" value (don't ask me why it's labelled "RAW_VALUE"). As the smartctl manpage says, Each vendor uses their own algorithm to convert this "Raw" value to a "Normalized" value in the range from 1 to 254.
answered Feb 3 '15 at 15:37
wurtel
9,50511324
9,50511324
Finally the question was how to display in the smartd log the temparature in Celcius degrees !
â Bertaud
Feb 5 '15 at 13:57
The smartd log is not useful for this. If you want to monitor the "real" temperature, get thehddtemputility.
â wurtel
Feb 6 '15 at 7:32
add a comment |Â
Finally the question was how to display in the smartd log the temparature in Celcius degrees !
â Bertaud
Feb 5 '15 at 13:57
The smartd log is not useful for this. If you want to monitor the "real" temperature, get thehddtemputility.
â wurtel
Feb 6 '15 at 7:32
Finally the question was how to display in the smartd log the temparature in Celcius degrees !
â Bertaud
Feb 5 '15 at 13:57
Finally the question was how to display in the smartd log the temparature in Celcius degrees !
â Bertaud
Feb 5 '15 at 13:57
The smartd log is not useful for this. If you want to monitor the "real" temperature, get the
hddtemp utility.â wurtel
Feb 6 '15 at 7:32
The smartd log is not useful for this. If you want to monitor the "real" temperature, get the
hddtemp utility.â wurtel
Feb 6 '15 at 7:32
add a comment |Â
up vote
0
down vote
If you want to see the real temperature, you can adjust /etc/smartd.conf accordingly. One of the lines commented out says:
# Alternative setting to report more useful raw temperature in syslog.
# DEVICESCAN -R 194 -R 231 -I 9
The man page on smartd.conf even states what those IDs mean, and thus what that line stands for: include the raw (-R) values for the mentioned ID when reporting â and:
A common use of this Directive is to track the device Temperature (often ID=194 or 231).
Which explains those two numbers. The -I 9 is advising smartmon to ignore the device with that ID. And sorry, it doesn't say what device ID 9 might represent; all it says on this is
This is useful, for example, if one of the device Attributes is the disk temperature (usually Attribute 194 or 231). It's annoying to get reports each time the temperature changes.
You will need to restart the smartmon service for the changes to take effect (sudo service smartmontools restart), a reload seems not to be sufficient.
Note changes in that file affecting the smartmon service logging into your syslog. For the command line tool smartctl, please take a look at it's man page on how to achieve the same.
add a comment |Â
up vote
0
down vote
If you want to see the real temperature, you can adjust /etc/smartd.conf accordingly. One of the lines commented out says:
# Alternative setting to report more useful raw temperature in syslog.
# DEVICESCAN -R 194 -R 231 -I 9
The man page on smartd.conf even states what those IDs mean, and thus what that line stands for: include the raw (-R) values for the mentioned ID when reporting â and:
A common use of this Directive is to track the device Temperature (often ID=194 or 231).
Which explains those two numbers. The -I 9 is advising smartmon to ignore the device with that ID. And sorry, it doesn't say what device ID 9 might represent; all it says on this is
This is useful, for example, if one of the device Attributes is the disk temperature (usually Attribute 194 or 231). It's annoying to get reports each time the temperature changes.
You will need to restart the smartmon service for the changes to take effect (sudo service smartmontools restart), a reload seems not to be sufficient.
Note changes in that file affecting the smartmon service logging into your syslog. For the command line tool smartctl, please take a look at it's man page on how to achieve the same.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
If you want to see the real temperature, you can adjust /etc/smartd.conf accordingly. One of the lines commented out says:
# Alternative setting to report more useful raw temperature in syslog.
# DEVICESCAN -R 194 -R 231 -I 9
The man page on smartd.conf even states what those IDs mean, and thus what that line stands for: include the raw (-R) values for the mentioned ID when reporting â and:
A common use of this Directive is to track the device Temperature (often ID=194 or 231).
Which explains those two numbers. The -I 9 is advising smartmon to ignore the device with that ID. And sorry, it doesn't say what device ID 9 might represent; all it says on this is
This is useful, for example, if one of the device Attributes is the disk temperature (usually Attribute 194 or 231). It's annoying to get reports each time the temperature changes.
You will need to restart the smartmon service for the changes to take effect (sudo service smartmontools restart), a reload seems not to be sufficient.
Note changes in that file affecting the smartmon service logging into your syslog. For the command line tool smartctl, please take a look at it's man page on how to achieve the same.
If you want to see the real temperature, you can adjust /etc/smartd.conf accordingly. One of the lines commented out says:
# Alternative setting to report more useful raw temperature in syslog.
# DEVICESCAN -R 194 -R 231 -I 9
The man page on smartd.conf even states what those IDs mean, and thus what that line stands for: include the raw (-R) values for the mentioned ID when reporting â and:
A common use of this Directive is to track the device Temperature (often ID=194 or 231).
Which explains those two numbers. The -I 9 is advising smartmon to ignore the device with that ID. And sorry, it doesn't say what device ID 9 might represent; all it says on this is
This is useful, for example, if one of the device Attributes is the disk temperature (usually Attribute 194 or 231). It's annoying to get reports each time the temperature changes.
You will need to restart the smartmon service for the changes to take effect (sudo service smartmontools restart), a reload seems not to be sufficient.
Note changes in that file affecting the smartmon service logging into your syslog. For the command line tool smartctl, please take a look at it's man page on how to achieve the same.
answered 10 mins ago
Izzy
1187
1187
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f182684%2flogwatch-shows-wrong-temperature%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password