23 lines
476 B
YAML
23 lines
476 B
YAML
metadata:
|
|
version: 2
|
|
type: definition
|
|
name: definition_template
|
|
description: A template that contains only definitions
|
|
definitions:
|
|
entities:
|
|
- entity:
|
|
category: ALARM
|
|
type: nagios
|
|
name: High memory consumption
|
|
template_id: alarm
|
|
- entity:
|
|
category: RESOURCE
|
|
type: nova.host
|
|
template_id: resource
|
|
relationships:
|
|
- relationship:
|
|
source: alarm
|
|
target: resource
|
|
relationship_type: on
|
|
template_id : alarm_on_host
|