Actions67
- Interface Actions
- Firewall Address List Actions
- IP Pool Actions
- ARP Actions
- DHCP Server Actions
- IP Address Actions
- Hotspot Actions
- Queue Simple Actions
- Wireless Actions
- System Actions
- System Clock Actions
- System Identity Actions
- System Script Actions
- System Scheduler Actions
- IP Service Actions
- Netwatch Actions
- Log Actions
- Custom Command Actions
Netwatch → Enable
AI-generatedSummary
Enables a netwatch monitor entry identified by targetId.
Inputs
- targetId — ID (*1, *2) or Name (ether1, user1)
- options — Optional settings for connection retries, delays, key cleaning, and tagging.
Output shape
Returns an array containing a JSON object with resource, operation, count, and data fields reflecting the RouterOS API response.
The response data is post-processed to replace
-and/with_in keys if cleanKeys is true.
Examples
Example 1: Enable a netwatch monitor named 'uptime'
targetId: 'uptime'; options: {}