Skip to main content

Agent Status

The Agent Status tab on the Server Detail page shows the health of the PMP4PG agent running on the monitored server. Use this tab to verify that the agent is operating correctly and all collectors are active.

{screenshot: agent-status-tab}


Agent Information

FieldDescription
Agent IDUnique identifier assigned at registration
Agent VersionInstalled version of the PMP4PG agent binary
StatusCurrent agent status (ACTIVE, INACTIVE, ERROR)
Last HeartbeatTimestamp of the most recent heartbeat received
Registered AtDate and time the agent was first registered
Operating SystemOS of the monitored server (detected at registration)

{screenshot: agent-info-panel}


Heartbeat Status

The heartbeat is sent by the agent every 30 seconds. The platform uses the heartbeat to determine whether the agent is alive.

Last Heartbeat AgeStatus
< 1 minute🟢 ACTIVE — agent is healthy
1–5 minutes🟡 WARNING — agent may be starting or briefly interrupted
> 5 minutes🔴 INACTIVE — agent is likely down

Collector Status

The Collectors section lists all configured collectors and their current state:

CollectorIntervalLast RunStatus
ASH Samples2stimestamp✅ Running
Heartbeat30stimestamp✅ Running
pg_stat_statements60stimestamp✅ Running
pg_stat_database60stimestamp✅ Running
Database Size10mtimestamp✅ Running
OS Metrics60stimestamp✅ Running
Server Snapshot30mtimestamp✅ Running

{screenshot: collector-status-table}

A collector showing ❌ or a stale Last Run timestamp indicates a collection issue. Check the agent logs for details:

journalctl -u pmp4pg-agent -n 100 --no-pager

Agent Actions

From the Agent Status tab, an administrator can:

  • Restart the agent — Sends a signal to the agent to restart (if supported by the deployment)
  • View raw agent logs — Link to the log viewer (if configured)

{screenshot: agent-action-buttons}

note

Agent restart from the UI requires the agent to be running and able to receive control signals from the backend. If the agent is fully unresponsive, restart the service directly on the host:

systemctl restart pmp4pg-agent

Next Steps