I have a question on how to reference a type of alarm in template so that
we can build scenarios.

In the template sample [1], an alarm entity has three keys: `category`,
`type` and `template_id`. It seems `type` is the only information to
distinguish different alarms. However, when an alarm is raised by aodh, it
seems all alarms are assigned entity type `aodh` [2], so are they shown in
dashboard.

Suppose we have two different types of alarms from `aodh`, e.g.
`volume.corrupt` and `volume.deleted`. How should I reference them
separately in a template?

×
[image: Screen Shot 2016-08-15 at 8.44.56 PM.png]
×

×

[1]
https://github.com/openstack/vitrage/blob/master/etc/vitrage/templates.sample/deduced_host_disk_space_to_instance_at_risk.yaml#L8
[2]
https://github.com/openstack/vitrage/blob/master/vitrage/datasources/aodh/transformer.py#L75
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to