Ad Widget

Collapse

trigger groups

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pasztorl
    Junior Member
    • Jul 2006
    • 15

    #1

    trigger groups

    Hi there!

    I'am a newbie zabbix user. I currently test it, how it works.
    I set up some hosts and services to zabbix db.
    When I setup a trigger It can only applied for one host.
    If I want to set up the same trigger for all host,
    How can I do it?
    Is there any option to set up one trigger / host group for example?
  • raminix
    Member
    • Jun 2006
    • 37

    #2
    What you are describing can be achieved by creating a template. Any templated trigers will be applied to all hosts linked to the template. Also, modifications, additions, and deletions of template triggers (as well as items and graphs) will be mirrored to all hosts linked to the template.

    Comment

    • ci_newman
      Junior Member
      • Jul 2006
      • 15

      #3
      Can this be done with hosts that have already been created though?

      I have a number of hosts tied into a template and I have *now* created a trigger on that template but it hasnt created it for all previous hosts, just ones I have created since the trigger was made.

      There must be some way of tieing it in, but I havent found it yet. Any ideas?

      Comment

      • raminix
        Member
        • Jun 2006
        • 37

        #4
        Originally posted by ci_newman
        Can this be done with hosts that have already been created though?

        I have a number of hosts tied into a template and I have *now* created a trigger on that template but it hasnt created it for all previous hosts, just ones I have created since the trigger was made.

        There must be some way of tieing it in, but I havent found it yet. Any ideas?
        I started with version 1.1alpha7, and what you're describing was the behavior I saw with that version. When you linked a template, it actually took a snapshop of the template at that time and added any associated items and triggers to the linked host, but subsequent changes to the template had no effect on linked hosts.

        Once I upgraded to 1.1 final (was waiting for an ebuild in Gentoo), the behavior was dynamic in nature. A true link relationship is established between host and template, such that any changes to the template will be applied across all linked hosts.

        I'm not sure as to where in the development process the functionality changed as I took a huge jump from alpha to final. What version are you running?

        Comment

        • ci_newman
          Junior Member
          • Jul 2006
          • 15

          #5
          I'm running the 1.1 Final (from the best I can work out) and changes to the actual template are reflected across all of the hosts linked to that template so when I create a new item, it is copied to all linked hosts.
          But when I create a trigger, its is only applied to NEW hosts, opposed to the already exisiting ones.

          How odd, I assume nobody else is having this issue...

          Comment

          Working...