I extracted most of the information from the ticket. I asked for the version and will post soon (i don’t have direct access to the customer’s env - I get info while sitting with someone with access)
Problem Statement
We are able to reproduce the issue consistently. Regardless of whether we start a manual or scheduled update, false-positive “Host or monitoring unavailable” alarms appear during the process.
Observations
- Dynatrace Cluster Update - Rolling update across 3 nodes runs successfully, everything looks OK.
- After Cluster Update - ActiveGate and OneAgent updates begin. → At this point, the false-positive alarms are triggered.
Architecture
Host → OneAgent → ActiveGate (Kubernetes) → ActiveGate (second) → Dynatrace Managed
Timeline of Reproduced Problem
OneAgent
- 17:58:05 Shutdown signal received → update starts.
- 17:59:43 Bootstrapping read-only deployment → update finished.
- kubectl confirms pod was in Running state by 18:04 (running for 6 minutes).
- OneAgent downtime due to update: ~1 minute (17:58 – 17:59).
ActiveGate (Kubernetes)
- 17:58:06 Shutdown started.
- 17:59:23 Restart initiated.
- 17:59:33 State changed to RUNNING.
- ActiveGate downtime due to update: ~1 minute (17:58 – 17:59).
ActiveGate (Second, external)
- 18:04:20 Unregistered from cluster.
- 18:05:25 Registered again.
Alarm Details
- Alarm timeframe: 17:58 – 18:03 (open for ~4 minutes).
- Host communication lost: 17:56 – 18:04. (At 17:56 according to the logs everything looks up and running?)
- Host itself was never down → alarm is false positive.
Documentation References
Monitoring unavailable
“Monitoring unavailable status means that the Dynatrace server didn’t receive the heartbeats of your monitored hosts for more than 3 minutes.”
Source: Troubleshooting monitoring interruptions — Dynatrace Docs
In our case, the disconnection was 1 minute, not 3+.
Host unavailable events
OneAgent sends an Unavailable signal only if it loses connection with the host for >5 minutes.
Source: Availability events — Dynatrace Docs
Here, downtime is <2 minutes, but alarm was still raised.
Open Questions
- Why does Dynatrace report a Host problem when the host was fully operational, and the issue was due to OneAgent / ActiveGate update communication loss?
- Shouldn’t the alarm type indicate “Agent/ActiveGate communication interruption” instead of “Host unavailable”?
- What are the expected steps during a OneAgent/ActiveGate update?
In other words, what should the expected timeline of events look like when an agent goes briefly offline for update while the host itself remains up and running?
The support replied:
Why does Dynatrace report a Host problem when the host was fully operational, and the issue was due to OneAgent / ActiveGate update communication loss? >
Dynatrace reported a host problem because, during the update, no monitoring data was received.
Shouldn’t the alarm type indicate “Agent/ActiveGate communication interruption” instead of “Host unavailable”?
The problem page does clarify that the issue may be due to “Host or monitoring unavailable due to connectivity issues or server outage.” While the label may suggest a host-level issue, it also encompasses scenarios where monitoring is temporarily interrupted, such as during updates.
What are the expected steps during a OneAgent/ActiveGate update?
- The updater process detects a new version.
- It downloads the installer and performs pre-update checks.
- The installer is executed, which stops the currently running agent.
- After installation, the updated agent starts and re-establishes communication with the server.
This process is similar for both OneAgent and ActiveGate. Below are timestamps from your environment:
Here there is list of timestamps which differs from the once I got:
gateway0: 17:59:24 - 17:59:33
agent: 18:01:10 - 15:03:06
Since both updates took more than 3 minutes, the temporary loss of communication triggered the host problem alert.
After that I left the following questions and still wait for response of these questions + attached the logs + screenshots from kubernetes commands:
1. Agent logs from our analysis vs agent logs from your comment:
While monitoring the agent connected to the host from the alarm, the logs show different times from the one in your comment.
- Example: 17:58:05 → Shutdown signal received → update starts.
- kubectl confirms the pod was in Running state by 18:04 (running for 6 minutes).
This means the pod was running already at ~17:59
However, you mentioned that the agent was down from 18:01 to 18:03.
What am I missing here? Which logs are you checking to reach this conclusion?
2. Gap between ActiveGate and OneAgent updates
According to your logs, ActiveGate update finishes at 17:59 and OneAgent update starts at 18:01. That leaves a 2-minute
period where both should be running.
Why, during this time, does the Dynatrace cluster not receive host-alive events?
3. Alarm trigger vs running state
The alarm indicates the host lost connection at 17:56 and was fired at 18:58.
Yet, both your logs and mine show that OneAgent and ActiveGate were running at that time.
How is this possible?
4. Documentation mismatch
In the https://docs.dynatrace.com/docs/discover-dynatrace/platform/davis-ai/root-cause-analysis/concepts/events/event-types/availability-events
it says:
“Network connection to the monitored host is lost unexpectedly while OneAgent and host are still running. The connection must be lost for more than 5 minutes, before OneAgent starts sending signals again and cached metric data fills in the missing chart data.”
Based on this, when exactly should the alarm be fired? Because the behavior we observe doesn’t fully align with this description. - In my first comment I posted another link to the documentation where it written 3 minutes - What is the difference in both documents?
5. Update process behavior
If the combined OneAgent + ActiveGate update exceeds the timeout:
- Shouldn’t the process update OneAgent first, wait until it’s running, and only then update ActiveGate (or vice versa)?
- Alternatively, shouldn’t the system suspend alarms automatically (at least for the host undergoing the update) if such timeouts are expected during updates?
6. Next steps / Solution needed
We need a practical solution.
- We can’t simply use a maintenance window, since this cluster is not the only one being monitored.
- The update sequence is: Dynatrace cluster update (≈1h, variable) → OneAgent/ActiveGate update (which actually causes the problem).
- We know when the cluster update starts, but we don’t know when OneAgent/ActiveGate update will begin, so we can’t align a maintenance window reliably.
What are the recommended options in this case?