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

Julien Danjou julien at danjou.info
Wed Oct 12 10:22:33 UTC 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161012/accc1860/attachment.pgp>


More information about the OpenStack-dev mailing list