Manage Netwatch Entry
manage_netwatch_entryAdd, remove, enable, or disable monitoring entries. Idempotent by host and port prevents duplicate creation.
Instructions
Add, remove, enable, or disable a Netwatch monitoring entry. Idempotent by host+port: add returns already_exists if an entry with the same host and port already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routerId | No | Router ID; omit to use the default router. | |
| action | Yes | Action to perform | |
| host | Yes | Host to monitor — idempotency key | |
| port | No | TCP port (optional; ICMP if omitted) | |
| interval | No | Check interval (e.g. '1m'; default '1m') | |
| timeout | No | Probe timeout (e.g. '500ms') | |
| comment | No | Optional comment | |
| dryRun | No | Preview changes without applying. |