Ad Widget

Collapse

Trigger dependencies - functionality changed/removed in 1.8.1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cioris
    Member
    • Oct 2008
    • 30

    #1

    Trigger dependencies - functionality changed/removed in 1.8.1

    Hi all,

    I've been using Zabbix 1.6 for quite a while. I successfuly upgraded from 1.6 to 1.6.1 to 1.6.2, etc. I stopped at 1.6.6. Everything was working fine (I did few patches in the frontend), but last week I decided to move to 1.8.1. The upgrade went fine and I had the system up & running in almost no time. Everything was properly imported from the previous version.

    Unfortunately it looks like there is a big change in the way the dependencies work for triggers in 1.8. I have a generic templete called "Template_Windows_Workstations_Remote". It has items and triggers associated to some of the items. The interesting part is that I defined a "master trigger" called "Host is down" and all other triggers depends on this "master". The idea was no not trigger anything else as long as the machine is down.

    There is a second template ("Template_Windows_Servers_Remote") which extends the base template with some additional items/triggers. It inherits all items/triggers from the base one. Everything was working fine in 1.6 and was even properly imported in 1.8. Now I want to add a new trigger in the base template and keep the dependency to the "master trigger". Unfortunately I cannot do this. I get an error saying that "Template_Windows_Workstations_Remote" is not the highest level template". I look over the code and it seems that now we check if there are any "derivated" templates and we don't allow dependencies in this case.

    Like I said, this was working just fine in 1.6. I used this feature all the time. It is interesting that everything was properly imported (the dependency is there for triggers defined in 1.6) but I cannot add new ones. I even "simulated" the change of an existing trigger. I changed nothing by I tried to save it. Of course I couldn't do it. The errors pops up immediately. I don't understand how I cannot save it as long the dependence is already there and I don't change it.

    Any ideas how to get arround it?
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    Zabbix 3.0 Network Monitoring book

    Comment

    • cioris
      Member
      • Oct 2008
      • 30

      #3
      Thanks a lot. I'm not the only one having this problem...
      I will try to apply the fix.

      Comment

      • ckatterl
        Junior Member
        • May 2007
        • 12

        #4
        Hi,

        can anyone say, when Version 1.8.2 will be published?
        I really depend on the patch for this bug... AND much more important Bug Nr. 1862 (https://svn.zabbix.com/browse/ZBX-1862)

        Thanks, Chris

        Comment

        Working...