NetXMS Support Forum

English Support => General Support => Topic started by: TICK_TEL on April 24, 2018, 11:28:24 AM

Title: Changing Free/Used Space to GB
Post by: TICK_TEL on April 24, 2018, 11:28:24 AM
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!
Title: Re: Changing Free/Used Space to GB
Post by: Victor Kirhenshtein on April 24, 2018, 12:17:47 PM
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