Ad Widget

Collapse

couting warning triggers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ruizander
    Junior Member
    • Mar 2024
    • 1

    #1

    couting warning triggers

    Hello everybody!
    although I'm not new to zabbix 6.4, I'm really afraid that I cannot solve this problem yet...

    This is what I'm trying to accomplish: after a warning trigger has happened a number of times (say, 7 times), I'd like to trigger another new trigger (could be a high one) that sends a new message using any media.
    This is the trigger I'm using:

    min(/50505050-6060-7070-808080808080/vmware.vm.cpu.usage.perf[{$VMWARE.URL},{$VMWARE.VM.UUID}], {$CPU.CRITICAL.HIGH}) > {$CPU.MARGIN.HIGH}

    this tests if a vmware vm cpu usage is above a critical margin. I also use a recovery condition to avoid trigger storm.

    but what I would like to accomplish is: after the warning trigger occurs 7 times (say, in last 10 hours), then a new event is triggered, and an alert is sent. I saw some saying about creating dependencies, but it is not clear to me what the "higher trigger" condition would be.

    I cannot understand how can I count triggers happening.... is it possible? otherwise, how you solve this kind of problem - what I am trying to avoid is alerting everytime the warning triggers. Is there another better approach?

    thank you for any help!
Working...