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:
- The name of the health check job for which the job to trigger must be modified is known. For a description of how to create a job, refer to Create Health Check Job.
- The DN of the health check job to be triggered is known. For a description of how to create the job, refer to Create Health Check Job.
- An Ericsson Command-Line Interface (ECLI) session in Exec mode is in progress.
2 Procedure
To modify a job to trigger:
- 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.
- 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
- 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.
- Enter the configure mode:
(HcJob=jobName)>configure
- 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.
- Commit the operation:
(config-HcJob=jobName)>commit
If the commit is unsuccessful, an error message is printed. Possible causes of failure are the following:
- 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"

Contents