Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-1932

Action for the second host was not been operated

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 1.8.1
    • Server (S)
    • None
    • apache-2.2.3-11,php-5.1.6, MySQL 5.0.45

      When I create many actions in 1 host, It's Ok,
      but with many actions for 2 or more host, the second action has not been operated.

      • Create action (ActionID=7) on HostA
      • Create action (actionID=9) on HOstA
      • create action (ID=10) on HostA
        3 above action are worked properly, however I create an action for HostB (trigger on HostB), and this action do n't work,
        I found in the log that the last Action query trigger of the first Action.

      the log file as bellow:
      --------------------
      29628:20100204:174448.190 Query [txnlev:1] [select actionid,evaltype,status,eventsource from actions where status=0 and eventsource=0 and actionid between 000000000000000 and 099999999999999]
      29628:20100204:174448.191 In check_action_conditions (actionid:7)
      29628:20100204:174448.191 Query [txnlev:1] [select conditionid,actionid,conditiontype,operator,value from conditions where actionid=7 order by conditiontype]
      29628:20100204:174448.191 In check_action_condition() [actionid:7,conditionid:24,cond.value:14064]
      29628:20100204:174448.191 In check_trigger_condition()
      29628:20100204:174448.191 End of check_trigger_condition():SUCCEED
      29628:20100204:174448.191 End of check_action_condition():SUCCEED
      29628:20100204:174448.191 End check_action_conditions (result:TRUE)
      29628:20100204:174448.191 Conditions match our event. Execute operations.
      29628:20100204:174448.191 In DBget_maxid escalations.escalationid
      /etc/zabbix/bin/zabbix_server [29628]: Lock failed [Identifier removed]
      29628:20100204:174448.191 In DCget_nextid escalations.escalationid [1]
      29628:20100204:174448.191 End of DCget_nextid escalations.escalationid [20:20]
      /etc/zabbix/bin/zabbix_server [29628]: Unlock failed [Identifier removed]
      29628:20100204:174448.191 Query [txnlev:1] [insert into escalations (escalationid,actionid,triggerid,eventid,status) values (20,7,14064,7543,0)]
      29628:20100204:174448.192 In check_action_conditions (actionid:9)
      29628:20100204:174448.192 Query [txnlev:1] [select conditionid,actionid,conditiontype,operator,value from conditions where actionid=9 order by conditiontype]
      29628:20100204:174448.192 In check_action_condition() [actionid:9,conditionid:41,cond.value:14067]
      29628:20100204:174448.192 In check_trigger_condition()
      29628:20100204:174448.192 Query [txnlev:1] [select triggerid from triggers where triggerid=14064 and templateid=14067]
      29628:20100204:174448.192 End of check_trigger_condition():FAIL
      29628:20100204:174448.192 End of check_action_condition():FAIL
      29628:20100204:174448.192 End check_action_conditions (result:FALSE)
      29628:20100204:174448.192 Conditions do not match our event. Do not execute operations.
      29628:20100204:174448.192 Query [txnlev:1] [update escalations set r_eventid=7543,status=1,nextcheck=0 where actionid=9 and triggerid=14064]
      29628:20100204:174448.192 In check_action_conditions (actionid:10)
      29628:20100204:174448.192 Query [txnlev:1] [select conditionid,actionid,conditiontype,operator,value from conditions where actionid=10 order by conditiontype]
      29628:20100204:174448.192 In check_action_condition() [actionid:10,conditionid:40,cond.value:13008]
      29628:20100204:174448.192 In check_trigger_condition()
      29628:20100204:174448.192 Query [txnlev:1] [select triggerid from triggers where triggerid=14064 and templateid=14067]
      29628:20100204:174448.192 End of check_trigger_condition():FAIL
      29628:20100204:174448.192 End of check_action_condition():FAIL
      29628:20100204:174448.192 End check_action_conditions (result:FALSE)
      29628:20100204:174448.192 Conditions do not match our event. Do not execute operations.
      29628:20100204:174448.192 Query [txnlev:1] [update escalations set r_eventid=7543,status=1,nextcheck=0 where actionid=9 and triggerid=14064]
      29628:20100204:174448.192 In check_action_conditions (actionid:10)
      29628:20100204:174448.192 Query [txnlev:1] [select conditionid,actionid,conditiontype,operator,value from conditions where actionid=10 order by conditiontype]
      29628:20100204:174448.192 In check_action_condition() [actionid:10,conditionid:40,cond.value:13008]
      29628:20100204:174448.192 In check_trigger_condition()
      29628:20100204:174448.192 Query [txnlev:1] [select triggerid from triggers where triggerid=14064 and templateid=13008]
      29628:20100204:174448.192 End of check_trigger_condition():FAIL
      29628:20100204:174448.192 End of check_action_condition():FAIL
      29628:20100204:174448.192 End check_action_conditions (result:FALSE)
      29628:20100204:174448.192 Conditions do not match our event. Do not execute operations.
      29628:20100204:174448.192 Query [txnlev:1] [update escalations set r_eventid=7543,status=1,nextcheck=0 where actionid=10 and triggerid=14064]
      29628:20100204:174448.192 In check_action_conditions (actionid:11)
      29628:20100204:174448.192 Query [txnlev:1] [select conditionid,actionid,conditiontype,operator,value from conditions where actionid=11 order by conditiontype]
      29628:20100204:174448.193 In check_action_condition() [actionid:11,conditionid:43,cond.value:14098]
      29628:20100204:174448.193 In check_trigger_condition()
      29628:20100204:174448.193 Query [txnlev:1] [select triggerid from triggers where triggerid=14064 and templateid=14098]
      29628:20100204:174448.193 End of check_trigger_condition():FAIL
      29628:20100204:174448.193 End of check_action_condition():FAIL
      29628:20100204:174448.193 End check_action_conditions (result:FALSE)
      29628:20100204:174448.193 Conditions do not match our event. Do not execute operations.
      29628:20100204:174448.193 Query [txnlev:1] [update escalations set r_eventid=7543,status=1,nextcheck=0 where actionid=11 and triggerid=14064]
      29628:20100204:174448.193 End process_actions()
      --------------------------------------------------------------------------------------

            Unassigned Unassigned
            dusito Tran Anh Nhan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: