[openstack-dev] [telemetry][gnocchi]gnocchi resource id has been SHA-1, How to find the resources belong to the monitored items?
冯朝阳
fengchaoyang at unitedstack.com
Wed Oct 12 10:59:39 UTC 2016
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"<julien at danjou.info>;
Date: Wed, Oct 12, 2016 06:22 PM
To: "冯朝阳"<fengchaoyang at unitedstack.com>;
Cc: "openstack-dev"<openstack-dev at lists.openstack.org>;
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161012/394575cc/attachment.html>
More information about the OpenStack-dev
mailing list