Lock Health Check Rule

Contents

1Introduction
1.1Prerequisites

2

Procedure

1   Introduction

This document describes how to lock a health check rule, meaning that a rule is excluded from ME healthiness evaluation. When a health check rule is locked, the results of all health check jobs referring to it are affected.

All health check rules are in state unlocked by default.

1.1   Prerequisites

This section describes the prerequisites, which must be fulfilled before using the procedure.

1.1.1   Conditions

The following conditions must apply:

2   Procedure

To lock a health check rule:

  1. Navigate to the HealthCheckM Managed Object (MO):

    >dn ManagedElement=<node_name>,SystemFunctions=1,HealthCheckM=1

    Note:  
    The string node_name is specific for the ME.

  2. Navigate to the health check rule to lock, for example:

    (HealthCheckM=1)>HcRule=RuleProvider_1

    Note:  
    The string RuleProvider_1 is the health check rule identity.

  3. Enter Config mode:

    (HcRule=RuleProvider_1)>configure

  4. Lock the health check rule:

    (config-HcRule=RuleProvider_1)>administrativeState=LOCKED

  5. Commit the change:

    (config-HcRule=RuleProvider_1)>commit

  6. Verify the rule state:

    (HcRule=RuleProvider_1)>show administrativeState

    The following is an example output:

    HcRule=RuleProvider_1
       administrativeState=LOCKED