Ad Widget

Collapse

Used disk space in %

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HEMA1
    Member
    • Jun 2008
    • 33

    #1

    Used disk space in %

    Disk usage
    I am about to set up monitoring off disk usage on agent 1.4.6.
    What I would like todo is: if value is grater then 90% -> Alarm.
    The settings I have is:
    Item:
    Used disk space on $1 in %
    vfs.fs.size[/,pused]
    Numeric (float)

    Trigger:
    {Template_Linux:vfs.fs.size[/,pused].last(0)}>90

    Should this work?

    The other question is How does zabbix calculate "vfs.fs.size[/,pused]"
    :
    When running the command:
    /usr/local/zabbix/sbin/zabbix_get -s host1 -p10050 -k"vfs.fs.size[/,pused]"
    27.537394
    And when checking on the node:
    /dev/mapper/VolGroup00-LogVol00
    32G 7,1G 23G 24% /
    /dev/sda1 99M 19M 75M 21% /boot
    none 1014M 0 1014M 0% /dev/shm

    The value does not map??
  • pierre-hoffmann
    Senior Member
    • Jan 2008
    • 133

    #2
    Hi,

    for disk % space monitoring i'm using :
    • Item :
      • description: fs / [pfree]
      • key: vfs.fs.size[/,pfree]
    • Trigger :
      • description: Espace libre insuffisant sur '/' [{ITEM.VALUE}% libre]
      • expression: {linux_fs:vfs.fs.size[/,pfree].last(0)}<10


    It work fine for me (Linux and Aix).

    Regards,
    Pierre
    Last edited by pierre-hoffmann; 05-08-2008, 11:15.
    P.Hoffmann
    System & Network Admin.
    __________________________
    Zabbix version 1.8.1
    Hosts monitored 1300
    OS Novell SLES 10 SP2
    __________________________

    Comment

    • HEMA1
      Member
      • Jun 2008
      • 33

      #3
      Tnx

      TNX

      now it works OK

      Comment

      Working...