Note: Use this as a custom query (attached near bottom of article) in a separate monitoring product, such as SolarWinds Observability (SAM). Don’t run it in DPA itself. The alert exists to check whether DPA is healthy, and if DPA is down, it can’t run the alert.
Purpose
Verifies that DPA is still monitoring and writing data to the repository.
How it works
- Reads the current DPA heartbeat from the internal CONPRM table. This is the last time DPA wrote data to the repository.
- The heartbeat is stored as the number of seconds since the Unix epoch- which is January 1, 1970).
- Compares the heartbeat to the current time (also in epoch seconds) to- calculate how many seconds DPA monitoring is behind.
Interpreting the results:
- Normal - The heartbeat lags by up to ~10 seconds.
- Problem - A lag that keeps growing means DPA has stopped writing to the repository (the DPA service is down, hung, or can't reach the repository database).
- Alert setup (SAM) - Set the alert threshold to 60 seconds or greater. This avoids false-- alarms from normal lag while still catching a real outage quickly.