ODT Export
 

Macros you can use in your alerts

You can also see list of supported macros in the official manual v1.8.

Alerts sent via defined actions are a bit short on information by default. There are a number of additional macros you can specify (as of September 2008 - Zabbix 1.6):

  • {DATE}
  • {ESC.HISTORY}
  • {EVENT.AGE}
  • {EVENT.DATE}
  • {EVENT.ID}
  • {EVENT.TIME}
  • {HOSTNAME}
  • {IPADDRESS}
  • {ITEM.LASTVALUE}
  • {ITEM.NAME}
  • {PROFILE.CONTACT}
  • {PROFILE.DEVICETYPE}
  • {PROFILE.HARDWARE}
  • {PROFILE.LOCATION}
  • {PROFILE.MACADDRESS}
  • {PROFILE.NAME}
  • {PROFILE.NOTES}
  • {PROFILE.OS}
  • {PROFILE.SERIALNO}
  • {PROFILE.SOFTWARE}
  • {PROFILE.TAG}
  • {STATUS}
  • {TIME}
  • {TRIGGER.COMMENT}
  • {TRIGGER.ID}
  • {TRIGGER.KEY}
  • {TRIGGER.NAME}
  • {TRIGGER.SEVERITY}
  • {TRIGGER.STATUS}
  • {TRIGGER.URL}
  • {TRIGGER.VALUE}

In order to translate these values to your own language, edit que source code of src/libs/zbxserver/expression.c and recompile it.

 
howto/config/alerts/customizing_your_alerts.txt · Last modified: 2009/10/26 11:45 by richlv
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki