Hi all, I am working with Ceilometer, Havana-All-in-one on Ubuntu 12.04. Initially, ceilometer configuration installed four ceilometer services:
ceilometer-agent-central ceilometer-agent-compute ceilometer-api ceilometer-collector but later I came to know that there should be two other services running as well: ceilometer-alarm evaluator, ceilometer-alarm-notifier, I installed these services as given on the link: http://www.brucemartins.com/2014/03/openstack-havana-ceilometer-alarm.html I created alarm at a resource by using this command: ceilometer -k alarm-threshold-create --name tester_cpu_high --description 'overheating?' --meter-name cpu_util --threshold 3.0 --comparison-operator gt --statistic avg --period 10 --query resource_id=e0bbdad3-ebdb-4acd-8fb5-cd2e10bb10f4 but whenever I check the status of alarm, it shows me 'insufficient data' status. I tested it by running different applications on my instance but they made no change in alarm_status. Here is the log from /var/log/ceilometer/ceilometer-agent-compute.log: 2014-10-20 15:37:13.957 23126 WARNING ceilometer.transformer.conversions [-] dropping sample with no predecessor: <ceilometer.sample.Sample obj$ 2014-10-20 15:37:14.023 23126 WARNING ceilometer.transformer.conversions [-] dropping sample with no predecessor: <ceilometer.sample.Sample obj$ /var/log/ceilometer/ceilometer-api.log : 2014-10-20 15:37:10.652 23136 INFO keystoneclient.middleware.auth_token [-] Starting keystone auth_token middleware 2014-10-20 15:37:10.653 23136 INFO keystoneclient.middleware.auth_token [-] Using /tmp/keystone-signing-bGIm6r as cache directory for signing c$ 2014-10-20 15:37:13.039 23136 INFO keystoneclient.middleware.auth_token [-] Starting keystone auth_token middleware 2014-10-20 15:37:13.039 23136 INFO keystoneclient.middleware.auth_token [-] Using /tmp/keystone-signing-y7L_NW as cache directory for signing c Please tell me which step is missing or what exact procedure should be followed in order to monitor a meter for a resource. Moreover, what steps should be taken in order to add new meter. How would I debug ceilometer source code in /usr/lib/python2.7/ceilometer/* if I follow the following link: http://docs.openstack.org/developer/ceilometer/contributing/plugins.html Thank you! Regards, Jhon David
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev