add_agent
Register a new agent with a unique name and IP address to the OSSEC manager for security monitoring.
Instructions
Add a new agent to the OSSEC manager.
Registers a new agent with the specified name and IP address. The agent will need to be authenticated and configured to connect.
Args: name: Unique name for the new agent (e.g., 'webserver-01'). ip: IP address of the agent (e.g., '10.0.0.10'). Use 'any' for dynamic IPs.
Returns: JSON object with the result including the new agent's ID and key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| ip | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |