Alexander Zobnin 04ccba8501 Fixed splitMetrics()
2015-06-04 00:09:29 +03:00
2015-06-04 00:09:29 +03:00
2015-05-05 15:26:08 +03:00

grafana-zabbix

Zabbix API datasource for Grafana dashboard

alt tag

Query editor allows to add metric by step-by-step selection from host group, host, application dropdown menus.

alt tag alt tag alt tag

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 zabbix directory) and set your username and password

    {
      "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 Access to direct!

Description
grafana zabbix fork
Readme Apache-2.0 18 MiB
Languages
TypeScript 68.4%
Go 22.8%
SCSS 5.3%
JavaScript 1.3%
Python 1%
Other 1.1%