Skip to content
Snippets Groups Projects
Commit c3798012 authored by Giuseppe Attardi's avatar Giuseppe Attardi
Browse files

Update gnocchi.rst

parent b13e3d76
No related branches found
No related tags found
No related merge requests found
...@@ -20,29 +20,6 @@ See https://docs.openstack.org/project-install-guide/telemetry/ocata/install-bas ...@@ -20,29 +20,6 @@ See https://docs.openstack.org/project-install-guide/telemetry/ocata/install-bas
apt-get install ceilometer-collector \ apt-get install ceilometer-collector \
ceilometer-agent-central ceilometer-agent-notification \ ceilometer-agent-central ceilometer-agent-notification \
python-ceilometerclient python-libvirt python-ceilometerclient python-libvirt
Note that Version 6.1 has bugs, so it is better to install from sources Version 8.1
From sources:
See https://github.com/openstack/ceilometer/blob/master/doc/source/install/manual.rst
::
cd /opt/stack
git clone https://git.openstack.org/openstack/ceilometer.git
cd ceilometer
sudo python setup.py install
sudo apt install tox
sudo apt install python3-dev libffi-dev libel-dev
# generates ceilometer.conf
tox -egenconfig
# optional
sudo apt install python-libvirt
sudo systemctl unmask ceilometer-agent-compute
sudo systemctl unmask ceilometer-agent-central
sudo systemctl unmask ceilometer-agent-notification
sudo systemctl unmask ceilometer-collector
Configure the services Configure the services
---------------------- ----------------------
...@@ -64,7 +41,21 @@ to configure `Ceilometer` itself and the controller services. ...@@ -64,7 +41,21 @@ to configure `Ceilometer` itself and the controller services.
Installation Installation
============ ============
Gnocchi can be installed using the charm being developed at https://github.com/openstack-charmers/charm-gnocchi. Manual
......
See these `instructions <http://gnocchi.xyz/stable_4.1/install.html>`_
Once `Gnocchi` is running, connect it to `Ceilometer`.
In the `Ceilometer` unit do::
sudo ceilometer-upgrade --skip-metering-database
sudo service ceilometer-agent-central start
sudo service ceilometer-agent-notification start
sudo service ceilometer-collector start
Juju
....
Gnocchi can be installed using the charm at https://github.com/openstack-charmers/charm-gnocchi.
Use Use
=== ===
...@@ -116,14 +107,14 @@ List the available metrics:: ...@@ -116,14 +107,14 @@ List the available metrics::
Find the resource you want to analyze, for example of type `instance`:: Find the resource you want to analyze, for example of type `instance`::
$ gnocchi resource list -t instance -c id -c user_id -c flavor_name $ gnocchi resource list -t instance -c id -c user_id -c flavor_id
+--------------------------------------+----------------------------------+-------------+ +--------------------------------------+----------------------------------+-----------+
| id | user_id | flavor_name | | id | user_id | flavor_id |
+--------------------------------------+----------------------------------+-------------+ +--------------------------------------+----------------------------------+-----------+
| 06e76595-4155-4bbc-a7ec-8ea99117f019 | cc0530ce0f98408c9732ab346dd05872 | m1.tiny | | 06e76595-4155-4bbc-a7ec-8ea99117f019 | cc0530ce0f98408c9732ab346dd05872 | 1 |
| 2e33d61a-b975-4768-b478-8da64de05f6c | cc0530ce0f98408c9732ab346dd05872 | m1.tiny | | 2e33d61a-b975-4768-b478-8da64de05f6c | cc0530ce0f98408c9732ab346dd05872 | 1 |
| dcaf2c23-1da7-4ca0-853c-541574323aed | 72a0254c67754b23b43ab0aae6524b50 | m1.medium | | dcaf2c23-1da7-4ca0-853c-541574323aed | 72a0254c67754b23b43ab0aae6524b50 | 2 |
+--------------------------------------+----------------------------------+-------------+ +--------------------------------------+----------------------------------+-----------+
View the resource usage of a specific resource:: View the resource usage of a specific resource::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment