logwatch shows wrong temperature

The name of the pictureThe name of the pictureThe name of the pictureClash 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 -------------------------









share|improve this question



























    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 -------------------------









    share|improve this question

























      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 -------------------------









      share|improve this question















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 3 '15 at 15:31









      chaos

      34.4k771114




      34.4k771114










      asked Feb 3 '15 at 15:24









      Bertaud

      135110




      135110




















          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.






          share|improve this answer




















          • 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

















          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.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            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






























            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.






            share|improve this answer




















            • 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














            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.






            share|improve this answer




















            • 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












            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.






            share|improve this answer












            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.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            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 the hddtemp utility.
              – 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










            • 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















            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












            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.






            share|improve this answer
























              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.






              share|improve this answer






















                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.






                share|improve this answer












                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 10 mins ago









                Izzy

                1187




                1187



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    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













































































                    Popular posts from this blog

                    Peggy Mitchell

                    Palaiologos

                    The Forum (Inglewood, California)