c71ad03cf5e2d3699f10732e010bab46cb3e7c06
grafana-zabbix
Zabbix API datasource for Grafana dashboard
Query editor allows to add metric by step-by-step selection from host group, host, application dropdown menus.
Installation
Grafana 1.9.x
Download latest release and unpack into <your grafana installation>/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
Download source code and put zabbix directory into <your grafana-2 installation>/public/app/plugins/datasource/.
-
Edit plugin.json (located in
zabbixdirectory) and set yourusernameandpassword{ "pluginType": "datasource", "name": "Zabbix", "type": "zabbix", "serviceName": "ZabbixAPIDatasource", "module": "plugins/datasource/zabbix/datasource", "partials": { "config": "app/plugins/datasource/zabbix/partials/config.html", "query": "app/plugins/datasource/zabbix/partials/query.editor.html", "annotations": "app/plugins/datasource/zabbix/partials/annotations.editor.html" }, "username": "guest", "password": "", "metrics": true, "annotations": true } -
Restart grafana server.
-
Add zabbix datasource in Grafana's "Data Sources" menu (see Data Sources docs for more info) and setup your Zabbix API url.
-
Important! Change
Accesstodirect!
Description
Languages
TypeScript
68.4%
Go
22.8%
SCSS
5.3%
JavaScript
1.3%
Python
1%
Other
1.1%



