Mikrotik icon

Mikrotik

Consume Mikrotik API (v.0.1.4)

find

AI-generated

Overview

This node interacts with the Mikrotik API to perform operations based on the specified resource and operation parameters. Specifically, for the 'Default' resource and 'find' operation, it allows users to search for properties on a Mikrotik device by specifying the host, SSL certificate validation preference, and a collection of properties to search by. This is useful for network administrators who want to query Mikrotik devices for specific configuration or status information programmatically within an n8n workflow.

Use Case Examples

  1. A user wants to find specific configuration parameters on a Mikrotik router by providing the host address and a set of key-value pairs representing the properties to search for.
  2. A network automation workflow that queries multiple Mikrotik devices to retrieve certain settings or statuses, ignoring SSL issues if necessary.

Properties

Name Meaning
Host The hostname or IP address of the Mikrotik device to connect to.
Ignore SSL Issues Whether to download the response even if SSL certificate validation is not possible, useful for self-signed certificates or untrusted SSL setups.
Properties A collection of key-value pairs representing the properties to search for on the Mikrotik device. Each item consists of a parameter name and its corresponding value to filter the search.

Output

JSON

  • result - The search results returned from the Mikrotik API based on the specified properties.

Dependencies

  • Mikrotik API credentials (API key or authentication token)

Troubleshooting

  • Ensure the 'Host' parameter is correctly set to the reachable Mikrotik device address.
  • If SSL issues occur, consider enabling 'Ignore SSL Issues' to bypass certificate validation errors.
  • Verify that the Mikrotik API credentials are valid and have sufficient permissions to perform the find operation.
  • Common error messages may include connection timeouts, authentication failures, or invalid parameter errors. Check network connectivity and credential correctness to resolve these.

Links

Discussion