Ad Widget

Collapse

Dependancies

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kemco
    Junior Member
    • Oct 2023
    • 10

    #1

    Dependancies

    Hello togheter

    I have a question, maybe someone with experience can help me out here.

    What do i have:

    I have 2 monitoring servers:
    - zabbix1
    - zabbix2

    I have 4 clients which i want to monitor:
    - client1
    - client2
    - client3
    - client4

    Messaging:
    - Telegram messaging when one of the triggers hit


    --- So far this works. i have 4 triggers for each clients (cpu load to high, memory load to high, storage space to low and client down). Also 1 trigger for each zabbix monitoring server (zabbix1 down so zabbix2 gives a telegram message and vice versa) ---


    What do i want now:
    Now, for an example, client 1 goes down, zabbix1 sends a telegram message but also zabbix2 sends a telegram message. So i get always double messages. I am hoping that i can "fix" that with dependancies. Zabbix1 is the "main" monitoring server and should always send all telegram messages. As long as zabbix1 is up and running, zabbix2 should never send a telegram message. Zabbix2 should only send a telegram message when zabbix1 is down and from this point on it should send all telegram messages till zabbix1 is up and running again.


    is this possible?

    I am running Zabbix6.0 on the monitoring servers.
  • kemco
    Junior Member
    • Oct 2023
    • 10

    #2
    This is how it looks
    Attached Files

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #3
      You have 2 independent Zabbix servers, you monitor your clients from 2 different places. You will get 2 separate notifications... Building somekind of trigger dependency here is ... nearly impossible.
      Why do you need 2 separate instances and not HA setup?

      Comment

      • kemco
        Junior Member
        • Oct 2023
        • 10

        #4
        what is an HA setup?^^

        I wanted to have 2 independent monitoring servers for the case one goes down. But if there is a better option (like the HA you say) please tell me, i am very interested

        Comment

        • Hamardaban
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • May 2019
          • 2713

          #5
          About HA - https://www.zabbix.com/documentation...epts/server/ha

          Comment

          • cyber
            Senior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • Dec 2006
            • 4807

            #6
            Yea .. what he said..

            Comment

            • kemco
              Junior Member
              • Oct 2023
              • 10

              #7
              All right. it seems what i have is not necessary. i will switch to cluster. I will try to follow the documentation, although its not easy explained (i am pretty new to this stuff). Maybe i will find a youtube video. Thanks for the help guys.

              Comment

              • kemco
                Junior Member
                • Oct 2023
                • 10

                #8
                wait. how does this work? right now, i have 2 monitoring servers, independent from each other. That means i also have 2 front end / zabbix control web service. So if zabbix1 goes down, i still can take a look at zabbix2 what did happen and whats the problem etc.

                When i have it with cluster, do i also have as much front end as much nodes i have or how does this work? do i have only 1 with the web service and i lose the control when its down and the cluster activates node 2?

                would someone take the time and explain me this shortly, please​

                Comment

                • cyber
                  Senior Member
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • Dec 2006
                  • 4807

                  #9
                  I have never tried to build a HA setup with 2 all-in-one servers..:P And it probably will not work out ... But I would assume, you will have 1 GUI per server (it will look for servers from DB)... But you should have one separate DB ... possibly also built as HA solution.

                  Comment

                  Working...