Ad Widget

Collapse

how to close events automatically after 18 Hours?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • user1234
    Member
    • Jul 2022
    • 35

    #1

    how to close events automatically after 18 Hours?

    Hi,

    i have the following trigger in zabbix:
    Click image for larger version

Name:	image.png
Views:	1235
Size:	42.4 KB
ID:	464592
    I want to close the event after 18H - any idea why it's not working for me?
    please help!
  • roy_li
    Junior Member
    • Nov 2022
    • 10

    #2
    Maybe the recovery expression is not correctly formatted, try removing the outermost parentheses?

    If I came across such a requirement, I would create a script type media, write a script to close the problem via the zabbix api and control the time of automatic closure by alarm action.

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #3
      The recovery expression is triggered only if the problem expression is false.
      That is, as long as the basic trigger condition persists, recovery is not used.
      So close the problems through the script and api

      Comment


      • user1234
        user1234 commented
        Editing a comment
        thanks for reply, is it possible to close only specific problems with specific tag?
    Working...