What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

How can I manually enable NATS JetStream on my NATS server?

Votes:

0

I want to update my NATS server to version 2.10.17 so that I can have backup data buffering because my connection is unreliable, but I do not want to change my configuration data. How can I manually enable the JetStream feature?

jetstream multi-platform-probe nats nats-server-2-10-17 prtg

Created on Nov 15, 2024 8:31:44 AM by  Jacqueline Conforti [Paessler Support]

Last change on Nov 15, 2024 8:33:48 AM by  Jacqueline Conforti [Paessler Support]



1 Reply

Accepted Answer

Votes:

0

This article applies as of PRTG 24.4.102 and multi-platform probe 3.0.0

NATS JetStream

With multi-platform probe 3.0, we introduced data buffers. Data buffers store data when a connection drops, in this case, between a multi-platform remote probe and the PRTG core server, and sends the stored data when the connection is reestablished. Thanks to this feature, we can minimize data loss due to a dropped connection, a down server, unreliable internet, etc.

As the multi-platform probe connects to the PRTG core server via a NATS server, we enabled NATS JetStream, a persistence engine built into the NATS server that stores messages until they can be relayed.

Requirements

To take advantage of the NATS JetStream data buffering, your system must meet some requirements:

ComponentMinimum version requirement
Multi-platform probe3.0.0
NATS server2.10
PRTG core server24.4.102

How to enable NATS JetStream

If you want to keep your current configuration when you update the NATS server, you must manually add NATS JetStream to your NATS server configuration file.

You can find the NATS server configuration file in the Paessler data directory: C:\ProgramData\Paessler\NATS Server\nats_server.

Your configuration file before you enable NATS JetStream looks like this: NATS sever configuration without JetStream
Click to enlarge.

1. To enable NATS JetStream, add the following parameters:

  • Between "port" and "log file": "jetstream": { "max_memory_store": "1G", "max_file_store": "2G" },
  • Before "users" under "PRTG_Network_Monitor": "jetstream": "enabled",

The final configuration file should look like this: NATS sever configuration without JetStream
Click to enlarge.

2. Save your changes.

3. To apply your changes, restart the NATS Server for Paessler PRTG service:

  • Open the Services application on your Windows system. (Hint: Type "Services" into your system's search bar.)
  • Find NATS Server for Paessler PRTG Service.
  • Right-click on the service to open the context menu.
  • Click Restart.

You successfully enabled NATS JetStream on your NATS server. You can check your NATS server logs to confirm that NATS JetStream is running properly.

More

Multi-Platform Probe for PRTG manual

Created on Nov 15, 2024 10:22:45 AM by  Jacqueline Conforti [Paessler Support]

Last change on Nov 19, 2024 11:35:10 AM by  Jacqueline Conforti [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.