cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Python cronjob monitoring: alerting if cronjob does not start

pablo_garcia
Dynatrace Helper
Dynatrace Helper

Hello!

A customer is looking to be alerted if a Python cronjob does not kickoff as expected. We looked into setting up a custom log event, but the cronjob would kickoff only 3 times per hour so the "/ minute" time unit does not help us. We'd like it to say: Generate Log Error Problem if number of 'cronjob kickoff' occurrences is less than 3 / hour.

Has anyone come across a workaround, or can think of a different/better way to achieve this?

Thank you!

1 REPLY 1

ChadTurner
DynaMight Guru
DynaMight Guru

You mentioned Custom Log, did you also look into the Custom Event for alerting? Id recommend creating an alert when the process count is less then 3 during a 60 min period. I hope this is what you are looking for or close to it.

-Chad