<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ilorest: get temperature sensor reading in Server Management - Remote Server Management</title>
    <link>https://community.hpe.com/t5/server-management-remote-server/ilorest-get-temperature-sensor-reading/m-p/7067037#M8504</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Occasional-Visitor lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;Please refer below steps &amp;amp; link&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Table 2: HPE ProLiant Management Command Line Interface Utility (hpasmcli)&lt;BR /&gt;Description hpasmcli iLORest&lt;BR /&gt;Clear the IML log. hpasmcli -s "clear iml" ilorest serverlogs --&lt;BR /&gt;selectlog=IML --clearlog&lt;BR /&gt;Repair IML entry #30. hpasmcli -s "repair iml&lt;BR /&gt;30"&lt;BR /&gt;ilorest serverlogs --&lt;BR /&gt;selectlog=IML --repair&lt;BR /&gt;30&lt;BR /&gt;Disable Automatic Server&lt;BR /&gt;Recovery.&lt;BR /&gt;hpasmcli -s "disable&lt;BR /&gt;asr"&lt;BR /&gt;ilorest set&lt;BR /&gt;AsrStatus=Disabled --&lt;BR /&gt;selector=Bios. --commit&lt;BR /&gt;Enable Wake On LAN BIOS&lt;BR /&gt;setting.&lt;BR /&gt;hpasmcli -s "enable wol" ilorest set&lt;BR /&gt;WakeOnLan=Enabled --&lt;BR /&gt;selector=Bios. --commit&lt;BR /&gt;Set the ASR Timeout to 15&lt;BR /&gt;minutes.&lt;BR /&gt;hpasmcli -s "set asr 15" ilorest set&lt;BR /&gt;AsrTimeoutMinutes=15 --&lt;BR /&gt;selector=Bios. --commit&lt;BR /&gt;Show the status of the fans. hpasmcli -s "show fans" ilorest serverinfo --&lt;BR /&gt;fans&lt;BR /&gt;Show the temperature sensors. hpasmcli -s "show temp" ilorest serverinfo --&lt;BR /&gt;thermals&lt;BR /&gt;Show the Power supply status. Hpasmcli -s "show&lt;BR /&gt;powersupply"&lt;BR /&gt;ilorest serverinfo --&lt;BR /&gt;power&lt;/P&gt;&lt;P&gt;Transition to the RESTful Interface Tool&lt;BR /&gt;(iLORest)&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.hpe.com/hpsc/doc/public/display?docId=a00061427en_us" target="_blank" rel="noopener"&gt;https://support.hpe.com/hpsc/doc/public/display?docId=a00061427en_us&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://hewlettpackard.github.io/python-redfish-utility/#overview" target="_blank" rel="noopener"&gt;https://hewlettpackard.github.io/python-redfish-utility/#overview&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vinod Rawat&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2019 11:31:04 GMT</pubDate>
    <dc:creator>Vinod_R</dc:creator>
    <dc:date>2019-10-21T11:31:04Z</dc:date>
    <item>
      <title>ilorest: get temperature sensor reading</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/ilorest-get-temperature-sensor-reading/m-p/7066387#M8503</link>
      <description>&lt;P&gt;I am new to ilorest. &amp;nbsp;I would like to get the current reading of a temperature sensor on the box.&lt;/P&gt;&lt;P&gt;This could get me all the Fans and Temperatures:&lt;BR /&gt;curl -X GET https://&amp;lt;ilo_ip&amp;gt;/redfish/v1/chassis/1/thermal&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone knows if the API to get a specific sensor's reading? &amp;nbsp;E.g. Temperatures, Number 5&lt;/P&gt;&lt;P&gt;I found this from the doc, but I cannot get it to work properly:&lt;BR /&gt;&lt;A href="https://hewlettpackard.github.io/ilo-rest-api-docs/ilo4/?shell#temperatures-array-item-context" target="_blank" rel="noopener"&gt;https://hewlettpackard.github.io/ilo-rest-api-docs/ilo4/?shell#temperatures-array-item-context&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Temperatures[array-item].CurrentReading&lt;BR /&gt;&lt;STRONG&gt;JSONPath&lt;/STRONG&gt;: /Temperatures/(array index)/CurrentReading (read only integer)&lt;BR /&gt;The current reading of the temperature sensor.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 20:38:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/ilorest-get-temperature-sensor-reading/m-p/7066387#M8503</guid>
      <dc:creator>yomiko</dc:creator>
      <dc:date>2019-10-14T20:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: ilorest: get temperature sensor reading</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/ilorest-get-temperature-sensor-reading/m-p/7067037#M8504</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Occasional-Visitor lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;Please refer below steps &amp;amp; link&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Table 2: HPE ProLiant Management Command Line Interface Utility (hpasmcli)&lt;BR /&gt;Description hpasmcli iLORest&lt;BR /&gt;Clear the IML log. hpasmcli -s "clear iml" ilorest serverlogs --&lt;BR /&gt;selectlog=IML --clearlog&lt;BR /&gt;Repair IML entry #30. hpasmcli -s "repair iml&lt;BR /&gt;30"&lt;BR /&gt;ilorest serverlogs --&lt;BR /&gt;selectlog=IML --repair&lt;BR /&gt;30&lt;BR /&gt;Disable Automatic Server&lt;BR /&gt;Recovery.&lt;BR /&gt;hpasmcli -s "disable&lt;BR /&gt;asr"&lt;BR /&gt;ilorest set&lt;BR /&gt;AsrStatus=Disabled --&lt;BR /&gt;selector=Bios. --commit&lt;BR /&gt;Enable Wake On LAN BIOS&lt;BR /&gt;setting.&lt;BR /&gt;hpasmcli -s "enable wol" ilorest set&lt;BR /&gt;WakeOnLan=Enabled --&lt;BR /&gt;selector=Bios. --commit&lt;BR /&gt;Set the ASR Timeout to 15&lt;BR /&gt;minutes.&lt;BR /&gt;hpasmcli -s "set asr 15" ilorest set&lt;BR /&gt;AsrTimeoutMinutes=15 --&lt;BR /&gt;selector=Bios. --commit&lt;BR /&gt;Show the status of the fans. hpasmcli -s "show fans" ilorest serverinfo --&lt;BR /&gt;fans&lt;BR /&gt;Show the temperature sensors. hpasmcli -s "show temp" ilorest serverinfo --&lt;BR /&gt;thermals&lt;BR /&gt;Show the Power supply status. Hpasmcli -s "show&lt;BR /&gt;powersupply"&lt;BR /&gt;ilorest serverinfo --&lt;BR /&gt;power&lt;/P&gt;&lt;P&gt;Transition to the RESTful Interface Tool&lt;BR /&gt;(iLORest)&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.hpe.com/hpsc/doc/public/display?docId=a00061427en_us" target="_blank" rel="noopener"&gt;https://support.hpe.com/hpsc/doc/public/display?docId=a00061427en_us&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://hewlettpackard.github.io/python-redfish-utility/#overview" target="_blank" rel="noopener"&gt;https://hewlettpackard.github.io/python-redfish-utility/#overview&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vinod Rawat&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 11:31:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/ilorest-get-temperature-sensor-reading/m-p/7067037#M8504</guid>
      <dc:creator>Vinod_R</dc:creator>
      <dc:date>2019-10-21T11:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: ilorest: get temperature sensor reading</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/ilorest-get-temperature-sensor-reading/m-p/7067390#M8506</link>
      <description>&lt;P&gt;I ran this in interactive mode which should return both the "Sensor Number" and ReadingCelsius"&lt;/P&gt;&lt;P&gt;for everything under "Temperatures". &amp;nbsp;However, it only returned one (the last) item I requested (ReadingCelsius").&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;iLOrest &amp;gt; get Temperatures/SensorNumber Temperatures/ReadingCelsius

Temperatures=

              ReadingCelsius=25

              ReadingCelsius=40&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This looks like a bug since I was able to select and display multiple properties from "ComputerSystem"&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;iLOrest &amp;gt; select ComputerSystem.
iLOrest &amp;gt; get MemorySummary/Status MemorySummary/TotalSystemMemoryGiB AssetTag
AssetTag=""
MemorySummary=
               Status=
                       HealthRollup=OK
               TotalSystemMemoryGiB=32&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 21:12:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/ilorest-get-temperature-sensor-reading/m-p/7067390#M8506</guid>
      <dc:creator>yomiko</dc:creator>
      <dc:date>2019-10-23T21:12:54Z</dc:date>
    </item>
  </channel>
</rss>

