Menu

#31 Multi-line lm_sensors-output not handled

open
nobody
None
5
2005-08-30
2005-08-30
No

The lm_sensors sensor of superkaramba can't handle
sensors when the output has been broken into two lines.
This appearantly happens (at least for me) when the
sensor name is too long to fit before the value row.
The sensors program will then output the name of the
sensor on a seperate line, while the values line is on
the following line. The expected behaviour would of
course be normal operation - i.e. that the sensor value
is shown as normal. However this is not the case,
instead the sensor fails to show up at all.

The attached patch fixes the problem for me. I don't
think it breaks anything else, though I am not at all
sure about the FreeBSD-part... But it makes the sensors
show up as expected on my system.

Discussion

  • Toke Høiland-Jørgensen

    Patch to fix parsing of multi-line lm_sensors output

     
  • Toke Høiland-Jørgensen

    Sample of multi-line lm_sensors output

     
  • Toke Høiland-Jørgensen

    Logged In: YES
    user_id=956990

    Here attached is a sample of the lm_sensors output from my
    system.

     

Log in to post a comment.