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

HTTP API - Duplicating Sensors



According to https://www.paessler.com/manuals/prtg/object_manipulation#duplicating_clone I do the following (in Git Bash):

curl --insecure \
	--data-urlencode "username=${user}" \
	--data-urlencode "passhash=${pwdHash}" \

The sensor is created but despite of the manual's "the server replies with a redirect to the new object's web page, for example /sensor.htm?id=10214" only the progress infos are printed by curl.

PS: Your forum SW doesn't handle URL fragments correctly.

api clone curl prtg response

Created on Sep 8, 2022 8:40:18 AM

Last change on Sep 9, 2022 8:36:30 AM by  Felix Wiesneth [Paessler Support]

3 Replies



At the moment our developers are not looking at defects in the old API as we have created and implemented the new API v2 in the new UI of PRTG. We recommend to use the new API v2 instead and if you have issues with the output you can open a support ticket at [email protected] More information here https://www.paessler.com/support/prtg/api/v2/overview

Created on Sep 15, 2022 7:11:26 AM by  Jonathan Mena [Paessler Technical Support]



I wanted to use the API v2 but then I found and read the page you link before. It says:

"If you already want to use the PRTG API on your production system, we recommend that you use the PRTG API (v1)."

Created on Sep 15, 2022 10:00:26 AM



Yes I understand, the problem is that this issue you are having seems to be a defect on the API and we are no longer going to fix the code for API v1 on PRTG. So we recommend trying the V2. Or you can open a support ticket at [email protected] so we can look at it in depth.

Created on Sep 19, 2022 10:43:29 PM by  Jonathan Mena [Paessler Technical 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.