Ad Widget

Collapse

file size > 2Go

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BenP
    Member
    • Aug 2007
    • 35

    #1

    file size > 2Go

    Hi,


    I've got something special when a file decame higher that 2Go it's recognize as size of 8388608 To (!) Does somebody get same problem?

    Information :
    Zabbix server 1.4.2
    Zabbix agent 1.4.2
    Filesystem Type NTFS
    Windows 2000 server

    Result log :

    2007.Dec.10 18:04:09 9223372036854775807
    2007.Dec.10 18:03:39 9223372036854775807
    2007.Dec.10 18:03:10 9223372036854775807
    2007.Dec.10 18:02:39 9223372036854775807
    2007.Dec.10 18:02:09 2139103232
    2007.Dec.10 18:01:40 2115510272
    2007.Dec.10 18:01:32 2108956672

    Item used:

    vfs.file.size[I:\oracledb\MIGJV\oradata\TEMP01.DBF]

    Zabbix_get result :

    # zabbix_get -s ****** -k "vfs.file.size[I:\oracledb\MIGJV\oradata\TEMP01.DBF]"
    18446744071709007872

    Real size:

    2,13 Go (2 294 423 552 octets)


    in attachement :

    -trigger window
    -Item conf

    Regards.

    Ben
    Attached Files
    Last edited by BenP; 17-12-2007, 19:12. Reason: add some precisions...
  • BenP
    Member
    • Aug 2007
    • 35

    #2
    I answer for my problem. Sf bug is allready open there : http://sourceforge.net/tracker/index...94&atid=378683

    It seem to be a compilation problem?


    I used precompiled win32 agent from stable release 1.4.2 ...


    Hum, bug open on appropriate place : https://support.zabbix.com/browse/ZBX-212
    Last edited by BenP; 10-12-2007, 23:54.

    Comment

    • BenP
      Member
      • Aug 2007
      • 35

      #3
      Ok, resolved using userparameter.

      I'll post the command line used if somebody asked to.

      regards

      Comment

      • niak
        Member
        • Nov 2007
        • 30

        #4
        Originally posted by BenP
        Ok, resolved using userparameter.

        I'll post the command line used if somebody asked to.

        regards
        Hi,

        I've got the same problem, i monitor a database which weighs 37 Gbytes and zabbix agent return me : 18446744072114946048 bits !

        Can you tell me how can i do to get the correct size ?

        Regards,

        Comment

        • BenP
          Member
          • Aug 2007
          • 35

          #5
          Originally posted by niak
          Hi,

          I've got the same problem, i monitor a database which weighs 37 Gbytes and zabbix agent return me : 18446744072114946048 bits !

          Can you tell me how can i do to get the correct size ?

          Regards,

          Hi,

          I had to create custom rule on monitored server with the key:
          UserParameter=largefile_size[*], for /F %A in ("$1") do @echo %~zA

          I ask the file size with :
          largefile_size[I:\oracledb\MIGJV\oradata\USERS01.DBF]

          Don't forget, that's work only for windows servers...

          I've seen that agent 1.5.* natively works. I don't know about the 1.4.5 one.

          Regards

          --
          Ben
          Last edited by BenP; 28-05-2008, 16:48.

          Comment

          • niak
            Member
            • Nov 2007
            • 30

            #6
            Thank you very much Ben ! it's a very good idea !

            regards,

            Comment

            • BenP
              Member
              • Aug 2007
              • 35

              #7
              Originally posted by niak
              Thank you very much Ben ! it's a very good idea !

              regards,
              De rien, en plus j'adère pleinement aux idées évoquées par votre signature!

              Comment

              • niak
                Member
                • Nov 2007
                • 30

                #8
                Originally posted by BenP
                De rien, en plus j'adère pleinement aux idées évoquées par votre signature!
                C'est vrai que ce n'est pas toujours facile de trouver toutes les informations que l'on souhaite en français !

                I translate :

                It is true that this is not always easy to find all the informations you want in french language !

                Bye

                Comment

                • IvanG
                  Junior Member
                  • Aug 2008
                  • 12

                  #9
                  Originally posted by BenP
                  Hi,

                  I had to create custom rule on monitored server with the key:
                  UserParameter=largefile_size[*], for /F %A in ("$1") do @echo %~zA

                  I ask the file size with :
                  largefile_size[I:\oracledb\MIGJV\oradata\USERS01.DBF]

                  Don't forget, that's work only for windows servers...

                  I've seen that agent 1.5.* natively works. I don't know about the 1.4.5 one.

                  Regards

                  --
                  Ben
                  Hi Guys, do you know if this can work with smaller files? I just want to know if they are growing more than 2 GB

                  Thanks in advance!

                  Comment

                  • BenP
                    Member
                    • Aug 2007
                    • 35

                    #10
                    Originally posted by IvanG
                    Hi Guys, do you know if this can work with smaller files? I just want to know if they are growing more than 2 GB

                    Thanks in advance!
                    Hi IvanG,

                    That's work for any file size.
                    So you you can use it to monitor your file.

                    Best regards.

                    Comment

                    Working...