Changing Free/Used Space to GB

Started by TICK_TEL, April 24, 2018, 11:28:24 AM

Previous topic - Next topic

TICK_TEL

Hello,

I am currently using NetXMS for monitoring space on the servers I use. I was wondering if its possible to change the Free/Used Sapce to show the value in GB rather than a percentage?
FileSystem.FreePerc({instance})
FileSystem.UsedPerc({instance})

I noticed in instance discovery it has this (no idea what it does or if its useful)
type = AgentReadParameter($node, "FileSystem.Type(" . $1 . ")");
if ((type == null) || (type == "") || (type == "CDFS"))    
   return false;
return true;


Thanks!

Victor Kirhenshtein

Hi,

there are separate agent parameters that returns used and free space in bytes - respectively FileSystem.Used and FileSystem.Free. You can either replace parameter names in template or create new template DCIs with same settings but usiong different parameters.

Best regards,
Victor