Ad Widget

Collapse

Multiple cross emails from actions upgrade from 3.0 to 4.0.7 : broken

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zabbixfk
    Senior Member
    • Jun 2013
    • 256

    #31
    Some of the screenshots for actionid 295, 365, 425,294, 181

    Comment


    • zabbixfk
      zabbixfk commented
      Editing a comment
      Just to add, these actions doesn't have conditions. Looks like , either hosts associated with these are deleted or triggers deleted. means these are actions without conditions. But that shouldn't be an issue right, system can have blank actions without conditions in them.
      Problem is these are being matched for every trigger firing.
  • zabbixfk
    Senior Member
    • Jun 2013
    • 256

    #32
    Some of the screenshots for actionid 295, 365, 425,294, 181 - operations details.

    Comment

    • vso
      Zabbix developer
      • Aug 2016
      • 190

      #33
      The issue is because of actions that don't have conditions, meaning that they are executed unconditionally.

      Comment


      • zabbixfk
        zabbixfk commented
        Editing a comment
        vso, i already have 3.0.13 on my production system running - which is delivering only required amount of emails. i.e only matching the required trigger and action and working fine without issue.
        Hence - NO, 3.0.13 doesn't have this issue.

      • vso
        vso commented
        Editing a comment
        I have just tried this on zabbix_server (Zabbix) 3.0.29rc1 and messages are sent

      • vso
        vso commented
        Editing a comment
        Same with 3.0.13
    • zabbixfk
      Senior Member
      • Jun 2013
      • 256

      #34

      I don't think its happening on my 3.0.13 , i am attaching screentshot of events.

      BTW what's the solution here? Is this a bug or not? Will there be a fix?

      ALSO, once upgraded, i am not seeing problems beoyond current day. Even on the filters if i select 14 days older, i am not seeing problems. How to get earlier problems?

      Comment

      • vso
        Zabbix developer
        • Aug 2016
        • 190

        #35
        Events are not important, conditions are.
        Simply delete actions without conditions if you don't want them to get executed or disable.

        Comment

        • zabbixfk
          Senior Member
          • Jun 2013
          • 256

          #36
          In 3.0.x its events, and in 4.0.x its clubed to problems (triggers + events ) i guess.
          BTW , shouldn't it be not executing blank actions - it should be like match what's matching and execute only configured ones, why is it matching all the actions and executing blank ones?

          Also how about viewing all the problems in 4.0.x? I am not able see problems beyond today.

          Comment

          • zabbixfk
            Senior Member
            • Jun 2013
            • 256

            #37
            - *bump* - ?

            Comment

            • vso
              Zabbix developer
              • Aug 2016
              • 190

              #38
              You can create a bug report or feature request if you think that it should work differently but some might disagree, how would it be possible then to create action that is executed for all triggers ?

              Comment

              • zabbixfk
                Senior Member
                • Jun 2013
                • 256

                #39
                vso - I am not sure how the logic built in the backend but generally
                - If i create an action , it should get execute for matched triggers, not for anything else.
                - If there's any blank actions, since there's no trigger associated with it, it shouldn't get execute at all.
                At the end of the day, actions are suppose to be depend on trigger.

                I will tell you why this situation may occur.
                - Today, you allow to delete a host, but not its associated triggers ( not sure if this is fixed now, had seen this sometime back may be 2.2.x or not sure actual version)
                - When i go and delete a trigger on a template, as of now, actions associated to that trigger is not deleted, instead action remains but trigger linked to that action gets deleted and hence there remains blank action.

                Ideally - if i delete a host , all the things associated to that host should get unlinked. i.e Template should get unlinked (but remains in background - template is independently created ) and host to be deleted.

                Thanks,

                Comment

                • vso
                  Zabbix developer
                  • Aug 2016
                  • 190

                  #40
                  I understand what you are saying but some might argue that zabbix deleted their action when they simply deleted trigger and wanted to create new one with the same message, in your case they will be looking among 250 actions and not find it anymore.

                  Comment

                  Working...