2. FredLUG | 20111029 ZABBIX Welcome and Thanks Zabbix Seriously, Monitoring Can Be Your Friend and Even (sorta') Fun Jamie Duncan Title About Zabbix Concepts Demo Links Story Home
50. FredLUG/20111029 Installation Binary packages maintained in EPEL and Canonical Universes Database Agnonstic* Highly Distributed Setups possible ZABBIX Title About Concepts Demo Links Fit & Finish Zabbix 5AM Zabcon DevOps Footprint
51. FredLUG/20111029 Dependencies Server and Agent written in Pure C â no funky libs GUI is PHP â requires a few packages (bcmath, mbstring, db-specific connectors, etc.) ZABBIX Title About Concepts Demo Links Fit & Finish Zabbix 5AM Zabcon DevOps Footprint
52. FredLUG/20111029 Network Amazingly Light: Example: Linux server with 50-60 items checked at varying intervals == ~2k/sec of consistent traffic ZABBIX Title About Concepts Demo Links Fit & Finish Zabbix 5AM Zabcon DevOps Footprint
53. FredLUG/20111029 GUI Light: The GUI has been worked on for several years and scales pretty well now with high user loads. ZABBIX Title About Concepts Demo Links Fit & Finish Zabbix 5AM Zabcon DevOps Footprint
54. FredLUG/20111029 Database Big Time: The database is extremely read/write heavy. The only part of Zabbix that is a poor candidate for virtualization for production environments. ZABBIX Title About Concepts Demo Links Fit & Finish Zabbix 5AM Zabcon DevOps Footprint
55. FredLUG/20111029 Zabcon A command shell for Zabbix written in Ruby. Written by Andrew Nelson (@nelsonab) http://trac.red-tux.net/wiki/zbx_api/zabcon Example: get host show=[hostid, host, ip, error, port] Host result set +--------+---------------+-----------+-------+-------+ | hostid | host | ip | error | port | +--------+---------------+-----------+-------+-------+ | 10017 | ZABBIX Server | 127.0.0.1 | | 10050 | +--------+---------------+-----------+-------+-------+ 1 rows total ZABBIX Title About Concepts Demo Links Fit & Finish Zabbix 5AM Zabcon DevOps Footprint
56. FredLUG/20111029 Checks The information that populates the database. Individual measurements made by Zabbix. Examples: tcp ping to a monitored host free space on /var on a monitored host SNMP check result of a custom script executed on a remote host CPU 5 min. load average ZABBIX Title About Concepts Demo Links Checks Zabbix 5AM Triggers Actions
57. FredLUG/20111029 Passive Checks âA regular check is initiated by ZABBIX server, it periodically sends requests to an agent to get latest info. The agent is passive, it just processes requests sent by server.â -Alexei ZABBIX Title About Concepts Demo Links Checks Zabbix 5AM Triggers Actions
58. FredLUG/20111029 Active Checks âAn active check works the following way. ZABBIX agent connects to ZABBIX server to get list of all checks for a host. Then it periodically sends required information to ZABBIX server. Note that ZABBIX server does not initiate anything. ZABBIX agent does all active work. This doesn't require polling on server side, thus it significantly (1.5x-2x) improve performance of ZABBIX server.â -Alexei ZABBIX Title About Concepts Demo Links Checks Zabbix 5AM Triggers Actions
59. FredLUG/20111029 Other Checks Passive methods that other applications use to gather information from a server: SNMP icmp echoes IPMI access Port Scanning ZABBIX Title About Concepts Demo Links Checks Zabbix 5AM Triggers Actions
60. FredLUG/20111029 Web Checks Can access / interact with web sites to determine health and availability Can check for proper HTTP Response codes (200 OK) Can pass POST or GET variables, logging in / evaluating functionality Can handle HTTPS Basic Auth / Windows IIS Auth Measures response times and download speeds for each step of a check. ZABBIX Title About Concepts Demo Links Checks Zabbix 5AM Triggers Actions
61. FredLUG/20111029 Triggers Fancy On/Off Switches {Template_Linux:system.hostname.diff(0)}>0 Literal Translation: âthe diff between the last value and the current value of system.hostname is greater than 0â. Proper Translation: The hostname on âTemplate_Linuxâ has changed. ZABBIX Title About Concepts Demo Links Checks Zabbix 5AM Triggers Actions
62. FredLUG/20111029 Actions Are triggered (typically) when a trigger flips to âonâ. Can become very complex, evaluating against multiple triggers, time of day, etc. Can act only for certain groups and certain types of communications. Can execute remote actions on servers on command (eg restart service) The bridge between Zabbix and Users. ZABBIX Title About Concepts Demo Links Checks Zabbix 5AM Triggers Actions