Ad Widget

Collapse

Free Disk Space Trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vlam
    Senior Member
    Zabbix Certified Specialist
    • Jun 2009
    • 166

    #1

    Free Disk Space Trigger

    Hi All

    I need some help with creating an better trigger for free disk space. If you take the current triggers it is either on a % free or on a GB free

    I want to know will it be possible to create some thing similar to the following

    If I have a 100GB disk and I want to trigger if I have less than 5GB then that is fine because that is either 5GB or 5%
    BUT
    If I have a 10TB disk for example I want to trigger for example on 10GB but not 5% as that will still be 500GB

    So a trigger of {HOSTANAME:vfs.fs.size[#FSNAME],pfree.last(0)}<5

    should have something like:

    {HOSTANAME:vfs.fs.size[#FSNAME],pfree.last(0)}<5
    if
    {HOSTANAME:vfs.fs.size[#FSNAME],free.last(0)}<5120

    or something like

    if
    {HOSTNAME:vfs.fs.size[{#FSNAME},total].last()}=???
    and
    {HOSTANAME:vfs.fs.size[#FSNAME],free.last(0)}<???
    if
    {HOSTANAME:vfs.fs.size[#FSNAME],pfree.last(0)}<5
    then Problem
    if not then OK

    this is something We are looking at to better disk monitoring but I am at a lost trying to get it to work. If anyone has some advise or idea on how to get this working that will be much appreciated

    4 Zabbix Frontend Servers (Load balanced)
    2 Zabbix App Servers (HA)
    2 Zabbix Database Servers (HA)
    18 Zabbix Proxy Servers (HA)
    3897 Deployed Zabbix Agents
    6161 Values per second
    X-Layer Integration
    Jaspersoft report Servers (HA)
Working...