Added an http_status alarm, removed service dimension for devstack

Change-Id: I112ca0816be8b961c7305635e433ddcf8d91faf7
This commit is contained in:
Tim Kuhlman 2015-01-23 15:47:16 -07:00
parent 4e8e9fa8f9
commit e4509cb54e
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,6 @@
user: monasca-agent
password: password
project: mini-mon
service: monitoring
minimon:
user: mini-mon
password: password

View File

@ -135,6 +135,7 @@
name: "{{item.name}}"
expression: "{{item.expression}}"
keystone_token: "{{out.keystone_token}}"
match_by: "{{item.match_by | default(['hostname']) }}"
monasca_api_url: "{{out.monasca_api_url}}"
alarm_actions:
- "{{out.notification_method_id}}"
@ -143,7 +144,8 @@
undetermined_actions:
- "{{out.notification_method_id}}"
with_items:
- { name: "Host Alive Alarm", expression: "host_alive_status > 0" }
- { name: "Host Alive Alarm", expression: "host_alive_status > 0"}
- { name: "Http Status Alarm", expression: "http_status > 0", match_by: ["service", "hostname"] }
- { name: "High CPU usage", expression: "avg(cpu.idle_perc) < 10 times 3" }
- { name: "Disk Inode Usage", expression: "disk.inode_used_perc > 90" }
- { name: "Disk Usage", expression: "disk.space_used_perc > 90" }