MikroTik API icon

MikroTik API

Community Node for MikroTik RouterOS API

Actions67

Netwatch → Get All

AI-generated

Summary

Retrieve all netwatch monitoring entries from MikroTik RouterOS.

Inputs

  • connectionAttempts — Number of times to try connecting to the RouterOS API
  • connectionDelay — Delay between connection attempts in seconds
  • cleanKeys — Replace hyphens and slashes with underscores in response data keys
  • tag — Custom tag appended to the API request parameters

Output shape

Array of netwatch entries as returned by RouterOS /tool/netwatch/print, with keys cleaned per the cleanKeys setting if enabled.

The operation executes /tool/netwatch/print with optional .tag param. Connection retry logic uses connectionAttempts and connectionDelay from the options collection.

Examples

Example 1: Basic get-all with default options

Leave all option fields at their defaults; the node returns every netwatch entry without key transformation or tagging.

Links

Discussion