Ad Widget

Collapse

Adding Duration to Trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Owackit
    Junior Member
    • Dec 2015
    • 2

    #1

    Adding Duration to Trigger

    Hi All,

    I am fairly new to zabbix trigger configuration. I have setup the zabbix and I am currently monitoring our VMs.

    We get CPU iowait time trigger for one of our VM. This will last for about 5mins, before the OK email is sent.

    Is there a way to set a duration in zabbix for a trigger. So if the CPU iowait time is high for more that 15mins, send an email.

    Thank you
  • abevern
    Junior Member
    • Apr 2015
    • 10

    #2
    Look into using min, max and avg functions in place of your current last().

    If you're interested in high average over a duration - you could use something like:
    {Processor:hrProcessorLoad.avg(15m)}>{$CPU_PINNED_ PERCENT}

    If you're interested in logic "iowait wasn't less than 20 for 15 minutes" - then you could use something like
    {Processor:ioWait.min(15m)>20}

    A list of available functions is in the manual. E.g. for Zabbix 3.0:

    Comment

    Working...