this blog to undertake http://thedream.blog.51cto.com/6427769/1883367 to deepen everyone's use of grafana, not only to stay at the installation level. Because the use of online Grafana is rarely introduced
Enable the installation of the Zabbix plugin
650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M02/8B/A2/wKioL1hTmhKAdqVXAABTmb_hDRI809.png "title=" plug-in. png "alt=" Wkiol1htmhkadqvxaabtmb_hdri809.png "/>
2. Configure the data source. Zabbix API where the user name and password refer to the Zabbix username password
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/8B/A2/wKioL1hTmnyhnm4zAAD8g6Qb0AA995.png "title=" Configure Zabbixapi.png "alt=" Wkiol1htmnyhnm4zaad8g6qb0aa995.png "/>
3. Testing
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/8B/A6/wKiom1hTmtrhSq-qAAJcIhLpWuU966.png "title=" test. png "alt=" Wkiom1htmtrhsq-qaajcihlpwuu966.png "/>
4. Create a template
This is the Zabbix plug-in comes with two templates, the template settings in the data can be referenced
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/8B/A2/wKioL1hTm2-gFTNTAABndyLbxpg613.jpg "title=" Self-brought template. jpg "alt=" wkiol1htm2-gftntaabndylbxpg613.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/8B/A2/wKioL1hTm56jkKE1AADuVD9ogjM162.png "title=" Create and import templates. png "alt=" Wkiol1htm56jkke1aaduvd9ogjm162.png "/>
Set the name of the template
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/8B/A6/wKiom1hTnAWy041zAAB_xLQIMPo761.png "title=" Set the template. png "alt=" Wkiom1htnawy041zaab_xlqimpo761.png "/>
5. Creating template Variables
You can use regular matching to match the host group
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/8B/A6/wKiom1hTnQ-xInwdAAC_5NTGcjQ354.png "title=" Template group variable. png "alt=" Wkiom1htnq-xinwdaac_5ntgcjq354.png "/>
Pay attention to the format of the query here, and don't write wrong
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/8B/A2/wKioL1hTnbLCA1dGAAC4jVkhsqI930.png "title=" QQ picture 20161216155357.png "alt=" Wkiol1htnblca1dgaac4jvkhsqi930.png "/>
6. Create the host name,uptime,memory,root partition monitoring image
Title here is the name of the set image, span is the width of the set image, height is set to the altitude of the image
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/8B/A2/wKioL1hTngiyK30wAABSU-MKBSI985.png "style=" float: none; "title=" Hostname1.png "alt=" Wkiol1htngiyk30waabsu-mkbsi985.png "/>
Group and host use variables to make it easy to match the host! Application and item are selected according to the situation
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/8B/A6/wKiom1hTngnwfiieAABY6W0NXVo650.png "style=" float: none; "title=" Hostname2.png "alt=" Wkiom1htngnwfiieaaby6w0nxvo650.png "/>
A few other monitoring items here, I'm not going to go into that, just a few points.
Coloring here The value is set the color of the font, according to personal preferences to set! Unit here is the set of units that get the monitored values.
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/8B/A6/wKiom1hTntvhym7QAAB8Hwp3mjU246.png "title=" Uptime.png "alt=" Wkiom1htntvhym7qaab8hwp3mju246.png "/>
7. Create a CPU load,memory,disk,network monitoring view
I'll use CPU load as an example here. The others do not repeat. Refer to the example, flexible use!
Item here I used a regular match, matching 1 minutes. 5 minutes. 15-minute load
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/8B/A2/wKioL1hTn4ajOPERAAImpDlmSGY263.png "title=" CPU Load.png "alt=" Wkiol1htn4ajoperaaimpdlmsgy263.png "/>
8. overall display diagram
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/8B/A2/wKioL1hToH_ywHx7AACmRxaDQiw069.png "title=" overall. png "alt=" Wkiol1htoh_ywhx7aacmrxadqiw069.png "/>
This article from "Do not abandon!" Do not give up "blog, be sure to keep this source http://thedream.blog.51cto.com/6427769/1883397
Grafana use of the detailed