Ad Widget

Collapse

Dependency's pain

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pinarella
    Junior Member
    • May 2013
    • 16

    #1

    Dependency's pain

    Hi guys,

    zabbix dependency's are giving me a hard pain.

    The setup:
    (wifi-ap)Wifi AP Depends on : gateway-x
    (linux-server)Linux server Depends on : gateway-x
    (windows-server)Windows machine Depends on : gateway-x

    gateway-x is master.

    trigger dependents setup:
    {wifi-ap:icmpping[{IPADDRESS},2,3000,56,2000].sum(#8)}<5
    {linux-server:icmpping[{IPADDRESS},2,3000,56,2000].sum(#8)}<5
    {windows-server:icmpping[{IPADDRESS},2,3000,56,2000].sum(#8)}<5

    gateway-x:
    {gateway-x:icmpping[{IPADDRESS},2,3000,56,2000].sum(#3)}<3

    so, when gateway-x is down, Zabbix checks 3 times before sounds an alarm. and dependents are checked 5 times for availability before checking if the master is down. this scenario works and i get only one notification which corresponds to dependency role.

    but, when gateway-x comes up, i got notification that gateway-x is up, and i got 3 more notification's: wifi-ap is up, linux-server is up, windows-server is up.
    this is not good. what could happen if i have n hosts that depends on gateway-x - a ton of notification's that hosts are up.

    how to solve this?

    i read all the forum and get no help.
    Last edited by pinarella; 03-01-2014, 14:25. Reason: cant get any answer...
  • pinarella
    Junior Member
    • May 2013
    • 16

    #2
    any hint?
    zabbix trainers/specialists?
    point me to a real direction at least

    thanks

    Comment

    • pinarella
      Junior Member
      • May 2013
      • 16

      #3
      regarding official documentation https://www.zabbix.com/documentation...s/dependencies

      this scenarios works, but notifications when hosts come up troubles me, i get a lot of notifications that hosts are up instead of one.

      read all on forum but nothing gets my problem solved.

      Comment

      • pinarella
        Junior Member
        • May 2013
        • 16

        #4
        i must revive this topic since i had no luck setting this.
        i have set the hosts trigger to depend on router...and its not working again at all...
        i have no clue what to do next.
        zabbix 2.2.1

        Comment

        • pinarella
          Junior Member
          • May 2013
          • 16

          #5
          me again, now with solution:
          since integrated dependencies are not working, here is workaround:

          {host-1:icmpping[{IPADDRESS},2,3000,56,2000].sum(#10)}<5 & {gw-1:icmpping[{IPADDRESS},2,3000,56,2000].sum(#10)}>8

          first condition is checking if host is up for 5 pings out of 10 AND if gw is up.
          cant be templated, but when you create it for one host, you can copy trigger to another host.
          Last edited by pinarella; 20-06-2014, 11:37.

          Comment

          Working...