Ad Widget

Collapse

Alert email details

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • paulhaygarth
    Junior Member
    • Mar 2018
    • 5

    #1

    Alert email details

    I have some custom checks that were used in our old monitoring solution. I have successfully moved these to zabbix. My checks are TEXT based, and are looking for the string 'OK'. This works great, and means I don't have to change my scripts.

    However, I am unable to figure out how to get the detailed information that my script returns (which shows up in the Trigger history) into the alert email. For example, I have a script that checks for specific processes and that they are responding to requests. When the processes are not running, my script will return the following:

    CRITICAL - The following processes are not running: PORTAL and PORTAL.RESPONDER

    Is it possible to include this detailed information in the email?
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    If that string is retrieved as the value of the item and is included in the trigger expression, it can be specified in the macro in the message.

    ex.
    {ITEM.VALUE1}
    {ITEM.VALUE2}


    Comment

    • paulhaygarth
      Junior Member
      • Mar 2018
      • 5

      #3
      Thanks! Works perfectly for me.

      Comment

      Working...