Sunday, 24 July 2016

System Center Operations Manager 2012 R2 - Configuring Rules & Monitors - Part 6

Hello Everyone,

In this blog, I will try to explain about Rules & Monitors and how to configure them. By default, some of the rules & monitors are enabled but some are not enabled for monitoring. To monitor required service or applications etc, You must overrides respective rules & monitors to enable monitoring.

Part 1: To see SCOM Prerequisites & Installation Process, Click Here!

Part 2: To see SCOM Post configurations, Click Here!

Part 3: To see SCOM Console Overview, Click Here!

Part 4: To see SCOM Agent Installation Process, Click Here! 

Part 5: To see PRO-Tips configuration between SCVMM & SCOM, Click Here! 

Let's start with understanding about Monitors & Rules in SCOM...


ABOUT MONITOR:


Monitors are used to calculate the Health status of any object which is monitored by SCOM. This helps in identify the health status of monitored objects like:

  • Healthy State (Green Icon) - This state defines that Agent or Management Servers are running normally with no issue.

  • Warning State (Yellow Icon) - This state defines that defines that there is some alert which needs to check like disk space about to finish, memory/CPU utilisation is high or some other service related warning alerts.

  • Critical State (Red Icon) - This state needs higher attention as it indicates that there is problem with either communicating with agent or particular monitored object has some issue or any critical service is down etc.

  • Unknown State with Grey Icon: This state indicates that Management Server is not receiving heartbeats from the agent. Earlier agent was responding but later it stop responding due to which it states changed to grey icon.

  • Unknown State with Green Circle only (No Green Tick mark within circle): This indicates that there is no monitor available for the discovered item.
 There are basically three types of Monitors are available:


  • Unit Monitor: Used for checking a performance counter to determine the performance of the application, running a script to perform a synthetic transaction, or watch for an event that indicates an error. Classes will typically have multiple unit monitors targeted at them to test different features of the application and to monitor for different problems.

  • Dependencies Monitor: These monitors are depend on health state of another monitor health.


  • Aggregates Monitor: This provides unique health status of different classes by combining health state of similar monitors.



ABOUT RULES:


Rules are certain functions, logic's or formulas which is used to evaluate and generate data for monitored objects which is used for analysis & reporting.

There are three main purposes of Rules:
  • Alerting Rules: This creates an alert based on any event which detected by agent.

  • Collection Rules: These Rules only collect data for performance monitoring of object and store them in SCOM Database & Data warehouse. This rule does not generate any alert or set any health state.

  • Command Rules: These are customised rules which uses scripts & run on particular schedule which is set by admin for any particular task. 

How to check Health Status of any monitored object:


To check Health state of any monitored object, Go to Monitoring Tab, Expand Monitoring and Click on Active Alerts:


Right Click on any alert, Click on Open and then click on Health Explorer:


New window will open with complete health status and overall summary details, You can find the root cause for issue by & expanding & clicking on this issued filter:


If You click on State Change Event then this will show the detail of status changed with Date & Time and current last status:



This is how You can check the health status of any monitored object. This will also help to understand the issue root cause & how to troubleshoot the same.

How to Enable or Disable any Monitor or Rule using Overrides:


To enable or disable any monitor or rule, same process is followed so I will show You for only one i.e. Rule.

Open Authoring Tab, Expand Authoring, Expand Management Pack Objects & Click on Rules:


Right Click on any rule which You want to Enable or Disable, Click on Overrides, Click on Override the Rule & select appropriate option as per your requirement:



Enable the rule by tick mark on Override column and set the override value:


NOTE: You can also enable other rules and set values as per requirements like Interval etc.

Then Select either default management pack or create custom management pack to override this rule and click on apply & OK:


This is how any Rule or Monitor is Enabled. For enabling Monitor, instead of Rules, Click on Monitor:


Rest all process is same.

To disable any Monitor or Rule, You have to choose Disable the Monitor or rule instead of override the Monitor or rule:



This is all about configuring Monitor & Rules. You can also create custom Monitor or Rules as per requirement which I will in my next blog post.

Happy Reading!!!

If You like my post then follow my updates:

Join my Facebook group for updates on trending technologies/technical references/issues etc:

https://www.facebook.com/groups/technicalskillsenhancementworld/


No comments:

Post a Comment