Agent Status
Check the status of agents on target servers, start, stop, or restart them from the Control Center, and see how the Supervisor applies these actions.
Classic Control Center
Purpose of Agents is to collect data from a monitored environment and send it to HEAL Server. Agents run at target server and HEAL Server manages them via Supervisor installed on each target box. Monitoring of HEAL services happens through agents.
Different types of agents which are installed and run at target box are as follows:
| Agent Type | Purpose |
|---|---|
| Component Agent | Monitoring behavior KPIs |
| Log Forwarder | Monitoring Log files |
| PS Agent | Monitoring interfaces – TCP packets over the air |
Navigating to Agent Status#

1) Log in to HEAL Control Center UI.
2) Click Health tab.
Monitoring screen displays.
3) Click Agents pod.
Agent Status screen is displayed.
Knowing Agent Status#


Down - Agent could not start due to some reason(s).
Stopped - User has intentionally stopped the agent.
Running - Agent is up and running.
Ready - Agent is installed and not started yet. This is to notify the user that no action has happened on the agent post installation.
Not Installed - Agent is not installed for a particular instance.
Last Action Unsuccessful - Agent is in an undesired state. Last action on an agent was unsuccessful. Control Center displays this state with an exclamation mark.
For a service, if any of the agents are down, application displays Red dot on left side of the respective service name. If all the agents for a service are in Stopped status, then application displays Pink dot on left side of the respective service name.
In case of multiple agents monitoring same instance,
- If any of the agents is in failed state, block color is Red.
- If any of the agents is in stopped state but none in failed state, block color is Pink.
- If any of the agents is in running state but none in failed or stopped state, block color is Green.
- If all the agents are in Ready state, block color is Yellow.
Viewing Agent Details#
An Agent can monitor multiple component instances and the host instance on a server. It can also monitor multiple services running on same server.

| Widget Number | Description |
|---|---|
| 1 | This displays type of the agent. |
| 2 | This displays Component or host instance. Agents monitor these instances. |

If more than one agent is installed on the same instance, status of agents is displayed along with the count with respect to the status when you hover on an agent block.

If a single agent is installed on an instance, physical agent identifier is displayed. If agent is in down or stopped state, Last Run On is displayed. This indicates the timestamp when that agent was running last.

If agent is in running state, Last Start On is displayed. Control Center displays last start on timestamp in following case –
1. You start an agent.
2. You stop or restart the same agent.
3. You start the same agent.

Click on a block to display details of a specific agent.

| Widget Number | Description |
|---|---|
| 1 | Name of a host or a component instance |
| 2 | Actions which can be performed on the agent. Start: This option gets enabled when the agent is in Ready, Down, or Stopped state. Stop: This option gets enabled when the agent is in Running or Ready state. Restart: This option gets enabled when the agent is in Running or Ready state. |
| 3 | This displays Last Start On or Last Run On. |
| 4 | This displays current status of the agent. |
| 5 | This displays type of the agent. |
| 6 | This displays physical identifier of the agent. |
| 7 | This displays IP address of the host where this agent is installed. |
| 8 | This displays the timestamp when the agent was installed on the host. |

In case multiple agents are installed on an instance, it displays respective agents as blocks with relevant colors as per the status of the agents. Click on the block to display details of a particular agent.
Performing Actions on Agents#
Start, stop, and restart operations on an agent are referred to as AgentOperationCmds. Any agent operations should only be performed in the Control Center (CC) UI.
Note: Strictly avoid performing any action on agents through the backend/server.
1. Select the required account and navigate as follows. Click on the Health tab and select Monitoring > Agents.

2. Select the required Service and click on the specific agent block as below:

3. Perform the required action on the agent as below:
- 7: Start the agent
- 8: Stop the agent
- 9: Restart the agent

Which of these actions is enabled depends on the status of the agent; see widget 2 in Viewing Agent Details above.
- Starting an Agent – Agent starts in case there are no issues. Till the start process completes, you can see start in progress message.
- Stopping an Agent – Agent stops in case there are no issues. Till the stop process completes, you can see stop in progress message.
- Restarting an Agent – Agent restarts in case there are no issues. Till the restart process completes, you can see restart in progress message.
How the Supervisor Applies Agent Actions#
The supervisor controls the following agents:
- Component Agent
- Log Forwarder Agent
- PS Agent
- LogScan Agent
Hence, for any action performed on specific agents through CC UI, the supervisor will validate and reflect the same.
Note: The JIM agent relies on the application server. For detailed information on the JIM agent, refer to the JIM Agent Installation & Configuration Guide.
AgentOperationCmds should be executed within the CC UI. These actions allow the supervisor to monitor and control the desired status of respective agents by maintaining a local cache (agentTracker.json). Below are samples:
- If a start command is triggered from CC, then the Supervisor will update its desired state as "Running" in its local cache (agentTracker.json)
- If a stop command is triggered from CC, then the Supervisor will update its desired state as "Stopped" in its local cache (agentTracker.json)
- If a restart command is triggered from CC, then the Supervisor will update its desired state as "Running" in its local cache (agentTracker.json)
Based on these states, the supervisor invokes the self-heal script for self-healing actions (only if the agent's desired state is "Running") upon the configured interval in the supervisor's config file.
Supervisor Auto Restart After a Server Reboot#
Ensure that the init.d entry is added for the supervisor. Add the entry in init.d only if it is not added already. The supervisor requires it to automatically initiate in response to any server mishap, such as a server reboot.
The steps for RHEL, AIX, Solaris, and HP-UX are in Installing Supervisor, under Supervisor Auto Restart Post Server Reboot. When you follow them:
- Switch to root user on the supervisor box.
- Substitute the paths and users according to your specific systems or configurations: replace the agent home directory with the actual base agent directory path, use your HEAL user, and customize the "su" command to suit your specific requirements.
- In the start script, choose the shell you are currently using: /bin/sh, /bin/bash, or /bin/ksh.
Performing Bulk Actions on Agents#
Click Agent Bulk Actions in Agent Actions to view following screen.

Select a service in the Service pane. HEAL displays all the agents associated with that service in the right pane.
It may happen that one agent is associated with other services too on the same host address. In that case, comma separated list of those services are displayed against that agent in right pane in Services column. Applications column displays all the names of the applications which are connected to each of the services which are listed in Services column.



This screen displays list of names of the agents, IP addresses of hosts on which agents are installed, types of the agents, and status of all the agents on all hosts. Application displays agents in following order of the status –
1. Down
2. Stopped
3. Running
4. Ready

Manage Bulk Actions screen displays Start, Stop, and Restart buttons for you to take actions on agent(s).
Application enables Start button if the agent(s) you select are in Down, Ready, or Stopped state.
Application enables Stop button if the agent(s) you select are in Running state.
Application enables Restart button if the agent(s) you select are in Running state.
When an agent is in Running state, you can Stop or Restart the agent.
When an agent is in Down state, you can Start the agent.
When an agent is in Ready state, you can Start the agent.
When an agent is in Stopped state, you can Start the agent.


When there is some processing going on in the background for an agent, HEAL greys out the entire row in bulk actions screen.
Searching for Agents#

Click Search box. Enter partial or full name of the agent you need to search for.

Application displays the search result as above.
You can even search for a specific agent as follows.

Filtering Agents#

Click ▼ icon in Manage Bulk Actions screen.

Application displays the agents as per the filter criteria.
Next — After you start an agent, confirm that data flows and verify each agent with Verify the HEAL Agent Deployment, and keep agents healthy using the Agent Maintenance Tool Guide.