NetXMS Support Forum

English Support => General Support => Topic started by: adimitrov on February 09, 2018, 11:33:37 AM

Title: Negative values on unassigned integer DCI
Post by: adimitrov on February 09, 2018, 11:33:37 AM
Hello Team ,

We have some switches with 10G and 40G interfaces where we configured instance discovery for network interface traffic inbound and outbound. There is also a transformation script on the DCI as follows:

return $1 * 8;

The issue is that when the value is too big in becomes negative and it is show as negative in the graphs. The DCI is configured as unassigned integer 64bit, and we have never had any issues with this. Searching through google and the forum i cannot find any solution for this that works. Do you have any idea how to fix this ? Some screenshots are attached, please review.

Best Regards,
Adrian
Title: Re: Negative values on unassigned integer DCI
Post by: Victor Kirhenshtein on February 20, 2018, 09:10:10 PM
Hi,

in 2.2.3 we have added fix for incorrect value type in transformation script. If you are running older version, try to change transformation script to


return uint64($1) * 8;


Best regards,
Victor