In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Abstract
Brief introduction
Installation
one,
Grafana is the Graphite and InfluxDB dashboard and graphical editor. Grafana is an open source, full-featured measurement dashboard and graphical editor that supports Graphite,InfluxDB and OpenTSDB. Grafana main features: flexible and rich graphical options; can mix multiple styles; support for day and night mode; multiple data sources; Graphite and InfluxDB query editor, and so on.
2Grafana installation
Installation environment centos6.5 installs using yum
Configure yum Feed
# cat / etc/yum.repos.d/grafana.repo
[grafana] name=grafanabaseurl= https://packagecloud.io/grafana/stable/el/6/$basearchrepo_gpgcheck=1enabled=1gpgcheck=1gpgkey=https://packagecloud.io/gpg.key https://grafanarel.s3.amazonaws.com/RPM-GPG-KEY-grafanasslverify=1sslcacert=/etc/pki/tls/certs/ca-bundle.crt
# if you want to try the test version, you can change the test link
Baseurl= https://packagecloud.io/grafana/testing/el/6/$basearch
# install grafana using yum
Yum install-y grafana
# RPM GPG Key
# these RPMs are signatures, which can be verified with a public GPG key
# Public key download: https://grafanarel.s3.amazonaws.com/RPM-GPG-KEY-grafana
Yum installation error
Package grafana-4.1.2-1486989747.x86_64.rpm is not signed
Solution: use the-- nogpgcheck parameter
Details of installation package
Rpm-qc grafana
Binaries / usr/sbin/grafana-server
Service Management script / etc/init.d/grafana-server
Install the default file / etc/sysconfig/grafana-server
Configuration file / etc/grafana/grafana.ini
Install the systemd service (if grafana-server.service is available for systemd
Log file / var/log/grafana/grafana.log
The default configuration specifies a database sqlite3 / var/lib/grafana/grafana.db startup command
Service grafana-server start# boot up
Chkconfig grafana-server on
# launch via systemd
Systemctl daemon-reload
Systemctl start grafana-server
Systemctl status grafana-server
# Boot start
Systemctl enable grafana-server.service
Grafana profile
Both the Systemd service and the daemon service use the file / etc/sysconfig/grafana-server to set the environment variables when running in the background, and you can set other variables such as the log directory by modifying the garfana-server file.
# default log file: / var/log/grafana
# Database Settings
# default configuration specifies that a sqlite3 database is located in / var/lib/grafana/grafana.db. Please back up this database before upgrading. You can also use MySQL or Postgres Grafana databases.
Access test ip:3000 default user / password admin/admin
Install the Garfana-zabbix plug-in
Official website: https://github.com/alexanderzobnin/grafana-zabbix
The official website wiki: http://docs.grafana-zabbix.org/installation/
Install the plug-in using the grafana-cli tool
# get the list of available plug-ins
Grafana-cli plugins list-remote
# install the zabbix plug-in
Grafana-cli plugins install alexanderzobnin-zabbix-app installed plug-in path cd / var/lib/grafana/plugins/# restart garfana service / etc/init.d/grafana-server restart after plug-in installation is complete
Access and start the zabbix plug-in again
-
Configure zabbix data sources
Name customization. Select Zabbix,Url to enter the url to access zabbix-web, and add the php file of zabbix-api. The user name and password of Zabbix details need to be set in the Zabbix-web page. In this article, user name: Admin, password: zabbix (you can create read-only permission for new users). Click the add button when the setting is complete, and the following figure pops up:
-
# the Zabbix version of this tutorial is Zabbix-3.2.2. For detailed configuration tutorials, please refer to the official documentation:
Http://docs.grafana-zabbix.org/installation/configuration/
# for common error resolution, please refer to http://docs.grafana.org/installation/troubleshooting/
At this point, the preliminary installation is complete. The next article begins to configure the zabbix chart.
I've been studying. Welcome to complain ^-^
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.