Content of 'Agent List / Agent Table'

Started by ditonet, February 21, 2014, 12:19:01 AM

Previous topic - Next topic

ditonet

Hi!

How to find content (possible values) of 'Agent List / Agent Table' used by DCI's 'Instance Discovery'?
Manual (http://wiki.netxms.org/wiki/UM:Data_Collection#Instance_Discovery) says nothing about it.

Regards, Grzegorz.

roisgs2

Does anyone have an answer to this?
Please, ill be thankfull

Victor Kirhenshtein

Hi,

you can use nxget command line tool to get any list or table. For example, to get interface list:


C:\Source\NetXMS\release>nxget -e0 -l 10.5.0.162 Net.InterfaceList
1 127.0.0.1/8 24 000000000000 lo0
2 10.5.0.162/24 6 000000000000 bge0


to get file system table:


C:\Source\NetXMS\release>nxget -e0 -T 10.5.0.253 FileSystem.Volumes
MOUNTPOINT       |VOLUME           |LABEL            |FSTYPE           |SIZE.TOTAL       |SIZE.FREE        |SIZE.FREE.PCT    |SIZE.AVAIL    |SIZE.AVAIL.PCT   |SIZE.USED        |SIZE.USED.PCT    |
C:\              |\\?\Volume{39e06104-63ef-11dd-92a4-806d6172696f}\ |                 |NTFS             |40015953920      |33852870656      |84.598435        |33852870656      |84.598435        |6163083264       |15.401565        |
D:\              |\\?\Volume{2ae1c26a-6dc5-11dd-8464-806d6172696f}\ |                 |                 |0                |0
        |0                |0                |0                |0                |0                |
A:\              |\\?\Volume{2ae1c26b-6dc5-11dd-8464-9be8208dfb96}\ |                 |                 |0                |0
        |0                |0                |0                |0                |0                |


There are two useful lists: Agent.SupportedLists and Agent.SupportedTables to get list of all lists and tables supported by agent.

Best regards,
Victor