Ad Widget

Collapse

BUGFIX: format error with escalator query

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stephen.soltesz
    Junior Member
    • Oct 2008
    • 9

    #1

    BUGFIX: format error with escalator query

    Hello,

    I noticed that between the 1.6.0 and 1.6.1 a bug was added to action escalations.

    The symptom is that escalations no longer worked, because the actionid was not formatted correctly due to the extra 'comma'.

    I found it though :-)

    Please include this in the next minor release.
    Attached Files
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Thank you for the patch. Fixed release is available from www.zabbix.com/developers.php, also it will be included into 1.6.2.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • cbidwell
      Senior Member
      • Aug 2006
      • 127

      #3
      Forgive me but how do I apply patches to an existing installation?

      Comment

      • low10sws6
        Member
        • Oct 2008
        • 44

        #4
        so i have removed the "," from the line specified in the patch in my /zabbix-1.6.1/src/zabbix_server/escalator/ {folder} to escalator.c {file}

        I've seen no change though, i try to set my escalation for a period of 120sec but get no notifications after any period of time that has expired with the trigger.

        was there any other steps needed to take to get escalations to work?

        Reboot Server necessary?

        Comment

        • chhibber
          Junior Member
          • Oct 2008
          • 3

          #5
          Developer Release Fixes.

          Applying patch did not work...

          BUT following did:

          Stoped Server.

          Grabbed 1.6.X pre release from: www.zabbix.com/developers.php

          Recompiled

          Started Server


          Thank You. Was going nuts over this. Surprised more people have not hit this.

          Comment

          • zeki893
            Junior Member
            • Dec 2008
            • 23

            #6
            So how do we apply the patch? I tried patch -p1 -N < fix-escalator.patch
            and that didn't seem to work.

            Comment

            • richlv
              Senior Member
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Oct 2005
              • 3112

              #7
              Originally posted by zeki893
              So how do we apply the patch? I tried patch -p1 -N < fix-escalator.patch
              and that didn't seem to work.
              you should also tell _what_ didn't work.
              wild guess - you were in zabbix source directory when attempting to apply the patch. if so, use -p2
              Zabbix 3.0 Network Monitoring book

              Comment

              • JoelG
                Member
                • Aug 2007
                • 32

                #8
                Also...

                This may seem obvious to most, but since it is a C file, the programs need to be recompiled. A PHP file for the interface do not need recompiling.

                ./make install

                should do it.

                Comment

                • ataylo13
                  Senior Member
                  • Feb 2007
                  • 122

                  #9
                  I have downloaded and compiled the latest build and my escalations are not working. I have hunted all over for a solution, and yet to find one. I am looking in the log an I see this query often:

                  Query [select escalationid,actionid,triggerid,eventid,r_eventid, esc_step,status from escalations where status in (0,1) and nextcheck<=1231190489 and escalationid between 000000000000000 and 099999999999999]

                  the nextcheck is the current timestamp... and nothing is returned when ran by hand. If I remove the "and nextcheck<=1231190489" and add nextcheck to list of columns I want. I get tons of results and all the nextcheck values are > than 1231190489.

                  The items I have are being check every 60s and I want to send an alert every 5mins until the problem is resolved. What am I missing? Any ideas on how to fix the issue?

                  Thanks in advance for your help.
                  Version : 1.8.8
                  Current Configuration 1 Master and 3 Child Nodes

                  Comment

                  • zeki893
                    Junior Member
                    • Dec 2008
                    • 23

                    #10
                    I can't get escalations working either.

                    Comment

                    Working...