Skip to main content

Enabling Seamless Udp Communication

Overview

Motadata AIOps supports multiple communication protocols between core components (Event/Flow Collector and Agent Logs). For environments where UDP is preferred over ZMQ (ZeroMQ), this guide provides instructions to enable seamless UDP-based communication across the platform.

note

In the case of using a protocol other than ZMQ (i.e., when switching to UDP), make sure to remove the following entries from the agent.json file:

"event.publisher.port" : 9449,
"event.subscriber.port" : 9444,

Prerequisites

  • Ensure all nodes (Application, Collector, Datastore, Agent) are reachable on required ports.
  • Open ports 9488-9497 for UDP communication across Application, Event/Flow Collector and Agent Logs with bidirectional access.
info

Ensure that ports 9488 to 9497 are open in the Motadata AIOps application with bidirectional access to enable seamless UDP client/server communication between the application, collector, agent, and remote entities. Specifically, port 9488 and the next 4 are used for sending, while port 9493 and the next 4 are used for receiving.

note

By default, port 9488 for sender and 9493 for receiver are open. To add next four ports for each, we can use the below key that should be added in the application server > motadata.json.

udp.event.publishers and udp.event.subscribers

Configuration Steps

Below are the required udp protocol settings to be applied in motadata.json and agent.json files for each component and make sure you restart the services after making protocol changes to ensure they take effect.

Application

motadata.json

"event.app.receiver.protocols" : [ "udp", "zmq" ],
note

The second protocol "zmq" should be the same as current architecture (Replace the zmq with http/tcp protocol on which the architecture is running).

Agent/ Health Agent

agent.json

"event.agent.sender.protocol" : "udp",

Event/ Flow Collector

motadata.json

"event.remote.processor.sender.protocol" : "udp",