Some additional info can be found in this thread: https://www.netxms.org/forum/index.php/topic,289.0.html.
Assuming that you have DCI for parameter System.Memory.Physical.Total, your transformation script may look like this:
or simplified to
Best regards,
Victor
Assuming that you have DCI for parameter System.Memory.Physical.Total, your transformation script may look like this:
Code Select
sub main()
{
total = GetDCIValue($node, FindDCIByName($node, "System.Memory.Physical.Total"));
return $1 / total * 100;
}
or simplified to
Code Select
$1 / GetDCIValue($node, FindDCIByName($node, "System.Memory.Physical.Total")) * 100
Best regards,
Victor