08 Nov 2023 02:09 PM - last edited on 09 Nov 2023 09:26 AM by MaciejNeumann
I know that we can create a dashboard object for "Host Health" and then filter on custom management zone, but can we call it as a metric on a dashboard object and/or in the API?
Thanks,
Lou
Solved! Go to Solution.
08 Nov 2023 02:20 PM
Hi,
From documentation:
=====
Displays the number of hosts (operating system instances, whether physical and virtual) in your environment compared to the number of hosts in your environment that are currently affected by problems. Each host instance equates to a Dynatrace OneAgent installed in your environment.
=====
So you can use this metric for example:
builtin:host.availability.state
Reported states:
Radek
08 Nov 2023 02:36 PM
However, this will not address all cases. Problems can be with CPU, memory, etc on the host. You need to reinforce different metrics.
08 Nov 2023 03:50 PM
This seems to be more of an up or down thing, not if any problems were detected per host. Would that be a different counter. In colloquial terms, I want the red or green state that you would see in a host health graph.
Any advice appreciated.