NetXMS Support Forum

English Support => General Support => Topic started by: clifford on December 11, 2018, 06:24:01 AM

Title: Export to Excel all Nodes with specific SNMP Object OID
Post by: clifford on December 11, 2018, 06:24:01 AM
Hi

I use the find tool to list all object with specific object OID, however i can only list it, is it possible to export the list.

Regards

Clifford Dsouza
Title: Re: Export to Excel all Nodes with specific SNMP Object OID
Post by: gdodd on December 13, 2018, 12:24:32 AM
I do not see a way to export that list from the console.

This entry may help to accomplish the export.

https://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations#Export_list_of_interfaces_to_CSV_file (https://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations#Export_list_of_interfaces_to_CSV_file)

Title: Re: Export to Excel all Nodes with specific SNMP Object OID
Post by: clifford on December 14, 2018, 09:08:21 AM
Hi

Im trying to export the list from the script however i get the error below

Traceback (most recent call last):
  File "export.py", line 8, in <module>
    w.writerow([
AttributeError: 'org.netxms.client.objects.Interface' object has no attribute 'getPrimaryIP'


i also get the same error when i use the script in the below link by technikcst

https://www.netxms.org/forum/installation/move-container-to-new-server/msg17134/#msg17134

What i need is

Node name, SNMP Object OID, IP Address, System Description, SNMP sysName

Regards

Clifford