Ask Your Question
1

how can we use ceilometer alarm

asked 2013-06-19 01:53:46 -0500

xiyoulaoyuanjia gravatar image

updated 2013-06-19 01:54:59 -0500

i use the "ceilometer --debug alarm-create" command,but i result is as below:

INFO (connectionpool:202) Starting new HTTP connection (1): localhost DEBUG (connectionpool:296) "POST /v2.0/tokens HTTP/1.1" 200 7187 DEBUG (http:109) curl -i -X POST -H 'X-Auth-Token: MIIMkAYJKoZIhvcNAQcCoIIMgTCCDH0CAQExCTAHBgUrDgMCGjCCC2kGCSqGSIb3DQEHAaCCC1oEggtWeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNi0xOVQwNjo0OTozMy42NTE3NDIiLCAiZXhwaXJlcyI6ICIyMDEzLTA2LTIwVDA2OjQ5OjMzWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiNjA2ZjlmMGFhZDk1NDYxNTk1MWMwZjBkNWExMGNlY2YiLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzE5Mi4xNjguMC4xNTM6ODc3NC92Mi82MDZmOWYwYWFkOTU0NjE1OTUxYzBmMGQ1YTEwY2VjZiIsICJyZWdpb24iOiAiUmVnaW9uT25lIiwgImludGVybmFsVVJMIjogImh0dHA6Ly8xOTIuMTY4LjAuMTUzOjg3NzQvdjIvNjA2ZjlmMGFhZDk1NDYxNTk1MWMwZjBkNWExMGNlY2YiLCAiaWQiOiAiZTc1ZjMwNjRhMjJmNDNjNDhiMWQ2YjBiZDlmZmUyOGQiLCAicHVibGljVVJMIjogImh0dHA6Ly8xOTIuMTY4LjAuMTUzOjg3NzQvdjIvNjA2ZjlmMGFhZDk1NDYxNTk1MWMwZjBkNWExMGNlY2YifV0sICJl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zZXQxDjAMBgNVBAoTBVVuc2V0MRgwFgYDVQQDEw93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEgYBnYx2v4EhkThsOWDGpgEY7A31pVYZShN5-Uct3s3mtgBlkJY3EoKsrlkjIy4KwH585drxBHOCpuPetaAs6ldqPd2rbzFoeCOsvkLJuxKZDSIVwyxcFu3o-ocUwmg-PJTCtwG6-Qt8wMTeF1z+Gd8RYVizUf02IVPGv6xlVMQXdlA==' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ceilometerclient' -d '{}' http://192.168.0.153:8777/v2/alarms DEBUG (http:119) HTTP/1.0 404 Not Found date: Wed, 19 Jun 2013 06:49:34 GMT content-length: 77 content-type: application/json server: WSGIServer/0.1 Python/2.7.3

{"error_message": "404 Not Found\n\nThe resource could not be found.\n\n   "}

WARNING (http:164) Request returned failure status.
HTTPNotFound (HTTP 404)

can anyone tell me how to use alert of ceilometer?

edit retag flag offensive close merge delete

Comments

1

Which version of Ceilometer are you using?

jd gravatar imagejd ( 2013-06-22 03:15:04 -0500 )edit

i use the stable/grizzly from the github. any question?

xiyoulaoyuanjia gravatar imagexiyoulaoyuanjia ( 2013-06-22 10:09:47 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-06-22 14:44:24 -0500

So the answer is actually in your answer to my comment: alarming is a feature we are developing in Havana. You are running Grizzly, so there's no such feature.

And anyway, this feature is far from being complete at this point.

edit flag offensive delete link more

Comments

thanks a lot anyway!

xiyoulaoyuanjia gravatar imagexiyoulaoyuanjia ( 2013-06-22 21:27:31 -0500 )edit

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

Stats

Asked: 2013-06-19 01:53:46 -0500

Seen: 680 times

Last updated: Jun 22 '13