From bc1a3bbda819daaf752f01df5272bb1d6c9c353f Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Thu, 7 May 2015 19:21:00 +0300 Subject: [PATCH] Add installation instructions. --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/README.md b/README.md index c02e1c202..1585da6ca 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,33 @@ # grafana-zabbix Zabbix API datasource for Grafana dashboard + +## Installation + +### Grafana 1.9.x + +Download latest release and unpack into `/plugins/datasource/`. Then edit Grafana config.js: + * Add dependencies + + ``` + plugins: { + panels: [], + dependencies: ['datasource/zabbix/datasource', 'datasource/zabbix/queryCtrl'], + } + ``` + * Add datasource and setup your Zabbix API url, username and password + + ``` + datasources: { + ... + }, + zabbix: { + type: 'ZabbixAPIDatasource', + url: 'http://www.zabbix.org/zabbix/api_jsonrpc.php', + username: 'guest', + password: '' + } + }, + ``` + +### Grafana 2.0.x +Now in development. \ No newline at end of file