File Size Not Working Correctly? (Current State Always 1)

Started by TICK_TEL, May 01, 2019, 10:56:31 AM

Previous topic - Next topic

TICK_TEL

Hello,

I am using the FileSize param in order to calculate the size of a file within a directory.
File.Size(S:\ftp\blah\,*,0)

A threshold has been setup.
Last Polled Values
Samples: 1
< : Less then 64000000000
Activation Event SVC_File_Size_Alert
Deactivation Event Sys_threshold_Rearmed

The file size is 65000000000+ but yet the current state is still 1 when this should be 0.

Any ideas?

Victor Kirhenshtein

Hi,

do you see correct value in "Last values"? Do you have data type for DCI set to 64 bit integer?

Best regards,
Victor

TICK_TEL

I didn't have it set as a 64 bit integer, so I've now changed it to this. But doesn't appear to have made any difference. The current state is till 1.

TICK_TEL



Victor Kirhenshtein

Hi,

it looks like a bug (likely related to handling 64 bit integers), but we didn't have time to check it yet. Somebody from the team will take a look at it shortly. You may also register issue in out tracker - that will help not forget about this issue.

Best regards,
Victor


TICK_TEL

Managed to resolve this by upgrading to the latest Server and Web UI version.

I was looking at the wrong DB - The issue is still not fixed. Could you mark as unresolved - https://track.radensolutions.com/issue/NX-1636