Ad Widget

Collapse

Unit problem ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ram_0000
    Junior Member
    • Sep 2004
    • 6

    #1

    Unit problem ?

    The web interface displays "Free disk space on / 30 Sep 16:57:53 1094038.13 GB"

    I really like to know that I have 1094 Tera Bytes free on my Hard disk.

    More seriously is there a mistake in displayed units.

    It displays too "Total disk space on / 30 Sep 16:39:23 2164715.59 GB "

    and the result of the command "df -k" gives me
    myhost:~# df -k
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/hda1 2885216 1280980 1457676 47% /

    Why is tere a difference between what zabbix and df output

    Thank you for help
    Raymond
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Most probably you have Multiplier incorrectly set for the monitored parameter.

    Check it in Item Configuration Screen.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • cooper
      Senior Member
      • Sep 2004
      • 110

      #3
      Originally posted by ram_0000
      The web interface displays "Free disk space on / 30 Sep 16:57:53 1094038.13 GB"

      I really like to know that I have 1094 Tera Bytes free on my Hard disk.

      Raymond
      1000 tera bytes???????? It sounds like you are off by several orders of magnitude. Unless that is, you are a ridiculusly large research or institutional facility

      Comment

      • rumor
        Junior Member
        • Sep 2004
        • 10

        #4
        Yeah... It's just a misconfiguration, nothing more!
        I guess You just played with Units and Multiplier (Configuration of Items)!

        Comment

        • ram_0000
          Junior Member
          • Sep 2004
          • 6

          #5
          Originally posted by Alexei
          Most probably you have Multiplier incorrectly set for the monitored parameter.

          Check it in Item Configuration Screen.
          Mulktiplier was part of the problem but it does not fix everything

          now I have:
          Total disk space on / 2113.98 GOctets

          the Item configuration setting are:
          Key:disktotal[/]
          Units:Octets
          Multiplier:-


          Hope it will help

          Comment

          • rumor
            Junior Member
            • Sep 2004
            • 10

            #6
            diskfree[*] by deafult returns value in Kb
            So, just leave Units empty...

            Comment

            • ram_0000
              Junior Member
              • Sep 2004
              • 6

              #7
              Originally posted by rumor
              diskfree[*] by deafult returns value in Kb
              So, just leave Units empty...
              Here are the tests I made and the results:
              Key:disktotal[/]
              Unit:empty
              Multiplier:-
              Result:2269868816081.28

              Key:disktotal[/]
              Unit:Bytes
              Multiplier:-
              Result:2113.98 GBytes

              Key:disktotal[/]
              Unit:Things
              Multiplier:-
              Result:2113.98 GThings

              Key:disktotal[/]
              Unit:Bytes
              Multiplier:K(1024)
              Result:2164715.59 GBytes

              The real size of the disk as shown by the df command:
              myhost:~# df -k
              Filesystem 1K-blocks Used Available Use% Mounted on
              /dev/hda1 2885216 1184608 1554048 44% /

              Can somebody explain this ?
              Raymond

              Comment

              • rumor
                Junior Member
                • Sep 2004
                • 10

                #8
                Try Units:Oz.!

                Seriosly man - I recommended:
                Units :
                Multiplier:-
                Last edited by rumor; 01-10-2004, 11:17.

                Comment

                • Alexei
                  Founder, CEO
                  Zabbix Certified Trainer
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • Sep 2004
                  • 5654

                  #9
                  Originally posted by ram_0000
                  Here are the tests I made and the results:
                  Key:disktotal[/]
                  Unit:empty
                  Multiplier:-
                  Result:2269868816081.28

                  ...

                  The real size of the disk as shown by the df command:
                  myhost:~# df -k
                  Filesystem 1K-blocks Used Available Use% Mounted on
                  /dev/hda1 2885216 1184608 1554048 44% /
                  Please, could you give platform details and also version of the agent. Thanks.
                  Alexei Vladishev
                  Creator of Zabbix, Product manager
                  New York | Tokyo | Riga
                  My Twitter

                  Comment

                  • ram_0000
                    Junior Member
                    • Sep 2004
                    • 6

                    #10
                    Originally posted by Alexei
                    Please, could you give platform details and also version of the agent. Thanks.
                    My host is a PC running a Linux Debian OS
                    myhost:~# uname -a
                    Linux myhost 2.2.20-idepci #1 Sat Apr 20 12:45:19 EST 2002 i586 GNU/Linux

                    The hard disk is as follow:
                    myhost:~# fdisk /dev/hda

                    Disk /dev/hda: 3227 MB, 3227148288 bytes
                    128 heads, 63 sectors/track, 781 cylinders
                    Units = cylinders of 8064 * 512 = 4128768 bytes

                    Device Boot Start End Blocks Id System
                    /dev/hda1 * 3 729 2931264 83 Linux
                    /dev/hda2 730 781 209664 82 Linux swap
                    /dev/hda3 1 2 8032+ 12 Compaq diagnostics
                    Partition table entries are not in disk order

                    This host has the following zabbix processes:
                    zabbix_suckerd,
                    zabbix_trapperd on port 10001,
                    and zabbix_agentd on port 10002

                    nothing special in the zabbix_agentd.log file but debug level is set to 3 in the zabbix_agentd.conf file

                    The version zabbix is the one I found on the zabbix web site few days ago (I think it is a 1.0 version)

                    Raymond

                    Comment

                    Working...