Re: [Freeipmi-users] Duplicate Sensors on a Dell PowerEdge R310

2012-08-13 Thread Al Chu
  As you can see, sensor 36 and 48 are duplicated. IMHO that shouldn't
  happen. I guess it's something Dell specific.

A number of Dell motherboards have this behavior.  Dell lists multiple
sensors by the same device name and expects the user software to
construct a more usable sensor name using other information on the
system.  In FreeIPMI, I implement this as an option called
--entity-sensor-names.  It'd be interesting to see if this works for
you.

 Is there anything I could do to help to get that fixed? Like
 offering additional
 information.

It'd be interesting to see the debug output (--debug).  Please limit it
to the record ids 36  48 by specifying -r 36,48.

Al


 Hi guys,
 
 there are duplicates on the mentioned system:
 
 # /usr/sbin/ipmi-sensors -h 10.0.0.178 --config-file 
 /etc/icinga/ipmi.cfg --quiet-cache --sdr-cache-recreate --interpret-oem-data 
 --output-sensor-state --ignore-not-available-sensors
 ID  | Name | Type | State| 
 Reading| Units | Event
 7   | Ambient Temp | Temperature  | Nominal  | 25.00  
 | C | 'OK'
 9   | CMOS Battery | Battery  | Nominal  | N/A
 | N/A   | 'OK'
 11  | VCORE PG | Voltage  | Nominal  | N/A
 | N/A   | 'State Deasserted'
 12  | CPU1 0.75 VTT PG | Voltage  | Nominal  | N/A
 | N/A   | 'State Deasserted'
 13  | 1.8V AUX PG  | Voltage  | Nominal  | N/A
 | N/A   | 'State Deasserted'
 14  | PS PG| Voltage  | Nominal  | N/A
 | N/A   | 'State Deasserted'
 15  | Riser2 5V PG | Voltage  | Nominal  | N/A
 | N/A   | 'State Deasserted'
 16  | Riser1 5V PG | Voltage  | Nominal  | N/A
 | N/A   | 'State Deasserted'
 17  | CPU1 MEM FAIL| Voltage  | Nominal  | N/A
 | N/A   | 'State Deasserted'
 18  | CPU1 VTT FAIL| Voltage  | Nominal  | N/A
 | N/A   | 'State Deasserted'
 19  | 1.05V AUX PG | Voltage  | Nominal  | N/A
 | N/A   | 'State Deasserted'
 20  | 1.8V PLL CPU1 PG | Voltage  | Nominal  | N/A
 | N/A   | 'State Deasserted'
 21  | 1.2V LOM FAIL| Voltage  | Nominal  | N/A
 | N/A   | 'State Deasserted'
 22  | 1.2V AUX FAIL| Voltage  | Nominal  | N/A
 | N/A   | 'State Deasserted'
 23  | 1.05V PG | Voltage  | Nominal  | N/A
 | N/A   | 'State Deasserted'
 24  | FAN MOD 1A RPM   | Fan  | Nominal  | 
 5880.00| RPM   | 'OK'
 25  | FAN MOD 1B RPM   | Fan  | Nominal  | 
 4800.00| RPM   | 'OK'
 26  | FAN MOD 2A RPM   | Fan  | Nominal  | 
 5880.00| RPM   | 'OK'
 27  | FAN MOD 2B RPM   | Fan  | Nominal  | 
 4800.00| RPM   | 'OK'
 28  | FAN MOD 3A RPM   | Fan  | Nominal  | 
 4560.00| RPM   | 'OK'
 29  | FAN MOD 3B RPM   | Fan  | Nominal  | 
 3360.00| RPM   | 'OK'
 30  | FAN MOD 4A RPM   | Fan  | Nominal  | 
 5040.00| RPM   | 'OK'
 31  | FAN MOD 4B RPM   | Fan  | Nominal  | 
 3480.00| RPM   | 'OK'
 32  | FAN MOD 5A RPM   | Fan  | Nominal  | 
 5040.00| RPM   | 'OK'
 33  | FAN MOD 5B RPM   | Fan  | Nominal  | 
 3480.00| RPM   | 'OK'
 34  | Presence | Entity Presence  | Nominal  | N/A
 | N/A   | 'Entity Present'
 35  | Heatsink Pres| Entity Presence  | Nominal  | N/A
 | N/A   | 'Entity Present'
 36  | iDRAC6 Ent Pres  | Entity Presence  | Critical | N/A
 | N/A   | 'Entity Absent'
 37  | Presence | Entity Presence  | Nominal  | N/A
 | N/A   | 'Entity Present'
 38  | Presence | Entity Presence  | Nominal  | N/A
 | N/A   | 'Entity Present'
 39  | Presence | Entity Presence  | Nominal  | N/A
 | N/A   | 'Entity Present'
 40  | USB Cable Pres   | Entity Presence  | Nominal  | N/A
 | N/A   | 'Entity Present'
 41  | Riser2 Pres  | Entity Presence  | Nominal  | N/A
 | N/A   | 'Entity Present'
 42  | Riser1 Pres  | Entity Presence  | Nominal  | N/A
 | N/A   | 'Entity Present'
 44  | Status   | Processor| Nominal  | N/A
 | N/A   | 'Processor Presence detected'
 45  | Status   | Power Supply | Nominal  | N/A
 | 

Re: [Freeipmi-users] Duplicate Sensors on a Dell PowerEdge R310

2012-08-13 Thread Albert Chu

On Mon, 2012-08-13 at 11:30 -0700, Christian Ruppert wrote:
 Hi Albert,
 
 On 08/13/12 at 08:02AM -0700, Al Chu wrote:
As you can see, sensor 36 and 48 are duplicated. IMHO that shouldn't
happen. I guess it's something Dell specific.
  
  A number of Dell motherboards have this behavior.  Dell lists multiple
  sensors by the same device name and expects the user software to
  construct a more usable sensor name using other information on the
  system.  In FreeIPMI, I implement this as an option called
  --entity-sensor-names.  It'd be interesting to see if this works for
  you.
  
 
 With that option it's named System Board iDRAC6 Ent Pres for both sensors.
 
   Is there anything I could do to help to get that fixed? Like
   offering additional
   information.
  
  It'd be interesting to see the debug output (--debug).  Please limit it
  to the record ids 36  48 by specifying -r 36,48.
  
 
 I attached the requested details.

It looks like Dell just elected to name the sensors the same.  Not sure
why Dell would do that, but definitely not a bug on the FreeIPMI side.
I think you'd have to ping Dell to ask them why they do this.

Al

  Al
  
  
   Hi guys,
   
   there are duplicates on the mentioned system:
   
   # /usr/sbin/ipmi-sensors -h 10.0.0.178 --config-file 
   /etc/icinga/ipmi.cfg --quiet-cache --sdr-cache-recreate 
   --interpret-oem-data --output-sensor-state --ignore-not-available-sensors
   ID  | Name | Type | State| 
   Reading| Units | Event
   7   | Ambient Temp | Temperature  | Nominal  | 
   25.00  | C | 'OK'
   9   | CMOS Battery | Battery  | Nominal  | 
   N/A| N/A   | 'OK'
   11  | VCORE PG | Voltage  | Nominal  | 
   N/A| N/A   | 'State Deasserted'
   12  | CPU1 0.75 VTT PG | Voltage  | Nominal  | 
   N/A| N/A   | 'State Deasserted'
   13  | 1.8V AUX PG  | Voltage  | Nominal  | 
   N/A| N/A   | 'State Deasserted'
   14  | PS PG| Voltage  | Nominal  | 
   N/A| N/A   | 'State Deasserted'
   15  | Riser2 5V PG | Voltage  | Nominal  | 
   N/A| N/A   | 'State Deasserted'
   16  | Riser1 5V PG | Voltage  | Nominal  | 
   N/A| N/A   | 'State Deasserted'
   17  | CPU1 MEM FAIL| Voltage  | Nominal  | 
   N/A| N/A   | 'State Deasserted'
   18  | CPU1 VTT FAIL| Voltage  | Nominal  | 
   N/A| N/A   | 'State Deasserted'
   19  | 1.05V AUX PG | Voltage  | Nominal  | 
   N/A| N/A   | 'State Deasserted'
   20  | 1.8V PLL CPU1 PG | Voltage  | Nominal  | 
   N/A| N/A   | 'State Deasserted'
   21  | 1.2V LOM FAIL| Voltage  | Nominal  | 
   N/A| N/A   | 'State Deasserted'
   22  | 1.2V AUX FAIL| Voltage  | Nominal  | 
   N/A| N/A   | 'State Deasserted'
   23  | 1.05V PG | Voltage  | Nominal  | 
   N/A| N/A   | 'State Deasserted'
   24  | FAN MOD 1A RPM   | Fan  | Nominal  | 
   5880.00| RPM   | 'OK'
   25  | FAN MOD 1B RPM   | Fan  | Nominal  | 
   4800.00| RPM   | 'OK'
   26  | FAN MOD 2A RPM   | Fan  | Nominal  | 
   5880.00| RPM   | 'OK'
   27  | FAN MOD 2B RPM   | Fan  | Nominal  | 
   4800.00| RPM   | 'OK'
   28  | FAN MOD 3A RPM   | Fan  | Nominal  | 
   4560.00| RPM   | 'OK'
   29  | FAN MOD 3B RPM   | Fan  | Nominal  | 
   3360.00| RPM   | 'OK'
   30  | FAN MOD 4A RPM   | Fan  | Nominal  | 
   5040.00| RPM   | 'OK'
   31  | FAN MOD 4B RPM   | Fan  | Nominal  | 
   3480.00| RPM   | 'OK'
   32  | FAN MOD 5A RPM   | Fan  | Nominal  | 
   5040.00| RPM   | 'OK'
   33  | FAN MOD 5B RPM   | Fan  | Nominal  | 
   3480.00| RPM   | 'OK'
   34  | Presence | Entity Presence  | Nominal  | 
   N/A| N/A   | 'Entity Present'
   35  | Heatsink Pres| Entity Presence  | Nominal  | 
   N/A| N/A   | 'Entity Present'
   36  | iDRAC6 Ent Pres  | Entity Presence  | Critical | 
   N/A| N/A   | 'Entity Absent'
   37  | Presence | Entity Presence  | Nominal  | 
   N/A| N/A   | 'Entity Present'
   38  | Presence | Entity Presence  | Nominal  | 
   N/A| N/A   | 'Entity Present'
   39  | Presence |