Ad Widget

Collapse

Help: Actions on Templates

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • geno
    Junior Member
    • Nov 2008
    • 29

    #1

    Help: Actions on Templates

    I've spent the last week reading the forums and messing around with configuration in Zabbix and I must be missing something or I'm not understanding something.
    This is my steps that leads to the problem:

    1. Add host
    2. Create template.
    3. Configuration-templates-<my template>-select-Items
    4. Add item
    5.Configuration-templates-<my template>-select-Triggers
    6. Add trigger
    !7. Add action
    So for action condition I select "Trigger" =
    Then I click select which brings up a new window.
    In here I select from the 'Host' dropdown my template.
    It lists all the triggers in the template, I select one.
    I then setup all the rest of the action detail such as email to etc.
    8. Link this template to my host.

    Triggers goes off, I can see the event under events, BUT no action occurred? Nothing matched.

    When I do exactly the same thing but skip using a template, ie add the item and trigger directly to the specified host, it works.

    I've added the escalator.c patch (to 1.6.1), but based on the code that will only fix the bug for escalations, my situation is the first part of the if (no escalation steps)...

    PLEASE! Can someone give me an indication of what I'm doing wrong / give a step-by-step guide / or confirm this to be a bug, because not the PDF, not this forum, nor the wiki provides any answers and I am clearly not the only with this issue.

    Everything else is great, love Zabbix But, I'm just having this one problem

    EDIT: The agents run on windows machines version 1.4.4
  • whowd
    Junior Member
    • Jul 2007
    • 28

    #2
    I don't believe Actions will work on templates. You'll need to create your actions individually.

    This prevents you from having a highly customized action for each trigger in your template, but you can build a generic action that triggers based on host groups or a similar criteria.

    w

    Comment

    • geno
      Junior Member
      • Nov 2008
      • 29

      #3
      Hi

      I dont think you understand the problem correctly
      This setup used to work. I've setup items,triggers,etc on v1.6 then upgraded to 1.6.1 and then I setup more items,triggers on 1.6.1.
      The stuff that was setup during the time of 1.6 STILL works, but the stuff I've setup during 1.6.1 DOESNT work.

      That means that the code (in 1.6.1) that is executed when I create my configuration does its setup different to 1.6 and causes the code that match events to actions TO FAIL.

      I'll edit my first post and add screenshots...

      Comment

      Working...