Ad Widget

Collapse

Zabbix and different levels of the same alert

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • StefanK
    Junior Member
    • Jan 2023
    • 22

    #1

    Zabbix and different levels of the same alert

    I have two alerts for swap space remaining. One at 20% and one at 10%

    The issue I'm having is that once it reaches the 10% threshold both alerts are firing at the same time. How can i make it so that when the 10% threshold is reached the 20% threshold alert is resolved.
    I have tried the recovery expression but the issue is that the original expression never resolves so it does not work
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    Trigger dependency, the 10% depends on the 20%. (I think, sometimes I get them backwards)

    Edit: Yea, you're doing space remaining, so that's backwards. The less critical trigger depends on the more critical trigger, no matter what the numbers

    Last edited by LenR; 06-08-2025, 18:28.

    Comment

    • StefanK
      Junior Member
      • Jan 2023
      • 22

      #3
      Originally posted by LenR
      Trigger dependency, the 10% depends on the 20%. (I think, sometimes I get them backwards)

      Edit: Yea, you're doing space remaining, so that's backwards. The less critical trigger depends on the more critical trigger, no matter what the numbers

      https://www.zabbix.com/documentation...s/dependencies
      Yes. It is set up this way. The warning trigger is set at 20% space remaining and fires fine. When the critical trigger fires at 10% remaining the old one still stays open and sends mails

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4806

        #4
        You probably have expression like "swap<20%" and "swap<10%" ?? Of course both of them are true, if your swap space is something like 8%...
        change first one to "swap<20% and swap>10%" in that case it turns false, if your swap size is less than 10%...

        Comment

        Working...