<?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: OneView - Clearing Alerts via PowerShell based on Alert &amp;quot;Description&amp;quot; in HPE Synergy</title>
    <link>https://community.hpe.com/t5/hpe-synergy/oneview-clearing-alerts-via-powershell-based-on-alert-quot/m-p/7224146#M1947</link>
    <description>&lt;P&gt;&lt;SPAN&gt;The specified ETag does not match the current ETag of the alert. Specify a valid ETag for the alert.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;this is from different Language settings for date Time .&lt;/P&gt;&lt;P&gt;i was able to resolve the alerts after changing the language for Date Time to Englich/US. My Oneview is english and my workstation ist german, that gives diefferent eTag (Date Time strings from the Alert)&lt;/P&gt;&lt;P&gt;type&amp;nbsp;&amp;nbsp;"Get-OVAlert -AlertState Active | select eTag" there you can see only the etags from the alerts. if they are not in english/us you have to change the language settings in your windows system.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Aug 2024 06:43:19 GMT</pubDate>
    <dc:creator>Joerg_Luebkert</dc:creator>
    <dc:date>2024-08-30T06:43:19Z</dc:date>
    <item>
      <title>OneView - Clearing Alerts via PowerShell based on Alert "Description"</title>
      <link>https://community.hpe.com/t5/hpe-synergy/oneview-clearing-alerts-via-powershell-based-on-alert-quot/m-p/7182460#M1232</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I currently use PowerShell command to clear Locked alerts when necessary, but I need the ability to clear alerts based on the Name/Description of the alert.&lt;/P&gt;&lt;P&gt;Get-OVServer | Get-OVAlert -State Locked | Set-OVAlert -Cleared&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above works, but I need to define the alert based on the name to clear specific alerts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the below, with no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-OVServer | Get-OVAlert -Description "Overall security status of the system is at risk" -State Active | Set-OVAlert -Cleared&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be great! Also, it needs to be PowerShell.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 19:17:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-synergy/oneview-clearing-alerts-via-powershell-based-on-alert-quot/m-p/7182460#M1232</guid>
      <dc:creator>gcj2021</dc:creator>
      <dc:date>2023-02-09T19:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: OneView - Clearing Alerts via PowerShell based on Alert "Description"</title>
      <link>https://community.hpe.com/t5/hpe-synergy/oneview-clearing-alerts-via-powershell-based-on-alert-quot/m-p/7182492#M1233</link>
      <description>&lt;P&gt;The only way to accomplish this is with the following 1-liner:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Get-OVServer | Get-OVAlert -State Active | ? description -eq "Overall security status of the system is at risk" | Set-OVAlert -Cleared -Notes "Clearing locked alert from PowerShell by $($ConnectedSessions.Username)"&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 09 Feb 2023 18:49:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-synergy/oneview-clearing-alerts-via-powershell-based-on-alert-quot/m-p/7182492#M1233</guid>
      <dc:creator>ChrisLynch</dc:creator>
      <dc:date>2023-02-09T18:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: OneView - Clearing Alerts via PowerShell based on Alert "Description"</title>
      <link>https://community.hpe.com/t5/hpe-synergy/oneview-clearing-alerts-via-powershell-based-on-alert-quot/m-p/7182497#M1234</link>
      <description>&lt;P&gt;Thanks Chris! Works well.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 19:15:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-synergy/oneview-clearing-alerts-via-powershell-based-on-alert-quot/m-p/7182497#M1234</guid>
      <dc:creator>gcj2021</dc:creator>
      <dc:date>2023-02-09T19:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: OneView - Clearing Alerts via PowerShell based on Alert "Description"</title>
      <link>https://community.hpe.com/t5/hpe-synergy/oneview-clearing-alerts-via-powershell-based-on-alert-quot/m-p/7182503#M1235</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/2039879"&gt;@gcj2021&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Awesome!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are glad to know your concern has been addressed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 03:50:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-synergy/oneview-clearing-alerts-via-powershell-based-on-alert-quot/m-p/7182503#M1235</guid>
      <dc:creator>Sunitha_Mod</dc:creator>
      <dc:date>2023-02-10T03:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: OneView - Clearing Alerts via PowerShell based on Alert "Description"</title>
      <link>https://community.hpe.com/t5/hpe-synergy/oneview-clearing-alerts-via-powershell-based-on-alert-quot/m-p/7210233#M1743</link>
      <description>&lt;P&gt;Any idea why this is not working? I've a few servers with disk errors (false alarms as this now happens on all server with PCIe NVMes after update)&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;# Get-OVServer | Get-OVAlert -State Active | ? description -like "The status of the PCIe disk at location*"&lt;/P&gt;&lt;P&gt;Severity Resource Created Modified State AssignedToUser Description&lt;BR /&gt;-------- -------- ------- -------- ----- -------------- -----------&lt;BR /&gt;Warning kdev0112 Sun 17 Mar 2024 10:05:04 Sun 17 Mar 2024 10:05:04 Active The status of the PCIe disk at location Embedded:Port=4A:Box=1:Bay=2 is deg…&lt;BR /&gt;Warning kdev0113 Mon 18 Mar 2024 11:21:43 Mon 18 Mar 2024 11:21:43 Active The status of the PCIe disk at location Embedded:Port=4A:Box=1:Bay=2 is deg…&lt;BR /&gt;Warning kdev0114 Mon 18 Mar 2024 18:32:35 Mon 18 Mar 2024 18:32:35 Active The status of the PCIe disk at location Embedded:Port=3A:Box=1:Bay=4 is deg…&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Not sure what this etag is, pretty new to OV + pwsh.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;# Get-OVServer | Get-OVAlert -State Active | ? description -like "The status of the PCIe disk at location*" | Set-OVAlert -Cleared&lt;BR /&gt;Set-OVAlert: [Send-OVRequest]: The specified ETag does not match the current ETag of the alert. Specify a valid ETag for the alert.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Note parameter is also not accepted. HPEOneView.850 used.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Get-OVServer -Name kdev0112* | Get-OVAlert -State Active | ? description -like "The status of the PCIe disk at location*" | Set-OVAlert -Cleared -Notes "test"&lt;BR /&gt;Set-OVAlert: Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I was able to clear other types like below sucessfully.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;# Get-OVServer | Get-OVAlert -State Active | ? description -like "Platform Configuration Register(PCR)*" | Set-OVAlert -Cleared&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Mon, 25 Mar 2024 15:24:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-synergy/oneview-clearing-alerts-via-powershell-based-on-alert-quot/m-p/7210233#M1743</guid>
      <dc:creator>pirx</dc:creator>
      <dc:date>2024-03-25T15:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: OneView - Clearing Alerts via PowerShell based on Alert "Description"</title>
      <link>https://community.hpe.com/t5/hpe-synergy/oneview-clearing-alerts-via-powershell-based-on-alert-quot/m-p/7224146#M1947</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The specified ETag does not match the current ETag of the alert. Specify a valid ETag for the alert.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;this is from different Language settings for date Time .&lt;/P&gt;&lt;P&gt;i was able to resolve the alerts after changing the language for Date Time to Englich/US. My Oneview is english and my workstation ist german, that gives diefferent eTag (Date Time strings from the Alert)&lt;/P&gt;&lt;P&gt;type&amp;nbsp;&amp;nbsp;"Get-OVAlert -AlertState Active | select eTag" there you can see only the etags from the alerts. if they are not in english/us you have to change the language settings in your windows system.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 06:43:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-synergy/oneview-clearing-alerts-via-powershell-based-on-alert-quot/m-p/7224146#M1947</guid>
      <dc:creator>Joerg_Luebkert</dc:creator>
      <dc:date>2024-08-30T06:43:19Z</dc:date>
    </item>
  </channel>
</rss>

