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

Custom alert on process group instances count and processes count

g_ciret
Contributor

Hi,

I'm trying to set up a custom alert.
My need is to raise an alert when some Java RMI processes are not started in the morning.

We should have a process group with two instances, and on each one, two processes should run.

I was able to set up an alert on processes count as seen on the screenshot below, but I'm not sure it will do what I expect.

At the moment I write this question, we only have one process group instance running (the processes were not started on one server this morning) and no alert is raised (I created the alert afterwards). I also tried to set up an alert on process group instances count, but I can't, the drop-down list of metrics is empty.

What would be the right approach?

Thanks for your help.

Regards,
Gilles

 

5 REPLIES 5

wolfgang_beer
Dynatrace Champion
Dynatrace Champion

There is a built in problem pattern implemented that you can configure. Just go to the process groups settings screen and configure the minimum number of process that should run.

The metric you chose for your custom alert is the wrong one as it represents the number of processes within a 'Process Group Instance', which has a different semantic than what you would like to achieve.

Best regards,

Wolfgang


g_ciret
Contributor

Hi Wolfgang,

Thanks for you answer. If I understand well, the setting you propose works on the number of process group instances. So I should set it to 2 as I have two hosts.

If I want to be sure that I have got 2 worker processes per process group instance, I should also keep my custom alert in order to be sure that I have my 4 actives processes.

Am I right?

Best regards,

Gilles


wolfgang_beer
Dynatrace Champion
Dynatrace Champion

First one is correct, second part I am not really sure, never tried that for that use-case.


g_ciret
Contributor

Hi Wolfgang,

Looks like the two rules work.
Last night, I got alerts on the two instances and on the processes number per instance.

Should be OK now.
Thanks again for your help.

Best regards,
Gilles


Great, happy that I could help!