Ad Widget

Collapse

Action: Email

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

    #1

    Action: Email

    Oke.. i have the following situation

    I'm monitoring my servers from behind a router.

    Servers -> Switch -> (Internet) -> Router -> Zabbix

    Now i have changed the dependency's as follow: Servers depends on switch, Switch on router.
    so far so good, if i disconnect the link between the zabbix box and the router i get one email with a notification about my router being down. (Thats what i want)

    But.. if i restore the link i get several emails about my servers and router changing to status false (Ping check), I only want 1 email about my router being Online (Thats how the dependency should work if im right..) Because when the router is online i have connection to the internet again.

    Anyone got an idea how to fix this?
    Last edited by michaeltje; 16-08-2007, 08:57.
  • michaeltje
    Member
    • Aug 2007
    • 44

    #2
    Am i the only one experiencing this?

    Comment

    • remi
      Junior Member
      • Sep 2006
      • 11

      #3
      Hi,

      I'm having the same issue. Are you using version 1.4.1?

      This is what happens:
      When a router goes down, one message is sent. When the router comes back up, Zabbix sends messges for the router and all the hosts behind it being up. I'd expect Zabbix to only send a message for the router.

      Would be great if someone knows a solution for this. :-)

      thanks,remi

      Comment

      • michaeltje
        Member
        • Aug 2007
        • 44

        #4
        Originally posted by remi
        Hi,

        I'm having the same issue. Are you using version 1.4.1?

        This is what happens:
        When a router goes down, one message is sent. When the router comes back up, Zabbix sends messges for the router and all the hosts behind it being up. I'd expect Zabbix to only send a message for the router.

        Would be great if someone knows a solution for this. :-)

        thanks,remi
        Yes im currently using version 1.4.1

        Comment

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

          #5
          It is fixed in pre 1.4.2 code. Please feel free to download it from www.zabbix.com/developers.php.
          Alexei Vladishev
          Creator of Zabbix, Product manager
          New York | Tokyo | Riga
          My Twitter

          Comment

          • michaeltje
            Member
            • Aug 2007
            • 44

            #6
            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.
            Will do, thanks for the reply!

            Comment

            • bbrendon
              Senior Member
              • Sep 2005
              • 870

              #7
              Are you doing dependencies by having multiple functions in the trigger expression or by using the dependency GUI feature in the trigger configuration?
              Unofficial Zabbix Expert
              Blog, Corporate Site

              Comment

              • michaeltje
                Member
                • Aug 2007
                • 44

                #8
                Originally posted by infinity005
                Are you doing dependencies by having multiple functions in the trigger expression or by using the dependency GUI feature in the trigger configuration?
                its just one expression wich pings a server to check if its online. Im using the GUI

                Comment

                • michaeltje
                  Member
                  • Aug 2007
                  • 44

                  #9
                  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,

                  I downloaded the latest pre 1.4.2 code (Revision 4616).

                  I have tested the following situation:

                  Web-server (Severity: High, Dependency: Switch)
                  Switch (Severity: High, Dependency: Router)
                  Router (Severity: High(Or disaster i tested both, didnt make sense))
                  Zabbix Server

                  When i disconnect the connection between the router and the zabbix box, zabbix will send 3 messages about the web-server,switch and the router.
                  If i restore the connection it only sends 1 message about the router connection being restored (How it should work).


                  So the issue about getting all emails when everything comes back online is fixed, but now its other way around.

                  Comment

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

                    #10
                    Originally posted by michaeltje
                    When i disconnect the connection between the router and the zabbix box, zabbix will send 3 messages about the web-server,switch and the router.
                    Perhaps at that moment ZABBIX didn't know that the switch is down...
                    Alexei Vladishev
                    Creator of Zabbix, Product manager
                    New York | Tokyo | Riga
                    My Twitter

                    Comment

                    • michaeltje
                      Member
                      • Aug 2007
                      • 44

                      #11
                      Originally posted by Alexei
                      Perhaps at that moment ZABBIX didn't know that the switch is down...
                      I have tried it loads of times now and it still does occur, the update interval is everywhere the same so i have no clue what to do.

                      I tested some other things, i rejected the ip of another webserver on the zabbix server and didnt receive a warning so thats working perfect, is there something im doing wrong?
                      Last edited by michaeltje; 20-08-2007, 12:18.

                      Comment

                      • michaeltje
                        Member
                        • Aug 2007
                        • 44

                        #12
                        Tested the following:

                        Blocked the ip of the router, after a couple of seconds blocked the ip of the switch and after another seconds i blocked the webserver, and i only received the warning of the router so thats working but when i block the whole ip range of the servers i get warnings from all my servers. Thats not really how it should be, so is there anything wrong in the pre-code maybe?

                        Comment

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

                          #13
                          You may want to check availability of the router more frequently than availability of servers behind the router.
                          Alexei Vladishev
                          Creator of Zabbix, Product manager
                          New York | Tokyo | Riga
                          My Twitter

                          Comment

                          • michaeltje
                            Member
                            • Aug 2007
                            • 44

                            #14
                            Originally posted by Alexei
                            You may want to check availability of the router more frequently than availability of servers behind the router.
                            yeah i had the same thought, so the router should be set at like 5 and the servers and switch at 10 that should fix it according to you?

                            I will try this tomorrow and will get back to you.
                            Last edited by michaeltje; 20-08-2007, 22:17.

                            Comment

                            • michaeltje
                              Member
                              • Aug 2007
                              • 44

                              #15
                              I have tested it a bit today, Didnt have that much time but what i have done is as follow:

                              Frequency Router: 10 Seconds
                              Frequency Switch: 60 Seconds
                              Frequency Webservers: 90 Seconds

                              And it still messaged me 3 emails about the server,switch and router being down. If i restore the connection it sends me 1.

                              So the frequency didnt make sense. Any idea what could be wrong?

                              Comment

                              Working...