Ad Widget

Collapse

Action: Email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • michaeltje
    Member
    • Aug 2007
    • 44

    #16
    Dear alexei,

    Im still experiencing the same problem, i have tested this same situation over and over again.

    Is this a bug in the new version? Because before it worked fine except when they came back online, now its other way around.


    Edit:

    i found the problem, i use simplecheck ping for the webservers, router, and switch. This to be independent from the zabbix agent, simplechecks are all checked at the same time.

    Is there anyway to get around this?
    Last edited by michaeltje; 23-08-2007, 11:44.

    Comment

    • michaeltje
      Member
      • Aug 2007
      • 44

      #17
      Originally posted by Alexei
      You may want to check availability of the router more frequently than availability of servers behind the router.
      How should i fix this alexei?

      Comment

      • remi
        Junior Member
        • Sep 2006
        • 11

        #18
        It looks like I have the same problem here... Could anyone explain how one needs to set up the dependencies with routers, switches and servers. Dependencies on services works fine.

        Please let me know what information is needed.

        Any help is highly appreciated :-)

        Kind Regards,

        Remi

        Comment

        • bbrendon
          Senior Member
          • Sep 2005
          • 870

          #19
          You should be checking routers at least twice as often as servers.

          say your server availability trigger is every 10 minutes (600 seconds)
          Then your router check should be less. I would do about 250 seconds to make sure its fully completed in time.

          There should be two ways to do dependencies. One using the trigger expression and the other using the dependency selection gui.

          dependency as a trigger expression:
          e.g. (This is not a great example, but should get the idea across. My availability stuff is much more complicated, which i tried to simplify)
          ({hostname:system.cpu.util[].nodata(600)}=1)&({routeringer.nodata(250)}=1)

          or Using the dependency selection when configuring the trigger.

          I tried the dependency selection method originally, and I think there were bugs in it about 10 versions back and haven't tried it since.
          Unofficial Zabbix Expert
          Blog, Corporate Site

          Comment

          • bbrendon
            Senior Member
            • Sep 2005
            • 870

            #20
            I think the difference with the two dependencies is that

            GUI-
            -Easier to configure
            -Trigger activates if the host is down but does not run an action unless the dependences are up.

            Expression-
            -Possibly more difficult to configure
            -Trigger can activate only if exression is true which means the host has to be down and the router (dependency) has to be up.
            Unofficial Zabbix Expert
            Blog, Corporate Site

            Comment

            • bbrendon
              Senior Member
              • Sep 2005
              • 870

              #21
              I modified my availability triggers...

              Looks pretty need. You can assign dependencies to a trigger that is assigned to a host which in turn is linked to a template. Coool!

              Haven't tested if it works properly though
              Unofficial Zabbix Expert
              Blog, Corporate Site

              Comment

              • michaeltje
                Member
                • Aug 2007
                • 44

                #22
                Originally posted by infinity005
                I modified my availability triggers...

                Looks pretty need. You can assign dependencies to a trigger that is assigned to a host which in turn is linked to a template. Coool!

                Haven't tested if it works properly though
                Hey infinity,

                Thanks for your help, its apreciated.
                We have tested the method you stated above, tho its not really working as i expected.
                We are gonna try to test it with the trigger expresions. Will keep you updated.
                Last edited by michaeltje; 29-08-2007, 11:40.

                Comment

                • michaeltje
                  Member
                  • Aug 2007
                  • 44

                  #23
                  Originally posted by Alexei
                  It is fixed in pre 1.4.2 code. Please feel free to download it from www.zabbix.com/developers.php.
                  Dear alexei,

                  We have tested the same situation, I have the following triggers:


                  #Gateway
                  {Gateway:icmpping.max(180)}<1

                  #Switch
                  {Switch:icmpping.max(240)}<1

                  #Server
                  {Server:icmpping.max(300)}<1

                  This works perfect, if the connection between the gateway and the zabbix server goes down i get one email. But if i restore the link, i get the mail from the gateway and the server (Kinda weird, it never messaged me about the server going down).

                  So is this a bug in the software or am i doing wrong things?

                  Comment

                  • Alexei
                    Founder, CEO
                    Zabbix Certified Trainer
                    Zabbix Certified SpecialistZabbix Certified Professional
                    • Sep 2004
                    • 5654

                    #24
                    Originally posted by michaeltje
                    Dear alexei,

                    We have tested the same situation, I have the following triggers:


                    #Gateway
                    {Gateway:icmpping.max(180)}<1

                    #Switch
                    {Switch:icmpping.max(240)}<1

                    #Server
                    {Server:icmpping.max(300)}<1

                    This works perfect, if the connection between the gateway and the zabbix server goes down i get one email. But if i restore the link, i get the mail from the gateway and the server (Kinda weird, it never messaged me about the server going down).

                    So is this a bug in the software or am i doing wrong things?
                    I will retest this functionality and report back soon.
                    Alexei Vladishev
                    Creator of Zabbix, Product manager
                    New York | Tokyo | Riga
                    My Twitter

                    Comment

                    • michaeltje
                      Member
                      • Aug 2007
                      • 44

                      #25
                      Originally posted by Alexei
                      I will retest this functionality and report back soon.
                      That would be great, i tested it on a new hardware box now aswell, the dependency's work great when the stuff goes down, when it gets up it messages me about everything.

                      Thanks for ur help its really appreciated!

                      Comment

                      • Alexei
                        Founder, CEO
                        Zabbix Certified Trainer
                        Zabbix Certified SpecialistZabbix Certified Professional
                        • Sep 2004
                        • 5654

                        #26
                        Please confirm that you are using ZABBIX 1.4.2.
                        Alexei Vladishev
                        Creator of Zabbix, Product manager
                        New York | Tokyo | Riga
                        My Twitter

                        Comment

                        • michaeltje
                          Member
                          • Aug 2007
                          • 44

                          #27
                          Originally posted by Alexei
                          Please confirm that you are using ZABBIX 1.4.2.
                          yes i am using 1.4.2

                          Comment

                          • michaeltje
                            Member
                            • Aug 2007
                            • 44

                            #28
                            Anything new yet alexei?

                            Thanks in advance!

                            Comment

                            • bbrendon
                              Senior Member
                              • Sep 2005
                              • 870

                              #29
                              I'm adding dependencies to items that are associated to templates. I'll let you know if it works. I don't think it does.
                              Unofficial Zabbix Expert
                              Blog, Corporate Site

                              Comment

                              • Alexei
                                Founder, CEO
                                Zabbix Certified Trainer
                                Zabbix Certified SpecialistZabbix Certified Professional
                                • Sep 2004
                                • 5654

                                #30
                                Trigger dependencies are fixed in the latest pre 1.4.2 code. I am sure it works fine now. The Manual was also be updated to descibe new functionality.
                                Alexei Vladishev
                                Creator of Zabbix, Product manager
                                New York | Tokyo | Riga
                                My Twitter

                                Comment

                                Working...