01 Jun 2022 10:17 AM - last edited on 02 Jun 2022 09:51 AM by MaciejNeumann
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
Solved! Go to Solution.
01 Jun 2022 08:25 PM
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
01 Jun 2022 09:40 PM
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-...