metadata:
 name: regex_for_exact_match
 description: a template with a regex for an exact match
definitions:
 entities:
  - entity:
     category: ALARM
     type: zabbix
     rawtext.regex: Public interface host43 down
     template_id: exact_match
  - entity:
     category: RESOURCE
     type: nova.host
     name: host-$1
     template_id: host
 relationships:
  - relationship:
     source: exact_match
     relationship_type: on
     target: host
     template_id : nic_fail_on_host
scenarios:
 - scenario:
    condition: nic_fail_on_host
    actions:
     - action:
        action_type: raise_alarm
        action_target:
         target: host
        properties:
         alarm_name: nic problem
         severity: critical
