Ad Widget

Collapse

UI is not adding linked triggers correctly

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #1

    UI is not adding linked triggers correctly

    Greetings,

    Using a 1.1Alpha11... I create a trigger on a link parent, and when it gets added to the children, it will populate the functions table correctly, but in the triggers table, it retains the function information for the first child for every other child.

    Trigger I used to determine this was;
    Code:
    {__Template_Linux_SVR:status.last(0)}=2&{__Template_Linux_SVR:status.prev(0)}=2
    The first child, called test1.internal.net gets;
    Code:
    {test1.internal.net:status.last(0)}=2&{test1.internal.net:status.prev(0)}=2
    While the second and subsequent children get;
    Code:
    {test1.internal.net:status.last(0)}=2&{test1.internal.net:status.prev(0)}=2
    Unofficial Zabbix Developer
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Still having the same issue in 1.1Alpha12;

    I added this to the template;
    Code:
    {__Template_Linux_SVR:status.last(0)}=2&{__Template_Linux_SVR:status.prev(0)}=2
    The first child was properly loaded;
    Code:
    {test1.internal.net:status.last(0)}=2&{test1.internal.net:status.prev(0)}=2
    The second and subsequent children were all loaded incorrectly;
    Code:
    {test1.internal.net:status.last(0)}=2&{test1.internal.net:status.prev(0)}=2
    {test1.internal.net:status.last(0)}=2&{test1.internal.net:status.prev(0)}=2
    {test1.internal.net:status.last(0)}=2&{test1.internal.net:status.prev(0)}=2
    {test1.internal.net:status.last(0)}=2&{test1.internal.net:status.prev(0)}=2
    Instead of test1.internal.net, these should read test2, test3, test4, and test5.internal.net
    Unofficial Zabbix Developer

    Comment

    • mconigliaro
      Senior Member
      • Jun 2005
      • 116

      #3
      im having the same problem on alpha12.

      Comment

      • James Wells
        Senior Member
        • Jun 2005
        • 664

        #4
        I applied the change that LinuxDR posted and it works perfectly. BTW, because of the change, as of today, Nagios no longer exists in my data center. I removed the last of the Nagios monitors from my servers at 4:30 PM today.
        Unofficial Zabbix Developer

        Comment

        • mconigliaro
          Senior Member
          • Jun 2005
          • 116

          #5
          this seems to be at least partially fixed in 1.1beta1.

          the expressions in the children of linked templates look correct, but the descriptions do not. all of my linked children have the same description as the parent.

          im also getting this error on all the children: "Unable to get value for functionid [12455]"

          Comment

          Working...