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

OS services monitoring for all services other than X Y Z

Yosi_Neuman
DynaMight Guru
DynaMight Guru

Hi guys,

Customer asks to check if all services are in running status except of 3 services.

With in the Detection rules we can set positive $or for more than one service.

Yosi_Neuman_1-1722154754225.png

But when adding $not in order to negate those services we get syntax error 

Yosi_Neuman_0-1722154731178.png

Also $not to $and is not acceptable and showing syntax error

Yosi_Neuman_3-1722154912757.png

Any suggestion on how to fulfill this request will be appreciate.

Thanks in advance

Yos  

 

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel
4 REPLIES 4

Esam_Eid
Pro

it seems the AureAttestService & webClient are two different services, so i believe you have to create two different rules 

Hi @Esam_Eid 

Thanks for your suggestion, may be I didn't not explain my self clearly hence I will try again what is our goal here:

We are looking for alert on ALL services beside those 2 services ....  

In other words we want to get alert if any service beside those 2 is not in running mode.

Tanks 

Yos 

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

Hi @Yosi_Neuman ,

i just created the below rule to test. the first one should be used if you want to exclude any of the services.

Second one if you want to include everything under monitoring, you just add any prefix which will never match any service name.

after testing i could see the alerts triggered for all stopped services.

Esam_Eid_0-1722165424184.png

 

Thanks again @Esam_Eid for your efforts and investigation.

Understood from your answer that we need rule for each negate 

Test it also and its look working 

Thanks!

Yos  

 

 

 

 

 

 

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

Featured Posts