Monitor all Batch Queue to make sure that they can process jobs. This can be determined by monitoring state and last execution time.
Multiple Instances: No
Interval: Every 60 minutes (12 times per day)
Status | Expression | ||||
---|---|---|---|---|---|
Critical |
If (Stuck Batch Queue Processes > 0)
|
||||
Warning |
If (Deferred Jobs in state 'Executing' more than 12h >
0
|
||||
OK | If not status Warning or Critical. | ||||
Unknown | Missing application response. |
Metric & Service | Command line example |
---|---|
Stuck Batch Queue Processes | java -jar application-monitoring-metrics-cli.jar db -host=localhost -instance=<instancename> -user=ifsmonitoring -pass=<password> -request=STUCK_BATCH_QUEUE_PROCESSES -ca=0 |
Deferred Jobs in state 'Executing' more than 12h | java -jar application-monitoring-metrics-cli.jar db -host=localhost -instance=<instancename> -user=ifsmonitoring -pass=<password> -request=DEFERRED_JOBS_EXECUTING_12H -wa=0 |