Ad Widget

Collapse

Wrong value in disk monitor on Linux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Andrey
    Junior Member
    • May 2006
    • 7

    #1

    Wrong value in disk monitor on Linux

    Zabbix says:
    Free disk space on /home 31 May 14:52:00 9.07 MB
    df -k says

    [root@mt-adm2 log]# df -k|egrep 'home|File'
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda5 10080488 55380 9513040 1% /home

    Looks like MB should be G, how does one fix/change?

    [root@mt-adm2 log]# zabbix_server -v
    ZABBIX Server (daemon) v1.1beta11 (23 May 2006)
    Compilation time: May 24 2006 00:04:52
  • erisan500
    Senior Member
    Zabbix Certified Specialist
    • Aug 2005
    • 285

    #2
    Use the custom multiplier with 1024 as value for the moment.
    EriSan
    Zabbix Certified Specialist

    Comment

    • Andrey
      Junior Member
      • May 2006
      • 7

      #3
      where are such multipliers defined? will I have to do this for each host? and what do you mean 'for now'?

      Comment

      • schneck
        Member
        • May 2006
        • 62

        #4
        Re: Wrong value in disk monitor on Linux

        Originally posted by Andrey
        where are such multipliers defined?
        in the items definition (Configuration/Items/[select host or template])

        I use the following settings for disk space parameters:
        Code:
        Type of information: Numeric (float)
        Units:               B
        Use multiplier :     Custom Multiplier
        Custom multiplier:   1024
        will I have to do this for each host?
        Only once for the template or, if you're not using templates, for every host. (You should consider using templates, though :-)

        and what do you mean 'for now'?
        That's for the Zabbix Team to decide.

        The documentation says this value is in kilobytes, so the implementation is conforming to the specs. Also, the granularity of free space in a file system is usually measured in file system blocks, which is in the range of KB (depending on the file system and configuration).

        IMHO using bytes would have some advantages (especially with Custom Multiplier, which automagicalls rescales to KB, MB and GB.)

        On the other hand, changing the specs will create problems for all existing users (all items/triggers will have to be modified)
        Last edited by schneck; 01-06-2006, 08:00.

        Comment

        Working...