eG Monitoring
 

Measures reported by CronLogTest

cron is a time-based scheduling service in Unix-based operating systems, and is hence considered to be a convenient mechanism for running critical jobs. To track when and how the scheduled jobs ran, you can enable the logging of cronjobs. Subsequently, a log file is created in the /var/cron/log directory, to which every cron activity is logged. You can periodically track the success/failure of the scheduled cronjobs by executing the CronLogTest, which checks the cron log file for the status of the cronjobs. This test runs only on Solaris hosts.

Measurement Description Measurement Unit Interpretation
Scheduled_jobs Indicates the number of jobs that are scheduled to run in the next measurement period. Number  
Outstanding_jobs Indicates the number of jobs that were started but not completed during the last measurement period. Number This includes jobs that were started and those that were still executing during the last measurement period. A very high value could be a cause for concern, and might require further investigation.
Completed_jobs Indicates the number of jobs that were completed during the last measurement period. Number This includes jobs that were started much before, but which finished executing only during the last measurement period.
Failed_jobs Indicates the number of jobs that were completed during the last measurement period, but with errors. Number The error status could be due to permission issues, path issues, problem while executing the job itself, etc.
Max_pending_job_time Indicates the maximum time for which the jobs have remained pending. Mins A very high value of this measure could indicate a problem condition.
Max_completion_time Indicates the maximum time taken by the jobs for completion. Mins A very high value of this measure could indicate a problem condition.
Avg_pending_job_time Indicates the average time for which jobs have remained pending. Mins A very high value of this measure could indicate a problem condition.
Avg_completion_time Indicates the average time taken by the jobs for completion. Mins A very high value of this measure could indicate a problem condition.
Pending_jobs_count Indicates the number of cron jobs that are scheduled, but are yet to start running. Number