[Openstack] [ceilometer] how to list l3 meters using neutron meter-labels?
Kelam, Koteswara Rao
koteswara.kelam at hp.com
Tue Apr 1 11:54:30 UTC 2014
No, that did not work. Labels are not even listed in resource list.
sdn at koteswar-ice-osc:~$ ceilometer meter-list -q 'resource_id=db5b10a9-b36b-4b96-ab46-84e34e2b1cfb'
+------+------+------+-------------+---------+------------+
| Name | Type | Unit | Resource ID | User ID | Project ID |
+------+------+------+-------------+---------+------------+
+------+------+------+-------------+---------+------------+
sdn at koteswar-ice-osc:~$ neutron meter-label-list
+--------------------------------------+----------+-------------+
| id | name | description |
+--------------------------------------+----------+-------------+
| 03903d6c-fdf4-4091-88e8-c70d17ce3664 | LABEL1 | |
| 3c1c3fea-1105-4ab6-8ff0-be160c096668 | LABEL2 | |
| db5b10a9-b36b-4b96-ab46-84e34e2b1cfb | INCOMING | |
+--------------------------------------+----------+-------------+
sdn at koteswar-ice-osc:~$ ceilometer resource-list|grep db5b10a9-b36b-4b96-ab46-84e34e2b1cfb
sdn at koteswar-ice-osc:~$
regards,
Koteswar
From: Nejc Saje [mailto:nejc.saje at xlab.si]
Sent: Friday, March 28, 2014 5:21 PM
To: Kelam, Koteswara Rao
Cc: openstack at lists.openstack.org
Subject: Re: [Openstack] [ceilometer] how to list l3 meters using neutron meter-labels?
If I'm not mistaken, you should be able to get the relevant samples by filtering on resource_id being the label's ID, e.g.
`ceilometer sample-list -q resource_id=<LABEL ID>`
Cheers,
Nejc
On Mar 28, 2014, at 11:40 AM, Kelam, Koteswara Rao <koteswara.kelam at hp.com<mailto:koteswara.kelam at hp.com>> wrote:
Hi All,
I am using icehouse-2. In my setup 10.64.201.0/24 is external network and set it as router gateway.
|10.64.201.0/24|<------->|router|<------>|22.0.0.0/24|
Now I want see the rx and tx stats of qg-XX interface of router as meters.
I configured neutron metering label and rule as follows.
sdn at koteswar-ice-osc:~$ neutron meter-label-show INCOMING
sdn at koteswar-ice-osc:~$ neutron meter-label-rule-create INCOMING 10.64.201.0/24 --direction ingress
But I don't know how to see the stats associated with label INCOMING. After creating label, how to see it as a meter in the collector side?
"ceilometer meter-list/sample-list" not listing anything related to this label. Please help.
Thanks in advance
Koteswar
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack at lists.openstack.org<mailto: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/20140401/9b7e19c2/attachment.html>
More information about the Openstack
mailing list