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 do I add Custom Perf Counters that start with 'R' using the API?

Votes:

0

I'm trying to add a Custom Perf Counter using the API using the following URL.

https://prtg/api/setobjectproperty.htm?id=3487&name=counters&value=
Category\Reads+Per+Second

Whenever I use this URL, PRTG treats the \R (at the beginning of "Reads") as a carriage return. When I view the settings for the sensor, the List of Counters setting looks like this:


Category eads Per Second

I've tried escaping the slash (
R) and url encoding the slash (%5CR), but nothing helps. It's always treated as a carriage return. Is there something else I can do to get around this?

api configuration performance-counters

Created on Jul 27, 2013 12:31:20 AM



2 Replies

Votes:

0

Hi,
this is indeed a bug and at the moment it is not possible setting this values via API. A fix will be released with the next stable version.
Best regards

Created on Jul 30, 2013 12:49:31 PM by  Konstantin Wolff [Paessler Support]



Votes:

0

I see that this has been fixed in the current version. Thanks for the quick turnaround on this!

Created on Aug 28, 2013 3:28:30 PM




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.