Ad Widget

Collapse

How to duplicate triggers?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dpsantos
    Member
    Zabbix Certified Specialist
    • Mar 2005
    • 60

    #1

    How to duplicate triggers?

    I have a farm of a few cloned servers and i need to to the triggers envents.... do i have to do them for all servers, or is there a way to duplicate them like the items template?

    Duarte Santos
  • cooper
    Senior Member
    • Sep 2004
    • 110

    #2
    if you are using 1.1alpha7 trigger linking should work for you. Just add them to a template that all your hosts are hard-linked to.

    hth

    cooper

    Comment

    • dpsantos
      Member
      Zabbix Certified Specialist
      • Mar 2005
      • 60

      #3
      It only works 1 time.....

      Yes, it works thank you, but it only clones the first time.... if u try to update an already updated host it doesn't apply the new template.
      I had to delete the host, add again and do the template stuff.

      Duarte Santos

      Comment

      • dpsantos
        Member
        Zabbix Certified Specialist
        • Mar 2005
        • 60

        #4
        Well... sorry about my last response....but

        What u mean by hard linked?
        I created a template machine... how do i hard link hosts to that template?

        Comment

        • cooper
          Senior Member
          • Sep 2004
          • 110

          #5
          Originally posted by dpsantos
          What u mean by hard linked?
          I created a template machine... how do i hard link hosts to that template?
          Hard links 'permanently' tie a host to a template. That way when you update the template, the host updates also. So in you case, you want to add a new trigger item to a number of hosts. If the hosts are all hard linked to the template, you add the trigger to the template and all of the hosts get it.

          This might be hard to follow with out screenshots, but here goes.

          You have to be on alpha7 for hard-linked triggers.
          Click on Configuration Tab
          Click on Hosts tab
          Click on change for the host you want

          Just under the main navigation bar there will be another blue bar with the following text:
          "CONFIGURATION OF HOSTS AND HOST GROUPS"
          Follow that to the right and there is a drop down box.

          Chose "Host/template linkage"

          Then in the drop down below that, choose your host.

          Now choose the template to link to and then configure you linking options.

          This could probably due with some screen shots, but i think this will get you going.

          HTH

          cooper.
          Last edited by cooper; 04-04-2005, 17:54.

          Comment

          • dpsantos
            Member
            Zabbix Certified Specialist
            • Mar 2005
            • 60

            #6
            Thank You....

            Thank you, it worked, but sometimes it doesn't...
            You have any idea how i can put the hostname in the description field without having to write all of them?

            Duarte Santos

            Comment

            • cooper
              Senior Member
              • Sep 2004
              • 110

              #7
              Originally posted by dpsantos
              Thank you, it worked, but sometimes it doesn't...
              You have any idea how i can put the hostname in the description field without having to write all of them?

              Duarte Santos
              The hard-linked support is very bleeding edge. Alexei is improving it with every alpha release. As for names, you could try the {hostname} variable. I am not sure if it will expand properly or not.

              hth

              cooper

              Comment

              Working...