alarm_enrichment how to use hostname in udata.message

Document ID : KB000102362
Last Modified Date : 18/06/2018
Show Technical Document Details
Issue:
  • we have configured alarm_enrichment to generate a custom alarm message 
udata.message = [alarm.origin] : [cmdb.iOrder] - HOSTNAME - [alarm.udata.message]
  • It was expected that HOSTNAME would be evaluated to reflect the actual hostname of the source robot but this did not work.
Resolution:
  • replace HOSTNAME with [alarm.udata.values.hostname]
udata.message = [alarm.origin] : [cmdb.iOrder] - [alarm.udata.values.hostname] - [alarm.udata.message]