Help Center > > User Guide> Managing Active Clusters> Managing Jobs> Configuring Job Notification Rules

Configuring Job Notification Rules

Updated at: Feb 12, 2020 GMT+08:00

MRS uses SMN to offer a publish/subscribe model to achieve one-to-multiple message subscriptions and notifications in a variety of message types (SMSs and emails). You can configure job notification rules to receive notifications immediately upon a job execution success or failure.

This function is available for versions later than MRS 1.8.7 in terms of MRS 1.8.x, and MRS 2.0.5 or later in terms of MRS 2.x.

Procedure

  1. Log in to the management console.
  2. Click Service List, and choose Simple Message Notification under Application.
  3. Create a topic and add subscriptions to the topic. For details, see Configuring Message Notification.
  4. Go to the MRS management console, click the cluster name to go to the cluster details page.
  5. Click the Alarms tab, and choose Notification Rules > Add Notification Rule.
  6. Configure a notification rule for sending job execution results to subscribers.

    Table 1 Parameters of a notification rule

    Parameter

    Description

    Rule Name

    User-defined notification rule name. Only digits, letters, hyphens (-), and underscores (_) are allowed.

    Message Notification

    If you enable this function, subscription messages will be sent to subscribers.

    Topic

    Select an existing topic or click Create Topic to create a topic.

    Notification Type

    Select Event.

    Subscription Items

    1. Click next to Suggestion.
    2. Click next to Manager.
    3. Select Job Running Succeeded and Job Running Failed.
    Figure 1 Adding a notification rule

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel