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

Setting Overrides on all relevant Rules and Monitors

$
0
0

Can someone please help me with the following question? I was reading the post below (I believe written byCameronFuller) detailing some best practice around overrides. It stated if you override a ‘parameter’ for one rule/monitor (e.g. let’s say a parameter dealing with a threshold) you should override the parameter for ‘all’ rules and monitors 'that use this parameter'. More information from the post below

Make sure that an overridden parameter is set for every rule and for every monitor that uses the parameter

When you override a parameter, make sure that the parameter is configured for each rule that uses the parameter and for each monitor that uses the parameter. There may be more than one rule or monitor that uses the particular parameter. For example, the following rules and monitors use theIntersite Expected Max Latency parameter: Monitors

  • AD Replication Monitoring

Rules

  • AD Replication Performance Collection - Metric Replication Latency
  • AD Replication Performance Collection - Metric Replication Latency: Maximum
  • AD Replication Performance Collection - Metric Replication Latency: Minimum
  • AD Replication Performance Collection - Metric Replication Latency: Average

Now my question is:

How do I discovery all the rules/monitors that are using this particular ‘parameter’?

For example using either PowerShell or SQL query. If PowerShell I assume you would have to use Get-Rule or Get-SCOMRule with the –Criteria filter. Does anyone have an example please?

As a side note I could do the following in PowerShell as one way to find all cmdlets what use the –path parameter as one of their parameters

Get-Command -CommandType cmdlet | where {$_.parameters.keys -eq "path"}

So to recap: As above if I want to set an override on ‘Intersite Expected Max Latency’ for a given rule or monitor how do I find all other rules/monitors also use‘Intersite Expected Max Latency’ as I can override these too?

Thanks All

AAnotherUser__


AAnotherUser__


Viewing all articles
Browse latest Browse all 11941

Trending Articles



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