Configure Technical Monitoring to react on Work Modes
After setting up the SAP Solution Manager 7.1 Monitoring and Alerting Infrastructure, you might decide to disable monitoring or switch off alerts during certain time intervals such as planned downtime or regular system maintenance. Technical Monitoring can react to the following types of Work Modes that are scheduled within the Work Mode Management or SAP IT Calendar application.
- Planned Downtime
- Maintenance
- Peak Business Hour
- Non-Peak Business Hours
- Non- Business Hours
Work Modes can be set up for Technical Systems, Hosts, Databases and Technical Scenarios. The configuration is possible at various levels within the Technical Monitoring set up steps. You can decide if you want to switch off complete technical monitoring or modify single metric thresholds of specific systems.
Level 1: Global Work Mode Configuration
You can maintain Work Mode Specific settings for monitoring during the monitoring setup on global level (Step 2.6 Work Mode settings). For each work mode, it is possible to define whether monitoring is enabled or not. This acts as a “global switch” for Monitoring.
For example, If “Monitoring Enabled “ flag is unchecked for planned downtime then for all Managed Objects Types monitoring and alerting is disabled when a “Planned Downtime” Work Mode is scheduled on the managed object.
Level 2: Template Level Configuration
In case, you decide that only auto-notifications/incidents needs to be disabled for specific work modes and specific templates then template level configuration is relevant. You can define whether automatic creation of notification or incidents is active or not per work mode on template level (Setup step 4 Template Maintenance – valid for System Monitoring only). Template level settings take priority over global settings.
For example, if you decide that monitoring needs to be enabled during planned downtime of a Technical System but only email notification should be switched off then
- In the setup step 2.6 global settings, ensure sure that “ Monitoring Enabled “ flag is checked for all work modes “
- For the custom template (Expert Mode), set the Auto Notification to Inactive status for only Planned Downtime. Refer to the screen shot below. If you need to make the Work Mode settings specific to Managed Object then template settings has to be set at the specific Managed Object level.
Level 3: Alert / Metric Level Configuration
If you decide that only certain alerts / metrics needs to be disabled during a specific work mode then you could focus on metric / alert level work mode configuration. You can define whether the measurement of individual metrics is active or inactive per work mode on each custom template. Also, thresholds can be adapted to work modes. Alert level settings take priority over Template Level settings
For example, if you decide that the threshold value of “Average Dialog Response Time (last hour)“ metric needs to be changed only for “Peak Business Hour “ work mode then
- In the setup step 2.6 global settings, ensure sure that “Monitoring Enabled “flag is checked for all work modes.
- For the custom template ( Expert Mode ) – go to the tab Metrics and select the Metric “Average Dialog Response Time (last hour)“ and click on Change settings
- In the details for the Metric, go to the tab Thresholds.
- In the Work mode specific threshold settings, select the work mode from the drop down list and configure the threshold settings.
- After you have changed metric settings, save the custom template.
- Assign the custom template to a system as needed.
Related links:
EEM and Workmodes
http://wiki.sdn.sap.com/wiki/display/EEM/Workmodes+of+managed+systems
http://wiki.sdn.sap.com/wiki/display/EEM/Workmodes+for+EEM+Scripts
Hello Vikas ,
Very nice eplanation .
How we can maintain 2 work modes(planned downtime ,Peak business hours ) for one template(for custom thresholds ) .
Hi Ratna,
Thanks for the feedback.
Your question is not very clear to me. As described in the blog above level 3 , you could maintain different threshold for each metric for different work modes.
Example: Average dialog respontime threshold can be different for Peak Business Hour and Non-Peak Business Houre.
refer to the last step above.
regards,
Vikas
Hi Vikas,
We have SLT monitoring for a SID ABC and we have another SID DEF.
Whenever DEF is down, we get ABC availability alerts for SLT.
How can we set work mode for this alert/system.
Thanks,
UV
We have SLT monitoring for a SID ABC and we have another SID DEF. Whenever DEF is down, we get ABC availability alerts for SLT. How can we set work mode for this alert/system. Thanks, UV