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

Get The Interface ID from the API

Votes:

0

How can I get the interface ID from the API?

We use a separate site to show which sensors is running on which switch but there is no (known) way to show the port number by using the table.xml.

api interface interfaceid prtg

Created on Jun 18, 2010 8:35:48 AM

Last change on Jun 18, 2010 8:52:45 AM by  Daniel Zobel [Product Manager]



Best Answer


2 Replies

Votes:

0

One option would be to use the "tag" field of a sensor.

The table.xml would than report this value in the <tags> node.

<name>Cisco Switch 2</name>
<id>2036</id> 
<tags>portnumber: 4</tags> 

Created on Aug 5, 2010 6:55:47 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.