Adding new metric to ceilometer and nova

asked 2014-09-16 23:28:02 -0500

Vivek Nandavanam gravatar image

updated 2014-09-17 16:13:18 -0500

Hi,

I am trying to gather a new metric from the hosts using Nova and then I am trying to get the data form the side of Ceilometer. A new monitor was created taking ComputeDriverCPUMonitor as the reference and I see that I get the data that I need in Nova by adding a monitor in the compute package of Nova. compute_monitors = ComputeDriverCPUMonitor

I tried to add the metric in Ceilometer by adding an entry into the entry_points.txt and setup.cfg file. And made the respective changes in the notifications package of ceilometer and I see that the class I created here is getting invoked. I am following the compute.node.* convention for adding this metric.

I do not get the new metric in the metrics list when I execute the ceilometer meter-list command.

Is there any other place I am missing an entry in? I can give more details if needed.

-Vivek

edit retag flag offensive close merge delete