Ad Widget

Collapse

Missing ability of comments for item if working with templates

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marc
    Senior Member
    • Oct 2004
    • 146

    #1

    Missing ability of comments for item if working with templates

    hi all,

    the new template/action concept is much better like the old one imho. BUT a big disadvantage is the missing ability to add custom messages by hosts if linked to template.
    e.g.
    in my old company i used zabbix stable and early betas (1.2) and defined triggers/action (like the old school way) foreach item i want to monitor.
    in the comment field i added notices like:

    call mr. xyz (tel number) host is mandatory for bea.

    if trigger for this item became true, message was sent with this comments without doing any special configuration.

    in latest zabbix iam working with templates and this is brilliant, however, i cannot add all this comments in e.g. Unix.Host comment field for trigger, or maybe i could but it not makes much sence because an sms alert for example is getting cutted to ~120-160 letters and it would e kind of luck to get the right part in my alert.

    i guess you need a new table like trigger.comments or some other way to get back the old functionality. or am i missing something?

    regards,
    marc
    Last edited by marc; 20-06-2006, 10:29. Reason: i would like an approval from an admin to know it was read and realised
  • just2blue4u
    Senior Member
    • Apr 2006
    • 347

    #2
    If i understood your post you want the trigger comment to be sent with the message.
    That's what i'm trying right now, too.

    I know there are variables like {TRIGGER.NAME}, {TRIGGER.STATUS}.
    I Tried out {TRIGGER.COMMENT}, but without success.

    Is there a variable comtaining the trigger comment, or any other way to get the trigger comment into the message?
    Big ZABBIX is watching you!
    (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)

    Comment

    • marc
      Senior Member
      • Oct 2004
      • 146

      #3
      Originally posted by just2blue4u
      If i understood your post you want the trigger comment to be sent with the message.
      That's what i'm trying right now, too.

      I know there are variables like {TRIGGER.NAME}, {TRIGGER.STATUS}.
      I Tried out {TRIGGER.COMMENT}, but without success.

      Is there a variable comtaining the trigger comment, or any other way to get the trigger comment into the message?
      my problem is, the comment _is_ send within the message body by default BUT if linked to a template i just have one comment for all triggers linked to the template. this is no help because i want to use trigger comment to inform ppl having duty what to do. e.g. notify customer abc.. telephone number..

      btw. http://www.zabbix.com/manual/v1.1/config_actions.php list of all MACROS far as i know.

      Comment

      • just2blue4u
        Senior Member
        • Apr 2006
        • 347

        #4
        How did you get the comment Datea into the message then?

        Simply writing something into the comment field doesn't do it. Where and how must i include this comment into the message?
        Big ZABBIX is watching you!
        (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)

        Comment

        Working...