Supervisor
The master command-and-control daemon that manages all agents on a target server.
Supervisor#
| Property | Details |
|---|---|
| What it is | The master agent — command-and-control daemon that manages all other agents on the target server |
| Installed as | Standalone binary (/home/heal/Agent/Supervisor/supervisor/Supervisor) |
| Runs as | Background daemon process (PID managed via .supervisor.pid) |
| Communication | GRPC over TLS to HAProxy (heal-lb.example.com:9998/command) |
| Data it collects | None directly — it is the orchestrator |
| Purpose | Receives commands from Control Center (start/stop agents, run forensics, schedule discovery), manages agent lifecycle, reports agent health status |
| Configured in CC | Not separately — it's auto-registered when agents connect |
| Always running | Yes — it starts at agent install and runs continuously |
Install & configure →
What the Supervisor Does#
- Polls the HEAL Control Center every ~60 seconds via the
/commandendpoint - Receives instructions like "start ComponentAgent", "run discovery", "execute forensic"
- Starts, stops, and monitors sub-agents (ComponentAgent, ForensicAgent)
- Runs the
selfheal.shscript every 10 minutes to check if the ComponentAgent is alive and restart it if needed - Sends agent health status to HEAL via the
/agentHealthStatusendpoint - Has a companion
supervisor_monitor.shprocess that monitors the Supervisor itself
Key Log Files#
/home/heal/Agent/Supervisor/supervisor/logs/
├── HttpsClient.log # Command channel communication (200 = healthy)
├── Process.log # Agent start/stop events
├── TaskReceiver.log # Commands received from CC
├── ResultSender.log # Results sent back to CC
├── ShellCommandRunner.log # Shell commands executed
└── Supervisor.log # General supervisor log
Verification#
ps -ef | grep Supervisor | grep -v grep
tail -5 /home/heal/Agent/Supervisor/supervisor/logs/HttpsClient.log
# Should see: "Response received, Status: 200" every ~60 seconds
Install & configure → — install the Supervisor, register it with the Control Center, and manage the agent lifecycle.
Next
- Supervisor Installation & Configuration — the deep install-and-configure guide.
- Component Agent — the metrics agent the Supervisor starts and self-heals.
- Agents & Connectors Overview — see how the Supervisor fits with the rest of the fleet.