Fix for #945, cpu temperature is signed. (#965)
Fix for #945, cpu temperature is signed. (#965)

* Fix for #945, cpu temperature is signed.

Added a type conversion to cpu temperature sysctl.  Will still
collect/report -1 when the value is -1, this is because it should be up
to interpretation whether this is the correct value for the system or
not.

Some drivers will report -1 for cpu temperature.  Other sensors will
report "an input into the fan control algorithm", i.e. not the actual
temperature, but how much fan it wants.  Some people cool their machines
with liquid nitrogen.

Signed-off-by: Derek Marcotte <2b34ee4d709d87a8c0ead0c7f448bdaacb6f7d31@razorfever.net>
prometheus/node_exporter,siavashs/node_exporter,prometheus/node_exporter,derekmarcotte/node_exporter,derekmarcotte/node_exporter,siavashs/node_exporter,siavashs/node_exporter,derekmarcotte/node_exporter,prometheus/node_exporter,siavashs/node_exporter,derekmarcotte/node_exporter