Re: [openstack-dev] [telemetry][gnocchi]gnocchi resource id has been SHA-1, How to find the resources belong to the monitored items?

2016-10-12 Thread
Thank you very much for your reply, Julien!
We are using the openstack version is liberty(gnocchi version=1.3), no 
original_resource_id, Can you tell me what I should do?


 
 
-- Original --
From:  "Julien Danjou";
Date:  Wed, Oct 12, 2016 06:22 PM
To:  "冯朝阳"; 
Cc:  "openstack-dev"; 
Subject:  Re: [openstack-dev] [telemetry][gnocchi]gnocchi resource id has been 
SHA-1,How to find the resources belong to the monitored items?

 
On Wed, Oct 12 2016, 冯朝阳 wrote:

> such as(The following example is used gnocchi version = 1.3 (L version)):
> # gnocchi resource list
>  a23d72a8-6fa3-545a-8b66-e512cac3aea3 | instance_network_interface |
> 12fc4501-8408-43b2-8cb7-6f1e1462d80e | 48d883ba-76d0-4e30-ac6b-ab85d1041c96 |
> 2016-10-12T08:05:55.397722+00:00 | None
>
>
> # neutron port-show a23d72a8-6fa3-545a-8b66-e512cac3aea3
> Unable to find port with name 'a23d72a8-6fa3-545a-8b66-e512cac3aea3'

First, an instance_network_interface is a NIC on a compute so it's unrelated to
a Neutron port. I guess it might be connected to it, but that's just in
the case you're actually using Neutron.

Then, you can use gnocchi resource search using the original_resource_id
or instance_id field to find the NIC you're looking for.

Cheers,
-- 
Julien Danjou
;; Free Software hacker
;; https://julien.danjou.info__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [telemetry][gnocchi]gnocchi resource id has been SHA-1, How to find the resources belong to the monitored items?

2016-10-12 Thread
Hello All,


When the ceilometer sent over the data to gnocchi, Gnocchi will use uuid.uuid5 
for resource id, how to find it through the resource id belongs to the virtual 
machine, monitoring items? Will not be able to deal with resource id?


such as(The following example is used gnocchi version = 1.3 (L version)):
# gnocchi resource list
 a23d72a8-6fa3-545a-8b66-e512cac3aea3 | instance_network_interface | 
12fc4501-8408-43b2-8cb7-6f1e1462d80e | 48d883ba-76d0-4e30-ac6b-ab85d1041c96 | 
2016-10-12T08:05:55.397722+00:00 | None  


# neutron port-show a23d72a8-6fa3-545a-8b66-e512cac3aea3
Unable to find port with name 'a23d72a8-6fa3-545a-8b66-e512cac3aea3'


How should we find the instance network_interface input which instance, which 
is the port?


Thank you very much for reading my question, I hope to get your help!__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev