Update Libvirt.md with Installation steps

Story: 2003347
Task: 24386
Change-Id: I2f0807f73802a32e0afef2a308760455437d953c
This commit is contained in:
Pandiyan 2018-08-10 12:30:57 +05:30 committed by Dobroslaw Zybort
parent 2f7153a59c
commit ab00021018
1 changed files with 14 additions and 0 deletions

View File

@ -4,6 +4,7 @@
- [Libvirt VM Monitoring](#libvirt-vm-monitoring)
- [Overview](#overview)
- [Installation](#installation)
- [Configuration](#configuration)
- [Instance Cache](#instance-cache)
- [Metrics Cache](#metrics-cache)
@ -30,6 +31,19 @@
## Overview
The Libvirt plugin provides metrics for virtual machines when run on the hypervisor server. It provides two sets of metrics per measurement: one designed for the owner of the VM, and one intended for the owner of the hypervisor server.
## Installation
Install `libvirt` plugin system dependencies
```
apt install libvirt-dev
```
Install `libvirt` plugin Python dependencies
```
pip install monasca-agent[libvirt]
```
It will install `libvirt` packages like `libvirt-python`, `python-novaclient`
and `python-neutronclient`.
## Configuration
The `monasca-setup` program will configure the Libvirt plugin if `nova-compute` is running, its `nova.conf` config file is readable by the Monasca Agent user (default: 'mon-agent'), and `python-novaclient` is installed.