Ad Widget

Collapse

Dependencies

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • topcek
    Junior Member
    • Jun 2010
    • 17

    #1

    Dependencies

    HI!

    i need help.

    I'm running zabbix ver. 1.8.4 and i ahve made some custom templates for windows servers, but i have problems with adding dependencies for them.

    example:
    i ahve 4 win. server which have same windows template named company.
    i have 1 cisco router which has template for cisco router which i have made by myself.

    so when i try to add dependency for win. servers i get output

    Error adding dependencies. Following dependencies are not allowed: 1) from a host trigger to a template trigger; 2) from a template trigger to a host trigger; 3) between template triggers, where templates have links to other templates.

    can u please help me, because i older versions i know that this worked.
    i have upgraded zabbix from 1.8.0=>1.8.2=>1.8.4
    and now the procedure how do i do this:
    i select windows template, go to triggers and select trigger {HOSTNAME] is unreachable and add dependency.
    i select the HOST ( router cisco) not the template and i get the error output.

    Regards.
  • Kai-Kai
    Senior Member
    • Apr 2009
    • 142

    #2
    I know this post is very old... but I have just upgraded my 1.6 Zabbix, on which this feature was used and well running... and I have now the same problem.

    My server is connected to the internet and monitores some things on the LAN and on the net. Obviously, if the link to the internet fall down... ALL other triggers on machines related to the internet should not turn into PROBLEM state.

    For example I have a template called "Web_ping" which I apply on hosts I want to ping, but on the internet (not on the lan), and typically, in this template, the icmpping feature should have a dependency on "Zabbix server has lost connection to the internet" trigger, on my server.

    I have the same error than topcek and it's a problem.

    I have found a way to avoid problem, by modifying the trigger of "web_ping" to monitor ping AND internet connection... but I don't like this way to do. Making a depency is cleaner and better according to me.

    Any workaround on this question ?
    Thanks.

    Comment

    • topcek
      Junior Member
      • Jun 2010
      • 17

      #3
      Originally posted by fcge
      I know this post is very old... but I have just upgraded my 1.6 Zabbix, on which this feature was used and well running... and I have now the same problem.

      My server is connected to the internet and monitores some things on the LAN and on the net. Obviously, if the link to the internet fall down... ALL other triggers on machines related to the internet should not turn into PROBLEM state.

      For example I have a template called "Web_ping" which I apply on hosts I want to ping, but on the internet (not on the lan), and typically, in this template, the icmpping feature should have a dependency on "Zabbix server has lost connection to the internet" trigger, on my server.

      I have the same error than topcek and it's a problem.

      I have found a way to avoid problem, by modifying the trigger of "web_ping" to monitor ping AND internet connection... but I don't like this way to do. Making a depency is cleaner and better according to me.

      Any workaround on this question ?
      Thanks.
      I now do dependencies manualy for each host... because none seems to have this problem except us2 or no1 uses dependencies. this is workaround for me..

      Comment

      • Kai-Kai
        Senior Member
        • Apr 2009
        • 142

        #4
        It seems a lot of posts are related to this problem... bugs, feature requests has been opened...
        I'm a bit disappointed, I don't see answer using 1.8 version...

        For information, related topics :




        And I'm sure there are a lot of others...

        Comment

        • Kai-Kai
          Senior Member
          • Apr 2009
          • 142

          #5
          I now do dependencies manualy for each host... because none seems to have this problem except us2 or no1 uses dependencies. this is workaround for me..
          And what do you think about evaluating the problem directly in your trigger ?

          For my example :
          I have HOST1 on the internet, and to test my internet connection I ping DSLAM.

          I will try to make my trigger for the template "internet ping" evaluating this :
          {HOST1:icmpping.sum(#2)}=0 AND {ZABBIXSERVER:icmpping[DSLAM].sum(#2)}>0

          I hope that will do the job, avoiding to set manually dependency on each internet host...
          What do you thing about it ?

          Comment

          • Kai-Kai
            Senior Member
            • Apr 2009
            • 142

            #6
            Thanks for the feedback.
            I'll try to test this workaround on my side. It's a very small infra with just a few hosts and services.

            I have also seen it has been fixed in the 1.9 branch, but will not be backport in 1.8 unfortunately.

            It was also written Zabbix 2.0 were not very far away from release and will fix this...

            Comment

            Working...