i have an host with Oneagent installed. Then, i stop Oneagent process from host console, so in Dynatrace i see this host as unmonitored (i don’t shut down any other process or whole host).
Additionally, you will need to ensure that the host in question falls into the alert profile rules. For example, if you have a Management Zone Scope set for that Alert Profile.
Also take a look at the host settings and ensure you have the following set as a bare minimum.
Lastly, there is a similar set up for processes/services running on a host where you can set, within the settings, to be alerted if a process is turned of or unmonitored as well.
Hi, did you ever figure this out? We have this same issue and I cant seem to find a way to alert if monitoring becomes unavailable. We don’t have it turned on at the process group level because the OneAgent processes are spread across so many groups…
Unfortunately it’s a blindspot as the Host availability alerting only covers if the Host is gracefully shut down not if the OneAgent is gracefully shutdown.
One of my customers had issues with their teams turning off OneAgents during maintenance but then oftentimes forgetting to turn them back on. I created an ActiveGate Extension that can be used for a few different use cases:
Alert on any Host going into Unmonitored state (the alert is open until the host comes back up or until the problem becomes older than the timeframe of the plugin)
Alert on any Host in any state different than Monitored (e.g. crashed, lost, unmonitored, etc.)
Report how many OneAgents are in what states across the environment
You can find the extension on GitHub and you are welcome to try this out. I must mention that of course it’s not part of the official Dynatrace solution and therefore cannot be diagnosed by Dynatrace Support. As well, any modifications or customisation you may require will have to be done on your own.
Starting in v 1.212 this is now possible.
You can set up a “custom event for alerting” (in “Settings / Anomaly detection”) and have it alert if monitoring data is missing.
So pick a metric like “CPU usage” (which should always be there), set the threshold to “200” (which should never be reached) and set the drop-down to “Alert” “if data is missing within the above observation period.”
Unfortunatly this project has been archived “this repository has been archived. This project needs updating as it has not been maintained in years.”. However the solution seems to be tidy. and still relevant.