Ad Widget

Collapse

Operational Data no passing through to Media alert messages?

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • BearGFR
    Junior Member
    • Nov 2019
    • 9

    #1

    Operational Data no passing through to Media alert messages?

    Hi,
    Long time Zabbix user here but I'm essentially a newbie because I've only recently started trying to learn more about how to really take advantage of it.

    I have it successfully configured to invoke the speedtest cli periodically and record the results, providing me a view over time of how my ISP has been performing. That has proven invaluable whenever I need to contact them about an issue because I'm able to provide them with graphic history of how performance has been over time, instead of just a few spot check test results. I love it.

    I've been trying to update my trigger and alerting mechanisms so that whenever a problem gets created, the accompanying alert email includes the current measurement value that caused the trigger to fire, and not just the threshold value. I'm probably missing something important in my configuration, but so far haven't been able to spot what that might be, so I'm coming here hoping for help.

    Zabbix Server version: 6.2.1 (running in a Docker container under Debian)
    Zabbix Agent version: 6.2.1 (running in a 2nd Docker container, same system)
    Database: MariaDB 10.9.2 (running in a 3rd Docker container, same system)

    I'll attempt to attach screen shots that show:
    • Trigger definition
    • Macros
    • Action Configuration
    • Media (email) message template
    • Sample notification email that's produced
    Also notice, in the sample event notification message, that:
    • {HOST.NAME} is present/resolved in the body of the message but not in the email subject.
    What am I missing or have mis-configured?
    Thanks so much,

    Bear


    Click image for larger version

Name:	zabbix1.jpg
Views:	944
Size:	145.6 KB
ID:	454570

    Click image for larger version

Name:	zabbix2.jpg
Views:	809
Size:	87.7 KB
ID:	454571

    Click image for larger version

Name:	zabbix3.jpg
Views:	805
Size:	79.2 KB
ID:	454572

    Click image for larger version

Name:	zabbix4.jpg
Views:	818
Size:	74.2 KB
ID:	454573

    Click image for larger version

Name:	zabbix5.jpg
Views:	831
Size:	103.2 KB
ID:	454574
  • Answer selected by BearGFR at 28-11-2022, 13:04.
    Atsushi
    Senior Member
    • Aug 2013
    • 2028

    Please check to see if the action settings are overriding the media settings you are using.

    Comment

    • BearGFR
      Junior Member
      • Nov 2019
      • 9

      #2
      Surely, I can't be the only person who has ever had this problem?

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #3
        Please check to see if the action settings are overriding the media settings you are using.

        Comment

        • BearGFR
          Junior Member
          • Nov 2019
          • 9

          #4
          Thank you so much, Atsushi. That turned out to be the cause. I either didn't know or had forgotten that message templates could be defined in multiple places.
          Bear

          Comment

          Working...