Batch

Function

A batch job executes a set of jobs sequentially or in parallel. Batch jobs can execute other batch jobs. All executed jobs within a batch must run on the same Collector.

Alarming

Jobs failed, Jobs passed, Jobs total, Time total, Sequence code

Batch detail

Batch parameters

Parameter

Description

Execute parallel

All linked jobs are executed at the same time instead of sequentially

Continue on error

To stop executing any further jobs if one has failed, disable this checkbox (default: enabled)

Suppress time total

If this checkbox is set, the total running time of the batch job run is not saved to the database and its value is no longer visible in the values section. Its value is also no longer available for use in alarm limit specifications.


Use Link → Child jobs on the batch job's dropdown menu to link jobs to the batch:

To change the order of the batch sequence, choose Edit parameters from the batch job's dropdown menu, then reorder the sequence by using the up/down buttons in the Linked jobs section:

Usually, all linked jobs should have an execution interval of No repetition, since they are now executed by the batch. However, it is possible to have a normal interval and a batch execution on the same job.

Batch values and alarm limits

Value / Alarm limit

Description

Jobs failed

The number of jobs that failed during the execution of the batch

Jobs passed

The number of jobs that passed during the execution of the batch

Jobs total

The total number of jobs linked to the batch

Time total

The total duration (in s) of the combined execution of all child jobs

Error code

Generic job error code (see section Job error codes)

Batch job timeout

Batch jobs have a maximum runtime of 300 seconds configured per linked child job. If it is reached, a timeout message appears in the Execution column of the Linked Jobs list. If this timeout is too short for some reason, it can be changed in the configuration of the respective collector:

/etc/opt/eranger/eranger-collector.cfg

Uncomment and change the following line:

# batchjob_timeout = 300