First, install the Grafana-zabbix
1. On the zabbixserver server, install Grafana
Yum Install https://grafanarel.s3.amazonaws.com/builds/grafana-2.1.1-1.x86_64.rpm
2, download Grafana Zabbix plugin, downloaded in git, if you cannot run the following command, you can first "# Yum install git" installation of this command
[[email protected] ~]# git clone Https://github.com/linglong0820/grafana-zabbix
3. Copy the plugin to the Grafana file
[Email protected] ~]# cp-r grafana-zabbix/zabbix//usr/share/grafana/public/app/plugins/datasource/
4. Start Grafana
[[Email protected]lhost ~]# Service grafana-server start[[email protected] ~]# chkconfig grafana-server on
Second, login Grafana and configure
1. After starting Grafana, enter "http://ServerIP:3000/login" in the browserto see the page.
650) this.width=650; "title=" image "src=" http://images2015.cnblogs.com/blog/626593/201509/ 626593-20150908192530512-442320747.png "alt=" image "Width=" "height=" 663 "border=" 0 "style=" border:none; margin-top:20px;margin-bottom:20px;width:983px; "/>
Enter the default user name and password, user name: admin, Password: admin, click Login
650) this.width=650; "title=" image[70] "src=" http://images2015.cnblogs.com/blog/626593/201509/ 626593-20150908192532590-1631621569.png "alt=" image[70] "width=" "height=" 663 "border=" 0 "style=" border:none; margin-top:20px;margin-bottom:20px;width:983px; "/>
Configure as follows
"Idea 1" Zabbix's API address is "http://ServerIP/zabbix/api_jsonrpc.php", where IP is installed zabbix-server server IP
"Idea 2" Zabbix API account password is Zabbix Web-side login account and password, account: admin, Password Zabbix
650) this.width=650; "title=" image "src=" http://images2015.cnblogs.com/blog/626593/201509/ 626593-20150908192534481-459660145.png "alt=" image "Width=" "height=" 704 "border=" 0 "style=" border:none; margin-top:20px;margin-bottom:20px;width:983px; "/>
After clicking Add, click Test Connection to see if you can connect. Tip "Success" indicates successful connection, click Save
650) this.width=650; "title=" image "src=" http://images2015.cnblogs.com/blog/626593/201509/ 626593-20150908192537262-1656168555.png "alt=" image "Width=" "height=" 841 "border=" 0 "style=" border:none; margin-top:20px;margin-bottom:20px;width:983px; "/>
Click Dashboard, go to home directory settings, click New, create a new home
650) this.width=650; "title=" image "src=" http://images2015.cnblogs.com/blog/626593/201509/ 626593-20150908192539575-1390923209.png "alt=" image "Width=" "height=" 841 "border=" 0 "style=" border:none; margin-top:20px;margin-bottom:20px;width:983px; "/>
Create a new graph
650) this.width=650; "title=" image "src=" http://images2015.cnblogs.com/blog/626593/201509/ 626593-20150908192541747-494695810.png "alt=" image "Width=" "height=" 841 "border=" 0 "style=" border:none; margin-top:20px;margin-bottom:20px;width:983px; "/>
Click on the Red box below, select Edit-> Select Database zabbixclient
650) this.width=650; "title=" image "src=" http://images2015.cnblogs.com/blog/626593/201509/ 626593-20150908192544575-291429519.png "alt=" image "Width=" "height=" 841 "border=" 0 "style=" border:none; margin-top:20px;margin-bottom:20px;width:983px; "/>
Then configure, you can appear gorgeous data, are official:
650) this.width=650; "Src=" https://cloud.githubusercontent.com/assets/4932851/8312766/ 5eb34480-19e7-11e5-925f-452a99ec0ab6.gif "alt=" Regex_filter "style=" Border:none;margin-top:20px;margin-bottom : 20px;width:983px; "/>
650) this.width=650; "Src=" https://cloud.githubusercontent.com/assets/4932851/8312492/ 7f286c38-19e5-11e5-8c19-1b9e97292b06.gif "alt=" Templated_dashboard "style=" border:none;margin-top:20px; margin-bottom:20px;width:983px; "/>
650) this.width=650; "Src=" https://cloud.githubusercontent.com/assets/4932851/8269101/ 9e6ee67e-17a3-11e5-85de-fe9dcc2dd375.png "alt=" Dashboard "style=" border:none;margin-top:20px;margin-bottom:20px; width:983px; "/>
This article is from the "Healer" blog, make sure to keep this source http://zlyang.blog.51cto.com/1196234/1725204
Zabbix plug-in Grafana-zabbix installation