[Openstack] ceilometer output not showing properly.

dhanesh1212121212 dhanesh1212 at gmail.com
Tue Jul 15 10:06:44 UTC 2014


Hi All,

Please find the configuration details.

vim /etc/glance/glance.conf

DEFAULT]
rpc_backend = qpid
qpid_hostname = controller
notification_driver = messaging


[root at controller ~]# /etc/init.d/openstack-glance-api status
openstack-glance-api (pid  2208) is running...
[root at controller ~]# /etc/init.d/openstack-glance-registry status
openstack-glance-registry (pid  2216) is running...

yes i have checked all the services and is running.

still the output is null.

*ITS SHOWING ALARM DETAILS*

[root at controller ~]# ceilometer alarm-list
+--------------------------------------+----------+-------------------+---------+------------+---------------------------------+
| Alarm ID                             | Name     | State             |
Enabled | Continuous | Alarm condition                 |
+--------------------------------------+----------+-------------------+---------+------------+---------------------------------+
| cab712c1-c0bb-4bc9-9114-657cc86dbfdb | cpu_high | insufficient data |
True    | False      | cpu_util > 75.0 during 3 x 600s |
+--------------------------------------+----------+-------------------+---------+------------+---------------------------------+
[root at controller ~]# ceilometer alarm-list
+--------------------------------------+----------+-------------------+---------+------------+---------------------------------+
| Alarm ID                             | Name     | State             |
Enabled | Continuous | Alarm condition                 |
+--------------------------------------+----------+-------------------+---------+------------+---------------------------------+
| cab712c1-c0bb-4bc9-9114-657cc86dbfdb | cpu_high | insufficient data |
True    | False      | cpu_util > 75.0 during 3 x 600s |
+--------------------------------------+----------+-------------------+---------+------------+---------------------------------+
[root at controller ~]# ceilometer alarm-history
usage: ceilometer alarm-history -a <ALARM_ID> [-q <QUERY>]
ceilometer alarm-history: error: argument -a/--alarm_id is required
[root at controller ~]# ceilometer alarm-history -a
cab712c1-c0bb-4bc9-9114-657cc86dbfdb
+-------------+----------------------------+---------------------------------------+
| Type        | Timestamp                  |
Detail                                |
+-------------+----------------------------+---------------------------------------+
| creation    | 2014-07-15T09:02:40.572000 | name:
cpu_high                        |
|             |                            | description: instance running
hot     |
|             |                            | type:
threshold                       |
|             |                            | rule: cpu_util > 70.0 during 3
x 600s |
| rule change | 2014-07-15T09:03:56.167000 | rule: cpu_util > 75.0 during 3
x 600s |


*Resource-list*


[root at controller ~]# ceilometer resource-list
+----------------------------------------------------+-----------+----------------------------------+----------------------------------+
| Resource ID                                        | Source    | User
ID                          | Project ID                       |
+----------------------------------------------------+-----------+----------------------------------+----------------------------------+
| 04c806cd-87f9-4019-93bb-18f028e97aa2               | openstack |
None                             | 863c1374386043f6a78ee9eb0bbd7adb |
| 05dfa5db-40c3-4002-a356-1eb530914d86               | openstack |
4753cf10dd5a405285412b2c499b13a6 | 863c1374386043f6a78ee9eb0bbd7adb |
| 0b8df68e-0e20-4277-a6ba-cc8ee83089ca               | openstack |
None                             | 863c1374386043f6a78ee9eb0bbd7adb |
| 0d09443b-c555-435b-9082-81d2d216c04b               | openstack |
None                             | 863c1374386043f6a78ee9eb0bbd7adb |
| 0ecd66bc-1683-4a51-abb5-27c64b4d082b               | openstack |
None                             | 863c1374386043f6a78ee9eb0bbd7adb |
| 1149f13d-7438-4395-92f3-86fad3a1ad4e               | openstack |
4753cf10dd5a405285412b2c499b13a6 | 863c1374386043f6a78ee9eb0bbd7adb |
| 163be637-b906-47fc-b53f-e961c77c5a82               | openstack |
None                             | 863c1374386043f6a78ee9eb0bbd7adb |
| 16c59c57-3074-46d5-9940-41c318caffa7               | openstack |
4753cf10dd5a405285412b2c499b13a6 | 863c1374386043f6a78ee9eb0bbd7adb |
| 19050f7b-eea1-45c1-9949-ad6ce6ad9518               | openstack |
4753cf10dd5a405285412b2c499b13a6 | 863c1374386043f6a78ee9eb0bbd7adb |
| 26f60dd9-7f17-4a28-bcc4-eab6be09918c               | openstack |
4753cf10dd5a405285412b2c499b13a6 | 863c1374386043f6a78ee9eb0bbd7adb |
| 2ce5c19c-4639-4d47-a550-a9795fd09e97               | openstack |
4753cf10dd5a405285412b2c499b13a6 | 863c1374386043f6a78ee9eb0bbd7adb |
| 3fe36e23-4541-4e33-9c8f-f695309206a0               | openstack |
None                             | 863c1374386043f6a78ee9eb0bbd7adb |
| 46683b66-5553-43d6-8491-a2e699961e14               | openstack |
None                             | 863c1374386043f6a78ee9eb0bbd7adb |
| 48521d7d-8104-423d-918e-c2056dfdb69a               | openstack |
4753cf10dd5a405285412b2c499b13a6 | 863c1374386043f6a78ee9eb0bbd7adb |
| 4cc0f702-e2a9-4309-af43-0247641e941d               | openstack |
None                             | 863c1374386043f6a78ee9eb0bbd7adb |
| 52387ac8-8833-47fd-81bb-f8b4867b2e8a               | openstack |
None                             | 863c1374386043f6a78ee9eb0bbd7adb |
| 54af0079-f8a3-4139-ad31-74fc6fef5633               | openstack |
4753cf10dd5a405285412b2c499b13a6 | 863c1374386043f6a78ee9eb0bbd7adb |
| 55543f23-a995-4100-a3c9-6ef9fdf1a94f               | openstack |
4753cf10dd5a405285412b2c499b13a6 | 863c1374386043f6a78ee9eb0bbd7adb |
| 5baa93fddca84e7a988ca75a938be9bb                   | openstack |
bf5c034ef0ef4eaebd7a0c77439df967 | 5baa93fddca84e7a988ca75a938be9bb |



Can someone explain me on this.


[root at controller ~]# mongo ceilometer
MongoDB shell version: 2.4.6
connecting to: ceilometer
> show collections
alarm
alarm_history
meter
project
resource
system.indexes
system.users
user
> alarm
Tue Jul 15 15:32:13.373 ReferenceError: alarm is not defined
> meter
Tue Jul 15 15:32:19.351 ReferenceError: meter is not defined
> project
Tue Jul 15 15:32:22.245 ReferenceError: project is not defined
> resource
Tue Jul 15 15:32:24.792 ReferenceError: resource is not defined
> system.indexes
Tue Jul 15 15:32:27.628 ReferenceError: system is not defined
> system.users
Tue Jul 15 15:32:30.895 ReferenceError: system is not defined
> user
Tue Jul 15 15:32:33.900 ReferenceError: user is not defined


Regards,
Dhanesh M




On Tue, Jul 15, 2014 at 2:02 PM, Eoghan Glynn <eglynn at redhat.com> wrote:

>
>
> > Hi All,
> >
> >
> > ICEHOUSE with Centos KVM (Two tier ).
> >
> > While verifying the ceilometer meter-list its showing outputs but when i
> put
> > the statistics command its output is null.
> >
> > Please guide me on this.
> >
> >
> >
> > Commands:
> >
> >
> > [root at controller ~]# ceilometer meter-list
> >
> +---------------------------------+-------+-----------+----------------------------------------------------+----------------------------------+----------------------------------+
> > | Name | Type | Unit | Resource ID | User ID | Project ID |
> >
> +---------------------------------+-------+-----------+----------------------------------------------------+----------------------------------+----------------------------------+
> > | disk.ephemeral.size | gauge | GB |
> 05dfa5db-40c3-4002-a356-1eb530914d86 |
> > | 4753cf10dd5a405285412b2c499b13a6 | 863c1374386043f6a78ee9eb0bbd7adb |
> > | disk.ephemeral.size | gauge | GB |
> 1149f13d-7438-4395-92f3-86fad3a1ad4e |
> > | 4753cf10dd5a405285412b2c499b13a6 | 863c1374386043f6a78ee9eb0bbd7adb |
> > | disk.ephemeral.size | gauge | GB |
> 16c59c57-3074-46d5-9940-41c318caffa7 |
> > | 4753cf10dd5a405285412b2c499b13a6 | 863c1374386043f6a78ee9eb0bbd7adb |
> >
> > Verify the Telemetry installation
> >
> >
> > To test the Telemetry installation, download an image from the Image
> Service,
> > and use the ceilometer command to display usage statistics.
> >
> >
> > [root at controller ~]# glance image-download
> > "Opencascade_Centos6.3_OpenGL_OS_IMAGE" > opencascade.img
> > [root at controller ~]# ceilometer statistics -m image.download -p 60
> >
> +--------+--------------+------------+-------+-----+-----+-----+-----+----------+----------------+--------------+
> > | Period | Period Start | Period End | Count | Min | Max | Sum | Avg |
> > | Duration | Duration Start | Duration End |
> >
> +--------+--------------+------------+-------+-----+-----+-----+-----+----------+----------------+--------------+
> >
> +--------+--------------+------------+-------+-----+-----+-----+-----+----------+----------------+--------------+
> >
>
> Have you configured glance to emit notifications?
>
> Can you see statistics for any other meters?
>
> Cheers,
> Eoghan
>
>
> > its not displaying the output.
> >
> >
> >
> > Regards,
> > Dhanesh M.
> >
> >
> > _______________________________________________
> > Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> > Post to     : openstack at lists.openstack.org
> > Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140715/147c40a0/attachment.html>


More information about the Openstack mailing list