Job scheduling check


Job details

Name: Job scheduling check
Platform: Oracle
Category: Availability
Description: Detecting failed scheduled jobs. The STATUS column in the Oracle dictionary view DBA_SCHEDULER_JOB_RUN_DETAILS is used to detect scheduled jobs that have failed.
Long description: The STATUS column in the Oracle dictionary view DBA_SCHEDULER_JOB_RUN_DETAILS is used to detect scheduled jobs that have failed.
Version: 3.03
Default schedule: 5,25,45 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘oracle’]/.[hasengine=‘YES’ & ten_and_above = ‘1′]

Parameters

Name Default value Description
ignore job names AUTO_SPACE_ADVISOR_JOB,FGR$AUTOPURGE_JOB Job names excluded from being checked (comma separated). You can use % (percent sign) to represent wild card characters.
return status on failed job 1 Return status value (ALARM – 2, WARNING – 1, or OK – 0) when a job have status FAILED (and are not in “ignore job names” list).
last run 01.03.2010 00:00 The last date the dbWatch Job scheduling check was run. Only jobs run after this date will be checked (column actual_start_date in the dba_scheduler_job_run_details view). Value format DD.MM.YYYY HH24:MI

Job Summary

SELECT OWNER, JOB_NAME, STATUS, ERROR#, ACTUAL_START_DATE FROM dba_scheduler_job_run_details WHERE STATUS = 'FAILED';

Core Functionality

The monitoring job operates by accessing the Oracle dictionary view named “DBA_SCHEDULER_JOB_RUN_DETAILS“ to identify and report on scheduled jobs with a status of ‘FAILED’.
This job leverages a procedure named “job_scheduling_check” to efficiently collate and report this data.

Parameters

The job includes functionality to exclude specific job names from its checks and dynamically accept thresholds for failures, enhancing its flexibility and range of application.
Additionally:

Dependencies

Dependencies include:

Report Structures

The job supports extensive reporting, including:

Implementation Details

The procedure “job_scheduling_check” is responsible for:

Upgrades

Installation Criteria

This job is structured to automatically install on Oracle instances (version 10 or later) where the engine is active, adhering to dbWatch’s deployment strategies.
Overall, this job is a critical component within the dbWatch Control Center, aimed at ensuring the smooth functioning and reliability of scheduled jobs within Oracle databases.