rally/samples/tasks/scenarios/ceilometer/create-alarm-and-get-history.json
vgusev 3bef76d030 [Ceilometer] Add CeilometerAlarms.create_alarm_and_get_history scenario
Added new scenario for testing Ceilometer alarms

Change-Id: If7a47a52244cf187218d90f8c6cd151d458bfe78
2015-03-19 15:57:21 +03:00

28 lines
803 B
JSON

{
"CeilometerAlarms.create_alarm_and_get_history": [
{
"args": {
"meter_name": "ram_util",
"threshold": 10.0,
"type": "threshold",
"state": "ok",
"statistic": "avg",
"alarm_actions": ["http://localhost:8776/alarm"],
"ok_actions": ["http://localhost:8776/ok"],
"insufficient_data_actions": ["http://localhost:8776/notok"]
},
"runner": {
"type": "constant",
"times": 10,
"concurrency": 5
},
"context": {
"users": {
"tenants": 2,
"users_per_tenant": 2
}
}
}
]
}