From ab00021018a01f03a47b6871c991fb277d11cbc8 Mon Sep 17 00:00:00 2001 From: Pandiyan Date: Fri, 10 Aug 2018 12:30:57 +0530 Subject: [PATCH] Update Libvirt.md with Installation steps Story: 2003347 Task: 24386 Change-Id: I2f0807f73802a32e0afef2a308760455437d953c --- docs/Libvirt.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/Libvirt.md b/docs/Libvirt.md index 5eb89c20..a2b06bfc 100644 --- a/docs/Libvirt.md +++ b/docs/Libvirt.md @@ -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.