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.
Article Comments
The API call is
http://[yourprtgserver]/api/getobjectproperty.htm?id=[sensorid]&name=interfacenumber
Please see: How can I change or retrieve object settings of groups, devices or sensors using the API? for more information.
Aug, 2010 - Permalink
One option would be to use the "tag" field of a sensor.
The table.xml would than report this value in the <tags> node.
Aug, 2010 - Permalink