Ignore some hard drives from monitoring

Started by andre.correia, February 14, 2020, 02:44:44 PM

Previous topic - Next topic

andre.correia

Greetings,

Currently when i mount an ISO file in a virtual machine it always sends me a message that i have a HDD with no Space available.

I would like to exclude from netxms the Mounted ISO drives as all the \\volume drives.


in my monitorization i only want the fixed hard drives.

This is what I have at the moment:

type = AgentReadParameter($node, "FileSystem.Type(" . $1 . ")");
if ((type == null) || (type == "") || (type == "CDFS"))    
   return false;
return true;

Borgso

Hi, im also ignoring UDF:

type = AgentReadParameter($node, "FileSystem.Type(" . $1 . ")");
if ((type == null) || (type == "") || (type == "CDFS") || (type == "UDF"))
   return false;
return true;


To identify type, you can add a DCI  with:
QuoteFileSystem.Type({instance})