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 get the Interface number for all the WAN sensors

Votes:

0

I would like to list all the Interface number for WAN sensors? Which API method should I use?

Thank you! Best, Adeline

api prtg snmp-sensor

Created on Jan 12, 2021 3:36:42 PM



3 Replies

Votes:

0

Hi Adeline,

Thanks for the KB post.

What you can do is to first generate the list with below API, after that you may use Excel to filter the Wan interface.

/api/table.xml?content=sensors&output=csvtable&columns=objid,probe,group,device,sensor,status,message,lastvalue,priority,favorite

Thanks.


With kind regards,
Chan Siau Hen
Technical Support Team, Paessler AG

Created on Jan 20, 2021 2:59:54 PM by  Chan Siau Hen [Paessler Technical Support]

Last change on Jan 20, 2021 3:00:16 PM by  Chan Siau Hen [Paessler Technical Support]



Votes:

0

Hi Chan Siau Hen

Thanks for your support.

I have tried to get the Interface Number (visible in the Settings of a sensor) while calling to the given method. Unfortunately I am not able to get that information. Should I add more columns to the API call?

Best,

Adeline

Created on Jan 26, 2021 8:02:06 AM



Votes:

0

Hi Adeline,

Thanks for the feedback. Could you please reply the output of the API call to [email protected]? Please input 2068502 as the ticket ID.


With kind regards,
Chan Siau Hen
Technical Support Team, Paessler AG

Created on Jan 27, 2021 1:36:58 AM by  Chan Siau Hen [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.