Ad Widget

Collapse

Trigger question/assistance

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rkruck
    Junior Member
    • Mar 2014
    • 9

    #1

    Trigger question/assistance

    I have set triggers for disk space for when it reaches 80%, 90% and 95%. The problem is because the trigger I set for 95% is:

    {Template OS Linux:vfs/fs/size[{#FSNAME},pfree].last(0)}<5

    I am getting 3 alerts and emails for it being less that 20, less than 10 and less than 5. If I wanted to islolate the triggers to only alert if they were between say 20-10, 9-5, and 4 or less is there a way to do it so you only get one alert depending on how full it is?

    I hope this is making sense.

    Robert
  • coreychristian
    Senior Member
    Zabbix Certified Specialist
    • Jun 2012
    • 159

    #2
    I have my triggers setup to do what your looking for, there might be a better way though.

    {Template OS Linux:vfs.fs.size[{#FSNAME},pfree].last(0)}<15&{Template OS Linux:vfs.fs.size[{#FSNAME},pfree].last(0)}>10

    This trigger will fire when the last value is between 15 and 10, once it's less then 10% free this trigger clears.

    You will still receive an e-mail if the file system slowly grows through your thresholds, though you should stop getting e-mails for the trigger once it passes through the specific threshold.

    Comment

    • aib
      Senior Member
      • Jan 2014
      • 1615

      #3
      one more option - you can make in "dependent"

      20% trigger depend on 10% and 5% triggers
      10% trigger depend on 5% trigger

      When the 5% trigger active, 10% and 20% triggers don't activate.
      Sincerely yours,
      Aleksey

      Comment

      Working...