Ad Widget

Collapse

Coloured HTML Email Notification Templates

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Coloured HTML Email Notification Templates

    Hi,
    I just did some quick replacements for the HTML Email Problem/Recovery for better visibility and also added shortcuts to the triggered event and host dashboard

    https://share.zabbix.com/zabbix-tool...lmailtemplates

    Please feel free to use and please share if you use and improve the not so great design

    Happy monitoring
    //Mathias
    Last edited by maand; 21-11-2020, 17:08.

    #2
    Yeah, it might come in handy Thank you!

    Comment


      #3
      I'd rather see it add instead of replace the existing ones.

      Comment


      • maand
        maand commented
        Editing a comment
        Just add them instead of replacing then

      #4
      Originally posted by csmall View Post
      I'd rather see it add instead of replace the existing ones.
      My apologies, I just saw you word as a replacement and went off that. Thanks for contributing!

      Comment


        #5
        Hi maand

        First of all, thank you very much for your contribution and work.

        In the last values of Host information I had to change the following:

        HTML Code:
        <p><b>CPU usage:</b><br>
        Latest value: <i>{{HOST.HOST}:system.cpu.util.last()}</i><br>
        MAX for 15 minutes: <i>{{HOST.HOST}:system.cpu.util.max(900)}</i><br>
        MIN for 15 minutes: <i>{{HOST.HOST}:system.cpu.util.min(900)}</i></p>
        by
        HTML Code:
        <p><b>Uso CPU:</b><br>
        Latest value: <i>{{HOST.HOST}:system.cpu.util[,,avg1].last()}</i><br>
        MAX for 15 minutes: <i>{{HOST.HOST}:system.cpu.util[,,avg1].max(900)}</i><br>
        MIN for 15 minutes: <i>{{HOST.HOST}:system.cpu.util[,,avg1].min(900)}</i></p>
        If I didn't do that, I didn't recognize myself and gave me value: *UNKNOWN*

        I also added a line after line 49 to embed my company logo.

        Click image for larger version

Name:	logoemail.jpg
Views:	11
Size:	31.4 KB
ID:	414050

        Greetings and congratulations on your contribution.

        Comment


        • maand
          maand commented
          Editing a comment
          Which version of zabbix are you using, its maybe some version differences on the cpu since it works for me? [,,avg1] is the default so it should be the same as not using it.

        • sancho
          sancho commented
          Editing a comment
          Hi, 5.0.5 version

      Announcement

      Collapse
      No announcement yet.
      Working...
      X