title: Monitor multiple values within one Item in Zabbix
body: <p>We need to monitor a database table for response time of an action within our system. If the response time is above a threshold, we need to send an alert with details of the action: action_type, action_name, and others. </p>
  
  <p>Is this possible with Zabbix? </p>
  
  <p>I tried creating a Database monitor item with the following sql:</p>
  
  <pre><code>select action_type, action_name, window_title, response_time from db.table order by action_timestamp desc limit 1;
  </code></pre>
  
  <p>I was hoping that Zabbix would be able to store and display all the fields in the select, but it just gets the first value (for action_type) and not all the fields. </p>
  
  <p>Is there a way to do it with Zabbix? It's pretty much a must for us so if we can't do it we'd have to go with a different monitoring tool. </p>
  
  <p>EDIT: here's the notification syntax from an <code>Action</code> that is created hoping to use multiple values - from multiple items - in a notification sent following a trigger. My question here is, is this the correct syntax? Is my attempt at using multiple items in <code>Item values:</code> below going to work? </p>
  
  <pre><code>Trigger: {TRIGGER.NAME}
  Trigger status: {TRIGGER.STATUS}
  Trigger severity: {TRIGGER.SEVERITY}
  Trigger URL: {TRIGGER.URL}
  
  Item values:
  
  1. Action name: {"Item ##5 Name"} ("Zabbix_server"}:{ITEM.KEY1}): {ITEM.VALUE1}
  2. Window type: {"Item ##2 Name"} ("Zabbix_server"}:{ITEM.KEY2}): {ITEM.VALUE2}
  
  Original event ID: {EVENT.ID} 
  </code></pre>