inbound/outbound Traffic DCI

Started by atena, August 16, 2020, 09:43:53 AM

Previous topic - Next topic

atena

Hello
I added outbound traffic on 28th port of one node(network packet broker)  by selecting Create data collection item ...
in Transformation tab for delta calculation I chose None(keep original value) and in transformation script  wrote "return $1 * 8"
but the value which this DCI shows seems incorrect
Did I do something wrong in definition of this DCI?

Victor Kirhenshtein

Hi,

if you are using form with "return" statement you should put semicolon at the end, like

return $1 * 8;


r use expression only form, in which case semicolon is not needed:

$1 * 8


Best regards,
Victor

atena

Thanks a lot for your response
I did what you said but when in last values I get history from outbound in this port I saw something weird, for example the raw value is 396953 but the value is 0
whats the problem???

Victor Kirhenshtein

Hi,

is it after you corrected your script or it is some old values?

Best regards,
Victor

atena

Is it after my correction
what can I do to correct it?

Victor Kirhenshtein

Looks strange. Could you please provide screenshots of DCI configuration and values history?

Best regards,
Victor