Ad Widget

Collapse

Resetting Triggers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • trikke
    Senior Member
    • Aug 2007
    • 140

    #1

    Resetting Triggers

    Hi ,

    ist there a possibility to reset all/some triggers, so that the next intervall, all the actions are executed again?

    Thanx

    Patrick



    Using P.S.: Zabbix 1.4.2 on Sun Solaris with mysql
  • trikke
    Senior Member
    • Aug 2007
    • 140

    #2
    Problem solved!

    I did some reverse engineering and found out, if I would delete the Events corresponding to the Item/Trigger, Triggers and Actions will be fired again.

    Delete Events with following sql: "delete from events where objectid=<your object id>;" Where objectid = triggerid

    Other possibility is depending on your Triggerdefinition alter the Item Lastvalue, so that u simulate a item state change.
    Use following SQL: "update items set lastvalue=0 where hostid=<hostid> and itemid=<itemID>;"


    Can someone confirm this??? Alexei ????

    Comment

    Working...