Restore Default Value for Health Check Rule Parameter

Contents

1Introduction
1.1Prerequisites

2

Procedure

1   Introduction

This document describes how to reset default values for parameters used when a health check rule is evaluated. The modification can be done before executing a specific health check job, and it applies only for that job.

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 restore the default value for a parameter to be used at rule evaluation phase:

  1. Navigate to the HealthCheckM MO:

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

    Note:  
    The string node_name is specific for the ME.

  2. Navigate to the HcJob MO representing the health check job for which default value must be applied to rule parameter, for example:

    (HealthCheckM=1)>HcJob=jobName

  3. Enter the Config mode:

    (HcJob=jobName)>configure

  4. List all the available rule parameters:

    (config-HcJob=jobName)>show -v inputParameters

    The following is an example output:

    inputParameters[@1]
          hcRule="HcRule=HealthCheckFramework_003"
          name="idleCpuThreshold"
          value="99"
    inputParameters[@2]
          hcRule="HcRule=HealthCheckFramework_002"
          name="usageThreshold"
          value="70"
  5. Delete, from the inputParameters , the item related to the rule parameter whose default value must be applied, for example:

    (config-HcJob=jobName)>no inputParameters[@1]

    Note:  
    In this case, default value is applied to parameter idleCpuThreshold of rule HcRule=HealthCheckFramework_003.

    If a specific item to delete is not provided, all defined input parameters are deleted and default values are applied for all rules parameters:

    (config-HcJob=jobName)>no inputParameters

  6. Commit the operation:

    (config-HcJob=jobName)>commit

    If the commit is unsuccessful, an error message is shown. Possible cause of failure is the following:

    • The job for which the parameter is deleted is currently ongoing. It is not possible to delete parameter for a job while it is executing.
  7. Check the parameter deletion:

    (HcJob=jobName)>show inputParameters

    The following is an example output:

    inputParameters
          hcRule="HcRule=HealthCheckFramework_002"
          name="usageThreshold"
          value="70"


Copyright

© Ericsson AB 2015. All rights reserved. No part of this document may be reproduced in any form without the written permission of the copyright owner.

Disclaimer

The contents of this document are subject to revision without notice due to continued progress in methodology, design and manufacturing. Ericsson shall have no liability for any error or damage of any kind resulting from the use of this document.

Trademark List
All trademarks mentioned herein are the property of their respective owners. These are shown in the document Trademark Information.

    Restore Default Value for Health Check Rule Parameter