Ad Widget

Collapse

Change trigger severity after x times on dashboard

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ServicedeskITS
    Junior Member
    • Jun 2016
    • 5

    #1

    Change trigger severity after x times on dashboard

    Hello,

    I am wondering if the following is possible in Zabbix and if it is possible....how

    We have multiple triggers ofcourse for our hosts and 1 of them is Backup.

    As of now it checks if the backup, which is done with BackupAssist is succesfull or not. If it is not Succesfull it is visbile on the dashboard and the severity is High.
    If the backup starts again the problem State goes to OK State and is no longer on the dashboard.
    What i would like is that after x tries and still a problem, the severity changes to Disaster.
    So for instance.....if the backup is unsuccesfull for 2 straight runs....the severity is no longer High but Disaster.
    Is that possible??
  • Luiz Antonio Oliveira
    Member
    • Feb 2007
    • 49

    #2
    only api...

    method problem.get for count and trigger.update for change severity

    or

    use trigger with .last(#2) and action pass {TRIGGER.ID} in script for trigger.update change the severity

    Comment

    Working...