Quantcast
Channel: ProLiant Servers (ML,DL,SL) topics
Viewing all articles
Browse latest Browse all 10362

ilorest: get temperature sensor reading

$
0
0

I am new to ilorest.  I would like to get the current reading of a temperature sensor on the box.

This could get me all the Fans and Temperatures:
curl -X GET https://<ilo_ip>/redfish/v1/chassis/1/thermal 

Anyone knows if the API to get a specific sensor's reading?  E.g. Temperatures, Number 5

I found this from the doc, but I cannot get it to work properly:
https://hewlettpackard.github.io/ilo-rest-api-docs/ilo4/?shell#temperatures-array-item-context

Temperatures[array-item].CurrentReading
JSONPath: /Temperatures/(array index)/CurrentReading (read only integer)
The current reading of the temperature sensor.

Thanks!


Viewing all articles
Browse latest Browse all 10362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>