Ad Widget

Collapse

close zabbix problem with "x" number of days

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dharam
    Junior Member
    • Oct 2024
    • 26

    #1

    close zabbix problem with "x" number of days

    Hi All,
    I am looking to automate to close zabbix problem with "x" number of days , can anyone help me with pointer on this , i was looking into documents and looks like some API are available but I am not sure how to use it.,
  • troffasky
    Senior Member
    • Jul 2008
    • 567

    #2
    This is not built in to Zabbix.
    Every trigger would need to have "Allow manual close" enabled on it. Then you can [ask ChatGPT to] write a script which uses the API to close every open trigger over a certain age and run it hourly from cron, or whatever.
    However....that's a complicated way to achieve something, which you could achieve simply by ticking "Age less than N days" on triggers view.

    Comment

    Working...