Ad Widget

Collapse

Media types - insert Host Description in message

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sambaderiopassiolinis
    Junior Member
    • Sep 2021
    • 11

    #1

    Media types - insert Host Description in message

    Hi
    I would like to insert Host description in message template. I try to do this witch macros, but without success.
    Now my message template is the default, for "Problem":
    Host: {HOST.NAME}
    Problema iniziato alle {EVENT.TIME} del {EVENT.DATE}
    Nome del problema: {EVENT.NAME}
    Severity: {EVENT.SEVERITY}
    Operational data: {EVENT.OPDATA}
    Original problem ID: {EVENT.ID}
    {TRIGGER.URL}

    I would like to insert for exemple:
    Location: {$HOST.DESCR}

    Click image for larger version

Name:	Cattura.jpg
Views:	1050
Size:	72.5 KB
ID:	436340








    Attached Files
  • ISiroshtan
    Senior Member
    • Nov 2019
    • 324

    #2
    Hi there.

    Please reference a list of supported macro. You will see, that host description is {HOST.DESCRIPTION} and not {$HOST.DESCR}.

    Hope it helps.

    Comment

    • Sambaderiopassiolinis
      Junior Member
      • Sep 2021
      • 11

      #3
      Hi ISiroshtan,
      thank you, it works!

      P.

      Comment

      Working...