Open hoshi-sano opened 10 years ago
Interesting... How does one know the differences between the sensor data then? I use the name as the unique key so I could see how this doesn't work but why would a manufacture use the same sensor name twice?
About the only solution I can think of is combining the sensor name sensor type to a new unique key and use the name as a different field. How are you using the discrete values? Aka. why do you need this?
example:
Sensor['keyname'] = 'discrete-sensorname'
Hi. I'm using
rubyipmi
and am troubled.At a certain environment,
Rubyipmi::Ipmitool::Sensors#getsensors
returns the data like below.When I execute
Rubyipmi::Ipmitool::Sensors#list
at this environment, only "discrete" values are returned. (0x1, 0x0, 0x0, ...) BecauseRubyipmi::Ipmitool::Sensors#parse
overwritesSensor
that have same name.I want to get both of "threshold data" (the former in above example) and "discrete data" by
Rubyipmi::Ipmitool::Sensors#list
. Do you have the plan improving this?Thanks!