MikroTik API icon

MikroTik API

Community Node for MikroTik RouterOS API

Actions67

Netwatch → Enable

AI-generated

Summary

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: {}

Links

Discussion