NetXMS Support Forum

English Support => General Support => Topic started by: tivanni on January 17, 2013, 01:04:52 PM

Title: Export Find switch port info
Post by: tivanni on January 17, 2013, 01:04:52 PM
Hi at all,

i'd like to create a script exports some info from Netxms. I extract info about nodes (ip, name, mask, mac address etc) from mysql. Now i'd like to extract the information about what switch the end device is connected to.
I suppose the function "Find Switch Port" query the mib of the switch; is this information stored in the DB? Can i call the fuction "Find switch port" externally from netxms (from a command line script for example)?
If none of this is possible, can you share the query netxms uses to get the "find switch port" information?

Thank you so much,

Giovanni