How to get Discovery data for Instance Discovery

Started by rainerh, November 06, 2016, 05:01:49 PM

Previous topic - Next topic

rainerh

Hello,

I have the Problem to find the Name for the Discovery data, when I try to get the "Average disk queue length of device {instance} for last Minute" = System.IO.DiskQueue({instance}).

Instance Discovery:
   Instance discovery method: Agent List
   List Name: ??? wehre can I get all available Names with a short description who to use ???
                  Here I am looking for the correct Name of the possible devices to get disk Queue length
   Instance discovery filter script: ???

Here Is an example which will work for File System and free disk space:
"Percentage of free space on file system {instance}" = FileSystem.FreePerc({instance})

Instance Discovery:
   Instance discovery method: Agent List
   List Name: FileSystem.MountPoints
   Instance discovery filter script:
          if (rindex($1,":")>0)
          {
             type = AgentReadParameter($node, "FileSystem.Type(" . $1 . ")");
             return (type != null) && (type != "CDFS"); 
          }
          return false;

This solution I found in NetXMS Support Forum - Thank you!

Thanks!