19 Aug 2024 11:45 AM - edited 04 Sep 2024 07:46 AM
Hi,
Can we create an alert if a specific service is not enabled/auto-start? It means, configured to auto start up when machine is rebooted?
We are using a non-Grail enabled tenant. It means, as Managed.
Thank you!
Best regards
03 Sep 2024 03:55 PM
Hey @AntonPineiro,
Are you refereeing to OS services? If so, that is pretty easy to configure. Here is a link to the documentation:
https://docs.dynatrace.com/docs/shortlink/os-services
03 Sep 2024 04:06 PM
Hi,
Yes, but I am not talking is service is running, it is if service is not in auto-start mode.
Best regards
03 Sep 2024 04:36 PM - edited 03 Sep 2024 04:40 PM
I think this is possible via DQL as this information seems to be available under the "startup_type" field:
fetch `dt.entity.os:service`
| fieldsAdd startup_type, lifetime
| filter startup_type == "enabled-runtime"
I think you can probably make a workflow to alert on this or make the data into a timeseries and use the Davis AI Analyzer to create an alert.
04 Sep 2024 07:46 AM
Thank you!
Let me modify first message, Grail is not enabled. It means, can be done without Grail + DQL?
Best regards