Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cloud
web
Commits
c3798012
Commit
c3798012
authored
7 years ago
by
Giuseppe Attardi
Browse files
Options
Downloads
Patches
Plain Diff
Update gnocchi.rst
parent
b13e3d76
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
web/support/kb/openstack/gnocchi.rst
+23
-32
23 additions, 32 deletions
web/support/kb/openstack/gnocchi.rst
with
23 additions
and
32 deletions
web/support/kb/openstack/gnocchi.rst
+
23
−
32
View file @
c3798012
...
@@ -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::
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment