Ask Your Question
1

how to get data from ceilometer on dashboard

asked 2015-01-26 02:16:43 -0500

mohsin gravatar image

i want to display alarms and other ceilometer statistics on dashboard i have created a seperate tab in horizon now i want to display a table where all alarams are display and user can cerate and remove the alarm on dashboard. i need a way get this information on dashboard.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-04-23 15:19:49 -0500

You need to access alarms through REST APIs. for example, GET {ceilometer_url}/v2/alarms will return list of alarms created in the system. You can use Query object to get specific alarms.

You can use query object like this: { "field": "resource_id", "op": "eq", "type": "string", "value": "bd9431c1-8d69-4ad3-803a-8d4a6b89fd36" }

You can read full API here: http://docs.openstack.org/developer/ceilometer/webapi/v2.html#alarms (http://docs.openstack.org/developer/c...)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2015-01-26 02:16:43 -0500

Seen: 822 times

Last updated: Jan 26 '15