Manage application exceptions
MainView Alarm Management
can help you manage application exceptions by setting alarms on important
MainView
metrics.
Alarms eliminate the need to monitor views constantly to find exception conditions. Instead, exceptions can be displayed automatically on a single screen. By responding to the alarms, you can proactively address small problems before they become big problems--often before users are even aware of the problem. Alarms also provide a path to automation because exception events can be sent to MainView AutoOPERATOR.
To set an alarm on a view field
- Choose a metric from a table in Important-MainView-metrics.
- Display the view listed in the table.
- Use the MAKEALARM wizard to create the alarm definition.
- Activate the alarm definition.
- Optionally, use the deployment wizard to deploy the alarm definition to multiple systems.
For more information about alarms and the wizards, see the
- Online Help
- Using-Alarm-Management
Best practices for alarms
Use the following Best Practices to effectively use alarms in your event management strategy:
Set alarms judiciously
- Set alarms only for conditions that require intervention; do not set alarms for informational purposes. Raising a lot of insignificant alarms might result in all alarms being ignored, and clutters the exception displays with irrelevant information.
- Reduce false alarms by using reasonable thresholds and alarm persistence to ignore short-term exceptions due to data anomalies.
Avoid unnecessary alarm overhead
Specify the predefined SSI context CURRSYS in the Context field of the alarm definition.
This context reduces the number of records processed by MainView Alarm Management, and lets you install the alarm definition on multiple LPARs without having to change the alarm definition.
Avoid setting alarms on views that supply hundreds or thousands of records, such as the following views:
- Device views in MainView for z/OS
- Transaction views in MainView for CICS
- Thread views in MainView for DB2
- Queue views in MainView for MQ
If you have to set alarms on these views (and there are instances when you should), set the frequency of the alarm to at least 60 seconds, and preferably to 120 seconds or more.
- Use an alarm frequency of 60 seconds to avoid excessive alarms.
Make alarms more effective
- Avoid setting alarms on interval views. If possible, set alarms from real-time views. Real-time views use a smaller, rolling sample set to provide more consistent, relevant data. In those instances where interval views must be used, validate the persistence of the condition prior to raising the alarm externally.
- Use a consistent naming convention for alarm definition directories.
- Assign queue names to summarize alarms.
Do not accept the default values for the Message ID and Message Text when creating an alarm definition. Instead, specify a Message ID that identifies the business application affected by the alarm, and a Message Text that explains the impact on that application.
Improve the usefulness of alarm views
Establish a single point of control by displaying all alarms on one dashboard.
For example, the ALERTxx or ALARMxx views are available in the MainView products and MainView Explorer. Customized views that focus on specific business applications are highly recommended.
- Use view customization to customize hyperlinks to shorten the navigation path to problem details.
- Avoid using alarm library names and alarm group names greater than eight characters. Alarm group and library names can contain up to 16 characters, however, due to space constraints, the distributed alarm views display only the first eight characters of these names. If you need to use library and group names longer than eight characters, you can create customized views that display up to 16 characters. This recommendation applies only to group and library names; MainView Alarm Management fully supports alarm names up to 16 characters.
For more information about alarms, see Using-Alarm-Management.
Related topic