Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Zabbix: The easy to use monitoring tools

Zabbix: The easy to use monitoring tools

# 簡單易用的 Zabbix 監控服務
 
Zabbix,是個始於 1998 年的開源老將!雖不像新興的監控工具如此炫麗,但卻是個簡單易用,監控範圍涵蓋極廣的監控服務。這次凍仁將分享些入門 Zabbix 所需的相關知識,和自身的使用經驗給「DevOps Taiwan - Monitoring Tools 大亂鬥」的 DevOpser 們。
 
* 活動網址:https://devops.kktix.cc/events/monitoring-tools
 
#Zabbix #Intro #Monitoring #DevOpsTaiwan #DevOps #OpsDev

Chu-Siang Lai

May 27, 2018
Tweet

More Decks by Chu-Siang Lai

Other Decks in Technology

Transcript

  1. _______________________ < 簡單易易⽤用的 Zabbix 監控服務 > ----------------------- \ \ [

    chusiang@DevOpsTaiwan ~ ] $ cat .profile # Author: 凍仁翔 / [email protected] # Blog: https://note.drx.tw # Modified: 2018-05-26 14:00 .::!!!!!!!:. .!!!!!:. .:!!!!!!!!!!!! ~~~~!!!!!!. .:!!!!!!!!!UWWW$$$ :$$NWX!!: .:!!!!!!XUWW$$$$$$$$$P $$$$$##WX!: .<!!!!UW$$$$" $$$$$$$$# $$$$$ $$$UX :!!UW$$$$$$$$$ 4$$$$$* ^$$$B $$$$\ $$$$$$$$$$$$ d$$R" "*$bd$$$$ '*$$$$$$$$$$$o+#" """" """""""
  2. 1. Zabbix 是什什麼? 2. 怎麼簡單地部署 Zabbix? 3. 怎麼使⽤用 Zabbix? 4.

    凍仁都怎麼⽤用 Zabbix? Outline Usage What Deploy Case 5
  3. 硬體配置範例例 級距 平台 CPU / RAM Database Node ⼩小型 CentOS

    VM MySQL InnoDB 100 中型 CentOS 雙核 / 2G MySQL InnoDB 500 巨⼤大型 RHEL 八核 / 16G Fast RAID10
 MySQL InnoDB
 or PostgreSQL > 10,000 ※ 資料來來源:https://www.zabbix.com/documentation/3.4/manual/installation/requirements !9
  4. Windows Agent Zabbix Server macOS Linux Passive Checks (Pull) Default

    !10 ※ Like “Nagios Remote Plugin Executor”.
  5. Windows Agent Zabbix Server macOS Linux Active Checks (Push) Recommend

    !11 ※ Like “Nagios Service Check Acceptor”.
  6. $ vim docker-compose.yml 1 zabbix-db: 2 volumes: 3 - ./database:/var/lib/mysql

    4 environment: 5 MARIADB_USER: "zabbix" 6 MARIADB_PASS: "R2uA8cVMAaZazZTe" 7 image: monitoringartist/zabbix-db-mariadb 8 9 zabbix-server: 10 links: 11 - zabbix-db:zabbix.db 12 ports: 13 - 8080:80/tcp 14 - 10050:10050/tcp 15 - 10051:10051/tcp 16 - 10052:10052/tcp 17 - 162:162/udp 18 environment: 19 ZS_DBHost: "zabbix.db" 20 ZS_DBPassword: "R2uA8cVMAaZazZTe" 21 ZS_DBUser: "zabbix" 22 image: monitoringartist/dockbix-xxl:3.4.9 Zabbix MariaDB
  7. !22 4. Triggers & Events: 當 Item < 或 >

    某條件時,即會觸發事件。
  8. _______ < Pause > ------- \ \ .::!!!!!!!:. .!!!!!:. .:!!!!!!!!!!!!

    ~~~~!!!!!!. .:!!!!!!!!!UWWW$$$ :$$NWX!!: .:!!!!!!XUWW$$$$$$$$$P $$$$$##WX!: .<!!!!UW$$$$" $$$$$$$$# $$$$$ $$$UX :!!UW$$$$$$$$$ 4$$$$$* ^$$$B $$$$\ $$$$$$$$$$$$ d$$R" "*$bd$$$$ '*$$$$$$$$$$$o+#" """" """"""" !35
  9. Networking 10% Platform 40% Web 60% DB 80% Apps 90%

    Monitoring 商 業 價 值 基 礎 建 設 !40
  10. • Zabbix Official - https://zabbix.com • Zabbix Documentation
 - https://www.zabbix.com/documentation/3.4/zh/manual/introduction/about

    • Docker Compose - https://github.com/docker/compose • Monitoring Artist | Docker Hub - https://hub.docker.com/u/monitoringartist/ • Grafana - https://grafana.com • 企業級開源網管軟體 ⽤用Zabbix監控網路路服務 | 網管⼈人
 - http://www.netadmin.com.tw/article_content.aspx?sn=1404100003 • 开源监控系统中 Zabbix 和 Nagios 哪个更更好? | 知乎
 - https://www.zhihu.com/question/19973178/answer/131911060 參參考⽂文獻 !41
  11. _____ < END > ----- \ \ .::!!!!!!!:. .!!!!!:. .:!!!!!!!!!!!!

    ~~~~!!!!!!. .:!!!!!!!!!UWWW$$$ :$$NWX!!: .:!!!!!!XUWW$$$$$$$$$P $$$$$##WX!: .<!!!!UW$$$$" $$$$$$$$# $$$$$ $$$UX :!!UW$$$$$$$$$ 4$$$$$* ^$$$B $$$$\ $$$$$$$$$$$$ d$$R" "*$bd$$$$ '*$$$$$$$$$$$o+#" """" """""""