<?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 REST API to get Active alerts in HPE OneView</title>
    <link>https://community.hpe.com/t5/hpe-oneview/rest-api-to-get-active-alerts/m-p/7034872#M3913</link>
    <description>&lt;P&gt;Trying to just pull out the active alerts using the following:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ACTIVE=$(curl --insecure \
              --header "X-API-Version: ${currentVersion}" \
              --header "auth: ${sessionID}" \
              --request GET ${OneView}/rest/alerts?start=0&amp;amp;count=-1&amp;amp;filter="alertState EQ 'Active'")&lt;/PRE&gt;&lt;P&gt;However, getting back a lot with alertState set to "Cleared."&amp;nbsp; Is something wrong with my syntax?&lt;/P&gt;</description>
    <pubDate>Fri, 15 Feb 2019 11:03:22 GMT</pubDate>
    <dc:creator>BradV</dc:creator>
    <dc:date>2019-02-15T11:03:22Z</dc:date>
    <item>
      <title>REST API to get Active alerts</title>
      <link>https://community.hpe.com/t5/hpe-oneview/rest-api-to-get-active-alerts/m-p/7034872#M3913</link>
      <description>&lt;P&gt;Trying to just pull out the active alerts using the following:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ACTIVE=$(curl --insecure \
              --header "X-API-Version: ${currentVersion}" \
              --header "auth: ${sessionID}" \
              --request GET ${OneView}/rest/alerts?start=0&amp;amp;count=-1&amp;amp;filter="alertState EQ 'Active'")&lt;/PRE&gt;&lt;P&gt;However, getting back a lot with alertState set to "Cleared."&amp;nbsp; Is something wrong with my syntax?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2019 11:03:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/rest-api-to-get-active-alerts/m-p/7034872#M3913</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2019-02-15T11:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to get Active alerts</title>
      <link>https://community.hpe.com/t5/hpe-oneview/rest-api-to-get-active-alerts/m-p/7034887#M3915</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1179670"&gt;@BradV&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Small correction to your APU invocation. You may want to use the below with curl, the URL Encoded values for the special characters such as single quote and double quotes.&lt;BR /&gt;GET http://localhost/rest/alerts?start=0&amp;amp;coun=-1&amp;amp;filter=%22alertState+EQ+%27Active%27%22&lt;BR /&gt;&lt;BR /&gt;Will let the alerts team respond on the functional issue you are asking about.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bhaskar&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2019 13:14:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/rest-api-to-get-active-alerts/m-p/7034887#M3915</guid>
      <dc:creator>BhaskarV</dc:creator>
      <dc:date>2019-02-15T13:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to get Active alerts</title>
      <link>https://community.hpe.com/t5/hpe-oneview/rest-api-to-get-active-alerts/m-p/7034889#M3917</link>
      <description>&lt;P&gt;Yes.&amp;nbsp; That worked better.&amp;nbsp; :)&lt;/P&gt;&lt;P&gt;Is that in the documentation?&amp;nbsp; The REST API reference for version 800 and the /rest/alerts does not mention it (unless I missed it?).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2019 13:38:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/rest-api-to-get-active-alerts/m-p/7034889#M3917</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2019-02-15T13:38:37Z</dc:date>
    </item>
  </channel>
</rss>

