Ad Widget

Collapse

Trigger for FSpace on Hard Drives

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DeanC
    Junior Member
    • Dec 2017
    • 2

    #1

    Trigger for FSpace on Hard Drives

    Hi,

    What I am trying to do is get a simplke trigger to go off when a hard drive reaches a certain amount of disk space left on the disk mainly C drives, now we have many servers with differant sizes of C Drive so % will not do as I want to see what space is left. I have been following a You tube channel called Zabbixc Cookbook which is very good but he dose show how to do this on PFree and doing this under % is clear and easy. The issue I have is that the low level discovary template usese B as unit and when I check the latest data on a server the free hard drive space comes out as MB or GB.

    Question is what vlave do I put on the local host MARCO valve to get trihgger to work

    {ATI Template OS Windows Zabbix Agent:vfs.fs.size[{#FSNAME},free].last(0)}<{$LOWSPACE:"{#FSNAME}"}

    this is the trigger and the picture shows the Host macro area where I am trying to work out what to put in the C Drive bit I was firsrt thinking 1GB would work but this get an error valve not acceptable.

    Any advise would be gatefully recived

Working...