Updated installation docs.
This commit is contained in:
@@ -3,11 +3,38 @@ page_description: Installation instructions for Grafana-Zabbix.
|
|||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
## From release package
|
## From special repo
|
||||||
Download [latest release](https://github.com/alexanderzobnin/grafana-zabbix/releases/latest)
|
You can use [grafana-zabbix-app](https://github.com/alexanderzobnin/grafana-zabbix-app) repo,
|
||||||
for relative Grafana version. Unpack archive and copy *grafana-zabbix* into your grafana
|
which contains latest builded version of plugin.
|
||||||
plugins directory (default `/var/lib/grafana/plugins` if your installing grafana with package).
|
|
||||||
Restart grafana-server and the plugin should be automatically detected and used.
|
```sh
|
||||||
|
cd /var/lib/grafana/plugins
|
||||||
|
git clone https://github.com/alexanderzobnin/grafana-zabbix-app
|
||||||
|
```
|
||||||
|
|
||||||
|
Then restart grafana server.
|
||||||
|
|
||||||
|
Using this way you can easy upgrade plugin just running
|
||||||
|
```sh
|
||||||
|
cd /var/lib/grafana/plugins/grafana-zabbix-app
|
||||||
|
git pull
|
||||||
|
service grafana-server restart
|
||||||
|
```
|
||||||
|
|
||||||
|
## Using grafana-cli tool
|
||||||
|
Get list of available plugins
|
||||||
|
|
||||||
|
```sh
|
||||||
|
grafana-cli plugins list-remote
|
||||||
|
```
|
||||||
|
|
||||||
|
Install zabbix plugin
|
||||||
|
|
||||||
|
```sh
|
||||||
|
grafana-cli plugins install zabbix-app
|
||||||
|
```
|
||||||
|
|
||||||
|
Read more in [Grafana docs](http://docs.grafana.org/plugins/installation/)
|
||||||
|
|
||||||
## Building from sources
|
## Building from sources
|
||||||
You need NodeJS, npm and Grunt for building plugin from sources. Read more about required versions
|
You need NodeJS, npm and Grunt for building plugin from sources. Read more about required versions
|
||||||
@@ -43,18 +70,8 @@ sudo service grafana-server restart
|
|||||||
systemctl restart grafana-server
|
systemctl restart grafana-server
|
||||||
```
|
```
|
||||||
|
|
||||||
## Using grafana-cli tool
|
## From release package
|
||||||
|
Download [latest release](https://github.com/alexanderzobnin/grafana-zabbix/releases/latest)
|
||||||
Get list of available plugins
|
for relative Grafana version. Unpack archive and copy *grafana-zabbix* into your grafana
|
||||||
|
plugins directory (default `/var/lib/grafana/plugins` if your installing grafana with package).
|
||||||
```sh
|
Restart grafana-server and the plugin should be automatically detected and used.
|
||||||
grafana-cli plugins list-remote
|
|
||||||
```
|
|
||||||
|
|
||||||
Install zabbix plugin
|
|
||||||
|
|
||||||
```sh
|
|
||||||
grafana-cli plugins install zabbix-app
|
|
||||||
```
|
|
||||||
|
|
||||||
Read more in [Grafana docs](http://docs.grafana.org/plugins/installation/)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user