restart_agent
Restart an OSSEC agent by providing its ID to reload configuration and reconnect.
Instructions
Restart a specific OSSEC agent.
Sends a restart command to the agent, causing it to reload its configuration and reconnect.
Args: agent_id: The agent ID to restart (e.g., '001').
Returns: JSON object indicating success or failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |