Hi,

By "IPMI web server seems to know that", I would assume the vendor has a
web interface on the service process you can access.  And that web
service presumably says "sensor disabled" or something like that when
you try to see a sensor reading?

There are various error codes and settings within a sensor reading to
that IPMI can send to indicate the sensor is down/unavailable.  FreeIPMI
should be handling these and not returning a sensor reading to the user
if appropriate.

However, if FreeIPMI (and I'm assuming its a recent version) is not
outputting that the sensor is unavailable, then there is a chance the
sensor is returning a valid value successfully (b/c it's most common to
get an error code).  It's possible the vendor may be getting information
outside of IPMI to determine a sensor is unavailable.

There's always a chance I've missed something.  Can look further if
you're interested.

Thanks,

Al

On Mon, 2017-07-31 at 16:48 +0000, Ludwinski, Richard D wrote:
> I am wondering how you can determine if a sensor is active/enabled
> using freeIPMI library.
> 
> When the server is powered off the sensors are not active/enabled.
> The IPMI web server seems to know that.  When the server is powered
> on, the web server then show the status correctly.  But when I am
> using the freeIPMI library and reading the sensors I do not know how
> to determine if the data I am reading is valid or not.  Any help in
> pointing to the correct command(s) would be appreciated.
> 
> Thank you,
> 
> Richard Ludwinski
> The Boeing Company
> _______________________________________________
> Freeipmi-users mailing list
> Freeipmi-users@gnu.org
> https://lists.gnu.org/mailman/listinfo/freeipmi-users

-- 
Albert Chu
ch...@llnl.gov
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory



_______________________________________________
Freeipmi-users mailing list
Freeipmi-users@gnu.org
https://lists.gnu.org/mailman/listinfo/freeipmi-users

Reply via email to