Ad Widget

Collapse

Changing template triggers on specific hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tim_0200
    Junior Member
    • Jan 2014
    • 13

    #1

    Changing template triggers on specific hosts

    Is it possible to change triggers on specific hosts that are inherited from templates? I thought I've done this in the past but apparently I can't. 95% of the triggers on the linux template works fine, but I have some servers that I want different trigger points. Should I simply clone the trigger and change it that way?
  • quejinho
    Junior Member
    • Jan 2015
    • 11

    #2
    As far i know You can't do that. But while creating the trigger prototype try using dependencies might be able to that by dependencies way .

    Comment

    • HaveDill
      Senior Member
      • Sep 2014
      • 103

      #3
      Originally posted by Tim_0200
      Is it possible to change triggers on specific hosts that are inherited from templates? I thought I've done this in the past but apparently I can't. 95% of the triggers on the linux template works fine, but I have some servers that I want different trigger points. Should I simply clone the trigger and change it that way?
      Yeah i'd disable the templated trigger and clone it with custom values

      Comment

      • inhayn
        Junior Member
        • Sep 2004
        • 13

        #4
        That could be achieved using MACROS in Trigger Template definitions, as show here: https://www.zabbix.com/documentation...ros/usermacros

        As instance, you can define a MACRO for CPU% and set this MACRO in Template definition as 95%. If one host or another need a different value, set the same MACRO with a new value at Host definition.

        Best Regards.
        inhayn

        Comment

        • IrwinI
          Junior Member
          • Apr 2017
          • 1

          #5
          Other easy alternative

          You can also add another trigger with higher trigger value or any other modifications and add it as "Dependency" for the trigger you wanted to change.

          Comment

          Working...