Ad Widget

Collapse

{HOSTNAME} in item name or action?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tuxick
    Junior Member
    • May 2017
    • 3

    #1

    {HOSTNAME} in item name or action?

    Hi,

    I noticed an inconsistency in usage of {HOSTNAME}. In some templates {HOSTNAME} is used in Item name, but others leave it up to admin to add it in Subject for actions.
    I'm all for the latter: it doesn't belong in item name, and i hope some agreement can be reached over this.
    It looks a bit silly to get some notifications showing hostname twice, or not all.

    Tony
  • tuxick
    Junior Member
    • May 2017
    • 3

    #2
    correction

    i meant trigger name instead of item name of course

    Comment

    • onallion
      Senior Member
      • Mar 2016
      • 131

      #3
      Personally I remove {HOST.NAME} from all trigger names, and in the email subject line I use {TRIGGER.SEVERITY}: {HOST.NAME} - {TRIGGER.NAME}.

      Kind of a hassle to customize templates I've downloaded from Zabbix Share that have {HOST.NAME} in the trigger names, but you just gotta do it once and then you're golden.

      Another method I guess is adding {HOST.NAME} to all trigger names in your templates, and in the email not displaying {HOST.NAME} at all.

      Comment

      Working...