Is "Host Health" available in a dashboard metric and in the API?

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

Hi,

From documentation:

=====

Host health

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:

  • UP - host working, OneAgent active and sending data
  • NO_DATA - host working, OneAgent active but not sending data
  • NO_DATA_AGENT_INACTIVE - host working, OneAgent inactive (disabled manually in configuration) and not sending data
  • SHUTDWON_HOST - host has been shut down
  • UNMONITORED_AGENT_STOPPED - host unmonitored: OneAgent stopped
  • UNMONITORED_AGENT_UPGRADE - host unmonitored: OneAgent in upgrade
  • UNMONITORED_AGENT_UNINSTALLED - host unmonitored: OneAgent uninstalled

Radek

However, this will not address all cases. Problems can be with CPU, memory, etc on the host. You need to reinforce different metrics.

Thanks!!

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.