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

API field required for "Traffic In" channel's manual value set for "Display in percent of maximum"

Votes:

0

With the following URL, I am able to retrieve the name and max threshold of a channel.

https://monitoring/api/getobjectproperty.htm?id=2001&subtype=channel&subid=0&name=name&show=text

https://monitoring/api/getobjectproperty.htm?id=2001&subtype=channel&subid=0&name=limitmaxwarning&show=text

But, didn't find any fieldname to use in API, for Maximum (kbit/s) limit that we set manually in PRTG on a network interface's channel ? I would like to retrieve 30,000 for the below example's setting on an interface "Traffic In" channel.

Data
( ) Display actual values in kbit/s
(*) Display in percent of maximum
Maximum (kbit/s)
<b>30,000</b>

api channel-settings-values prtg

Created on Sep 21, 2021 5:05:10 AM

Last change on Sep 21, 2021 5:40:10 AM by  Felix Wiesneth [Paessler Support]



5 Replies

Accepted Answer

Votes:

1

Hello,

Thank you for your message.

To get the maximum value defined in the setting of a sensor channel, you can use the following API call:

https://monitoring/api/getobjectproperty.htm?id=2001&subtype=channel&subid=0&name=ref100percent&show=text

If you have questions, let me know.

Regards.

Created on Sep 28, 2021 8:25:12 AM by  Florian Lesage [Paessler Support]



Votes:

0

That worked.. Thank you Florian

Created on Sep 28, 2021 8:51:40 AM



Votes:

0

Can we get the complete list for the rest of available names ?

name id limitmode limitmaxerror limitmaxwarning limitminwarning limitminerror limiterrormsg limitwarningmsg ref100percent etc., ?

Created on Sep 28, 2021 8:56:16 AM



Votes:

0

You will find many elements in the following manual under Advanced Script, HTTP Data, and REST Custom Sensors: Elements: https://www.paessler.com/manuals/prtg/custom_sensors#advanced_elements.

However, I'm afraid that some of them can't be supported as they can be different between installations. Therefore you need to get the id of the objects by using the developer console of your browser.

Regards.

Created on Sep 28, 2021 9:16:13 AM by  Florian Lesage [Paessler Support]

Last change on Sep 28, 2021 9:16:36 AM by  Florian Lesage [Paessler Support]



Votes:

0

Got it . Thank you once again.

Created on Sep 28, 2021 9:34:20 AM




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.