Ad Widget

Collapse

Free space percentage in alert

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • taipan
    Junior Member
    • Oct 2012
    • 5

    #1

    Free space percentage in alert

    Hello everyone,
    I am using the default Linux template to create alerts when free space on a partition goes below a certain percentage. Let's say 5%. It's working just fine, and zabbix triggers the alert and sends out the emails.

    The problem is, that i have one such alert, which for several reasons which are not worth mentioning, i can't fix right now. So zabbix keeps sending me emails saying
    "1. Free disk space on /partition (percentage) (hostname1:vfs.fs.size[/partition,pfree]):
    4.73 %"

    The thing is, that the 4.73% remains the same, even if by now my partition is even more full, and there is like only 2.5% free disk. But zabbix, ion the alert, keeps sending me the initial value it got when the alert triggered, and it does not refresh it.

    Is there any way to change this behaviour?

    This is the trigger:
    {Template OS Linux with nfs:vfs.fs.size[{#FSNAME},pfree].last(0)}<{$FREE_DISK_SPACE}

    And this is the trigger:
    1. {ITEM.NAME1} ({HOST.NAME1}:{ITEM.KEY1}):
    {ITEM.VALUE1}

    Thank you
  • heaje
    Senior Member
    Zabbix Certified Specialist
    • Sep 2009
    • 325

    #2
    in the trigger use {item.lastvalue} instead of {item.value}
    Last edited by heaje; 15-12-2012, 05:52. Reason: fixed typo

    Comment

    • taipan
      Junior Member
      • Oct 2012
      • 5

      #3
      Awesome, that worked. Thanks

      Comment

      Working...