From 20eb74f64ef19b939a7048784f41b1965db48fad Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Thu, 7 May 2015 20:48:17 +0300 Subject: [PATCH] Update README.md - add link to releases. --- .gitignore | 2 ++ README.md | 35 ++++++++++++++++++++++++++++++++--- 2 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0e379c5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.sublime-project +*.sublime-workspace diff --git a/README.md b/README.md index e3ed8bc..9622bb6 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,37 @@ Zabbix API datasource for Grafana dashboard Display your Zabbix data directly in Grafana dashboards -![grafana - zabbix datasource](https://cloud.githubusercontent.com/assets/4932851/7454206/34bf9f8c-f27a-11e4-8e96-a73829f188c4.png) - Useful metric editor with host group and application filtering -![2015-05-02 15-52-53](https://cloud.githubusercontent.com/assets/4932851/7441162/4f6af788-f0e4-11e4-887b-34d987d00c40.png) +![grafana - zabbix datasource](https://cloud.githubusercontent.com/assets/4932851/7441162/4f6af788-f0e4-11e4-887b-34d987d00c40.png) + +## Installation + +### Grafana 1.9.x + +Download [latest release](https://github.com/alexanderzobnin/grafana-zabbix/releases) and unpack `zabbix` directory 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