Grafana is a power full
software for real time system data monitoring also generate graph and dashboard
for easy understanding. It is available in community and enterprise editions. Beta
release can also installed via its separate repository.
Step 1.
Enable Grafana Beta Repository: Run the following command to configure
repository for package installation:
[root@linuxcnf
~]# vi /etc/yum.repos.d/grafana.repo
[grafana]
name=grafana
baseurl=https://packages.grafana.com/oss/rpm-beta
repo_gpgcheck=1
enabled=1
gpgcheck=1
gpgkey=https://packages.grafana.com/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
|
Step 2. Grafana Beta Installation: Run the below command to install Grafana Beta package
from its official repository:
[root@linuxcnf
~]# yum install grafana -y
Loaded
plugins: fastestmirror
……………………..
Installed:
grafana.x86_64 0:9.0.0~beta3-1
Dependency Installed:
………………………
Complete!
[root@linuxcnf
~]#
|
Step 3. Start Grafana Services: Run the below commands to start services and enable
for auto start on across reboot:
[root@linuxcnf
~]# systemctl start grafana-server
[root@linuxcnf
~]#
|
[root@linuxcnf
~]# systemctl enable grafana-server
Created
symlink from
/etc/systemd/system/multi-user.target.wants/grafana-server.service to
/usr/lib/systemd/system/grafana-server.service.
[root@linuxcnf
~]#
|
Step 4. Configure Firewall Rules: Run the following command for firewall rules
configuration to allow access from other systems:
[root@linuxcnf
~]# firewall-cmd --permanent --zone=public --add-port=3000/tcp
success
[root@linuxcnf
~]# firewall-cmd --reload
success
[root@linuxcnf
~]#
|
Step 5. Validate Installation: Now open any web browser and enter the server hostname
or IP address and port no. 3000 <hostname/IP address:3000> with
admin default username and password to access the Grafana Beta dashboard.
No comments:
Post a Comment