Quantcast
Channel: Operations Manager - General forum
Viewing all articles
Browse latest Browse all 11941

Alert forwarding triggers mail notification

$
0
0

Hi.

I have configured a new product connector to forward alerts from SCOM to JIRA. The connector works fine, but every time I forward an alert to connector using "Forward to" command from alert context menu, it triggers mail notification subscription when connector processes alert. The connector code does not modify alert in any explicit way: just retrieves alerts using GetMonitoringAlerts method of connector and then acknowledges recieved alerts with AcknowledgeMonitoringAlerts call (see code snippet below). At the same time I can see "Alert modified by user" comment added to alert's history at forwarding time. Mail notification subscription is configured to pick up all critical alerts with "New" resolution state.

Is this an expected behaviour? I don't really want to spam operators with unnecessary mail every time an alert gets forwarded to an external system. Any ideas what can cause the issue and how to avoid it?

Thanks!

while( $true )
{
   $alerts = $conn.GetMonitoringAlerts()
   if ($alerts.Count -gt 0)
   {
      $conn.AcknowledgeMonitoringAlerts($( Get-Date ))
      foreach( $alert in $alerts )
      {
         .... send alert info to JIRA ...
      }
   }
   Start-Sleep 60
}


Gleb.



Viewing all articles
Browse latest Browse all 11941

Trending Articles



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