Ad Widget

Collapse

Zabbix email alerts appearing as single line of text

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tomb
    Junior Member
    • Jul 2019
    • 3

    #1

    Zabbix email alerts appearing as single line of text

    Hi All,

    Having an issue with our Zabbix server.

    It's a recent clean install running 4.2.3 and we haven't modified anything however when we receive the problem and recovery alert emails they appear as a solid line of text rather than in a list format shown in the action viewer. I've attached two screenshots.

    The emails are being sent through our exchange server.

    Any help would be greatly appreciated.

    Thanks,
    Tom
  • matt68
    Junior Member
    • Apr 2020
    • 2

    #2
    Did you ever get this resolved? I am having the same issue with mine.

    Comment

    • mattiasbrandt
      Junior Member
      • May 2020
      • 1

      #3
      Bump,
      I'm also experiencing the same with fresh install of Zabbix 4.4
      This looked and was fine on our old 3.2 installation.

      Any solution to this?

      Comment

      • Hamardaban
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2019
        • 2713

        #4
        What message format is selected in the media type settings?
        Message format Select message format:
        HTML - send as HTML
        Plain text - send as plain text

        Comment

        • MagicLink
          Junior Member
          • Feb 2021
          • 2

          #5
          Hi,

          i have this issue with type of item "text". In latest data, content of a file is normal (space, breakline...). But in email (format HTML), it appears as a single line of text.
          In Plain text, content is ok, but i'm interested in HTML format.

          Latest data :
          Click image for larger version  Name:	2022-08-17 14 41 08.png Views:	0 Size:	8.4 KB ID:	449978

          Email with format HTML :

          Click image for larger version  Name:	2022-08-17 14 45 04.png Views:	0 Size:	11.5 KB ID:	449979

          Code HTML :
          Code:
          <html>
          <body>
          <p>
          <b>Trigger Name :</b> {TRIGGER.NAME}
          <br>
          <b>Trigger Status : <font color="red">{TRIGGER.STATUS}</font></b>
          <br>
          <b>Trigger Severity :</b> {TRIGGER.SEVERITY}
          <br>
          <b>Event Time :</b> {EVENT.DATE} - {EVENT.TIME}
          <br>
          <b>Trigger Description :</b> {TRIGGER.DESCRIPTION}
          <br>
          <br>
          <b>Host :</b> {HOST.NAME} ({HOST.IP})
          <br>
          <b>Host Location :</b> {INVENTORY.LOCATION}
          <br>
          <b>Host Group :</b> {TRIGGER.HOSTGROUP.NAME}
          <br>
          <b>Host Description :</b> {HOST.DESCRIPTION}
          <br>
          <br>
          <b>Item Name :</b> <i>{ITEM.NAME}</i>
          <br>
          <b>Item Key :</b> <i>{ITEM.KEY}</i>
          <br>
          <b>Item Last Value : <font color="red"><i>{ITEM.LASTVALUE}</i></font></b>
          <br>
          <br>
          </p>
          </body>
          </html>

          Comment

          Working...