<?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: Clearing SEL Fullness via Redfish API in Unified Computing System (UCS)</title>
    <link>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4873605#M71</link>
    <description>&lt;P&gt;Just to confirm the 2nd endpoint worked and cleared the SEL log?&amp;nbsp; Or it still accepts the request but doesn't actually clear the SEL log?&amp;nbsp; If it is still not working the other thing you can try is a different s3260 specific endpoint '&lt;SPAN class="relpos" data-width="233.145935"&gt;/redfish/v1/Chassis/&lt;/SPAN&gt;&lt;SPAN class="relpos" data-width="35.731876"&gt;CMC&lt;/SPAN&gt;&lt;SPAN class="relpos" data-width="303.591248"&gt;/LogServices/SEL/Actions/LogService.ClearLog' to see if that makes any difference.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="relpos" data-width="303.591248"&gt;If its still not clearing with valid redfish commands it sounds like TAC may need to investigate issues with the firmware&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2023 14:20:10 GMT</pubDate>
    <dc:creator>Brian Morrissey</dc:creator>
    <dc:date>2023-07-13T14:20:10Z</dc:date>
    <item>
      <title>Clearing SEL Fullness via Redfish API</title>
      <link>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4872777#M64</link>
      <description>&lt;P&gt;Hello, I am wondering if anyone can direct me to any additional information on exactly how to process an http request with any specific parameters that will clear SEL Fullness in the Cisco IMC. I have attempted to use documented steps with LogService.ClearLog but it does not appear to process, and the logs do not clear. Per the Developer's page this is what I have attempted to process:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;curl -GET &lt;/SPAN&gt;&lt;A style="color: #0058b9; text-decoration: underline; font-family: Calibri, sans-serif; font-size: 14.666667px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" title="https://urldefense.com/v3/__https://192.168.200.155/redfish/v1/Chassis/Server1/LogServices/SEL/Actions/LogService.ClearLog__;!!Hit2Ag!x7kCxwzJdDDkiXr1mVK29DCz9ZEuyfrrr4E8ETHoCTN0jL3k_HRwVz14Sxn_EGkpqvgIM7crTlnvMIk$" href="https://urldefense.com/v3/__https://192.168.200.155/redfish/v1/Chassis/Server1/LogServices/SEL/Actions/LogService.ClearLog__;!!Hit2Ag!x7kCxwzJdDDkiXr1mVK29DCz9ZEuyfrrr4E8ETHoCTN0jL3k_HRwVz14Sxn_EGkpqvgIM7crTlnvMIk$" target="_blank" rel="noopener" data-ogsc=""&gt;https://10.10.10.10/redfish/v1/Chassis/Server1/LogServices/SEL/Actions/LogService.ClearLog&lt;/A&gt;&lt;SPAN&gt; -d '{}' -u admin:XXXXXXXXX --insecure -v&lt;BR /&gt;&lt;BR /&gt;Response:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;*&amp;nbsp;&amp;nbsp; Trying 10.10.10.10:443...&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;* Connected to 10.10.10.10 (10.10.10.10) port 443 (#0)&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;* ALPN: offers h2,http/1.1&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;* could not load PEM client certificate from T, OpenSSL error error:80000002:system library::No such file or directory, (no key found, wrong pass phrase, or wrong file format?)&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;* Closing connection 0&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;curl: (58) could not load PEM client certificate from T, OpenSSL error error:80000002:system library::No such file or directory, (no key found, wrong pass phrase, or wrong file format?)&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Fault Entries:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;curl -k -u admin:XXXXXXXXX &lt;A href="https://urldefense.com/v3/__https://192.168.200.155/redfish/v1/Managers/CIMC/LogServices/Fault/Entries__;!!Hit2Ag!x7kCxwzJdDDkiXr1mVK29DCz9ZEuyfrrr4E8ETHoCTN0jL3k_HRwVz14Sxn_EGkpqvgIM7crlcHyQ60$" target="_blank" rel="noopener" data-ogsc=""&gt;https://10.10.10.10/redfish/v1/Managers/CIMC/LogServices/Fault/Entries&lt;/A&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;{&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp; "@odata.count":"1",&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp; "Members":[{&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Name":"Log Entry 1",&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Id":1,&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "MessageId":"F0462",&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Message":"SEL_FULLNESS: System Event log is Full: Clear the log",&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "EntryType":"Fault",&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Description":"Log Entry 1",&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Created":"2022-10-04T08:30:48",&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "@odata.id":"/redfish/v1/Managers/CIMC/LogServices/Fault/Entries/1",&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Severity":"1"&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }],&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp; &lt;A href="mailto:Members@odata.count" target="_blank" rel="noopener" data-ogsc=""&gt;Members@odata.count&lt;/A&gt;:1,&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp; "@odata.type":"#LogEntry.1.0.0.LogEntryCollection",&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp; "@odata.id":"/redfish/v1/Managers/CIMC/LogServices/Fault/Entries",&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp; "@odata.context":"/redfish/v1/$metadata#Managers/Members/$entity/LogServices/Members/$entity/Entries"&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 19:23:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4872777#M64</guid>
      <dc:creator>nsargent</dc:creator>
      <dc:date>2023-07-12T19:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing SEL Fullness via Redfish API</title>
      <link>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4872822#M65</link>
      <description>&lt;P&gt;On a C220 M5 running 4.2(3b) this worked for me:&lt;/P&gt;
&lt;P&gt;curl -k -u admin &lt;A href="https://cimc_ip/redfish/v1/Managers/CIMC/LogServices/SEL/Actions/LogService.ClearLog" target="_blank"&gt;https://cimc_ip/redfish/v1/Managers/CIMC/LogServices/SEL/Actions/LogService.ClearLog&lt;/A&gt; -d '{}'&lt;/P&gt;
&lt;P&gt;I think what happened with yours is when you use curl with -GET it's combining the flags -G (get) and -E (use client certificate) and T (name of certificate file on your machine)&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 20:59:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4872822#M65</guid>
      <dc:creator>Brian Morrissey</dc:creator>
      <dc:date>2023-07-12T20:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing SEL Fullness via Redfish API</title>
      <link>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4873495#M66</link>
      <description>&lt;P&gt;Hi Brian,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the response. I see the response does go through, and I have experienced this before, but the logs never actually get cleared. Here is the end of the verbose response:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt; &lt;BR /&gt;&amp;lt; HTTP/1.1 200&lt;BR /&gt;&amp;lt; Server: nginx&lt;BR /&gt;&amp;lt; Date: Thu, 13 Jul 2023 12:26:07 GMT&lt;BR /&gt;&amp;lt; Content-Type: application/json&lt;BR /&gt;&amp;lt; Content-Length: 0&lt;BR /&gt;&amp;lt; Connection: keep-alive&lt;BR /&gt;&amp;lt; &lt;BR /&gt;* Excess found: excess = 1 url = /redfish/v1/Managers/CIMC/LogServices/SEL/Actions/LogService.ClearLog (zero-length body)&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 12:28:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4873495#M66</guid>
      <dc:creator>nsargent</dc:creator>
      <dc:date>2023-07-13T12:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing SEL Fullness via Redfish API</title>
      <link>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4873505#M67</link>
      <description>&lt;P&gt;Do you have the server model and firmware version handy?&amp;nbsp; I've seen some differences between m4 and m5 generations or with platforms like the s3260s&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 12:36:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4873505#M67</guid>
      <dc:creator>Brian Morrissey</dc:creator>
      <dc:date>2023-07-13T12:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing SEL Fullness via Redfish API</title>
      <link>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4873508#M68</link>
      <description>&lt;P&gt;Okay for whatever reason, the path:&lt;/P&gt;
&lt;P&gt;/redfish/v1/Managers/CIMC/LogServices/SEL/Actions/LogService.ClearLog&lt;/P&gt;
&lt;P&gt;does not work, but I was able to execute the clear log under:&lt;/P&gt;
&lt;P&gt;redfish/v1/Chassis/Server1/LogServices/SEL/Actions/LogService.ClearLog&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The response still had a 0 length header with a 1 byte response (the excess noted at the end).&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 12:41:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4873508#M68</guid>
      <dc:creator>nsargent</dc:creator>
      <dc:date>2023-07-13T12:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing SEL Fullness via Redfish API</title>
      <link>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4873547#M69</link>
      <description>&lt;P&gt;UCS s3260&lt;BR /&gt;I believe it's an m4. And the firmware is 4.1(3d), although I did look via Redfish and it's saying 3.0(4j) and it's saying that on all my servers which can't be right.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 13:18:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4873547#M69</guid>
      <dc:creator>nsargent</dc:creator>
      <dc:date>2023-07-13T13:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing SEL Fullness via Redfish API</title>
      <link>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4873551#M70</link>
      <description>&lt;P&gt;i stand corrected. it is actually 3.0(4j) ... though the m5's are on 4.1(3d) evidently.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 13:24:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4873551#M70</guid>
      <dc:creator>nsargent</dc:creator>
      <dc:date>2023-07-13T13:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing SEL Fullness via Redfish API</title>
      <link>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4873605#M71</link>
      <description>&lt;P&gt;Just to confirm the 2nd endpoint worked and cleared the SEL log?&amp;nbsp; Or it still accepts the request but doesn't actually clear the SEL log?&amp;nbsp; If it is still not working the other thing you can try is a different s3260 specific endpoint '&lt;SPAN class="relpos" data-width="233.145935"&gt;/redfish/v1/Chassis/&lt;/SPAN&gt;&lt;SPAN class="relpos" data-width="35.731876"&gt;CMC&lt;/SPAN&gt;&lt;SPAN class="relpos" data-width="303.591248"&gt;/LogServices/SEL/Actions/LogService.ClearLog' to see if that makes any difference.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="relpos" data-width="303.591248"&gt;If its still not clearing with valid redfish commands it sounds like TAC may need to investigate issues with the firmware&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 14:20:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4873605#M71</guid>
      <dc:creator>Brian Morrissey</dc:creator>
      <dc:date>2023-07-13T14:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing SEL Fullness via Redfish API</title>
      <link>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4874521#M72</link>
      <description>&lt;P&gt;Yes, the 2nd endpoint ended up working for this M4.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 12:41:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-computing-system-ucs/clearing-sel-fullness-via-redfish-api/m-p/4874521#M72</guid>
      <dc:creator>nsargent</dc:creator>
      <dc:date>2023-07-14T12:41:18Z</dc:date>
    </item>
  </channel>
</rss>

