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

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

crabbylou
Helper

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

4 REPLIES 4

radek_jasinski
DynaMight Guru
DynaMight Guru

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

Have a nice day!

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

Have a nice day!

crabbylou
Helper

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.

Featured Posts