Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. File Size Not Working Correctly? (Current State Always 1)

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

Scheduled Pinned Locked Moved Support
8 Posts 2 Posters 41.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    T
    TICK_TEL
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi,

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

      Best regards,
      Victor

      1 Reply Last reply
      0
      • T
        T
        TICK_TEL
        wrote on last edited by
        #3

        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.


        Screenshot_8.png

        1 Reply Last reply
        0
        • T
          T
          TICK_TEL
          wrote on last edited by
          #4

          Any further ideas @Victor Kirhenshtein?

          1 Reply Last reply
          0
          • T
            T
            TICK_TEL
            wrote on last edited by
            #5

            Hello?

            1 Reply Last reply
            0
            • V
              V
              Victor Kirhenshtein
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0
              • T
                T
                TICK_TEL
                wrote on last edited by
                #7

                Thanks Victor. I have raised it on the bug tracker; https://track.radensolutions.com/issue/NX-1636

                1 Reply Last reply
                0
                • T
                  T
                  TICK_TEL
                  wrote on last edited by
                  #8

                  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

                  1 Reply Last reply
                  0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  Powered by NodeBB Contributors
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups