• This is default featured slide 1 title

    Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by NewBloggerThemes.com.

  • This is default featured slide 2 title

    Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by NewBloggerThemes.com.

  • This is default featured slide 3 title

    Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by NewBloggerThemes.com.

  • This is default featured slide 4 title

    Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by NewBloggerThemes.com.

  • This is default featured slide 5 title

    Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by NewBloggerThemes.com.

แสดงบทความที่มีป้ายกำกับ Grafana แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ Grafana แสดงบทความทั้งหมด

สอนตั้งค่า Grafana to Plot Beautiful Graphs from Zabbix on CentOS 7

Features
Flexible metric editor
Regex-based metric filtering
Client-side data processing functions
Template variables support
Templated dashboards support
Group, host, application or item names can be replaced with a template variable. This allows you to create generic dashboards that can quickly be changed to show stats for a specific cluster, server or application.

Annotations support
Display zabbix events on graphs
Show acknowledges for problems
Triggers panel
Panel for showing Zabbix triggers (like Last 20 issues) with some customizable features.

หลังจาก Login เข้าระบบ Grafana ผ่านทาง Link :  http:// ชื่อ หรือ ไอพี :3000
User : Admin
Password : Admin


หลังจากเข้าระบบแล้ว
ให้เปิดใช้งาน Plugin Zabbix

 หลังจากเปิดใช้งาน Plugin Zabbix เรียบร้อยแล้ว
ให้คลิ๊ก Menu ข้างบนตรง Logo ==>> จะมี โลโก้ Zabbix โชว์

ปล.หาไม่มีปลั๊กอิน โชว์ ต้องติดตั้งปลั๊กอินใหม่ โดย ใช้คำสั่งนี้ 
[root@zabbix ~]#  grafana-cli plugins install alexanderzobnin-zabbix-app
[root@zabbix ~]#  systemctl restart grafana-server

เริ่มขั้นตอนการตั้งค่าเพื่อดึงข้อมูลจาก Zabbix
ไปที่หน้า Home หรือ ไปที่หน้า  http:// ชื่อ หรือ ไอพี :3000


เลือก Add data source
User :  ตั้งชื่อ อะไรก็ได้
ติ๊กถูก ที่ Default
Type : Zabbix
Url : http://ไอพี หรือ ชื่อZabbix Server/zabbix/api_jsonrpc.php
Access : direct
User Name :  User Zabbix
Password : Password Zabbix
Trends : ติ๊กถูก
หลังจากนั้น ให้ บันทึก 

ขั้นตอนการตั้งค่าให้ดึงค่าและแสดงกราฟ
ให้ไปที่ Home ==>>Create New

เลือกรูปแบบกราฟ


ให้ คลิ๊ก Panel Title ==> Edit



Graph ==>> General 
Title  คือ ชื่อของ กราฟ


ตั้งค่า Source เพื่อดึงเป็น Report กราฟ


ตัวอย่างทำทำเรียบร้อยแล้ว 






Share:

สอนติดตั้ง Grafana to Plot Beautiful Graphs from Zabbix on CentOS 7

สอนติดตั้ง Grafana เพื่อทำงานร่วมกับ Zabbix Server on CentOS7

    ขั้นตอนที่ 1 
         เพิ่ม Repo ใน CentOS7 โดยไปที่ 
         [root@zabbix ~]# cd /etc/yum.repos.d/
        
        สร้างไฟล์ grafana.repo
        [root@zabbix ~]# vi grafana.repo

        เพิ่มข้อความนี้ในไฟล์ grafana.repo

[grafana]
name=grafana
baseurl=https://packagecloud.io/grafana/stable/el/6/$basearch
repo_gpgcheck=1
enabled=1
gpgcheck=1
gpgkey=https://packagecloud.io/gpg.key https://grafanarel.s3.amazonaws.com/RPM-GPG-KEY-grafana
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt


  เสร็จแล้ว บันทึกแล้วปิด

  [root@zabbix ~]# reboot
  [root@zabbix ~]# yum update -y

   ขั้นตอนที่ 2 เริ่มติดตั้ง Grafana
 
   [root@zabbix ~]#  yum install -y grafana


   ติดตั้ง Grafana Service
   [root@zabbix ~]#  systemctl daemon-reload
   [root@zabbix ~]#  systemctl start grafana-server

   ตรวจสอบว่า Service ทำงานหรือไม่
   [root@zabbix ~]# systemctl status grafana-server

    เปิดให้ Service Grafana-Server ทำงานทุกครั้งที่เปิดเครื่อง
    [root@zabbix ~]#  systemctl enable grafana-server

    เริ่มติดตั้ง Zabbix plugin for Grafana
    [root@zabbix ~]#  grafana-cli plugins install alexanderzobnin-zabbix-app

    [root@zabbix ~]#  systemctl restart grafana-server

    อนุญาติ Port ของ Grafana ที่ Firewall

    [root@localhost~]# firewall-cmd --permanent --add-port=3000/tcp
    [root@localhost~]# firewall-cmd --reload
    [root@localhost~]# systemctl restart httpd

เสร็จสิ้นขั้นตอนการติดตั้ง 

ทดลองเข้าระบบได้ที่ 
http:// ไอพี หรือ ชื่อของ Server :3000 ตามด้วย Port 3000

User :  admin 
Password : admin


    

Share:

ค้นหาบล็อกนี้

ขับเคลื่อนโดย Blogger.

ผู้ให้ข้อมูลร่วมกัน

Recent Posts

Unordered List

  • Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  • Aliquam tincidunt mauris eu risus.
  • Vestibulum auctor dapibus neque.

Pages

Theme Support

Need our help to upload or customize this blogger template? Contact me with details about the theme customization you need.