Configuring the Alarm Masking Status

Masking an Alarm

If you do not want MRS Manager to report specified alarms in the following scenarios, you can manually mask the alarms.

After an alarm is masked, new alarms with the same ID as the alarm are neither displayed on the Alarm page nor counted. The reported alarms are still displayed.

  1. Log in to MRS Manager.
  2. Choose O&M > Alarm > Masking Setting.
  3. In the Masking Setting area, select the specified service or module.
  4. Select an alarm from the alarm list.

    Figure 1 Masking an alarm
    The information about the alarm is displayed, including the alarm name, ID, severity, masking status, and operations can be performed on the alarm.
    • The masking status includes Display and Masking.
    • Operations include Masking and Help.

    You can filter specified alarms based on the masking status and alarm severity.

  5. Set the masking status for an alarm:

    • Click Masking. In the displayed dialog box, click OK to change the alarm masking status to Masking.
    • Click Cancel Masking. In the dialog box that is displayed, click OK to change the masking status of the alarm to Display.

Configuring Alarm Masking and Alarm Trigger Count

This operation is available in clusters of MRS 3.5.0 or later only.

The MRS allows you to mask alarms and number of trigger times on the background. If the number of alarm report times is less than or equal to the number of alarm trigger times, no alarm will be reported.

  1. Log in to the active OMS node as user omm using PuTTY.
  2. Run the following command to modify the alarm_filter_config.json configuration file. If the file does not exist, create it.

    vi $BIGDATA_HOME/om-server/OMS/workspace/conf/fms/alarm_filter_config.json

  3. Configure or add parameters based on service demands.

    • Alarm ID: ID of the alarm to be masked, for example, 12016.
    • is_filtered: Whether to mask the alarm. true indicates that the alarm is masked and not reported. false indicates that the alarm is reported after certain times of trigger.
    • smoothing_times: trigger count. If the number of alarm trigger times is less than or equal to the value of this parameter, no alarm will be reported. The value is an integer greater than 0.

    The is_filtered parameter takes priority over the smoothing_times parameter.

    For example, if the configuration is as follows, alarm 12016 is masked and alarm 12017 is reported after it is triggered for more than three times:

    { 
      "12016": { 
        "is_filtered": true, 
        "smoothing_times": 1 
      }, 
      "12017": { 
        "is_filtered": false, 
        "smoothing_times": 3 
      } 
    }

  4. Restart the FMS service on the active OMS node as user omm to apply the configuration.

    sh $BIGDATA_HOME/om-server/OMS/workspace/bin/omm_s_fm_ctl.sh restart

  5. Log in to the active OMS node as user omm using PuTTY. Perform steps 2 and 3.