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

Monitoring stopped on a shutdown host, disappears from dashboard

m_laurie_az
Newcomer

There was a host entity that shutdown due to power issues and the agent stopped reporting data back from the host. Instead of it's availability state changing, it drops off the dashboard completely as if the query isn't looking for it anymore due to it not reporting any state data. Is the query wrong or something misconfigured?

Query:
timeseries availability = sum(dt.host.availability), by: { dt.entity.host, availability.state }, filter: { in(dt.entity.host, classicEntitySelector("type(host),tag(\"KeyA:ValueA\")")) OR in(dt.entity.host, classicEntitySelector("type(host),tag(\"KeyA:ValueB\")")) }
| fieldsAdd availability = arraySum(availability)
| sort availability asc
| fieldsAdd Host = arrayLast(splitString(entityName(dt.entity.host), "- "))
| limit 300

0 REPLIES 0

Featured Posts