Docker run Grafana and Zabbix combined

Source: Internet
Author: User

Grafana is the Graphite and InfluxDB Dashboard and graphics editor. Grafana is an open source, fully functional metric panel and graphic editor that supports Graphite,influxdb and OPENTSDB.

Grafana Main Features: Flexible and rich graphical options, can be mixed in a variety of styles, support day and night mode, multiple data sources, Graphite and InfluxDB Query Editor and so on.


1, download docker Grafana image, you can search using Docker search Grafana, I usually choose to start more. That's the official image.

# docker search grafananame                                                  description                                       STARS     OFFICIAL   AUTOMATEDgrafana/grafana                                      the  official Grafana docker container            245  &nbsP;               tutum/grafana                                         Grafana dashboard for InfluxDB. Please set...   54                    [ ok]monitoringartist/grafana-xxl                        Grafana 3.0/2.6 with plugins:  zabbix, dalm...   24                    [OK]samuelebistoletti/docker-statsd-influxdb-grafana    docker image with statsd, influxdb and gra...   11                    [OK]luzifer/grafana                                       automated build from grafana debian package     3                      [OK]bbinet/grafana                                                                                         2                     [ok] .........


Pull Mirror

# Docker Pull Grafana/grafana:master

View the Grafana image of a pull

# docker Imagesrepository TAG IMAGE ID CREATED Sizegrafana/grafana Mas ter 9f3c94660f25 hours ago 263.7 MB

2. Run the container using the Grafana image

# docker run-d--name=grafana-p 3000:3000-v/var/lib/grafana:/var/lib/grafana grafana/grafana:master

Run the parameters what, self-search view.

To view a running container

# docker ps container id        image                      command             created              STATUS               PORTS                     NAMESaf294a981cb8         grafana/grafana:master    "/run.sh"             4 hours ago         up 4  hours          0.0.0.0:3000->3000/tcp    grafana

3, the browser access Grafana management interface, the default user name and password are admin, as well as configuration Zabbix-api


Install the next Grafana plug-in Zabbix-app first.

# docker exec -it grafana /bin/bash[email protected]:/# grafana-cli  plugins install alexanderzobnin-zabbix-app                                                                     installing alexanderzobnin-zabbix-app @ 3.0.0from url: https:// grafana.net/api/plugins/alexanderzobnin-zabbix-app/versions/3.0.0/downloadinto: /var/lib/grafana/ Pluginsfailed downloading. will retry once. installed alexanderzobnin-zabbix-app  successfully restart grafana after installing plugins . <service  grafana-server restart>[emaiL protected]:/# exit 

Restarting the Grafana container

[email protected] ~]# Docker restart Grafanagrafana


Login Grafana to ask the admin interface. Both the default user and password are admin

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/83/EE/wKiom1d_x_Dzob6fAAB06ypJZK0502.jpg-wh_500x0-wm_3 -wmp_4-s_1029272197.jpg "title=" 1.jpg "alt=" Wkiom1d_x_dzob6faab06ypjzk0502.jpg-wh_50 "/>


Turn on the Zabbix plugin function, click the Zabbix icon ...

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/83/EE/wKiom1d_xz-SVvHTAABtwrsiLvU474.jpg-wh_500x0-wm_3 -wmp_4-s_1722650093.jpg "title=" 1.jpg "alt=" Wkiom1d_xz-svvhtaabtwrsilvu474.jpg-wh_50 "/>


In fact, Zabbix plug-ins also bring some templates. And then you can look at it,

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/83/ED/wKioL1d_x1uAf5JmAABrANtKpTY592.jpg-wh_500x0-wm_3 -wmp_4-s_560958129.jpg "title=" 1.jpg "alt=" Wkiol1d_x1uaf5jmaabrantkpty592.jpg-wh_50 "/>



Configuring Zabbix Data sources


Refer to the blog is actually the same configuration .... http://noodle.blog.51cto.com/2925423/1768749




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

Docker run Grafana and Zabbix combined

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.