That generally seems to be the best way to do this.  I haven't tried 
this with ipmitool before, but freeipmi isn't too bad.  I wrote up an 
article on how to change thresholds using freeipmi and even make the 
server power off at a certain temperature.  The writeup is at 
http://tech.ryancox.net/2011/11/bmc-change-temperature-thresholds.html 
and was tested on 10G and 11G Dell servers.  If you go the freeipmi 
route, it should be pretty easy to correlate which sensors are which by 
using "ipmi-sensors-config -o" and looking at the thresholds.  Be aware 
that not all thresholds can be modified.  Hopefully that helps.

Ryan

On 01/06/2012 01:31 AM, harsha...@dell.com wrote:
> You can set the threashold with entity ID as reference.
>
> -Harsha S
>
> -----Original Message-----
> From: CSS [mailto:c...@morefoo.com]
> Sent: Friday, January 06, 2012 1:10 PM
> To: ipmitool-devel@lists.sourceforge.net
> Subject: [Ipmitool-devel] Setting thresholds on Dell R510
>
> Hello,
>
> I'm having trouble setting some thresholds on a Dell R510 using ipmitool.  My 
> main problem is that the "sdr" output shows many sensors with the same name 
> and different thresholds - for example, here are two of the temperature 
> sensors, including the one that needs the upper critical value set higher:
>
> Sensor ID              : Temp (0xc)
> Entity ID             : 8.1 (Memory Module)
> Sensor Type (Analog)  : Temperature
> Sensor Reading        : 48 (+/- 1) degrees C
> Status                : Upper Critical
> Nominal Reading       : 23.000
> Normal Minimum        : 11.000
> Normal Maximum        : 69.000
> Upper critical        : 47.000
> Upper non-critical    : 42.000
> Lower critical        : 3.000
> Lower non-critical    : 8.000
> Positive Hysteresis   : 1.000
> Negative Hysteresis   : 1.000
> Minimum sensor range  : Unspecified
> Maximum sensor range  : Unspecified
> Event Message Control : Per-threshold
> Readable Thresholds   : lcr lnc unc ucr
> Settable Thresholds   : lcr lnc unc ucr
> Threshold Read Mask   : lcr lnc unc ucr
> Event Status          : Event Messages Disabled
> Assertion Events      : unc+ ucr+
> Event Enable          : Event Messages Disabled
> Assertions Enabled    :
>
> Sensor ID              : Temp (0x5)
> Entity ID             : 10.1 (Power Supply)
> Sensor Type (Analog)  : Temperature
> Sensor Reading        : 42 (+/- 1) degrees C
> Status                : ok
> Nominal Reading       : 40.000
> Normal Minimum        : 11.000
> Normal Maximum        : 69.000
> Upper critical        : 100.000
> Upper non-critical    : 90.000
> Lower critical        : 0.000
> Lower non-critical    : 5.000
> Positive Hysteresis   : 1.000
> Negative Hysteresis   : 1.000
> Minimum sensor range  : Unspecified
> Maximum sensor range  : Unspecified
> Event Message Control : No Events From Sensor
> Readable Thresholds   : Thresholds Fixed
> Settable Thresholds   : Thresholds Fixed
> Event Status          : Event Messages Disabled
> Assertion Events      :
> Event Enable          : Event Messages Disabled
> Assertions Enabled    :
>
> Note they are both called "Temp".  They cannot be read or set as "Temp 
> (0xwhatever)".
>
> Is there any way to set the thresholds using the "Entity ID" or any other 
> identifier?
>
> I've seen others with the same issue on Dell boxes, but no answers.
>
> Thanks,
>
> Charles
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex 
> infrastructure or vast IT resources to deliver seamless, secure access to 
> virtual desktops. With this all-in-one solution, easily deploy virtual 
> desktops for less than the cost of PCs and save 60% on VDI infrastructure 
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Ipmitool-devel mailing list
> Ipmitool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Ipmitool-devel mailing list
> Ipmitool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ipmitool-devel


-- 
Ryan Cox
Systems Administrator
Fulton Supercomputing Lab
Brigham Young University

http://tech.ryancox.net


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to