Skip to content

3.10 ErrorManager Notification

lrrajesh edited this page Sep 14, 2016 · 1 revision

Sensys monitoring daemon provides methods to notify users of system events and errors.

Event Notification Flow

Event Notification Flow

Error Notification Flow

Error Notification Flow

Severity Levels

    ORTE_NOTIFIER_EMERG  - Emergency (highest level of severity)
ORTE_NOTIFIER_ALERT  - Alert
ORTE_NOTIFIER_CRIT   - Critical
ORTE_NOTIFIER_ERROR  - Error
ORTE_NOTIFIER_WARN   - Warning
ORTE_NOTIFIER_NOTICE - Notice,
ORTE_NOTIFIER_INFO   - Information only,
ORTE_NOTIFIER_DEBUG  - Debug

Logging Options

syslog  - system log
smtp    - email option

The Notification framework provides MCA parameters to select more than one logging method for error and event notification. For event notification, the framework provides methods to select notification options by user by work flow. Admin users can register notification method to log the critical errors to syslog or receive an alert via email to take further actions.

Note: In order for the notification framework to send notifications via syslog, SELinux must be disabled.

Following are the Notifier framework MCA parameters:

NOTIFIER_BASE_USE_PROGRESS_THREAD - To use a dedicated progress thread
                                        for notification [Default is false].
NOTIFIER_BASE_SEVERITY_LEVEL - To report all events at or above this
                                   severity [Default is error]
NOTIFIER_BASE_DEFAULT_ACTION - To report all events to the default
                                   action [Default is syslog]

Optional MCA parameters:

NOTIFIER_BASE_EMERG_EVENT_ACTION - To report emergency events to the
                                       specified action [example: smtp]
NOTIFIER_BASE_ALERT_EVENT_ACTION - To report alert events to the
                                       specified action [example: smtp]
NOTIFIER_BASE_CRITI_EVENT_ACTION - To report critical events to the
                                     specified action [example: syslog,smtp]
NOTIFIER_BASE_WARN_EVENT_ACTION - To report warning events to the
                                      specified action [example: syslog]
NOTIFIER_BASE_NOTICE_EVENT_ACTION - To report notice events to the
                                        specified action [example: syslog]
NOTIFIER_BASE_INFO_EVENT_ACTION - To report Information events to
                                      the specified action [example: syslog]
NOTIFIER_BASE_DEBUG_EVENT_ACTION - To report debug events to the
                                       specified action [example: syslog]
NOTIFIER_BASE_ERROR_EVENT_ACTION - To report error events to the
                                       specified action [example: syslog]

Following are the SMTP Notifier plugin MCA parameters:

NOTIFIER_SMTP_SERVER      - To setup smtp server name
NOTIFIER_SMTP_PORT        - To setup smtp server port number
NOTIFIER_SMTP_FROM_ADDR   - Senders Email Address
NOTIFIER_SMTP_TO          - Receivers Email Address
NOTIFIER_SMTP_FROM_NAME   - Senders Name
NOTIFIER_SMTP_SUBJECT     - Email subject
NOTIFIER_SMTP_PRIORITY    - priority
NOTIFIER_SMTP_body_prefix - Text to put at the beginning of the
                                mail message
NOTIFIER_SMTP_body_sufix  - Text to put at the end of the mail message
Clone this wiki locally