Discovery Agent
Scheduled agent that scans target servers to auto-detect running applications and components.
Discovery Agent#
| Property | Details |
|---|---|
| What it is | An auto-discovery agent that scans the target server to find running applications, services, and components |
| Installed as | Java JAR (discovery-agent-<version>.jar) |
| Runs as | Scheduled execution (every ~300 seconds) triggered by Supervisor, not a continuous daemon |
| Communication | HTTPS to Control Center (https://<haproxy>:9998/heal-controlcenter/) |
| Data it collects | Discovery data — running processes, ports, installed components, host information |
| Purpose | Automatically discovers what's running on the server so you don't have to manually configure everything in Control Center |
| Configured in CC | Auto-registered — discovered components appear in SDM → Component Instances |
<haproxy> in the Control Center URL is a placeholder — replace it with your environment's HAProxy / load-balancer hostname.
Auto Discovery → — how discovered components become monitored entities. If a discovery run fails or returns nothing, see Discovery Agent troubleshooting.
What the Discovery Agent Discovers#
| Discovery Type | What It Finds | How It Helps |
|---|---|---|
| Host Info | Hostname, IP addresses, OS version, hardware specs | Populates SDM → Hosts automatically |
| Running Processes | All Java processes, their ports, home directories | Creates Component Instance entries in CC |
| Application Servers | Tomcat, JBoss, WebLogic, WebSphere instances | Maps to correct monitoring producers |
| Databases | MySQL, Oracle, MongoDB, ElasticSearch | Enables DB-specific KPI collection |
| Port Mapping | Which process listens on which port | Sets up correct JMX/monitoring ports |
| Component Attributes | Home paths, versions, configurations | Pre-fills instance attributes in CC |
Key Files#
/home/heal/Agent/discovery-agent/
├── discovery-agent-<version>.jar # Main agent
├── config/
│ ├── basic.properties # CC endpoint, agent UIDs, paths
│ ├── components.yaml # Component detection rules
│ ├── ports.yaml # Port scanning configuration
│ ├── process-black-list.yaml # Processes to ignore
│ ├── scripts.yaml # Discovery scripts
│ └── configuration-entities.yaml # Entity definitions
├── lib/ # Dependencies
├── logs/ # Discovery run logs
└── *.json # Discovery output files (sent to CC)
Verification#
ls -lt /home/heal/Agent/discovery-agent/*.json
tail /home/heal/Agent/Supervisor/supervisor/logs/Process.log | grep discovery
# Should see scheduled discovery runs
Next
- Auto Discovery — how discovered components become monitored entities in HEAL.
- Discovery Agent troubleshooting — diagnose discovery runs that fail or return no components.
- Agents & Connectors Overview — see how the Discovery Agent fits with the rest of the fleet.