Enabling Notifications
% $AOM_HOME/scripts/emsctl enable_notification Oracle Enterprise Manager Cloud Control 13c Release 5 Copyright (c) 2017, 2021 Oracle Corporation. All rights reserved. ------------------------------------------------------------------ Notifications have been enabled. There are downtime contacts configured. Connecting to Always-On Monitoring repository. Starting synchronization with Enterprise Manager. Synchronizing with Enterprise Manager repository: sysman@myserver.myco.com:35074:semgc4 Synchronizing Targets data. Synchronizing Alerts and Availability data. Synchronizing Notification Metadata data. Synchronizing Target Metric Metadata data. Synchronization complete at : Thu Oct 22 07:01:20 PDT 2020
$AOM_HOME/scripts/emsctl enable_notification -nosync Oracle Enterprise Manager Cloud Control 13c Release 5 Copyright (c) 2017, 2021 Oracle Corporation. All rights reserved. ------------------------------------------------------------------ Notifications have been enabled. There are downtime contacts configured.
% $AOM_HOME/scripts/emsctl disable_notification Oracle Enterprise Manager Cloud Control 13c Release 5 Copyright (c) 2017, 2021 Oracle Corporation. All rights reserved. --------------------------------------------------------------- Notifications have been disabled. Filters have been deleted.
Filtering Alert Notifications by Event Type and Severity
When only specific alert types are pertinent, you need to have a way of filtering out extraneous alerts so you don't have to scan through all alerts just to find the ones you're interested in. Always-On Monitoring lets you filter your alert notifications based on either event type or severity.
Alert Notification Filtering by event type lets you exclude alert notifications for certain event types. For example, you want to receive only target availability alerts. You can filter out alerts for the following event types:
- Metric Alert (
metricAlert
) - Availability (
targetAvail
) - Metric Evaluation Errors (
metricError
)
Default Settings
- Target availability & metric alert notifications are enabled
- Metric evaluation error alert notifications are disabled
$AOM_HOME/scripts/emsctl disable_notification
-alert_types=targetAvail,metricAlert,metricError
$AOM_HOME/scripts/emsctl enable_notification -alert_types=targetAvail
$AOM_HOME/scripts/emsctl enable_notification -alert_types=metricError
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 2017, 2021, Oracle Corporation. All rights reserved.
------------------------------------------------------------------
Notification filters have been enabled. There are downtime contacts configured.
Notification filters
Target Availability (targetAvail) : true
Metric Alerts (metricAlert) : false
Metric Errors (metricError) : true
Alert Notification Filtering by severity lets you exclude alert notifications for certain severities. For example, you want to receive only Fatal, Critical, and Warning alerts. You can filter out alerts for the following event types:
- Fatal
- Critical
- Warning
- Advisory
- Informational
- Clear
Default Settings
- Fatal, Critical, and Warning alert notifications are enabled
- Advisory, Informational, and Clear alert notifications are disabled
$AOM_HOME/scripts/emsctl disable_notification –severities=fatal,critical,warning,advisory,informational,clear
$AOM_HOME/scripts/emsctl enable_notification - severities = fatal,critical
$AOM_HOME/scripts/emsctl enable_notification -severities=warning
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 2017, 2021, Oracle Corporation. All rights reserved.
------------------------------------------------------------------
Notification filters have been enabled. There are downtime contacts configured.
Notification filters - Alert types
Target Availability (targetAvail) : true
Metric Alerts (metricAlert) : true
Metric Errors (metricError) : false
Notification filters - Severity
Fatal (fatal) : true
Critical (critical) : true
Warning (warning) : true
Advisory (advisory) : false
Informational (informational) : false
Clear (clear) : false