On Fri, 2013-07-19 at 14:24 -0400, Andy Cress wrote: > Al, > > IMO, the entity name+num and the sensor name should be separate fields > so that this is not so confusing, i.e. insert a '|' delimiter between > the two.
I had actually not considered that. I programmed it like this b/c of a set of motherboards I saw from Dell. The Dell motherboards had multiple sensors with a device id of "Temp". So the entity sensor name option was created so that it would show: Processor 1 Temp Processor 2 Temp Separating it out into two fields was not as "pretty" in this case. I suppose an option to always output entity id + instance in a column could be an option. Al > Andy > > On Fri, Jul 19, 2013 at 2:16 PM, Hank Bruning <[email protected]> wrote: > > As usual Albert is correct. The root cause of this is IPMI. Note that it's > > note a problem, it's just the way IPMI works > > If you use a API, in this case Java > > http://www.jblade.com/JbDoc2/products/retuli/ipmiDC/doc/programmers/RetuliIpmiCXProgrammersGuideOverview.html > > It's under sensors reading or SDR repository. > > to interact with IPMI, there is no problem and you can interpret the output > > and act acccordingly. > > Hank Bruning > > > > > > On Fri, Jul 19, 2013 at 1:56 PM, Albert Chu <[email protected]> wrote: > >> > >> Hey Corey, > >> > >> It's not a bug per-se, it's more of an odd side effect b/c the entity > >> name + instance number happens to be identical to the device id on your > >> motherboard. In the case of "Power Supply 1 Power Supply 1" sensor > >> name, the entity name is "power supply", instance number "1", and device > >> id "power supply 1". > >> > >> In the case of "processor 1 fan 5", the entity name is "processor", > >> instance id "1", and device id "fan 5", so the entity sensor name works > >> out nicer. > >> > >> Hmmm, I suppose I could add a special case where if "entity-name + > >> instance" == "device id", then only output one of them. > >> > >> If I code such a thing, would you be able to try out a beta tar.gz? > >> > >> Al > >> > >> On Thu, 2013-07-18 at 20:47 -0700, Corey Osman wrote: > >> > Hi, > >> > > >> > Just curious as to why sensor #4-5 show Power Supply twice for the > >> > name. Is this a bug with freeipmi or my BMC? > >> > > >> > impi-sensors --entity-sensor-names --no-header-output > >> > --output-sensor-state > >> > > >> > > >> > > >> > Example sensor data: http://pastebin.com/bhWtBW73 > >> > > >> > > >> > > >> > Corey > >> > _______________________________________________ > >> > Freeipmi-devel mailing list > >> > [email protected] > >> > https://lists.gnu.org/mailman/listinfo/freeipmi-devel > >> -- > >> Albert Chu > >> [email protected] > >> Computer Scientist > >> High Performance Systems Division > >> Lawrence Livermore National Laboratory > >> > >> > >> > >> _______________________________________________ > >> Freeipmi-devel mailing list > >> [email protected] > >> https://lists.gnu.org/mailman/listinfo/freeipmi-devel > > > > > > > > _______________________________________________ > > Freeipmi-devel mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/freeipmi-devel > > -- Albert Chu [email protected] Computer Scientist High Performance Systems Division Lawrence Livermore National Laboratory _______________________________________________ Freeipmi-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/freeipmi-devel
