Manage Netwatch Entry
manage_netwatch_entryAdd, remove, enable, or disable Netwatch monitoring entries on a MikroTik router. Idempotent by host and port to avoid duplicates.
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 | Yes | Target router identifier from the router registry | |
| 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 |