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

Send custom alert when service or CPU is idle at specific time

Florian
Observer

Hello everybody,

 

I have a single EC2 machine which is used between 7 - 8 AM every day by a single service.

As the service on this machine runs automatically every day between that time frame, I would like to setup an alert which is sending me a hint if the process is not running between 7 and 8 AM. 

Or in other words: I need an alert if the process or the CPU is idle between 7 and 8 AM.

 

Anybody has an idea how to configure such alerts? 

I thought that maybe the anomaly detection will do this job, but that wasn't detected somehow.

 

I am open for all ideas 🙂

 

Greetings,

Florian

2 REPLIES 2

jon_kowalski
Dynatrace Advocate
Dynatrace Advocate

Hey Florian,

Narrowing down process availability monitoring to a specific time frame isn't extremely straightforward, however, we may be able to achieve this functionality by creating a maintenance window for the process in question. Essentially we would create a maintenance window only impacting that process to "Disable problem detection during maintenance" so that the other 23 hours of the day when the EC2 isn't running we wouldn't alert. 

After that maintenance window is created you'll also have to enable "Process Availability Monitoring" within the Process Group settings for the process in question. This toggle will alert when monitoring is down and because we've configured the maintenance window, it won't alert us that monitoring is down during the time of the day that the EC2 is not running.

 

Thanks.

 

Jon

AntonioSousa
DynaMight Guru
DynaMight Guru

@Florian,

As @jon_kowalski referenced, process group availability monitoring is the way to go. I have been doing with several similar use-cases. Just also leaving the documentation URL for quick reference:
https://www.dynatrace.com/support/help/how-to-use-dynatrace/process-groups/monitoring/process-group-...

Antonio Sousa

Featured Posts