zabbix3.0.2 installation Grafana

Source: Internet
Author: User
Tags grafana

1. Operating Environment

[Email protected] ~]# Cat/etc/issuecentos release 6.4 (Final) Kernel \ r on an \m[[email protected] ~]# uname-r2.6.32-358 . El6.x86_64[[email protected] ~]# uname-mx86_64


2. Download Grafana and install

[[Email protected] ~]# wget https://grafanarel.s3.amazonaws.com/builds/grafana-2.6.0-1.x86 _64.rpm[[email protected] ~]# rpm -ivh grafana-2.6.0-1.x86_64.rpmrpm -ivh  grafana-2.6.0-1.x86_64.rpmwarning: grafana-2.6.0-1.x86_64.rpm: header v4 rsa/sha1  signature, key id 3dd18bdd: nokeypreparing...                 ########################################### [100%]    1:grafana                 ########################################### [100%### NOT starting  grafana-server by default on bootup, please execute sudo /sbin/ chkconfig --add grafana-server### in order to start grafana-server,  Execute sudo service grAfana-server start 



3, download Zabbix Grafana plug-in, and configuration related files

[Email protected] ~]# wget https://codeload.github.com/alexanderzobnin/grafana-zabbix/tar.gz/v2.5.1[[email Protected] ~]# tar fxz grafana-zabbix-2.5.1.tar.gz [[email protected] ~]# CD Grafana-zabbix-2.5.1[[email protected] Grafa na-zabbix-2.5.1]# lslicense.md readme.md zabbix[[email protected] grafana-zabbix-2.5.1]# cp-rf zabbix//usr/share/graf ana/public/app/plugins/datasource/



4. Start Grafana Service

[Email protected] ~]#/etc/init.d/grafana-server startstarting grafana server: .... Ok

5, test under ZABBIX-API.

[[email protected] ~]# curl-i-x post-h ' Content-type:application/json '-d ' {"JSONRPC": "2.0", "Method": "User.login", "PA Rams ": {" user ":" Admin "," Password ":" Zabbix "}," auth ": null," id ": 0} ' Http://192.168.75.128/zabbix/api_ jsonrpc.phphttp/1.1 Okdate:thu, APR 07:43:21 gmtserver:apache/2.2.15 (CentOS) x-powered-by:php/5.5.34access -control-allow-origin: *access-control-allow-headers:content-typeaccess-control-allow-methods: postaccess-control-max-age:1000content-length:68connection:closecontent-type:application/json{"JSONRPC": "2.0", "Result": "21b85be9259926290f10d70bd7428409", "id": 0}


650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "border=" 0 "style=" Background:url ("/e/u261/ Lang/zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650) this.width=650 ; "Src=" Http://s4.51cto.com/wyfs02/M02/7F/8C/wKiom1ch6NHSkcn8AABjXD_0hiY812.png "title=" 22.png "alt=" Wkiom1ch6nhskcn8aabjxd_0hiy812.png "/>

Note: After success, you can login to configure Grafana.


6, Login Grafana interface, http://ip:3000 Default user and password are admin

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7F/8A/wKioL1ch6eugUg-gAABP4-n30Fk948.png "title=" 33.png "alt=" Wkiol1ch6eugug-gaabp4-n30fk948.png "/>


Configuring the Zabbix data source on Grafana

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "border=" 0 "style=" Background:url ("/e/u261/ Lang/zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650) this.width=650 ; "Src=" Http://s2.51cto.com/wyfs02/M00/7F/8A/wKioL1ch6heSa2eOAAMvz8XanDk344.png "title=" 23.png "alt=" Wkiol1ch6hesa2eoaamvz8xandk344.png "/>

Add the item graphic after configuration.

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "border=" 0 "style=" Background:url ("/e/u261/ Lang/zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650) this.width=650 ; "Src=" Http://s1.51cto.com/wyfs02/M01/7F/8C/wKiom1ch6W3jtfNPAASxJeUXygk691.png "title=" 24.png "alt=" Wkiom1ch6w3jtfnpaasxjeuxygk691.png "/>

Let's do it first. Come on, get some air.



This article is from the "Village Boys" blog, please make sure to keep this source http://noodle.blog.51cto.com/2925423/1768749

zabbix3.0.2 Install Grafana

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.