Modify Health Check Job To Trigger

Contents

1Introduction
1.1Prerequisites

2

Procedure

1   Introduction

This document describes how to modify the name of the health check job to be triggered if the job execution detects a Managed Element (ME) status different from HEALTHY.

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 modify a job to trigger:

  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 HcJob MO representing the health check job for which a job to trigger is to be modified , for example:

    (HealthCheckM=1)>HcJob=jobName

  3. Show jobToTrigger attribute:

    (HcJob=jobName)>show jobToTrigger

    The jobToTrigger attribute is shown.

    The following is an example output:

    (HcJob=jobName)>jobToTrigger="ManagedElement=1,SystemFunctions=1,HealthCheckM=1,HcJob=thirdJob"
    Note:  
    The jobToTrigger attribute is empty by default.

  4. Enter the configure mode:

    (HcJob=jobName)>configure

  5. Set the jobToTrigger attribute:

    (HcJob=jobName)>jobToTrigger="<job_to_triggerDN>"

    The string job_to_trigger_DN is the valid DN of a HcJob MO. It must be in quotation marks.

  1. Commit the operation:

    (config-HcJob=jobName)>commit

    If the commit is unsuccessful, an error message is printed. Possible causes of failure are the following:

    • job_to_trigger_DN is not the valid DN of a HcJob MO.
    • job_to_trigger_DN is the valid DN of the HcJob MO for which the job to trigger is to be set. A job cannot trigger itself in a recursive way.
  2. Check the jobToTrigger attribute value:

    (HcJob=jobName)>show jobToTrigger

    The jobToTrigger attribute value shown is the one previously set.

    The following is an example output:

    (HcJob=jobName)>jobToTrigger="ManagedElement=1,SystemFunctions=1,HealthCheckM=1,HcJob=secondJob"