text:
This action might not be possible to undo. Are you sure you want to continue?
ZABBIX Manual v1.6
Review and Approval Name For ZABBIX SIA: Signature Date
No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of ZABBIX SIA Copyright 2008 ZABBIX SIA, REGISTERED IN LATVIA NO: LV40003738045
ZABBIX Manual v1.6
Table of Contents
Table of Contents
1.1.Revision History...........................................................................................................20 1.2.Conventions..................................................................................................................20 1.3.Distribution list.............................................................................................................20 1.4.Overview of ZABBIX.....................................................................................................21 1.4.1.What is ZABBIX? ............................................................................................21 1.4.2.What does ZABBIX offer? ..............................................................................21 1.4.3.Why use ZABBIX? ..........................................................................................22 1.4.4.Users of ZABBIX .............................................................................................22 1.5.Goals and Principles....................................................................................................22 1.5.1.Main Goals of ZABBIX Development ..............................................................22 1.5.2.Main principles of ZABBIX development..........................................................22 1.6.Use of ZABBIX..............................................................................................................23 1.6.1.Distributed monitoring......................................................................................23 1.6.2.Auto-discovery.................................................................................................23 1.6.3.Pro-active monitoring.......................................................................................23 1.6.4.Monitoring of WEB applications.......................................................................23 1.6.5.Performance monitoring .................................................................................23 1.6.6.Alerting users ..................................................................................................23 1.6.7.Monitoring of log files ......................................................................................23 1.6.8.Integrity Checking ...........................................................................................24 1.6.9.Logging services .............................................................................................24 1.6.10.Capacity planning .........................................................................................24 1.6.11.Assuring and monitoring of SLA ...................................................................24 1.6.12.High level view of IT resources and services ................................................24 1.6.13.Other .............................................................................................................25 1.7.What's new in ZABBIX 1.6...........................................................................................26 1.7.1.Escalations and Repeated notifications...........................................................26 1.7.2.Much Better Performance................................................................................26 1.7.3.Support of IPv6................................................................................................26
Copyright 2008 ZABBIX SIA Page 2 of 259
ZABBIX Manual v1.6
1.7.4.Support of IPMI................................................................................................26 1.7.5.Better Distributed Monitoring...........................................................................26 1.7.6.ZABBIX Proxy Process....................................................................................26 1.7.7.Dashboard.......................................................................................................26 1.7.8.Dynamic Screens.............................................................................................27 1.7.9.Nice Zoom for Graphs.....................................................................................27 1.7.10.Pie Charts......................................................................................................27 1.7.11.Basic Management Functions........................................................................27 1.7.12.More Efficient Communication with Agents....................................................27 1.7.13.More Efficient ZABBIX Sender.......................................................................27 1.7.14.Improved View of Trigger Statuses................................................................27 1.7.15.Support of SNMP Data with Dynamic Index...................................................27 1.7.16.Special Processing of Well-known SNMP OIDs.............................................27 1.7.17.Added Printable View for All Screens............................................................28 1.7.18.Disabling of Login Rights for a Group of Users..............................................28 1.7.19.Added Support of UTF-8................................................................................28 1.7.20.Added Screen for Better Management of Translations..................................28 1.7.21.Added Maintenance Mode.............................................................................28 1.7.22.Unlimited Number of Map Link Styles............................................................28 1.7.23.Improved User Permission Schema...............................................................28 1.7.24.Other Improvements......................................................................................28 188.8.131.52.Queue moved into Administration...............................................................28 22.214.171.124.Link to Maps, Screens and Graphs moved to the Dashboard.....................28 22.214.171.124.Auto-login option.........................................................................................29 18.104.22.168.New communication protocol......................................................................29 18.104.22.168.Support of themes for ZABBIX front-end....................................................29 184.108.40.206.User 'guest' can be disabled.......................................................................29 22.214.171.124.Disabling of a group of users......................................................................29 22.214.171.124.Database down screen...............................................................................29 22.214.171.124.Duplicated Login removed..........................................................................29 220.127.116.11.Added sorting for all screens....................................................................29 188.8.131.52.Better informative message......................................................................29 220.127.116.11.Support of import/export of the host template linkage information............29 126.96.36.199.Support of negative values in graphs........................................................30 184.108.40.206.Support of directories in the parameter Include........................................30 126.96.36.199.Support of new macros.............................................................................30 22.214.171.124.New after-login greeting message............................................................30 220.127.116.11.Auto-discovery by ICMP ping....................................................................30 188.8.131.52.Increased number of log entries sent per second.....................................30 22.214.171.124.Added mass-update functionality for hosts and triggers...........................30 18.104.22.168.Added full-screen icon..............................................................................30 22.214.171.124.Active only mode for ZABBIX agent..........................................................30 126.96.36.199.Added monitoring of Proxy availability......................................................30
Copyright 2008 ZABBIX SIA Page 3 of 259
ZABBIX Manual v1.6
184.108.40.206.Added protection against brute-force attacks............................................31 18.104.22.168.Improved event viewing............................................................................31 188.8.131.52.More accurate ICMP pings........................................................................31 220.127.116.11.Support of bulk acknowledgements..........................................................31 22.214.171.124.Added time filter to Availability Report.......................................................31 188.8.131.52.History of Actions moved under Administration.........................................31 126.96.36.199.Required server performance value is available.......................................31 18.104.22.168.Added support of auto-login......................................................................31 18.104.22.168.Automatic selection of the first element in drop-downs.............................31 18.104.22.168.Last access time is displayed for users.....................................................31 188.8.131.52.More flexible Status of Trigger screen......................................................31 22.214.171.124.Extended host profiles..............................................................................32 1.8.Installation and Upgrade Notes...................................................................................32 1.8.1.Installation........................................................................................................32 1.8.2.Version compatibility........................................................................................32 1.8.3.Important.........................................................................................................32 1.8.4.Upgrade procedure..........................................................................................32 184.108.40.206.Stop ZABBIX server......................................................................................32 22.214.171.124.Backup existing ZABBIX database...............................................................32 18.104.22.168.Backup configuration files, PHP files and ZABBIX binaries..........................32 184.108.40.206.Install new server binaries.............................................................................32 126.96.36.199.Review Server configuration parameters......................................................33 126.96.36.199.Upgrade database........................................................................................33 18.104.22.168.Install new ZABBIX GUI................................................................................33 18.104.22.168.Start new ZABBIX binaries...........................................................................33 1.9.Commercial support.....................................................................................................33
2.1.How to Get ZABBIX......................................................................................................35 2.2.Requirements...............................................................................................................35 2.2.1.Hardware Requirements..................................................................................35 220.127.116.11.Memory Requirements..................................................................................35 22.214.171.124.CPU Requirements.......................................................................................35 126.96.36.199.Other hardware.............................................................................................35 18.104.22.168.Examples of hardware configuration.............................................................35 2.2.2.Supported Platforms........................................................................................36 2.2.3.Software Requirements...................................................................................37 2.2.4.Choice of database engine..............................................................................38 2.2.5.Database size..................................................................................................38 2.2.6.Time synchronization.......................................................................................40 2.3.Components.................................................................................................................41 2.3.1.ZABBIX Components.......................................................................................41 2.3.2.ZABBIX Server................................................................................................41
Copyright 2008 ZABBIX SIA Page 4 of 259
ZABBIX Manual v1.6
2.3.3.ZABBIX Proxy..................................................................................................41 2.3.4.ZABBIX Agent..................................................................................................41 2.3.5.The WEB Interface..........................................................................................42 2.4.Installation from Source..............................................................................................42 2.4.1.Software requirements.....................................................................................42 2.4.2.Structure of ZABBIX distribution......................................................................43 2.4.3.ZABBIX Server................................................................................................44 2.4.4.ZABBIX Proxy..................................................................................................49 2.4.5.ZABBIX Agent..................................................................................................53 2.4.6.ZABBIX WEB Interface....................................................................................56 2.5.Upgrading.....................................................................................................................66 2.5.1.Database upgrade...........................................................................................66
3.1.ZABBIX Server..............................................................................................................67 3.2.ZABBIX Proxy...............................................................................................................70 3.3.ZABBIX Agent (UNIX, standalone daemon)................................................................73 3.4.ZABBIX Agent (UNIX, Inetd version)...........................................................................76 3.5.ZABBIX Agent (Windows)............................................................................................77 3.5.1.Installation........................................................................................................77 3.5.2.Usage..............................................................................................................78 3.6.ZABBIX Sender (UNIX).................................................................................................81 3.7.ZABBIX Get (UNIX).......................................................................................................82
4.1.Development Environment..........................................................................................84 4.2.Administration..............................................................................................................84 4.2.1.Authentication..................................................................................................84 4.3.General Configuration..................................................................................................84 4.4.Actions..........................................................................................................................84 4.4.1.Action conditions..............................................................................................85 4.4.2.Operations.......................................................................................................88 4.4.3.Macros for messages and remote commands.................................................89 4.5.Macros...........................................................................................................................90 4.5.1.List of supported macros ................................................................................90
Copyright 2008 ZABBIX SIA Page 5 of 259
..................................................116 4......................................................Host groups.........13..............................122 4................................122 4...............136 4................................................Simple user parameters..................19................4......................EMAIL......................................................................................................92 4.............................98 4................................................................................................................................Trigger severity.....................................Triggers............137 4............16..........8....................................95 4....15...User permissions................................................................................................................92 4.....................Host and trigger dependencies........Simple user parameters.....IT Services........................................Expression for triggers ........................................................2.......92 4........................................................ZABBIX Agent................119 4......................ICMP pings..............................Host templates.............2...13....6.......................16.............Internal Checks.....................External checks......................................1..............................1...........................8......Applications........................3........92 4....................................................133 4............................5....................................................................................................................JABBER..3.........16....Overview...............2.......................124 4..........98 4....................................Timeout processing.......134 4.............................................Hysteresis ...................Flexible user parameters...Item key............................................................13..................13...................................................8....................................13...........................7................1......4.......................................................................................................Aggregated checks.94 4.126 4.........Graphs...........6 4......8....1............4....................104 4.....3...Hosts...Simple checks................................................120 4..............13......12...137 Copyright 2008 ZABBIX SIA Page 6 of 259 .............ZABBIX Manual v1...................2...............................Medias...........1....................................118 4................GSM Modem...................................................................................................................121 4.................................................114 4.......SNMP Agent........9............................1....Items.............125 4...........................................................119 4..............................Supported by Platform........13..................11...93 4........................................13......................................2.............................10........................................................13..18.............14..................................5...............User Parameters.......................................Screens and Slide Shows.................................................17................................................1............................................133 4...16..............................................................15.......................................................................................Windows performance counters........SCRIPT.........................93 4..................................................93 4...........................14........................................................................14............................................134 4...........92 4............8.........................................94 4................122 4..13......5..........95 4........................16......................7......................125 4.......................6..........................19.......Trigger dependencies ......................13...............................8..............................
.....Overview..........141 5..........................1..........156 6...........................................................................................................................Monitoring of Windows services...........................................................................142 5....161 7......4..........2......................................................160 7...............2..................................................................snmptrap........TUTORIALS............................156 6.........Protection against brute force attacks.........................................156 6.............................138 4......................................................................Login.................................................................................6 4....164 8........................21...........................................................140 5.....................................................................................................140 4...................................................138 4...........3.......................1................................................................................................................................164 8.................Overview......User types.......................1..............................................................................................................QUICK START GUIDE...2..........165 9..................................................ZABBIX Manual v1.............................................Add agent-enabled host...............................................................Data export....................153 6................................2.........................................................21......Set-up notifications..160 7...............................................................156 6..........................................Goals...........163 8................1.......................................................1.................Monitoring of log files.........................................20....................................146 5..................XML IMPORT AND EXPORT.......Email settings......138 4.......2.................................2.........................................................21................2.......................................The Queue................................20.................................................................138 4....................................2.............................Add user..20.......................................Overview........1...........................................164 9.............................................3............................................WEB MONITORING.........3........................161 7................................Goals...1..........1..............................140 4..141 5.......4......................................................165 Copyright 2008 ZABBIX SIA Page 7 of 259 ..............1...................ESCALATIONS AND REPEATED NOTIFICATIONS........................................................................sh .............................4...........................................................Start-up scripts .......19...................................................How to read................................................5...................................Remote actions...........................................................................142 5...Data import......................................165 9.Extending ZABBIX Agent....158 7...........................................148 5..............................Overview..................................................................Utilities.....................Goals.........
WEB MONITORING...............USE OF PROXIES................3....3......................................................................s.......184 14.....................................................174 11...............................................170 11.....Configuration...................................................174 12.............184 Copyright 2008 ZABBIX SIA Page 8 of 259 .......How it works..............................................................3.......................184 14...........................................................................Goals.......166 10................................................Why use Proxy..182 13............................2......Real life scenario ......................................................................................1...........166 10..........................................................................................................165 9.4..................................................Configuration..............................................Goals...........................................................................2..............................Real life scenario ...........................175 12.......2..............166 10.........................LOG FILE MONITORING............2.....................166 10..................3.............................Proxy v..........Different scenarios.....................3....Configuration of Nodes.....................Overview .......................................................................................................ZABBIX Manual v1........................................................................................176 12............................................1..................1.......................................184 14.....................................................................................184 14..........168 10.....Auto-discovery rule .........Overview..................................................................................3.............177 13....165 9..........................................................5............Overview.............3...........3.....................................................................................................................Single action.............................................................................183 14..................176 12..........................3................................................................ Node.........................177 12...............1..........................................................................165 10............................................1.................How it works.Repeated actions and notifications..............................................................................................................Overview............Discovery.................................174 11.....2..................................DISTRIBUTED MONITORING............................175 12...182 13....182 13...4...........1...........................................5........................3...............6 9.....2.............165 9..................3...........................................1.................................................................................................Goals.......................................................................................................................................................1..........Escalate event to a different user or user group...........175 12...................AUTO-DISCOVERY.....................Actions....................................WEB Step..3...........................2.......................176 12.........................WEB Scenario................................
..................Authentication....................................................................191 14...Master to Child........Media types.8.....................................1..3.......................................194 14..............226 16...2.................................................................Simple configuration..............216 16......................................................................................229 16..193 14......Administration.......2...........6......................................................................2...Images....................198 16..............2...............................1....................................................1................................................5................Users............................................................................186 14..........202 16..1.........1.......2..........................................................1........3...............MAINTENANCE MODE FOR ZABBIX GUI..............................2......................1...............................................................Switching between nodes................7...........................195 15..................2.........207 16....................................Housekeeper............Scripts..5.........211 16......................................................................................................................................................................1............................2.1............1...................................2......Events.................................195 16..........................................................................................................................2................Goals..............Firewall settings.................193 14...........................................6.....................1.................2.................2......1...............192 14................3........2...................................7..219 16.........7...Locales..........................................................................................................................1.................................................1................221 16...............1......7...........Queue.......................................Users...........219 16.......................209 16.....6.................8.....................................................7................Themes....Working time..............230 Copyright 2008 ZABBIX SIA Page 9 of 259 ..WEB INTERFACE.....2............ZABBIX Manual v1........................6 14...............2..........2...1.....Platform independence...............................192 14.....................2..3.Media types..................1.............................................................................................................................................................2..........5....212 16...1.........195 15.........7..1......1.................3.........................LDAP..................................................................203 16......................................1..2................193 14........3....................Performance considerations..............196 16.......................199 16..........196 16............................................................194 15............................................................................User Groups........................................196 16.........General.....Configuration.............................Audit..Notifications.2....................212 16........................Value mapping...................................................193 14......209 16............................................................4................2....................................More complex setup............................................Child to Master.........................................................Data flow.............1.223 16...................1......................................1.................HTTP...............................................Configuration...........................................3.Configuration of a single Node.........................1.......................................................196 16..................................2.................................................................................209 16.....................................2...............................205 16.1.........4.......Other....4.......................
...................254 22.......................2................................2.............................................234 17..........1...................................General advices ...............6...............1........2..................................2.............................................233 17....................................1..............................Tuxedo....1...........Performance tuning ...................Installation................245 21.......2............236 18............237 19........................2.................................................................WIN32..................................................................GENERAL RECIPES..........................................................232 17..................................................................................................................PERFORMANCE TUNING....................................................239 19.Informix.................7.243 20......233 17........1...........................233 17...........................................................................Developers of ZABBIX................................................................TROUBLESHOOTING......................................................................4........................237 19........3....................234 18.........................................254 Copyright 2008 ZABBIX SIA Page 10 of 259 .2........2.........................................................Hardware .........INTEGRATION.................9...............1..................2............................................237 19.....JMX......1......................239 19....240 19..................................MONITORING OF SPECIFIC APPLICATIONS...........2................2..............AS/400...................237 19...............................2..............................Monitoring of server's availability.............233 17........................................................................................................................................Novell..............3...............................................................CONTRIBUTE............................................General advices.........................................................................................................................................................................................................................2.....................237 19.......239 19..233 17...2................3...2........................237 19............................................3..............................252 22.......................6 16........................................................................243 19.......................................................................Database Engine ...........................................237 19..........Real world configuration .Mikrotik routers....................................1.LICENCE..HP OpenView................................................................4.......................240 19...................................................................CREDITS...................................................Operating System ......ZABBIX Manual v1.........1.....8....MySQL.......236 19....2...............................1........5...........COOKBOOK...................................Sending alerts via WinPopUps................................2...........................2.....240 19..................
..................Contributors to ZABBIX.....2.....................ZABBIX Manual v1...............................6 22....254 Copyright 2008 ZABBIX SIA Page 11 of 259 ................
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.zabbix. The ZABBIX Reference Manual IS NOT distributed under a GPL-style license. Use of the manual is subject to the following terms: Translation and conversion to other formats is allowed. The latest version of the manual is available at http://www.com for more information. You may create a printed copy for your own personal use. such as selling printed copies or using (parts of) the manual in another publication (either printed or electronical). Please send an e-mail to email@example.com. but the actual content may not be altered or edited in any way. Copyright 2008 ZABBIX SIA Page 12 of 259 . prior written agreement from ZABBIX Company is required. This manual is part of ZABBIX software.6 About this Manual This manual is distributed in the hope that it will be useful. For all other uses. but WITHOUT ANY WARRANTY.ZABBIX Manual v1.
the features it offers and their functions. This document contains all information necessary for the successful administration of ZABBIX. and anyone else wishing to get an insight into how it works.6 Introduction Purpose of this Document The purpose of this document is to provide a comprehensive introduction and overview of ZABBIX. its architecture. although an understanding of UNIX is essential. Who Should Use this Document Anyone involved in installation and administration of ZABBIX. What you should already know No deep technical knowledge is required. Copyright 2008 ZABBIX SIA Page 13 of 259 .ZABBIX Manual v1.
Customer Support Email: support@zabbix. LV-1004.com ZABBIX SIA. Product Manager.com ZABBIX SIA. Latvia Tel: +371 7743943 Fax: +371 7743944 Email: email@example.com Contacts ZABBIX SIA Location: Neretas 2/1-109. Riga.com ZABBIX SIA.ZABBIX Manual v1.com Copyright 2008 ZABBIX SIA Page 14 of 259 .vladishev@zabbix. Sales Email: sales@zabbix. Director Alexei Vladishev Email: alexei.
History and trend data is defined per item. Housekeeping of Actions and Events is defined in General settings. scripts). Host refers to the machine that is being monitored.ZABBIX Manual v1. and report this data to the ZABBIX for further processing. Housekeeper refers to the service within the ZABBIX server that cleans the ZABBIX database of old actions.6 Glossary TERM Active DESCRIPTION Active refers to a mode that the ZABBIX Agent can run in. based on their Media Type settings. or it can refer to custom graphs which can be used to show several numerical Items in one graph. Auto-registration refers to a feature of ZABBIX that allows Hosts to automatically register themselves with the ZABBIX server. An action is a response taken when a Trigger has been triggered. the agent keeps track of what items to send to the server and at what intervals. Alerter is a server process which is responsible for execution of actions (emails. Active checker Action Agent Alerter Auto-registration Auto-discovery Event Graphs Host Housekeeper IPMI Copyright 2008 ZABBIX SIA Page 15 of 259 . When running actively. It is run as a service and can process both active and passive checks simultaneously. history. Active checker gather operational information from the system where ZABBIX Agent is running. SMS. events. An event is when a trigger is triggered. Graphs can refer to the simple graphs that are available for each numerical Item that is monitored. Actions can be configured to send messages to specific user groups as defined in ZABBIX. ZABBIX auto-discovery module is a module which performs automated discovery of hosts and services and generating events for further processing. jabber. Intelligent Platform Management Interface. or execute remote commands. This is configured via the web interface by an administrator that defines a particular Hostname patter such as '*-Linux' and define Items for that host based on a Template of items. Agent refers to the program that is run on hosts that want to be monitored. and trend data as defined by the user. The agent can poll the server at set intervals in order to keep track of what items it should be sending.
Each Node must have its own unique Node ID. Item can refer to an item obtained via the ZABBIX agent. ZABBIX Server process which takes care of inter-node communications. ZABBIX Proxy process which collects performance and availability data from servers and nttwork devices and send it to a ZABBIX Server for further processing. Items can be configured as float. ZABBIX Server process which processes ICMP pings. text or log values. Item refers to an individual item that is monitored on a host. Media Types are configured globally to be made available to all Users. When running passively. Master Node. Master Node may have one or several Childs. Media types can be via email or custom scripts. and then specified per User to allow certain Users to be notified via one media type. Passive refers to a mode that the ZABBIX Agent can run in. ZABBIX Server process which is responsible for retrieval of data from ZABBIX and SNMP agents and processing remote (simple) checks. 64-bit integers. and the modes are defined by the Item when it is configured. IT Services are defined as groups of triggers and can be configured to calculate the minimum of a group or maximum of a group. or other means. SNMP. It should be noted that typically the agent runs in both modes. Map refers to a feature of ZABBIX that allows users to create customized graphics via the web interface to create network maps and define links between Hosts on the map. ZABBIX Server in distributed setup monitoring number of hosts. Environment monitored by a single Node. Queue refers to the internal queue of items the ZABBIX server is monitoring. Master Node can control configuration of the Childs. Node ID is a unique number which identifies Node. Media Types are used to notify ZABBIX users when an Action has occurred. and other users to be notified via another media type.6 IT Services IT Services refers to a feature within ZABBIX that allows users to define an SLA and have ZABBIX keep track of the expected SLA and actual SLA. Page 16 of 259 Item Location Map Master or Master Node Media Type Node Node ID Node Watcher Queue Passive Pinger Poller Proxy Copyright 2008 ZABBIX SIA . such as load average or response time. character strings. Based on the specified intervals of items the ZABBIX server maintains a queue to keep track of the items and when it should poll them.ZABBIX Manual v1. Links can be configured to change color or style based on Triggers. the agent waits for requests for items from the server and sends them back as requested.
These are typically used in contracts between companies and clients in order to define a certain level of service such as 99. A Template is a Host that has a defined set of Items. A trigger is used to define constraints on items and provide notifications when these constraints are exceeded. or plain text such as the last 5 values of a particular item. Child Node is linked to a Master Node.5% availability of a particular Host. For example. ZABBIX utility which sends data to ZABBIX Server for further processing. The ZABBIX web front-end can be configured to allow access to multiple users at varying levels of access. etc. Server refers to the program that is run on a centralized machine that has been deemed the "monitoring station". which Hosts can be linked to. simple graphs. Child Nodes reports to Master Node. etc. A screen can consist of graphs (custom). alerts. or users can be given access to only view or modify specific sections of ZABBIX. ZABBIX Server process responsible for processing of date and time related functions of trigger expressions. The server is run as a service and is in charge of keeping track of all the configured hosts. Users can be allowed anonymous access via the guest account and be allowed to view all available data but not modify any changes. SLA refers to Service Level Agreement.6 ROI Screen Return on Investment. you could be monitoring load average on a specific host and want to know when load average exceeds 1. Screen refers to another customizable feature of ZABBIX which allows users to create custom pages within ZABBIX for displaying information. items. Sender Server SLA Child or Child Node Template Timer Trapper Trigger User Copyright 2008 ZABBIX SIA Page 17 of 259 .0. This allows easier configuration of hosts and changes to hosts without having to change each individual host. Host Templates are no different from other hosts except that their status is set to 'Template' during configuration and as such no Host is actually monitored. ZABBIX Server process responsible for processing of ZABBIX Agent (active) checks. log files and data sent by sender. Triggers. It usually used in user scripts.ZABBIX Manual v1. actions. maps. Triggers are very flexible and can allow for multiple constraints.
ZABBIX Software Latvian company that develops and provides support for ZABBIX. User parameters are defined by a key and command.ZABBIX Manual v1. The key refers to the item defined in the web interface and can be configured to accept arguments as sent by the server.6 User parameter User Parameter. ZABBIX ZABBIX SIA Copyright 2008 ZABBIX SIA Page 18 of 259 . (UserParameter) refers to custom scripts defined in an agent's configuration file.
com PHP home page at http://www.oracle.com Ubuntu Linux home page at http://www.sqlite.org Sqlora8 home page at http://www.com Copyright 2008 ZABBIX SIA Page 19 of 259 . External References hdparm resources at http://freshmeat.mysql.com MySQL home page at http://www.ZABBIX Manual v1.org SQLite home page at http://www.poitschke.net/projects/hdparm/ Microsoft home page at http://www.php. Internal documents No internal documents at the moment.6 References The following publications provide further information on technical aspects of ZABBIX.postgresql.zabbix.net PostgreSQL home page at http://www.com ZABBIX home page at http://www.com Oracle home page at www.suse.ubuntu.microsoft.de SuSE Linux home page at http://www.
additional details. Format file name Definition Name of file or directory Notes. Proofreading of the ZABBIX Manual v1.6 1. Significant improvements of initial (LyX) versions of the document.Revision History Release 13 15 Date 10/04/2008 18/09/2008 Reason Updated Release Notes Pre-1. strong Important note Shell commands Constants Note: Note Shell commands. configuration files Constants. Copyright 2008 ZABBIX SIA Page 20 of 259 . comments. paths.Distribution list Author Alexei Vladishev Charlie Collins Shawn Marriott Changes Author and maintainer of the Manual.0. 1. configuration parameters Notes.ZABBIX Manual v1.1.Conventions Document conventions The ZABBIX Manual uses the typographical conventions shown in the following table.3.6 updates.2. important emphasis information. Who Alexei Vladishev Alexei Vladishev 1.About 1.
are accessed through a web-based front end. ZABBIX is an enterprise-class open source distributed monitoring solution. Properly configured. Open BSD. This is equally true for small organisations with a few servers and for large companies with a multitude of servers. OS X. It means that its source code is freely distributed and available for the general public. ZABBIX uses a flexible notification mechanism that allows users to configure e-mail based alerts for virtually any event. This allows a fast reaction to server problems. This makes ZABBIX ideal for capacity planning.2. ZABBIX supports both polling and trapping. A web-based front end ensures that the status of your network and the health of your servers can be assessed from any location. Free BSD. All ZABBIX reports and statistics. OS X native high performance agents (client software for Linux .6 1.ZABBIX Manual v1. Open BSD. ZABBIX is free of cost.4. 1. ZABBIX offers excellent reporting and data visualisation features based on the stored data. as well as configuration parameters. AIX.Overview of ZABBIX 1. Free BSD. Tru64/OSF1.4.0.What is ZABBIX? ZABBIX was created by Alexei Vladishev. Windows Vista) agent-less monitoring secure user authentication flexible user permissions web-based interface flexible e-mail notification of predefined events high-level (business) view of monitored resources Copyright 2008 ZABBIX SIA Page 21 of 259 . Windows 2003. HP-UX.4. ZABBIX is software that monitors numerous parameters of a network and the health and integrity of servers. ZABBIX can play an important role in monitoring IT infrastructure. Both free and commercial support is available and provided by ZABBIX Company. Windows 2000.What does ZABBIX offer? ZABBIX offers: auto-discovery of servers and network devices distributed monitoring with centralised WEB administration support for both polling and trapping mechanisms server software for Linux. ZABBIX is written and distributed under the GPL General Public License version 2. Windows XP.1.Solaris. and currently is actively developed and supported by ZABBIX SIA. AIX. HP-UX. Solaris. Windows NT4.
Main principles of ZABBIX development be user friendly keep things simple use as few processing resources as possible react fast Copyright 2008 ZABBIX SIA Page 22 of 259 . which helps making the software even better provide high-quality commercial support 1. Downtimes are very expensive.4.5. 1.Goals and Principles 1.2. low cost of ownership very simple configuration Centralised monitoring system. All information (configuration.5.ZABBIX Manual v1. performance data) is stored in relational database high-level service tree very easy setup support for SNMP (v220.127.116.11 audit log 1.Why use ZABBIX? Open Source solution highly efficient agents for UNIX and WIN32 based platforms low learning curve high ROI. visualisation capabilities built-in housekeeping procedure 1.5.4.v2).1.Users of ZABBIX Many organisations of different size around the World rely on ZABBIX as primary monitoring platform. Both trapping and polling.Main Goals of ZABBIX Development There are several goals ZABBIX is trying to achieve: become recognized Open Source monitoring tool create ZABBIX user group.
This allows user to be notified even before system state achieves critical level. and memory availability are some of the numerous system parameters ZABBIX is able to monitor. disk activity.1. Note: This functionality will be completed in future versions of ZABBIX Copyright 2008 ZABBIX SIA Page 23 of 259 . ZABBIX can produce trend graphs to help identify bottlenecks in system performance.6.6. number of running processes.ZABBIX Manual v1. status of swap space.Alerting users Having performance monitoring is good.2.6 document every aspect of the software 1.5. phone notifications.6. an administrator can define virtually any possible condition for a trigger.Monitoring of WEB applications ZABBIX provides very efficient scenarios-based way of monitoring WEB applications. 1.Distributed monitoring 1. number of processes.3.Performance monitoring One of most important uses of ZABBIX is performance monitoring.6.6. ZABBIX can predict future behavior of monitored parameters using Least Square Algorithm.4. Both HTTP and HTTPS are supported.Monitoring of log files ZABBIX can be used for centralized monitoring of log files.7. but it is almost useless without a powerful notification mechanism. Any time these expressions become true (or false).Auto-discovery 1.Use of ZABBIX 1. External programs can be used for user-defined notification methods such as SMS.6. In addition.Pro-active monitoring 1.6.6. Note: This functionality will be completed in future versions of ZABBIX 1. 1. Processor load.6. With ZABBIX. ZABBIX provides a system administrator with timely information about performance of a server. using flexible expressions. an alert will be emailed to any address defined by the administrator. etc.
database activity.8. then it is time to think about Copyright 2008 ZABBIX SIA Page 24 of 259 .ZABBIX Manual v1.6. All critical configuration files. It also keeps SLArelated historical data that helps to identify and improve weak areas of an IT infrastructure. disk usage. kernel.11. or other important metrics allows a system administrator to clearly see when the next hardware upgrade should be made.9.12.6.Logging services All values of monitored parameters are stored in a database. What resources specific IT service depends on? Example: WEB portal may depend on the following resources: processor load on server A connection to ISP provider disk space on volume /data on server A availability of Oracle DB engine on server B speed of execution of user requests availability of Apache server on server C etc etc Such a dependency tree helps identify weak points in IT infrastructure. and web server HTML pages can be monitored by ZABBIX so that the administrator can be alerted to modifications made to these files.Integrity Checking ZABBIX is capable of server integrity monitoring.6. online transaction processing. 1. 1. 1.6.High level view of IT resources and services A High level service tree allows the creation of dependencies between various IT resources. binaries. then these IT services will be affected: Oracle server. availability of disk space on some server. The collected data can be used later for any purposes.10.6 1.Assuring and monitoring of SLA ZABBIX is able to monitor Service Level Agreements (SLA). WEB banking.Capacity planning Viewing trends of process load. Such representation enables the following questions to be answered: What IT services depends on availability of resource X? Example: If processor load is too high on server A. for example.6. scripts. Example: If several critical services offered by IT department depends on. etc. 1.
Other availability analysis graphical representation of collected information Network maps custom screens Copyright 2008 ZABBIX SIA Page 25 of 259 .6.13.6 distribution of the volume across different servers or disk arrays to eliminate possible risks.ZABBIX Manual v1. 1.
1.7. 1.ZABBIX Manual v1. 1.Escalations and Repeated notifications Support of escalations and repeated notifications has been implemented.7. ZABBIX Proxy simplifies deployment and maintenances of the centralised distributed monitoring significantly. ZABBIX can be used in mixed or IPv6 only environments.6.7.Support of IPMI ZABBIX support monitoring of IPMI parameters and manual execution of IMPI commands from ZABBIX front-end as well as remote commands. 1.7. Now this is a central part of ZABBIX front-end.3. The proxies can be used in order to centralise monitoring of remote locations by reporting to the central server or one of ZABBIX nodes in the distributed environment. when enabled by the parameter StartDBSyncers.Much Better Performance ZABBIX database cache module.Support of IPv6 All ZABBIX modules support both IPv4 and IPv6. 1. See also details on ZABBIX Proxy.6 1. Copyright 2008 ZABBIX SIA Page 26 of 259 .7.7. Escalations can be configured in a very flexible way and may include not only notifications but also execution of remote and IPMI commands.4.7.6 1. increases speed of ZABBIX up-to 4-8x times depending on the configuration.ZABBIX Proxy Process ZABBIX Proxy is a lightweight process.7.Better Distributed Monitoring ZABBIX distributed monitoring has been improved for a more efficient Node synchronisation protocol.7.Dashboard ZABBIX Dashboard provides high level personalized details about the monitored environment.2.5.1.What's new in ZABBIX 1. 1. which collects data collection on behalf of ZABBIX Server.
6 1.9. The scripts are executed on the single ZABBIX server or any ZABBIX node in the distributed setup.7. In this case.14. which can be tuned by new configuration parameters. 188.8.131.52.Improved View of Trigger Statuses The screen will display information about triggers and associated events. 1.12.More Efficient ZABBIX Sender ZABBIX Sender has been improved to support sending of multiple values by one network connection. See SNMP section for more details. More scripts can be added and configured.7.Support of SNMP Data with Dynamic Index A new syntax can be used to monitor SNMP data with a dynamic index.Dynamic Screens A screen element can be made dynamic. 1.More Efficient Communication with Agents ZABBIX Agents support data buffering.7. The communication protocol has been improved to support sending of multiple values by one TCP connection.10.Special Processing of Well-known SNMP OIDs Copyright 2008 ZABBIX SIA Page 27 of 259 .Nice Zoom for Graphs The Zoom period can be selected by mouse for drill-down analysis. 1.ZABBIX Manual v1.16.8. 1. BufferSize and BufferSend.7. 1.Basic Management Functions Traceroute and Ping can be executed from a number of screens. 1. 1.15.13.Pie Charts Pie charts (both 2D and 3D) are supported.11.7.7. the information displayed in the element will depend on the particular host selected by ZABBIX user.
1.7.Added Support of UTF-8 ZABBIX front-end is UTF-8 ready.20.6 Simple SNMP OIDs.7.Improved User Permission Schema In 1.ZABBIX Manual v1. 1.Added Maintenance Mode ZABBIX maintenance mode can be activated to disable ZABBIX front-end temporarily. 1.7. 1.7.7.Added Printable View for All Screens Any screen can be printed in a nice way by pressing the "Print" link.19.24.2.Unlimited Number of Map Link Styles Any number of triggers can be linked to the map link.21. 1. like ifDescr. Note that ZABBIX database and ZABBIX server and agent processes still are not ready for correct processing of UTF-8 data. The style of the triggers will define how the link is displayed.7. 1. 1.18.1.Added Screen Translations for Better Management of The screen can be used to add new translations of ZABBIX front-end.7. 1.24. 1.7.24.Other Improvements 1. Screens and Graphs moved to the Copyright 2008 ZABBIX SIA Page 28 of 259 .Disabling of Login Rights for a Group of Users An entire user group can be configured not to have access to ZABBIX front-end.23.Queue moved into Administration Now the information is available to ZABBIX Super Administrators only. ifInOctets. ifInOctets. and other can be used in ZABBIX and will be translated automatically into correct numeric representation by ZABBIX itself.22.17.6 user permissions slightly differ from the permissions in 1.7.Link to Maps.7.4.
188.8.131.52. 1. 1. 1. 1.7.7. Now Maps.24. Screens and Graphs can be accessed from the Dashboard. 126.96.36.199 Dashboard The main menu was simplified.7.User 'guest' can be disabled In this case. 220.127.116.11. 184.108.40.206.184.108.40.206.Support of import/export of the host template linkage information Copyright 2008 ZABBIX SIA Page 29 of 259 .Disabling of a group of users A group of users can be disabled.24. It may also contain more details. 1.Better informative message Information message has different colours depending on status. user authorization is required for access to the ZABBIX front-end.24.Duplicated Login removed The Login menu item has been removed to avoid confusion.7.Support of themes for ZABBIX front-end New frond-end includes two themes by default.7.Added sorting for all screens Most of tables in ZABBIX front-end can be sorted by selected column.New communication protocol New more efficient communication protocol makes possible sending of multiple values by one TCP connection. 1.10.4.Auto-login option The user profile option makes possible automatic login to ZABBIX front-end within one month.7.7.12. More themes can be added.Database down screen Nice screen will appear in case if ZABBIX front-end is unable to talk to the database.ZABBIX Manual v1. which are hidden by default. 1.7.
which may be important for security.Increased number of log entries sent per second By default ZABBIX will send no more than 100 of lines per second per each log file.7. 1. 1. which is controlled by the full-screen icon.Added full-screen icon Most of screens support full-screen mode.24.6 XML import/export respects host template linkage information.TIME}.7. Copyright 2008 ZABBIX SIA Page 30 of 259 . {EVENT. 1.7.14.Added monitoring of Proxy availability Availability of proxies can be monitored automatically using new internal checks.24.15.18. the agent will not listen for incoming connections.Support of new macros Add new macros.ZABBIX Manual v1.21.7.AGE}.Support of directories in the parameter Include Parameter Include can be used to include all files in a directory.17.Support of negative values in graphs Graphs support displaying of negative values.13.24. 1.24. 184.108.40.206.22.24. which can be useful for notifications: {EVENT.7.7.Auto-discovery by ICMP ping Auto-discovery supports discovery by ICMP ping.Added triggers mass-update functionality for hosts and Some of host and trigger attributes can be mass-updated.24.7. 184.108.40.206.HISTORY} 1.DATE}.24. In this case.New after-login greeting message Welcome message is not confusing any more. 1.24. {EVENT. 1.7.24. {ESC.Active only mode for ZABBIX agent Active-only mode can be enabled for agents. 1.
1.7.28.History of Actions moved under Administration History of actions and remote command moved to Administration->Audit.Automatic selection of the first element in drop-downs The first element of all drop-down controls will be selected by default.31. 1.24.26.Support of bulk acknowledgements Multiple events can be acknowledged by a single click thanks to bulkacknowledgement.7.24.Added support of auto-login Optional one month auto-login is supported on user level.ZABBIX Manual v1. 1.Added protection against brute-force attacks ZABBIX front-end is protected from brute force attacks.More flexible Status of Trigger screen Status of Triggers screen provide information about triggers and corresponding events.24.24. 1. Copyright 2008 ZABBIX SIA Page 31 of 259 .24. 1. 1.32.Last access time is displayed for users Last access time is available for users. 1.7. 1.Improved event viewing Every single event provides detailed information about executed commands and notifications.More accurate ICMP pings Refresh rate for ICMP pings can be controlled individually for each item.24.Required server performance value is available The value is a good indicator of performance of ZABBIX and can be used for hardware requirements.22.214.171.124.7. 22.214.171.124.220.127.116.11.22.214.171.124.188.8.131.52 1.Added time filter to Availability Report Availability report support selection of time period. 1.29.
1. It does not require any configuration changes on agent side.7.ZABBIX Manual v1.Installation See the INSTALLATION section for full details.Backup configuration files.Installation and Upgrade Notes 1.8.x to 1.x can be used with ZABBIX 1.2.Important User permission schema has been changed.4.8.2. 1.1. PHP files and ZABBIX binaries Make a backup copy of ZABBIX binaries.8.8. 1.24. Now ZABBIX Administrators do not have write access to all hosts by default.x and ZABBIX 18.104.22.168.4.Backup existing ZABBIX database This is very important step.Extended host profiles Extended host profiles can be optionally used. configuration files and PHP files. It will help if upgrade procedure fails (lack of disk space. ZABBIX 1. 188.8.131.52.1.0. 1. 1. Make sure that you have backup of your database.Install new server binaries Copyright 2008 ZABBIX SIA Page 32 of 259 .6 does not allow empty user passwords.4.6.8. any unexpected problem).Stop ZABBIX server Stop ZABBIX server to make sure that no new data are coming to database.6 1. 1. 126.96.36.199. power off.4.8.Upgrade procedure The following steps have to be performed for successful upgrade from ZABBIX 1.Version compatibility Older agents from ZABBIX 1.8. All empty passwords are replaced to 'zabbix' after database upgrade! User 'guest' is the only exception.4.4. ZABBIX 1. The whole upgrade procedure may take several hours depending on size of ZABBIX database.
ZABBIX Manual v1.6
You may use pre-compiled binaries or compile your own.
220.127.116.11.Review Server configuration parameters
Some parameters of zabbix_server.conf were changed in 1.6, new parameters added. You may want to review them.
22.214.171.124.Upgrade database
Database upgrade scripts are located in directory upgrade/dbpatches/1.6/<db engine>: MySQL: upgrade/dbpatches/1.6/mysql/patch.sql Oracle: upgrade/dbpatches/1.6/oracle/patch.sql PostgreSQL: upgrade/dbpatches/1.6/postgresql/patch.sql
Note: Database upgrade may take quite significant time, several hours or more.
It is recommended to test the upgrade procedure in a non-production environment. Make sure that you have enough permissions (create table, drop table, create index, drop index). Also make sure that you have enough free disk space.
Note: These scripts are for upgrade from ZABBIX 1.4.x to 1.6 only!
18.104.22.168.Install new ZABBIX GUI
Follow Installation Instructions.
188.8.131.52.Start new ZABBIX binaries
Start new binaries. Check log files to see if the binaries are started successfully.
1.9.Commercial support
ZABBIX SIA offers a full range of support options to meet your specific needs. ZABBIX Support Services provide direct access to our expert Support Engineers who are ready to assist you in the development, deployment, and management of ZABBIX. Visit http://www.zabbix.com/services.php or contact email@example.com for more details.
Copyright 2008 ZABBIX SIA
Page 33 of 259
ZABBIX Manual v1.6
Copyright 2008 ZABBIX SIA
Page 34 of 259
ZABBIX Manual v1.6
2.1.How to Get ZABBIX
Check the ZABBIX Home Page at http://www.zabbix.com for information about the current version and for downloading instructions.
2.2.1.Hardware Requirements
18.104.22.168.Memory Requirements
ZABBIX requires both physical and disk memory. 128 MB of physical memory and 256 MB of free disk space could be a good starting point. However, the amount of required disk memory obviously depends on the number of hosts and parameters that are being monitored. If you're planning to keep a long history of monitored parameters, you should be thinking of at least a couple of gigabytes to have enough space to store the history in the database. Each ZABBIX daemon process requires several connections to a database server. Amount of memory allocated for the connection depends on configuration of the database engine.
Note: The more physical memory you have, the faster the database (and
therefore ZABBIX) works!
220.127.116.11.CPU Requirements
ZABBIX and especially ZABBIX database may require significant CPU resources depending on number of monitored parameters and chosen database engine.
188.8.131.52.Other hardware
A serial communication port and a serial GSM Modem required for using SMS notifications built-in ZABBIX.
18.104.22.168.Examples of hardware configuration
The table provides several hardware configurations: Name
Copyright 2008 ZABBIX SIA
CPU/Memory Database
Page 35 of 259
ZABBIX Manual v1.6
hosts Small Medium Ubuntu Linux Ubuntu Linux 64 bit Ubuntu Linux 64 bit PII 350MHz 256MB AMD Athlon MySQL InnoDB 3200+ 2GB Large Intel Dual MySQL InnoDB Core 6400 or 4GB PostgreSQL RAID10 Intel Xeon 2xCPU 8GB Fast RAID10 MySQL InnoDB or PostgreSQL >1000 500 MySQL MyISAM 20
Very large
RedHat Enterprise
Note: Actual configuration depends on number of active items and refresh rates
very much. It is highly recommended to run the database on a separate box for large installations.
2.2.2.Supported Platforms
Due to security requirements and mission-critical nature of monitoring server, UNIX is the only operating system that can consistently deliver the necessary performance, fault tolerance and resilience. ZABBIX operates on market leading versions. ZABBIX is tested on the following platforms: AIX FreeBSD HP-UX Linux Mac OS/X NetBSD OpenBSD SCO Open Server Solaris
Copyright 2008 ZABBIX SIA
Page 36 of 259
ZABBIX Manual v1.6
Note: ZABBIX may work on other Unix-like operating systems as well.
2.2.3.Software Requirements
ZABBIX is built around modern Apache WEB server, leading database engines, and the PHP scripting language. The following software is required to run ZABBIX: Software Apache PHP PHP modules: php-gd php-bcmath MySQL php-mysql Oracle php-sqlora8 PostgreSQL php-pgsql 3.22 later 188.8.131.52 later 7.0.2 later or Required if MySQL is used as ZABBIX back end database. or Required if Oracle is used as ZABBIX back-end database. or Required if PostgreSQL is ZABBIX back-end database. used as Version 1.3.12 or later 4.3 or later 4.3 or later PHP GD module must support PNG images. Comments
Consider using PostgreSQL 8.x or later for much better performance. 3.3.5 later or Required if SQLite is used as ZABBIX back-end database.
SQLite php-sqlite3
Note: ZABBIX may work on previous versions of Apache, MySQL, Oracle, and
PostgreSQL as well.
WEB browser on client side Support for HTML and PNG images required. MS Explorer (5.xx and 6.xx) and Mozilla 1.x work perfectly. Cookies and Java Script must be enabled. Other browsers may work with ZABBIX as well.
Copyright 2008 ZABBIX SIA
Page 37 of 259
Choice of database engine ZABBIX Server and Proxy support four database engines: MySQL Oracle PostgreSQL SQLite Each database engine has its own advantages. which define amount of stored historical data: Number of processed values per second This is average number of new values ZABBIX server receives every second.Database size ZABBIX configuration data requires fixed amount of disk space and does not grow much. if we have 3000 items for monitoring with refresh rate of 60 seconds. Choice of database engine depends on the following aspects: how powerful is your hardware free or commercial database engine how busy is ZABBIX Server or Proxy The table can be used as a general recommendation on choice of database engine.4. We cannot recommend one over another.2. For example.6 2. ZABBIX database size mainly depends on these variables.ZABBIX Manual v1. Database engine of choice MySQL InnoDB MySQL MyISAM PostgreSQL Oracle SQLite Usage Heavy duty Node/Standalone Server Heavy duty Proxy Light duty Node/Standalone Light duty Proxy Heavy duty Node/Standalone Server Heavy duty Proxy Heavy duty Node/Standalone Server Light duty Proxy 2.2. Copyright 2008 ZABBIX SIA Page 38 of 259 . number of values per seconds is calculated as 3000/60 = 50.5.
normally several weeks or months. ZABBIX database. Housekeeper settings for history ZABBIX keeps values for a fixed period of time. integers. depends on database engine. In worst case scenario.ZABBIX Manual v1. days*(items/refresh rate)*24*3600*bytes items: number of items days: number of days to keep history refresh rate: average refresh rate of items bytes: number of bytes required to keep single value. Suppose we would like to keep trend data for 5 years. total number of values will be around (30*24*3600)*50 = 129. disk space for keeping a single value may vary from 40 bytes to hundreds of bytes. this would require 3*365*24*3600*130 = 11GB The table contains formulas that can be used to calculate disk space required for ZABBIX system: Parameter ZABBIX configuration History Formula for required disk space (in bytes) Fixed size.5GB for 5 years. normally 50 bytes. Housekeeper setting for trends ZABBIX keeps 1 hour max/min/avg/count statistics for each item in table trends. Copyright 2008 ZABBIX SIA Page 39 of 259 .600. or 31.3GB per year. depending on database type. So. Normally it is around 50 bytes per value. strings. if we would like to keep 30 days of history and we receive 50 values per second.5GB of disk space. type of received values (floats. requires about 128 bytes per each total. log files. or about 130M of values. Normally 10MB or less. etc).6 It means that 50 new values are added to ZABBIX database every second. 3000 values will require (3000/1800)*(24*3600*365)*128 = 6. Each new value required certain amount of disk space for data and index. Depending on used database engine. Housekeeper settings for events Each ZABBIX event requires approximately 130 bytes of disk space. The data is used for trending and long period graphs. we may assume that ZABBIX generates one event per second. It is hard number of events generated by ZABBIX daily.000. It means that if we want to keep 3 years of events. In our case. it means that 130M of values will require 130M * 50 bytes = 6.
ZABBIX Manual v1. 2.6. Note: Disk space requirements for nodes in distributed setup are calculated in a similar way. the total required disk space can be calculated as: Configuration + History + Trends + Events The disk space will NOT be used immediately after ZABBIX installation. Database size will grow then it will stop growing at some point. normally 128 bytes. which depends on hosekeeper settings. Copyright 2008 ZABBIX SIA Page 40 of 259 . days: number of days to keep history bytes: number of bytes required to keep single trend. depends on database engine. So.Time synchronization It is very important to have precise system date on server with ZABBIX running. One (1) event per second in worst case scenario.6 Trends days*(items/1800)*24*3600*bytes items: number of items days: number of days to keep history bytes: number of bytes required to keep single trend. Events days*events*24*3600*bytes events: number of event per second. normally 130 bytes. depends on database engine.2. but this also depends on a total number of child nodes linked to a node. timed is one of most popular daemons that synchronizes the host's time with the time of other machines.
The Proxy collects performance and availability data on behalf of ZABBIX Server.ZABBIX Proxy The Proxy is an optional part of ZABBIX deployment. networks having no local administrators.ZABBIX Server This is the centre of the ZABBIX software.2.3. The Server is the central repository in which all configuration. those systems must run the ZABBIX Agent.3. statistical and operational data are stored. and it is the entity in the ZABBIX software that will actively alert administrators when problems arise in any of the monitored systems.) on networked systems.ZABBIX Manual v1.4. All collected data is buffered locally and transferred to ZABBIX Server the Proxy belongs to.3. memory. The Agent will gather operational information from the system on which it is running. the responsibilities of which are outlined below.3. or a crashed Copyright 2008 ZABBIX SIA Page 41 of 259 . 2. In case of failures (such as a harddisk running full. 2.6 2. ZABBIX can also perform agent-less monitoring and also monitor network devices using SNMP agents. only Proxies collect data thus making processing on the Server less CPU and disk I/O hungry. ZABBIX Proxies can also be used to distribute load of a single ZABBIX Server. and report these data to the ZABBIX for further processing.Components 2. In this case.3. The Server can remotely check networked services (such as web servers and mail servers) using simple service checks.3.1. 2.ZABBIX Agent In order to actively monitor local resources and applications (such as harddrives. processor statistics etc. but it is also the central component to which the Agents will report availability and integrity information and statistics.ZABBIX Components ZABBIX consists of several major software components. ZABBIX Proxy is an ideal solution for a centralized monitoring of remote locations. branches.
The ZABBIX Agents are extremely efficient because of use of native system calls for gathering statistical information. Note: ZABBIX front-end must run on the same physical machine if SQLite is used. 2. The Interface is a part of the ZABBIX Server. The following software is required to compile ZABBIX: One of the following database engines: MySQL Headers and Libraries Version 3.Installation from Source 2. the Web-based Interface is provided. 2. and is usually (but not necessarily) run on the same physical machine as the one running the ZABBIX Server.4.3.4. the ZABBIX Server can actively alert the administrators of the particular machine that reported the failure. Oracle Headers and Libraries Sqlora8 headers and libraries are required.ZABBIX Manual v1.6 service process).The WEB Interface In order to allow easy access to the monitoring data and then configuration of ZABBIX from anywhere and from any platform.5.1.Software requirements Building of ZABBIX server or agents from sources requires additional software. PostgreSQL Headers and Libraries Copyright 2008 ZABBIX SIA Page 42 of 259 .22 or later required.
Consider using PostgreSQL 8.5 or later required. sqlite3-dev packages.0.2 or later required. Optional. GNU Make GNU make is required to process ZABBIX Makefiles. NET-SNMP (or UCD-SNMP) library and header files Required for SNMP support. Note: Usually provided as part of mysql-dev.ZABBIX Manual v1.13.4. Optional. GNU C compiler is the best choice for open platforms. C Compiler C compiler is required. Optional.Structure of ZABBIX distribution docs The directory contains this Manual in PDF format src Copyright 2008 ZABBIX SIA Page 43 of 259 .x for much better performance. Iksemel library and header files Required to enable Jabber messaging. SQLite Headers and Libraries Version 3. Other (HP.3. Libcurl library and header files Version 7. postgresql-dev. 2.2. IBM) C compilers may be used as well.1 or higher required for WEB monitoring module.6 Version 7.
create The directory contains SQL script for initial database creation.'bin'.6 The directory contains sources for all ZABBIX processes except frontends. contains Makefile and sources for zabbix_agent and 2. src/zabbix_get The directory contains Makefile and sources for zabbix_get. misc misc/init. create/data Data for initial database creation.3.ZABBIX Server Server side Step 1 Create the ZABBIX superuser account This is the user the server will run as. For production use you should create a dedicated unprivileged account ('zabbix' is commonly used).d The directory contains start-up scripts for different platforms. or any other account with special rights is a security risk. include The directory contains include ZABBIX files. upgrades The directory contains upgrade procedures for different versions of ZABBIX. frontends frontends/php The directory contains files of PHP frontend. src/zabbix_sender The directory contains Makefile and sources for zabbix_sender.ZABBIX Manual v1. create/schema Database creation schemas. Running ZABBIX as 'root'. Do not do it! Copyright 2008 ZABBIX SIA Page 44 of 259 . src/zabbix_agent The directory zabbix_agentd. src/zabbix_server The directory contains Makefile and sources for zabbix_server.4.
sql | mysql -u<username> -p<password> zabbix shell> cat images_mysql.sql sqlplus> @data/images_oracle.6 Note: ZABBIX server process (zabbix_server) is protected from being run under root account. For MySQL: shell> mysql -u<username> -p<password> mysql> create database zabbix.sql | mysql -u<username> -p<password> zabbix shell> cd . mysql> quit.sql sqlplus> exit For PostgreSQL: Copyright 2008 ZABBIX SIA Page 45 of 259 .tar.tar Step 3 Create the ZABBIX database ZABBIX comes with SQL scripts used to create the required database schema and also to insert a default configuration. There are separate scripts for MySQL..sql | mysql -u<username> -p<password> zabbix For Oracle (we assume that user 'zabbix' with password 'password' exists and has permissions to create database objects): shell> cd create shell> sqlplus zabbix/password sqlplus> set def off sqlplus> @schema/oracle.sql sqlplus> @data/data. PostgreSQL and SQLite.6./data shell> cat data. Oracle. shell> cd create/schema shell> cat mysql. Step 2 Untar ZABBIX sources shell> gunzip zabbix-1.6.ZABBIX Manual v1.gz && tar -xvf zabbix-1.
./configure --enable-server --with-mysql --with-net-snmp –with-jabber – with-libcurl # for MySQL + Jabber + WEB monitoring or shell> .sql | psql -U <username> zabbix shell> cat images_pgsql. shell> . you must specify which database will be used./data shell> cat data./data shell> cat data..db Note: The database will be automatically created if it does not exist.6 shell> psql -U <username> psql> create database zabbix.sql | sqlite3 /var/lib/sqlite/zabbix.sql | psql -U <username> zabbix shell> cd .sql | sqlite3 /var/lib/sqlite/zabbix.db shell> cd .db shell> cat images_sqlite3.ZABBIX Manual v1. psql> \q shell> cd create/schema shell> cat postgresql.sql | psql -U <username> zabbix For SQLite: shell> cd create/schema shell> cat sqlite. To configure the source for the server. Step 4 Configure and compile the source code for your system The sources must be compiled for both the server (monitoring machine) as well as the clients (monitored machines)./configure --enable-server --with-pgsql --with-net-snmp –with-jabber – with-libcurl # for PostgreSQL + Jabber + WEB monitoring or Copyright 2008 ZABBIX SIA Page 46 of 259 .sql | sqlite3 /var/lib/sqlite/zabbix.
it is recommended. both --with-net-snmp and --with-ucd-snmp may be skipped. add the following lines to /etc/services: Copyright 2008 ZABBIX SIA Page 47 of 259 . On the client (monitored) machines. If no SNMP support required./configure --enable-server --enable-agent --with-mysql --with-net-snmp – with-jabber –with-libcurl Parameter —enable-static may be used to force static linkage.6 shell> . make install will install all the files in /usr/local/bin. you must use this flag to make these binaries work without required libraries. However. Flag --with-ucd-snmp can be used instead of --with-net-snmp. The libary is required for Oracle support. --enable-static does not work under Solaris.ZABBIX Manual v1. if you want to compile client binaries along with server binaries./configure --enable-server --with-oracle=/home/zabbix/sqlora8 --with-netsnmp –with-jabber –with-libcurl # for Oracle + Jabber + WEB monitoring Note: Use flag --with-oracle to specify location of sqlora8 library. run: shell> . /usr/local/lib etc. You can specify an installation prefix other than /usr/local using --prefix Step 6 Configure /etc/services The step is not real requirement. The library can be found at libsqlora8 homepage Note: Use flag --enable-static to statically link libraries. However. Step 5 Make and install everything shell> make install By default. If you plan to distribute compiled binaries among different servers.
Copyright 2008 ZABBIX SIA Page 48 of 259 . You may take misc/conf/zabbix_agent.ZABBIX Manual v1. Connections from other hosts will be denied. Connections from other hosts will be denied. The file should contain IP address of ZABBIX server. you should change default parameters to maximize performance of ZABBIX. You may take misc/conf/zabbix_server. Step 10 Configure /etc/zabbix/zabbix_server.conf as example.conf as example. However.conf If you plan to use zabbix_agent instead of the recommended zabbix_agentd. Step 9 Configure /etc/zabbix/zabbix_agentd.conf For small installations (up to ten monitored hosts). default parameters are sufficient. the following line must be added: zabbix_agent stream tcp nowait.3600 zabbix /opt/zabbix/bin/zabbix_agent Restart inetd shell> killall -HUP inetd Modify default settings in configuration files Step 8 Configure /etc/zabbix/zabbix_agent.conf as example.conf You need to configure this file for every host with zabbix_agentd installed.conf You need to configure this file for every host having zabbix_agent installed. The file should contain the IP address of the ZABBIX server. You may take misc/conf/zabbix_agentd.6 zabbix-agent zabbix-agent 10050/tcp Zabbix Agent 10050/udp Zabbix Agent zabbix-trapper 10051/tcp Zabbix Trapper zabbix-trapper 10051/udp Zabbix Trapper Step 7 Configure /etc/inetd. See section [Performance tuning] for more details.
4. Step 1 Create the ZABBIX superuser account This is the user the Proxy will run as./zabbix_server Step 12 Run agents Run zabbix_agentd where necessary. For production use you should create a dedicated unprivileged account ('zabbix' is commonly used)./zabbix_agentd 2.6 Step 11 Run server processes Run zabbix_server on server side.4. shell> cd bin shell> . Do not do it! Note: ZABBIX Proxy process (zabbix_proxy) is protected from being run under root account.6.ZABBIX Manual v1. shell> cd bin shell> . Step 2 Untar ZABBIX sources shell> gunzip zabbix-1.gz && tar -xvf zabbix-1.6. Optional.'bin'.ZABBIX Proxy ZABBIX Proxy is a special process.tar Step 3 Copyright 2008 ZABBIX SIA Create the ZABBIX database. Page 49 of 259 . Running ZABBIX Proxy as 'root'. It is not required to run the process.tar. or any other account with special rights is a security risk.
sql | sqlplus zabbix/password >out.. shell> cd create/schema shell> cat mysql.sql | mysql -u<username> -p<password> zabbix For Oracle (we assume that user 'zabbix' with password 'password' exists and has permissions to create database objects): shell> cd create/schema shell> cat oracle.log Note: Check file out. It will use existing database otherwise../data shell> cat data. Oracle../data shell> cat data.sql | mysql -u<username> -p<password> zabbix shell> cd .sql | psql -U <username> zabbix shell> cd . For MySQL: shell> mysql -u<username> -p<password> mysql> create database zabbix.sql | psql -U <username> zabbix Copyright 2008 ZABBIX SIA Page 50 of 259 .log for any error messages. mysql> quit.sql | mysql -u<username> -p<password> zabbix shell> cat images_mysql. There are separate scripts for MySQL.sql | sqlplus zabbix/password >>out.log For PostgreSQL: shell> psql -U <username> psql> create database zabbix.log shell> cat images_oracle.ZABBIX Manual v1.6 Note: ZABBIX Proxy process will create database automatically on the first run if it does not exist. psql> \q shell> cd create/schema shell> cat postgresql. PostgreSQL and SQLite. ZABBIX comes with SQL scripts used to create the required database schema. shell> cd .sql | sqlplus zabbix/password >out./data shell> cat data.
sql | sqlite3 /var/lib/sqlite/zabbix.sql | psql -U <username> zabbix For SQLite: shell> cd create/schema shell> cat sqlite.6 shell> cat images_pgsql. The libary is required for Oracle support. The library can be found at libsqlora8 homepage Note: Use flag --enable-static to statically link libraries./configure --enable-proxy --with-oracle=/home/zabbix/sqlora8 --with-netsnmp –with-libcurl # for Oracle + WEB monitoring Note: Use flag --with-oracle to specify location of sqlora8 library.sql | sqlite3 /var/lib/sqlite/zabbix.ZABBIX Manual v1. To configure the source for the Proxy. you must specify which database will be used. If you plan to distribute compiled binaries among different hosts. Step 4 Configure and compile the source code for your system The sources must be compiled to enable compilation of ZABBIX Proxy process.db shell> cd . shell> ./data shell> cat data.sql | sqlite3 /var/lib/sqlite/zabbix.db shell> cat images_sqlite3./configure --enable-proxy --with-pgsql --with-net-snmp –with-libcurl # for PostgreSQL + WEB monitoring or shell> ./configure --enable-proxy --with-mysql --with-net-snmp –with-libcurl # for MySQL + WEB monitoring or shell> .db Note: The database will be automatically created if it does not exist.. you must use this flag to make these Copyright 2008 ZABBIX SIA Page 51 of 259 .
ZABBIX Manual v1. run: shell> . it is recommended. add the following lines to /etc/services: zabbix_agent 10050/tcp zabbix_trap 10051/tcp Step 7 Configure /etc/inetd. However.6 binaries work without required libraries. if you want to compile client binaries along with proxy binaries. --enable-static does not work under Solaris. Step 5 Make and install everything shell> make install By default. On the client (monitored) machines. both --with-net-snmp and --with-ucd-snmp may be skipped.conf If you plan to use zabbix_agent instead of the recommended zabbix_agentd. the following line must be added: Copyright 2008 ZABBIX SIA Page 52 of 259 ./configure --enable-proxy --enable-agent --with-mysql –with-net-snmp – with-libcurl Parameter —enable-static may be used to force static linkage. Flag --with-ucd-snmp can be used instead of --with-net-snmp. If no SNMP support required. make install will install all the files in /usr/local/bin. However. You can specify an installation prefix other than /usr/local using --prefix Step 6 Configure /etc/services The step is not real requirement. /usr/local/lib etc.
Step 2 Untar ZABBIX sources shell> gunzip zabbix-1.tar. default parameters are sufficient.6 zabbix_agent stream tcp nowait.4. You may take misc/conf/zabbix_proxy.tar Copyright 2008 ZABBIX SIA Page 53 of 259 . Step 9 Run Proxy processes Run zabbix_proxy: shell> cd sbin shell> .gz && tar xvf zabbix-1.6.conf as example. For production use you should create a dedicated unprivileged account ("zabbix" is commonly used). you should change default parameters to maximize performance of ZABBIX Proxy. Make sure you have correct Hostname and Server parameters set.ZABBIX Manual v1.ZABBIX Agent Client side Step 1 Create the ZABBIX account This is the user the agent will run as. ZABBIX agents have protection against running under root account.6./zabbix_proxy 2.3600 zabbix /opt/zabbix/bin/zabbix_agent Restart inetd shell> killall -HUP inetd Modify default settings in configuration files Step 8 Configure /etc/zabbix/zabbix_proxy.5. However.conf For small installations (up to ten monitored hosts).
Step 4 Build agent shell> make Copy created binaries from bin/ to /opt/zabbix/bin or any other directory Other common directories are /usr/local/bin or /usr/local/zabbix/bin./configure --enable-agent Note: Use flag --enable-static to statically link libraries.6 Step 3 Configure and compile the source code for your system The sources must be compiled for the client only. the following line must be added: zabbix_agent stream tcp nowait. On the client (monitored) machines. add the following lines to /etc/services: zabbix_agent 10050/tcp zabbix_trap 10051/tcp Step 6 Configure /etc/inetd. you must use this flag to make these binaries work without required libraries. If you plan to distribute compiled binaries among different hosts. Step 5 Configure /etc/services The step is not real requirement. However.ZABBIX Manual v1. To configure the source for the client: shell> . it is recommended.conf If you plan to use zabbix_agent instead of the recommended zabbix_agentd.3600 zabbix /opt/zabbix/bin/zabbix_agent Restart inetd Copyright 2008 ZABBIX SIA Page 54 of 259 .
conf You need to configure this file for every host having zabbix_agent installed. Note.conf as example.conf as example. Copyright 2008 ZABBIX SIA Page 55 of 259 . Connections from other hosts will be denied. Connections from other hosts will be denied. The file should contain IP address of ZABBIX server. Step 8 Configure /etc/zabbix/zabbix_agentd. otherwise the agent may not start and you will see "Can't allocate shared memory for collector." in agent's log file. You may take misc/conf/zabbix_agentd.ZABBIX Manual v1. This may happen on Solaris 8. You may take misc/conf/zabbix_agent.conf You need to configure this file for every host with zabbix_agentd installed.6 shell> killall -HUP inetd Step 7 Configure /etc/zabbix/zabbix_agent. that no end of line character should present in the file. Step 9 Run zabbix_agentd on all monitored machines shell> /opt/zabbix/bin/zabbix_agentd Note: You should not run zabbix_agentd if you have chosen to use zabbix_agent! Note: Make sure that your system allows allocation of 2MB of shared memory. The file should contain IP address of ZABBIX server.
ZABBIX WEB Interface Step 1 Point your browser to ZABBIX URL. Copyright 2008 ZABBIX SIA Page 56 of 259 .4.6 2.6.ZABBIX Manual v1.
ZABBIX Manual v1. Copyright 2008 ZABBIX SIA Page 57 of 259 .6 Step 2 Read and accept GPL v2.
Module php-gd. php-mysql. Pre-requisite PHP version PHP limit Minimum value 4.3.0 or higher At least PNG Compiled in PHP5. Copyright 2008 ZABBIX SIA Page 58 of 259 . php-sqlite3 PHP BC math GD Version Image formats Any 2. Module php-gd. One of the following modules Oracle. php-sqlora8. phpSQLite pgsql.ini: max_execution_time = 300 Memory 8MB PHP post max 8MB size PHP max 300 seconds execution time PHP database One of: MySQL.ZABBIX Manual v1.ini: memory_limit = 128M In php.ini: post_max_size = 8M In php. must be installed: support PostgreSQL.0 Description In php.6 Step 3 Make sure that all software pre-requisites are met.
ZABBIX database must already be created. Copyright 2008 ZABBIX SIA Page 59 of 259 .6 Step 4 Configure database settings.ZABBIX Manual v1.
Copyright 2008 ZABBIX SIA Page 60 of 259 .6 Step 5 Enter ZABBIX Server details.ZABBIX Manual v1.
Copyright 2008 ZABBIX SIA Page 61 of 259 .ZABBIX Manual v1.6 Step 6 See summary of settings.
ZABBIX Manual v1.6 Step 7 Download configuration file and place it under conf/. Copyright 2008 ZABBIX SIA Page 62 of 259 .
ZABBIX Manual v1.6
Step 8
Finishing installation.
Copyright 2008 ZABBIX SIA
Page 63 of 259
ZABBIX Manual v1.6
Step 9
For distributed monitoring only!
If used in a distributed environment you have to run: shell> ./zabbix_server –n <nodeid> where Node ID is an unique Node identificator. For example: shell> ./zabbix_server –n 1 This will convert database data for use with Node ID '1' and also adds a local node.
Copyright 2008 ZABBIX SIA
Page 64 of 259
ZABBIX Manual v1.6
Step 10
ZABBIX frontend is ready! Default user name is 'Admin', password 'zabbix'.
Copyright 2008 ZABBIX SIA
Page 65 of 259
ZABBIX Manual v1.6
The upgrade procedure is quite simple. New binaries and frontend should be installed according to latest installation instructions. In order to update database structure, the following steps should be performed. The upgrade process can take from 0 seconds (if no patches required) to several hours. Note that before applying database patches, all ZABBIX processes must be stopped. Database upgrade is usually required for upgrade from one major stable release to another. For example, from 1.4.x to 1.6.x. For production installations a database backup is required!
2.5.1.Database upgrade
Go to the upgrades/dbpatches directory. In this directory are subdirectories named according to a version upgrade (e.g. 1.0beta3_to_1.0beta4). Enter the directory corresponding to your upgrade (if you are upgrading through multiple versions, you will need to apply the upgrades one at a time). Depending on which database you use: shell> cd mysql; cat patch.sql |mysql zabbix -u<username> -p<password> or shell> cd postgresql; cat patch.sql|psql -U <username> zabbix Do not forget to upgrade PHP front-end files. Finally, read version specific notes below for any extra procedures and useful information.
Copyright 2008 ZABBIX SIA
Page 66 of 259
ZABBIX Manual v1.6
3.ZABBIX Processes
3.1.ZABBIX Server
ZABBIX Server is a central process of ZABBIX software. ZABBIX Server can be started by executing: shell> cd bin shell> ./zabbix_server ZABBIX Server runs as a daemon process. ZABBIX Server accepts the following command line parameters: -c --config <file> -h --help -v --version specify configuration file, default is /etc/zabbix/zabbix_server.conf give this help display version number
In order to get this help run: shell> zabbix_server -h Example of command line parameters: shell> zabbix_server –c /usr/local/etc/zabbix_server.conf shell> zabbix_server --help shell> zabbix_server -v The configuration file contains parameters for zabbix_server. The file must exist and it should have read permissions for user 'zabbix'. Supported parameters: Parameter AlertScriptsPath DBHost
Copyright 2008 ZABBIX SIA
Mandatory No Yes
Default value
/home/zabbix/bin Location of scripts for userdefined media types. Database 'zabbix'. name. Usually
Page 67 of 259
If password is not used.ZABBIX Manual v1. It must have setuid flag set. conf Include No - ListenIP No - Interface to listen by trapper processes. for / Location of scripts etc/zabbix/extern external checks. one of 0 – none 1 – critical 2 – errors 3 – warnings 4 – debug DBPassword No NULL DBUser DebugLevel No No NULL 3 DisableHouseke eping ExternalScripts No No 0 If set to 1. If PostgreSQL is used set the value to 24 as it will perform command VACUUM. housekeeper will be disabled. Used for non-TCP connection to MySQL database. Trapper will listen Page 68 of 259 Copyright 2008 ZABBIX SIA . Debug level.6 Parameter DBName DBSocket Mandatory Yes No Default value - Description Database 'zabbix'. Number of parameters Include is not limited. User name for connecting to the database. Use this parameter to include a file into the configuration file.sock Database password. For example: Include=/etc/zabbix/db_conn. The parameter defines how often the daemon must perform housekeeping procedure (in hours). Example: /tmp/mysql. then this parameter must be commented. alscripts /usr/sbin/fping 1 FpingLocation HousekkepingFr equency No No Location of ICMP pinger. Usually DB socket name. name.
This parameter controls log rotation setting for LogFile. Number of pollers to start (0-255). syslog is used. The parameter defines how often the daemon must try to send alerts (in seconds) Number of discoverers to start (0-255). this ListenPort LogFile LogFileSize No No No 10051 1 Port number to listen by trapper processes.6 Parameter Mandatory Default value Description to all interfaces if parameter is not set. Number of HTTP pollers to start (0-255). If set to '1' local history won't be sent to master node. This parameter is in MB.pid 30 PingerFrequenc y SenderFrequenc y StartDiscoverers StartHTTPPoller s StartPollers StartPollersUnre achable StartTrappers Timeout Copyright 2008 ZABBIX SIA No ZABBIX server ping servers once per PingerFrequency seconds (1-3600). Must be '0' or missing for standalone ZABBIX Server.ZABBIX Manual v1. Name of file to store PID NodeNoEvents NodeNoHistory PidFile No No No 0 0 / tmp/zabbix_serv er. By default. If set to 0. Number of trappers to start (0-255) Do not spend more than Page 69 of 259 No 30 No No No No 1 5 5 1 No No 5 5 . no log rotation will be performed. NodeID No 0 Unique NodeID (0-999). Number of pollers for unreachable hosts to start (0-255). If not set. ZABBIX automatically roatates log file when it reaches 1MB. Name of log file. If set to '1' local events won't be sent to master node.
ZABBIX Manual v1.2.ZABBIX Proxy ZABBIX Proxy is a process which collects performance and availability data from one or more monitored devices and sends the information to a ZABBIX Server. ZABBIX Proxy accepts the following command line parameters: -c --config <file> -h –help -v --version specify configuration file. change host status to Unavailable UnavailableDela y UnreachableDel ay UnreachablePeri od No No No 60 15 45 3.conf give this help display version number In order to get this help run: Copyright 2008 ZABBIX SIA Page 70 of 259 . default is /etc/zabbix/zabbix_proxy.6 Parameter Mandatory Default value Description Timeout seconds on retrieving requested value (1-30) Note: Example of the configuration file can be found at misc/conf/zabbix_server. ZABBIX Proxy can be started by: shell> cd sbin shell> .conf TrapperTimeout No 5 Do not spend more than Timeout seconds on processing of traps (1-255) How ofter try to connect to unavailable host How often try to connect to unreachable host If a host was unreachable for more than UnreachablePeriod seconds./zabbix_proxy ZABBIX Proxy runs as a daemon process.
conf shell> zabbix_proxy --help shell> zabbix_proxy -v The configuration file contains parameters for zabbix_proxy.ZABBIX Manual v1. The file must exist and it should have read permissions for user 'zabbix'. Possible values 1-3600 seconds. Usually Usually No 10 Yes Yes No - DB socket name. Unique proxy name. It must have setuid flag set. Example: /tmp/mysql. The name is used to identify proxy on server side.sock Debug level. name. It must have setuid flag set. Database 'zabbix'. name. Used for non-TCP connection to MySQL database. Supported parameters: Parameter ConfigFrequenc y DataSenderFreq uency DBHost DBName DBSocket Mandatory No Default value 3600 (1 hour) Description How often proxy refreshes configuration data in seconds. Database 'zabbix'. Location of ICMP pinger for TCP6. Page 71 of 259 Hostname Yes - Copyright 2008 ZABBIX SIA . one of 0 – none 1 – critical 2 – errors 3 – warnings 4 – debug DebugLevel No 3 FpingLocation Fping6Location No No /usr/sbin/fping /usr/sbin/fping6 Location of ICMP pinger. Proxy will send collected data every N seconds.6 shell> zabbix_proxy -h Example of command line parameters: shell> zabbix_proxy –c /usr/local/etc/zabbix_proxy.
The parameter defines how often the daemon must perform housekeeping procedure (in hours). Proxy will keep data N hours in case if no connectivity with ZABBIX Server.6 Parameter HeartbeatFreque ncy Mandatory No Default value 60 Description Frequency of heartbeat messages in seconds. no log rotation will be performed. Port number to listen by trapper processes. Name of log file. HousekeepingFr equency No 1 ListenIP No - ListenPort LogFile LogFileSize No No No 10051 1 PidFile No / tmp/zabbix_serv er. heartbeat messages will be disabled. Interface to listen by trapper processes. The Proxy will connect to this server port. If set to 0. syslog is used. ZABBIX automatically roatates log file when it reaches 1MB. If PostgreSQL is used set the value to 24 as it will perform command VACUUM. This parameter controls log rotation setting for LogFile. By default. This parameter is in MB. This parameter may be used if local data is used by third party applications. DNS name or IP address of ZABBIX server thr proxy will report to. Trapper will listen to all interfaces if this parameter is not set. If not set.ZABBIX Manual v1. Page 72 of 259 ProxyOfflineBuff er No 1 Server Yes 30 ServerPort No 10051 Copyright 2008 ZABBIX SIA .pid 0 Name of file to store PID ProxyLocalBuffe r No Proxy will keep data locally for N hours. If set to 0. Older data will be lost.
3. Do not spend more than Timeout seconds on retrieving requested value (1-255) Do not spend more than Timeout seconds on processing of traps (1-255) How ofter try to connect to unavailable host How often try to connect to unreachable host If a host was unreachable for more than UnreachablePeriod seconds. Number of ICMP pingers to start (0-255). standalone daemon) ZABBIX UNIX Agent runs on a host being monitored. Number of HTTP pollers to start (0-255).6 Parameter StartDiscoverers StartHTTPPoller s StartPingers StartPollers StartPollersUnre achable StartTrappers PingerFrequenc y Timeout Mandatory No No No No No Default value 1 5 1 5 1 Description Number of discoverers to start (0-255). Number of pollers to start (0-255). Number of trappers to start (0-255) ZABBIX server ping servers once per PingerFrequency seconds (1-3600). Number of pollers for unreachable hosts to start (0-255). ZABBIX Agent processes items of type 'ZABBIX Agent' or 'ZABBIX Agent (active)'. The agent provides host's performance and availability information for ZABBIX Server. ZABBIX Agent can be started by executing: Copyright 2008 ZABBIX SIA Page 73 of 259 . change host status to Unavailable No No 5 30 No 5 TrapperTimeout No 5 UnavailableDela y UnreachableDel ay UnreachablePeri od No No No 60 15 45 3.ZABBIX Manual v1.ZABBIX Agent (UNIX.
The file must exist and it should have read permissions for user 'zabbix'.ZABBIX Manual v1.6 shell> cd bin shell> . default is /etc/zabbix/zabbix_agentd. Supported parameters: Parameter BufferSize Mandatory No Default value 3 Description Debug level: 0 – none 1 – critical 2 – errors 3 – warnings 4 – debug Copyright 2008 ZABBIX SIA Page 74 of 259 . ZABBIX Agent accepts the following command line parameters: -c --config <file> -h --help -v --version -p --print -t --test <metric> specify configuration file.avg1]" The configuration file contains configuration parameters for zabbix_agentd.conf give this help display version number print supported metrics and exit test specified metric and exit In order to get this help run: shell> zabbix_agentd –h Example of command line parameters: shell> zabbix_agentd –c /usr/local/etc/zabbix_agentd.cpu./zabbix_agentd ZABBIX Agent runs as a daemon process.conf shell> zabbix_agentd --help shell> zabbix_agentd --print shell> zabbix_agentd –t "system.load[all.
ZABBIX server will be able to send commands for execution by the agent. Enable remote commands. Port number to listen. If not set. DisablePassive No 0 EnableRemoteC ommands No 0 Hostname No System hostname. For example: Include=/etc/zabbix/user_par ameters. This parameter controls log rotation setting for LogFile. ZABBIX automatically roatates log file Page 75 of 259 ListenPort LogFile LogFileSize No No No 10050 1 Copyright 2008 ZABBIX SIA . Name of log file. The hostname is used for active checks only. Unique host name. Useful if the host has multiple interfaces. The agent will not listen TCP port. Number of parameters Include is not limited. Disable processing of passive checks.conf ListenIP No - IP address to bind agent to.hostname) is used. Set this parameter to '1' if you use active checks only. syslog is used. The agent will not connect to ZABBIX server to get list of active items if set to '1'. If missing.ZABBIX Manual v1. By default. Include No - Use this parameter to include a file into the configuration file. system hostname (system.6 Parameter DebugLevel Mandatory No Default value 3 Description Debug level: 0 – none 1 – critical 2 – errors 3 – warnings 4 – debug DisableActive No 0 Disable processing of active checks.
Example:UserParameter=use rs.who|wc -l Note: Example of the configuration file can be found at misc/conf/zabbix_agentd. This parameter is in MB. The file must exist and it should have read permissions for user 'zabbix'.4. The agent will connect to this server port for processing active checks. The agent does not kill timeouted User Parameters processes! User-defined parameter to monitor. Supported parameters: Copyright 2008 ZABBIX SIA Page 76 of 259 . Do not spend more than Timeout seconds on getting requested value (1-255). If set to 0.con f. Connections from other IP addresses will be rejected. no log rotation will be performed. - ServerPort No 10051 StartAgents Timeout No No 5 3 UserParameter No - 3.pid 120 Name of PID file. This can be port of ZABBIX Server or a Proxy. Number of agents to start. There can be several user-defined parameters. Inetd version) The file contains configuration parameters for zabbix_agent. Comma-delimited list of IP addresses of ZABBIX servers or Proxies. Value has form . PidFile No / tmp/zabbix_age ntd.ZABBIX Agent (UNIX.ZABBIX Manual v1.6 Parameter Mandatory Default value Description when it reaches 1MB. RefreshActiveCh No ecks Server Yes The agent will refresh list of active checks once per 120 (default) seconds.
0. Example:UserParameter=us ers. Create configuration file c:/zabbix_agentd. Connections from other IP addresses will be rejected. Do not spend more than Timeout seconds on getting requested value (1-255).5. and Windows Vista.conf (it has the same syntax as UNIX agent). 3.6 Parameter Server Mandatory Yes Default value - Description Comma-delimited list of IP addresses of ZABBIX Servers or Proxies. There can be several user-defined parameters. It will work on Windows NT 4. Step 2 Install agent as a Windows service.ZABBIX Manual v1. The agent does not kill timeouted User Parameters processes! User-defined parameter to monitor.conf configuration file can be found at 3.1. Windows XP. Copyright 2008 ZABBIX SIA Page 77 of 259 .who|wc -l Timeout No 3 UserParameter No - Note: Example of the misc/conf/zabbix_agent. Windows 2000.Installation Installation is very simple and includes 3 steps: Step 1 Create configuration file.ZABBIX Agent (Windows) Zabbix_agentd is ZABBIX agent for Win32/64 systems.5.
Display help information. Microsoft Knowledge Base article number 284996 describes this in detail and contains a download link.aspx?scid=kb.en-us.exe --start Note: Windows NT 4.exe [-Vhp] [-idsx] [-c <file>] [-t <metric>] ZABBIX Windows Agent accepts the following command line parameters: Options: -c --config <file> -h --help -V --version -p --print Copyright 2008 ZABBIX SIA Specify alternate configuration file (default is c:\zabbix_agentd.com/default. Zabbix_agentd. Print list of supported checks (metrics) and Page 78 of 259 . Display version number.DLL is needed.284996 3.exe --config <your_configuration_file> install Full path to configuration file should be specified. Now you can use Control Panel to start agent's service or run: zabbix_agentd. This DLL is not supplied with Windows NT 4.0 note.2. so you need to download and install it by yourself.conf.exe uses PDH (Performance Data Helper) API to gather various system information. you should use the following command for service installation: zabbix_agentd. You can find this article at http://support. so PDH.Usage Command line syntax: zabbix_agentd.6 zabbix_agentd.0.microsoft.ZABBIX Manual v1. Step 2 Run agent.conf).exe --install If you wish to use configuration file other than c:\zabbix_agentd.5.
Stop ZABBIX agent service. It can be useful to substitute long and complex parameter name with a smaller and simpler one. Uninstall ZABBIX agent service.ZABBIX Manual v1. Debug level. you may use parameter "perf_counter[\Paging File(_Total)\% Usage]". The configuration file (c:/zabbix_agentd. Start ZABBIX agent service. For example. -t –test <metric> Functions: -i --install -d --uninstall -s --start -x --stop Install ZABBIX agent as a service. You can specify as many "Alias" records as you wish.6 exit.exe. one of 0 – none 1 – critical Copyright 2008 ZABBIX SIA Page 79 of 259 DebugLevel No 3 . Supported parameters: Parameter Alias Mandatory No Default value Description Sets the alias for parameter. if you wish to retrieve paging file usage in percents from the server.conf) contains configuration parameters for Zabbix_agentd. or you may define an alias by adding the following line to configuration file: Alias = pg_usage:perf_counter[\Pagi ng File(_Total)\% Usage] After that you can use parameter name "pg_usage" to retrieve the same information. Please note that aliases cannot be used for parameters defined in "PerfCounter" configuration file records. Test single check (metric) and exit.
Sets maximum acceptable processing time of one data sample by collector thread (in milliseconds).6 Parameter Mandatory Default value Description 2 – errors 3 – warnings 4 – debug Include No - Use this parameter to include a file into the configuration file."<perf_c ounter_path>".<period> Defines new parameter <parameter_name> which is an average value for system performance counter <perf_counter_path> for the specified time period <period> (in seconds). Controls logging of unresolved symbols during agent startup. if you wish to receive average number of processor interrupts per second for last minute. warning message will be written to the log file. syslog is used. For example. conf ListenPort LogFile LogUnresolvedS ymbols No No No 10050 - Port number to listen. <parameter_name>. Name of log file.ZABBIX Manual v1. Number of parameters Include is not limited. For example: Include=c:\user_parameters. If processing time will exceed specified value. Values can be strings 'yes' or 'no' (without quotes). If not set. you can define new parameter "interrupts" as following: MaxCollectorPro cessingTime No 100 NoTimeWait PerfCounter No No - Copyright 2008 ZABBIX SIA Page 80 of 259 . The parameter has no effect.
There can be several user-defined parameters. PidFile Server No Yes - The parameter has no effect. ZABBIX Sender can be started by executing: shell> cd bin shell> ."\Processor(0)\Inter rupts/sec"./zabbix_sender –z zabbix –p 10051 –s LinuxDB3 –k db.6. Do not use spaces around pipe ('|') characters! Example:UserParameter=test .ZABBIX Sender (UNIX) ZABBIX UNIX Sender is a command line utility which may be used to send performance data to ZABBIX Server for processing.echo 1 StartAgents UserParameter No No - 3. You may run typeperf –qx to get list of all performance counters available in Windows. Samples for calculating average value will be taken every second. The parameter has no effect.<shell command>.6 Parameter Mandatory Default value Description PerfCounter = interrupts. Connections from other IP addresses will be rejected. User-defined parameter to monitor. Comma-delimited list of IP addresses of ZABBIX servers.ZABBIX Manual v1.connections –o 43 Copyright 2008 ZABBIX SIA Page 81 of 259 . Value has form <key>.60 Please note double quotes around performance counter path. The utility is usually used in long running user scripts for periodical sending of availability and performance data.
cpu./zabbix_get -s127. Specify value of the key. Default is 10051.load[all. Specify host name or IP address of a host. Specify metric name (key) we want to send.7.0.1 -p10050 -k"system. The utility is usually used for troubleshooting of ZABBIX Agents. ZABBIX Get can be started by executing: shell> cd bin shell> .6 ZABBIX Sender accepts the following command line parameters: -z --zabbix-server Hostname or IP address of ZABBIX Server. <input file> -h --help -v --version Give this help.avg1]" ZABBIX Get accepts the following command line parameters: -p --port number> <port Specify port number of agent running on the host. Default is 10050. Host IP address and DNS name will not work. Display version number. <zabbix server> -p --port <zabbix Specify port number of server trapper server port> running on the server.ZABBIX Get (UNIX) ZABBIX UNIX Get is a process which communicates with ZABBIX Agent and retrieves required information.ZABBIX Manual v1. -i --input-file Load values from input file. Specify metric name (key) we want to Page 82 of 259 -s –host <host name or IP> -k –key <key of Copyright 2008 ZABBIX SIA . -s --host <host name or IP> -k --key <key of metric> -o --value <value> Specify host name.0. In order to get this help run: shell> zabbix_sender -h 3.
6 metric> -h --help -v --version retrieve. Give this help.ZABBIX Manual v1. In order to get this help run: shell> zabbix_get -h Copyright 2008 ZABBIX SIA Page 83 of 259 . Display version number.
512MB. SATA If you have difficulties choosing between Linux and other OS.3. Intel P4/1.1. go for the following Linux distributions. you will get better support: Debian Linux RedHat Linux SuSE Linux Ubuntu Linux 4.General Configuration 4.Authentication ZABBIX supports three sources of user authentication: – – – ZABBIX database external LDAP server Apache authentication By default.Development Environment Ubuntu Linux is used as a primary development platform for ZABBIX. ZABBIX password are authorized against ZABBIX database.2.4.1. 2GB.1.13 GHz.6 4. Intel PII/350Mhz.Administration 4. Intel Core2 6400 2.6Mhz. AMD Athlon 64 3200+. Four servers are used for test purposes: Debain Linux 2.ZABBIX Manual v1. 4. 2GB. IDE Ubuntu 6.06. SATA Ubuntu 6. IDE SuSe 8.Actions Copyright 2008 ZABBIX SIA Page 84 of 259 .1.2.10.Configuration 4. 192MB.
ZABBIX Manual v1. Currently two sources are supported: Triggers – events generated by trigger status changes Discovery – events generated by auto-discovery module Type of calculation Rule for calculation of conditions: AND – actions are executed if an event matches all conditions OR – actions are executed if an event matches at least one condition AND/OR . 4.action is executed if an events matches all conditions having different types.Action conditions An action is executed only in case if an event matches defined set of conditions. Number of repeated messages to send. Subject of the message.6 ZABBIX reacts to events by executing set of operations. User group.4. If an action contains several conditions of the same type. Delay (in seconds) message. The message itself. Send message either to User group or Single user. at least one condition with this type must be true. ZABBIX stops sending repeated messages if the trigger changes its status. The message will be sent to this user. Conditions Send message to Group User Subject Message Repeat Number of repeats Delay between repeats Status List of conditions for activation of the action.1. Copyright 2008 ZABBIX SIA Page 85 of 259 . An action can be defined for any event or set of events generated by ZABBIX. The message may contain macros. The subject may contain macros as well. before sending next repeat Action status: Enabled. Send repeat messages. Disabled. The message will be sent to all users of this group. Execute command Source of event. Action attributes: Parameter Action type Event Source Description Type of action: Send message.
equal to trigger severity <> .event did not come from this Host Group Host =. which is part of the Application containing the String not like . = . like. not like Description = .event did not come from this Host Trigger =. = .not equal to trigger severity >= . Case sensitive. which is part of the Application not containing the String Host group =. like – String can be found in Trigger Name. not like Compare against Trigger Name which generated event. <>.event generated by this Trigger <> .event came from this Host <> . which is part of the Application like . Case sensitive.event came from Trigger. >=.event generated by other Trigger Trigger name like.6 The following conditions can be defined for Trigger based events: Condition type Application Supported operators =. = .event came from this Host Group <> .equal to trigger value (ON or OFF) Event is within time period. not like – String cannot be found in Trigger Name. <> Compare against Host having a trigger which generated event. <> Compare against generated event. Trigger severity =. <= Compare with Trigger Severity.event came from Trigger.event came from Trigger. Page 86 of 259 .more or equal to trigger severity <= . = . Trigger which = .less or equal to trigger severity Trigger value Time period in Copyright 2008 ZABBIX SIA = in Compare with Trigger Value. <> Compare against Host Group having a trigger which generated event.ZABBIX Manual v1.
dddd. and TRUE->UNKNOWN->FALSE as TRUE->FALSE. <> Check if TCP port number of a discovered service is or is not in the range of ports. The following conditions can be defined for Discovery based events: Condition type Host IP Supported operators =. = .… Trigger value: Trigger changes status from FALSE to TRUE (trigger value is TRUE) Trigger changes status from TRUE to FALSE (trigger value is FALSE) Note: Status change FALSE->UNKNOWN->TRUE is treated as FALSE->TRUE.service port is in the range <> .Host IP is out of the range Service type =.ZABBIX Manual v1.6 Condition type Supported operators Description in – event time matches the time period Time period is given in format: dd-dd.hh:mm-hh:mm.service port is out of the range Discovery status = Up – matches Host Up and Service Up events Down – matches Host Down and Service Down events Copyright 2008 ZABBIX SIA Page 87 of 259 . <> Description Check if IP address of a discovered Host is or is not in the range of IP addresses.event came from a different service Service port =.Host IP is in the range <> . = .matches discovered service <> . <> Check if a discovered service. = .hh:mm:hh:mm.
<= Description Downtime for Host Down and Service Down events.2. String comparison. Uptime for Host Up and Service Up events. = .uptime/downtime is less or equal Parameter is given in seconds. Copyright 2008 ZABBIX SIA Page 88 of 259 .4.equal to the value <> .not equal to the value >= .6 Condition type Uptime/Downtime Supported operators >=.ZABBIX Manual v1. Received value = <> >= <= like not like Compare with value received from an agent (ZABBIX. SNMP). For example this set of conditions (calculation type: AND/OR): Host group = Oracle servers Host group = MySQL servers Trigger name like 'Database is down' Trigger name like 'Database is unavailable' is evaluated as (Host group = Oracle servers or Host group = MySQL servers) and (Trigger name like 'Database is down' or Trigger name like 'Database is unavailable') 4. >= .more or equal to the value <= .Operations Operation or a set of operations is executed when event matches conditions.less or equal to the value like – has a substring not like – does not have a substring Parameter is given as a string.uptime/downtime is more or equal <= .
ZABBIX Manual v1.6
ZABBIX supports the following operations: Send message Remote command(s) Additional operations available for discovery events: Add host Remove host Add to group Delete from group Link to template Unlink from template
4.4.3.Macros for messages and remote commands
The macros can be used for more efficient reporting. Example 1 Subject: {TRIGGER.NAME}: {TRIGGER.STATUS}
Message subject will be replaced by something like: 'Processor load is too high on server zabbix.zabbix.com: ON' Example 2 Message: Processor load is: {zabbix.zabbix.com:system.cpu.load[,avg1].last(0)} The message will be replaced by something like: 'Processor load is: 1.45' Example 3 Message: Latest value: {{HOSTNAME}:{TRIGGER.KEY}.last(0)} MAX for 15 minutes: {{HOSTNAME}:{TRIGGER.KEY}.max(900)}
Copyright 2008 ZABBIX SIA Page 89 of 259
ZABBIX Manual v1.6
MIN for 15 minutes: {{HOSTNAME}:{TRIGGER.KEY}.min(900)} The message will be replaced by something like: Latest value: 1.45 MAX for 15 minutes: 2.33 MIN for 15 minutes: 1.01
ZABBIX supports number of macros which may be used in various situations. Effective use of macros allows to save time and make ZABBIX configuration more transparent.
4.5.1.List of supported macros
The table contains complete list of macros supported by ZABBIX.
Can be used in MACRO DESCRIPTION
Trigger expressions
Trigger names Current date in yyyy.mm.dd. format. Escalation history. Log of previously sent messages. Age of the event. Useful in escalated messages. Date of the event. Numeric event ID which triggered this action. Time of the event.
Copyright 2008 ZABBIX SIA
Page 90 of 259
ZABBIX Manual v1.6
Hostname of first item of the trigger which caused a notification. IP address of first item of the trigger which caused a notification. X The latest value of first item of the trigger expression which caused a notification. Supported from ZABBIX 1.4.3. It is alias to {{HOSTNAME}: {TRIGGER.KEY}.last(0)}
Name of first item of the trigger which caused a notification. The latest value of Nth item of the trigger expression if used for displaying triggers. Historical (when event happenned) value of Nth item of the trigger expression if used for displaying events. Supported from ZABBIX 1.4.3. Contact from host profile. Device type from of host profile. Hardware from host profile. Name from host profile. Location from host profile. Mac Address from host profile. Notes from host profile. OS from host profile. Serial No from host profile. Software from host profile. Tag from host profile. Alias for {TRIGGER.STATUS}. Current time in hh:mm.ss. Trigger comment. Numeric trigger ID which triggered this action. Key of first item of the trigger which caused a notification. Name (description) trigger. of the
Copyright 2008 ZABBIX SIA
Page 91 of 259
ZABBIX Manual v1.6
Trigger severity. For example, 'Disaster'. Trigger state. ON - if trigger is in TRUE state, OFF - if trigger is in FALSE state. Trigger URL. X Current trigger value: 0 - trigger is in OFF state 1 – trigger is in ON state 2 – trigger UNKNOWN This macro can also be used in trigger expressions.
Simple macros as used in trigger expressions.
Application is asset of host items. For example, application 'MySQL Server' may contain all items which are related to the MySQL server: availability of MySQL, disk space, processor load, transactions per second, number of slow queries, etc. An item may be linked with one or more applications. Applications are used in ZABBIX front-end to group items.
User-defined graphs allow the creation of complex graphs. These graphs can be easily accessed via the menu item "Graphs".
Media is a delivery channel for ZABBIX alerts. None, one or more media types can be assigned to user.
Email notification
Copyright 2008 ZABBIX SIA
Page 92 of 259
ZABBIX Manual v1.6
Notifications using Jabber messaging.
Custom script. ZABBIX passes three command line parameters to the script: Recipient, Subject and Message.
4.8.4.GSM Modem
ZABBIX supports sending of SMS messages using Serial GSM Modem connected to ZABBIX Server's serial port. Make sure that: Speed of a serial device (normally /dev/ttyS0 under Linux) matches GSM Modem ZABBIX does not set speed of the serial link. It uses default settings. The serial device has read/write access for user zabbix. Run commans ls –l /dev/ttyS0 to see current permission of the serial device. GSM Modem has PIN entered and it preserves it after power reset. Alternatively you may disable PIN on the SIM card. PIN can be entered by issuing command AT+CPIN="NNNN" (NNNN is your PIN number, the quotes must present) in a terminal software, such as Unix minicom or Windows HyperTerminal. ZABBIX has been tested with the following GSM modems: Siemens MC35 Teltonika ModemCOM/G10
Host attributes: Parameter Name Groups New group DNS
Copyright 2008 ZABBIX SIA
Description Unique host name. The name must be unique within ZABBIX Node. List of host groups the host belongs to. Assign new host group. DNS name of the host. The name is used as a DNS
Page 93 of 259
Host templates Use of templates is an excellent way of making maintenance of ZABBIX much easier. Use standard ZABBIX port number 10050. If no ZABBIX agent is used. Copyright 2008 ZABBIX SIA Page 94 of 259 .10. Assign new host group to the template. IP address Connect to IP address. A template can be linked to a number of hosts. Items. Host template attributes: Parameter Name Groups New group Link with template Description Unique template (host) name.6 Parameter Description name for accessing host ZABBIX or SNMP agent or performing Simple Checks. triggers and graphs of the template will be automatically added to the linked hosts. Status Link with templates Use profile 4. DNS name – use DNS name for connections to the host IP address – use IP address for connections to the host (recommended) Port Port number of ZABBIX Agent running on this host. 4. one or more hosts. Change definition of a template item (trigger. The name must be unique within ZABBIX Node. Use host profile.ZABBIX Manual v1.Host groups Host group may have zero. List of host groups the template belongs to. graph) and the change will be automatically applied to the hosts. Used to create hierarchical templates.11. the port is ignored. Monitored – the host is monitored Not monitored – the host is not monitored Link host with one or many templates.
4. trigger dependencies. yet the trigger won't generate notifications and actions in case if one of the trigger in the list has state TRUE.e. How it works? A trigger may have list of one or more triggers it depends on. So. 4. It may contain macros: Page 95 of 259 . It means that the trigger will still change its status regardless of state of the triggers in the list. The server is behind the router.12.Items Item is a single performance or availability check. ZABBIX will not execute actions for trigger "The host is down". Item attributes: Parameter Description Copyright 2008 ZABBIX SIA Description Item description. Host dependencies can be defined using more flexible option. Example 1 Host dependency Suppose you have two hosts: a router and a server.6 Host group attributes: Parameter Group name Hosts Description Unique host group name. we create a trigger dependency: "The host is down" depends on "The router is down" In case if both the server and the router is down. The name must be unique within ZABBIX Node.13.ZABBIX Manual v1. List of hosts of this group. i.Host and trigger dependencies ZABBIX does not support host dependencies. we want to receive only one notification if the route is down: "The router is down" instead of: "The router is down" and "The host is down" In order to achieve this.
Must be set for keys log[]. Text – text of unlimited size Units If set. parameter is treated as number of seconds since 01/01/1970.6 Parameter Description $1 – first parameter of item key $2 – second parameter $N .M or G if required and the unit postfix to all received values (1024 is 1K). parameter is treated as number of seconds since 01/01/1970. s – translated to "yyymmmdddhhhmmm".ZABBIX Manual v1. Numeric (integer 64bit) – 64bit unsigned integer Numeric (float) – floating point number Character – character (string) data limited to 255 bytes Log – log file. if key type is ZABBIX Agent. hh:mm:dd". Simple check. For The key value must be supported by an agent or ZABBIX server.5KB Some units have special processing: b.dd hh:mm:ss" uptime – translated to "hh:mm:ss" or "N days. For example. Item key. the description will be automatically changed to "Free disk space on /" Type Key Item type. bps .mm. special processing for bits. unixtime – translated to "yyyy. or ZABBIX aggregate.Nth parameter For example: Free disk space on $1 If item key is "vfs. The key must be unique within a single host.fs. ZABBIX will display: 1 as 1B 1024 as 1KB 1536 as 1.free]". Type of information Type of received data.do not pre-process received values Custom multiplier – multiply received values by value defined in Custom multiplier Copyright 2008 ZABBIX SIA Page 96 of 259 . 2y10m14d3h54m1s Use multiplier Pre-process received values.size[/. if units set to 'B'. See sections below for detailed description of each type. Do not use . For example. ZABBIX Agent (active). ZABBIX will add prefix K.1000 is 1K.
Status Store value As is – no pre-processing Delta (speed per second) – evaluate value as (valprev_value)/(time-prev_time). ZABBIX will process this item. MBps.dd-dd. Older data will be removed by Housekeeper. This item will not be processed. 1-5.hh:mm-hh:mm. etc into B.6-7.7 . Refresh this item every N seconds.active (normal) status.09:00-18:00. 1-5. Active .Monday. Disabled – item is disabled.count) detailed history N days in the database. Otherwise default update interval will be used. M and G).ZABBIX Manual v1. Bps. Delta (simple change) prev_value). Not supported – item is not supported by ZABBIX or SNMP agent. …. Period format: dd-dd.avg.Sunday Keep history (in days) Keep trends (in days) Keep detailed history N days in the database. where value – current value – evaluate as (value- Copyright 2008 ZABBIX SIA Page 97 of 259 . however ZABBIX may try to periodically set status of such items to Active if configured.max.6 Parameter Description Use this option to convert values received in KB. where value – current value value_prev – previously received value time – current timestamp prev_time – timestamp of previous value This setting is extremely useful to get speed per second based on constantly growing value. Otherwise ZABBIX cannot correctly set prefixes (K. List of exceptions for Update Interval. Keep aggregated (hourly min. This item will not be processed.10:00-12:00 1. For example: 10 sec. Older data will be removed by Housekeeper.hh:mm-hh-mm For example.09:00-18:00 – refresh set to 10 seconds for working hours. Custom multiplier Update interval (in sec) Flexible intervals Multiply all received value by this integer or floatingpoint value.
fs. It works with integer items only. vfs. * is any string that will be passed as argument of the parameter. Copyright 2008 ZABBIX SIA Page 98 of 259 .free[/].free[*] is flexible parameter. Value mapping does not change received values. it is for displaying data only. Support of Novell parameters will be maintained.6 Parameter Show value Description value_prev – previously received value Apply value mapping to this item.' and ':' is not recommended and can be dropped in future releases. The table is valid for ZABBIX 1.free[/opt] .:-$<space> Note: Use of the '.fs.Supported by Platform Please consult ZABBIX Manual for Windows parameters. Applications Link item to one or more applications.2. vfs. Allowed characters The following characters are allowed: 0-9a-zA-Z_.correct definitions.. For example.fs.13.1.ZABBIX Manual v1.13. For example.Item key Flexible and non-flexible parameters Flexible parameter is parameter which accepts argument. 4. "Windows service states". 4. vfs.1beta3 and higher.
ZABBIX Manual v1.if.listen[port] net.tcp.mode>] bytes mode packets errors dropped net.if.ip> <.version kernel.mem[<name><.out[<if><.in[<if><.mode>] bytes mode packets errors dropped net.perf[service<.ping agent.>zone] net.mode><.ip><.if.user> <.service.service[service<.tcp.tcp.tcp.port[<ip.dns[<ip.port >] proc.maxproc net.>port] net.port>] X X X - X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X - X X X X X X X X X X net.maxfiles kernel.tcp.6 Linux 2.collisions[<if>] net.6 FreeBSD HP-UX AIX Windows Solaris Tru64 X X X X X X X - Parameter system agent.cmdline>] - Copyright 2008 ZABBIX SIA Page 99 of 259 Mac OS/X .4 Linux 2.
mode>] avg1 mode avg5 avg15 system.6 Linux 2.switches system.util[<cpu><.cpu.state><.4 Linux 2.cmdline>] all state sleep zomb run system.ZABBIX Manual v1.6 FreeBSD HP-UX AIX Windows Solaris Tru64 X X X X X X X X X - Parameter system sum mode avg max min proc.mode>] X X X X X X X X X X X X X X X X X X X - X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X - X X X X X X X X X - Copyright 2008 ZABBIX SIA Page 100 of 259 Mac OS/X .type> <.num system.cpu.cpu.intr system.num[<name><.load[<cpu> <.cpu.cpu.boottime system.user> <.
mode>] mode system.ZABBIX Manual v1.size[<swap><.swap.6 FreeBSD HP-UX AIX Windows Solaris Tru64 X X X X X X - Parameter system user nice idle type system kernel wait interrupt avg1 mode avg5 avg15 system.swap.run[command<.type>] type count pages system.4 Linux 2.hostname system.type>] type count pages wait nowait X X X X X - X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X - X X X X X - X X X X X system.in[<swap><.out[<swap><.6 Linux 2.localtime system.type>] X Copyright 2008 ZABBIX SIA Page 101 of 259 Mac OS/X .swap.
uptime system.uname system.read[device<.mode>] sectors operations type bytes ops bps X X - X X X X X X X X X - X X X X X X X X X - X X X X X X X X X X X X X X X X X X X X X - X X - X X - Copyright 2008 ZABBIX SIA Page 102 of 259 Mac OS/X .6 FreeBSD HP-UX AIX Windows Solaris Tru64 X X X X - Parameter system mode free total - X X X X X X X X - - system.write[device<.dev.users.ZABBIX Manual v1.type> <.4 Linux 2.6 Linux 2.num vfs.type> <.mode>] sectors operations type bytes ops bps avg1 mode avg5 avg15 vfs.dev.
file.file.time[file<.size[fs<.file. user] vfs.regexp[file.exists[file] vfs.file.cksum[file] vfs. user] vfs.mode>] modify mode access change vfs.6 Linux 2.ZABBIX Manual v1.file.4 Linux 2.file.size[file] vfs.file.mode>] total free mode used pfree pused vfs.md5sum[file] vfs.regmatch[file.mode>] X X X X - X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X Copyright 2008 ZABBIX SIA Page 103 of 259 Mac OS/X .file.6 FreeBSD HP-UX AIX Windows Solaris Tru64 X X X X X X X X X X X X X X X X X - Parameter system avg1 mode avg5 avg15 vfs.file.inode[fs<.
3.free[/opt] .:.memory.fs. For example.fs.ZABBIX Manual v1.correct definitions.free[*] is flexible parameter.()_/[space] List of supported parameters ZABBIX AGENT Copyright 2008 ZABBIX SIA Page 104 of 259 Mac OS/X .fs.free[/]. String between [] may contain the following characters: 0-9a-zA-Z. * is any string that will be passed as argument of the parameter. vfs.6 Linux 2. vfs.4 Linux 2. vfs.6 FreeBSD HP-UX AIX Windows Solaris Tru64 X X X X X X X - Parameter system total free mode used pfree pused vm.size[<mode>] total free mode shared buffers cached X - X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X - X X X X X X X X X X X X X X X X X X X X X X 4.13.ZABBIX Agent Flexible and non-flexible parameters Flexible parameter is parameter which accepts argument.
if. file – full file name regexp – expression Number collisions. Out-of-window collision.if.if.interface mode – bytes number bytes (default) of packets number of packets errors errors number of dropped number of dropped packets net.in[if <.2 Check the Always agent '1'.interface mode – bytes number bytes (default) of Examples: net.ping Description Return value Parameters Comments Can be used as a TCP ping. Active of kernel. of if . Monitoring log file. Integer. if . opened files supported by OS.out[eth0] packets number of packets errors errors Copyright 2008 ZABBIX SIA number You may use this key with Delta (speed per of second) in order to get bytes per second statistics.errors] net. availability. Network interface incoming statistic. if .if. Number of processes.version - kernel. number of Integer. Example of returned value: 1.6 Key agent.mode>] of Log. by Integer.out[if <.maxproc log[file<.ZABBIX Manual v1. Integer.mode>] Network interface outgoing statistic.3.interface regual Must be Check. Page 105 of 259 . Integer.if.out[eth0.maxfiles Maximum Number of files. Maximum number processes supported OS. of String return - agent.collisions[ if] net. Version ZABBIX Agent.regexp >] net.
it is not port . zone] Checks if DNS 0 .0. perf[service <. ftp. 1 .80] can be used to test port .6 Key Description Return value Parameters dropped number of dropped packets Comments net. tcp running ip .0.IP address connecting to (default is 127.user> <.1) connecting to the service port .dns[127.one of ssh. ip address(default 127.tcp.port number (by default standard service port number is used) 0 .service[ftp.0.tcp.port number availability of WEB server running on port 80.tcp.IP address of DNS server (ignored) Example: net.0.tcp.1) IP Example: is net. Old naming: check_service[*] net. Old naming: check_port[*] if net.tcp. LISTEN state Check. tcp seconds spent while ip .listen[80] net.IP address 2 timeout (default is 127.service.service. ldap. 1 .0.zone to test zabbix. pop.service is service .com] the DNS Example: net.port[. down service.0.number of nntp.mode><.p erf[ssh] can be used to test speed of initial response from SSH server. imap.mem[. port] Checks if this 0 .ntp. Old check_service[*] naming: proc.dns[ip. zone .service is nntp.ip> service running and <.service[ Check is service <. smtp. http.port number port is in 1 .port>] Check performance of service Example: net.ZABBIX Manual v1.1. smtp. imap. name name running user .tcp.cmdli ne>] Memory used Memory used name process by process by process.0. 45] can be used to test availability of FTP server on TCP port 45.can connect connection to port number port.1) the service port . sec .DNS is down service is up. 0 .root] memory used by all processes running Page 106 of 259 Copyright 2008 ZABBIX SIA . http.ip> <. if it is 0 cannot possible to connect make TCP 1 .mem[<na me> <.DNS is up ip .it is in LISTEN state.port[<ip >.listen[p ort] net. down service.port number (by default standard service port number is used) Example: net.one of ssh.0..tcp.tcp.tcp. pop. ldap.tcp.user name under user (default is all users) Example: proc. ftp.ntp.service is service .port>] accepting TCP connections.
Integer.filter by under user www-data command line proc.mem[zabbix_ser (default) ver.memory cmdline . avg15 Note that returned value is not percentage.oracleZABBIX] memory used by most memory hungry process running under oracle having oracleZABBIX in its command line proc.one of avg1 (default). system. name having state running under user user of name name - process Example: proc. sum proc.user name number of processes (default is all users) running under user mysql state .cpu.num[. proc.ma x.one of all (default). system boot.6 Key Description user Return value Parameters Comments mode .mode>] Device interrupts. Page 107 of 259 Copyright 2008 ZABBIX SIA .one of avg.number of apache2 running cmdline . min. max.cmdli ne>] Number of Number processes processes.cpu.mysql] user .zabbix] . under user "root".user> <. CPU(s) load.oracle. cpu .oracleZABBIX] number of processes in sleep state running under oracle having oracleZABBIX in its command line system.loa d[<cpu> <.filter by used by all processes command line zabbix_server running under user zabbix proc.num[.w zomb ww-data] .avg5 (average within 5 minutes). Time is seconds.oracle.state><. Float. sleep.CPU number (default is all CPUs) Example: Timestamp of Integer.cpu. Processor load.intr system.slee p.load[] mode .num[<nam e> <.num[apache2.mem[.boottim e system. run.ZABBIX Manual v1.
one of wait directory.swap.nu m Number CPUs.one of avg1 (default).ZABBIX Manual v1. Old naming: system[switches] Old naming: system. number of swapins).localtim e system. host String value Example of returned value www. system.avg5] minutes).type> utilisation.cpu.user (average within 5 .cpu. system.util[ CPU(s) <cpu> <.cpu.byte s] Old naming: Page 108 of 259 local Time seconds. system.loadX system.zabbix. agent configuration file must have EnableRemoteComm ands=1 option. Switches count.type>] Return name.mode> ] Run specified Text result of command on the command the host. Swap in.idleX.cpu.cpu. pages (pages swapped in) Example: system.num system.avg5 system. type . System time.run[ls -l /] detailed file list of root mode . (default.userX system Example: mode .com in device .in[. wait end of execution). system.cpu.systemX.mode>] system. type one of count (default. of Number of available proccessors. avg15 command command execution . <.in [<device> <.swi tches Context switches.6 Key Description Return value Parameters Comments Old naming: system. user (default).niceX.swap. system.cpu.CPU number in percents (default is all CPUs) Example: system.hostna me system.Example: for system.util[0.one of idle.swap device (default is all).cpu. Swap statistics Copyright 2008 ZABBIX SIA . nice.cpu.run[co mmand<. nowait Note: (do no wait) To enable this functionality.cpu. Processor load cpu .
4RELEASE #0: Tue Sep 18 11:57:08 PDT 2001 firstname.lastname@example.com es] Old naming: swap[out] Example: system. percentage).uname Returns detailed host information.type>] Swap in. system.write[. pfree (free swap space.disk device (default is all).total Example of returned value: FreeBSD localhost 4. Disk read statistics. type one of count (default.swap.disk device (default is all).dev.read[.operatio ns] Old naming: io[*] Example: vfs.operatio ns] Old naming: io[*] Example of returned value: 1938292000 Page 109 of 259 vfs. Numeric value vfs. Number of bytes or percentage device .Free BSD.swap.mode>] Swap space. system.dev.si ze[<device> <.o ut[<device> <.org: /usr/src/sys/compile/ GENERIC i386 Use Units s or uptime to get readable values.write[de vice <. Number of users connected. Swap statistics system. type one of sectors (default). type one of sectors (default). operations device .size[.swap device (default is all).n um vfs.4-RELEASE FreeBSD 4. free swap space). number of swapouts).dev.swap.pfr ee] .read[de vice <. Command who is used on agent side.swap.swap device (default is all).percentage of free swap space Old naming: system.out[.ZABBIX Manual v1.file.uptime system.dev. pages (pages swapped out) device . total (total swap space). type one of free (default.swap. operations file .type>] Disk write statistics. percentage) Example: system. pused (used swap space.users.6 Key Description Return value Parameters Comments swap[in] system.cksum[fi le] Calculate file check sum File check sum calculated by algorithm used Copyright 2008 ZABBIX SIA .full path to file Example: vfs. String value system. Number of seconds Number of users Numeric value device .type>] System's uptime in seconds.swap.
ZABBIX Manual v1.6
Return value by UNIX cksum.
Comments Example: vfs.file.cksum[/etc/pa sswd] Example: vfs.file.exists[/tmp/ap plication.pid] Example of returned value: b5052decb577e0fffd 622d6ddc017e82 Example: vfs.file.md5sum[/etc/z abbix/zabbix_agentd. conf] Example: vfs.file.regexp[/etc/pa sswd,zabbix] Example: vfs.file.regexp[/var/lo g/app.log,error] File must have read permissions for user zabbix Example: vfs.file.size[/var/log/s yslog] Example: vfs.file.time[/etc/pass wd,modify]
vfs.file.exists[fil e] vfs.file.md5sum [file]
Check if file exists File's MD5 check sum
0 - file does not exist 1 - file exists MD5 hash of the file. Can be used only for files less than 64MB, unsupported otherwise. Matched string 0 - expression not found 1 - found Size in bytes.
file - full path to file
vfs.file.regexp[fi Find string in a file le, regexp] vfs.file.regmatc h[file, regexp] vfs.file.size[file] Find string in a file File size
file - full path to file, regexp - GNU regular expression file - full path to file, regexp - GNU regular expression file - full path to file
vfs.file.time[file <, mode>]
File time information.
Number of seconds.
vfs.fs.inode[fs <,mode>]
Number of inodes
Numeric value
file - full path to file mode - one of modify (default, modification time), access - last access time, change - last change time fs - filesystem, mode - one of total (default), free, used, pfree (free, percentage), pused (used, percentage) fs - filesystem, mode - one of total (default), free, used, pfree (free, percentage), pused (used, percentage)
Example: vfs.fs.inode[/,pfree] Old naming: vfs.fs.inode.free[*], vfs.fs.inode.pfree[*], vfs.fs.inode.total[*] In case of a mounted volume, disk space for local file system is returned. Example: vfs.fs.size[/tmp,free]
vfs.fs.size[fs <,mode>]
Disk space
Disk space in KB
Copyright 2008 ZABBIX SIA
Page 110 of 259
ZABBIX Manual v1.6
Return value
Comments Old naming: vfs.fs.free[*], vfs.fs.total[*], vfs.fs.used[*], vfs.fs.pfree[*], vfs.fs.pused[*] Old naming: vm.memory.buffers, vm.memory.cached, vm.memory.free, vm.memory.shared, vm.memory.total Returns EOF on fail. Example: web.page.get[www.z abbix.com,index.php, 80]
vm.memory.siz e[<mode>]
Memory size
Memory size in bytes
mode - one of total (default), shared, free, buffers, cached
web.page.get[h ost,<path>,<por t>]
Get content of WEB page
web.page.perf[ host,<path>,<p ort>]
Get timing of loading full WEB page
host hostname, path - path to HTML document (default is /), port - port number (default is 80) Time in seconds
WEB page source as text
web.page.regex p[host, <path>, <port>, <regexp>, <length>,]
Get first occurence of regexp in WEB page
Matched string
host - hostname, path - path to HTML document (default is /), port - port number (default is 80) host - hostname, path - path to HTML document (default is /), port - port number (default is 80), regexp - GNU regular expression, length - number of characters to return
Example: web.page.perf[www.z abbix.com,index.php, 80] Returns EOF on fail. Example: web.page.get[www.z abbix.com, index.php, 80, OK, 2]
Linux-specific note. ZABBIX agent must have read-only access to filesystem /proc. Kernel patches from www.grsecurity.org limit access rights of nonprivileged users. WIN32-SPECIFIC PARAMETERS This section contains description of parameter supported by ZABBIX WIN32 agent only. Key agent[avg_coll ector_time] Description Return value Comments
Average time Time in spent by milliseconds collector
Page 111 of 259
Copyright 2008 ZABBIX SIA
ZABBIX Manual v1.6
Description thread on each sample processing for last minute.
Return value
agent[max_coll ector_time]
Maximum time spent by collector Time in thread on milliseconds each sample processing for last minute. Total number of requests Number accepted by requests agent for processing. Total number of requests Number rejected by requests agent for processing. Total number of requests Number timed out in requests processing. of
agent[accepted _requests]
agent[rejected_ requests]
agent[timed_ou t_requests]
agent[accept_e rrors]
Total number of accept() Number of system call system calls errors. Total number of requests Number successfully requests processed by agent. Total number of requests Number with errors in requests processing. Total number of requests for Number unsupported requests parameters. Value of any performance Value of counter, counter where of
agent[processe d_requests]
agent[failed_re quests]
of These requests generated ZBX_ERROR return code
agent[unsuppo rted_requests]
of These requests generated ZBX_UNSUPPORTED return code Performance Monitor can be used to obtain the list of available counters. Note that this parameter will return correct value only for counters that require just one sample (like
Page 112 of 259
Copyright 2008 ZABBIX SIA
ZABBIX Manual v1.6
Description parameter is the counter path.
Return value
Comments \System\Threads). It will not work as expected for counters that require more that one sample - like CPU utilisation.
0 – running 1 – paused 2 pending start
State of Parameter must be real service name as it service. 4 - continue seen in service properties under "Name:" or Parameter is pending name of EXE file. service name. 5 stop pending 6 – stopped 7 - unknown 255 – no such service The following attributes are currenty supported: vmsize - Size of process virtual memory in Kbytes wkset - Size of process working set (amount of physical memory used by process) in Kbytes pf - Number of page faults ktime - Process kernel time in milliseconds utime - Process user time in milliseconds io_read_b - Number of bytes read by process during I/O operations io_read_op - Number of read operation performed by process io_write_b - Number of bytes written by process during I/O operations io_write_op - Number of write operation performed by process io_other_b Number of bytes transferred by process during operations other than read and write operations io_other_op - Number of I/O operations performed by process, other than read and write operations gdiobj - Number of GDI objects used by process userobj Number of USER objects used by process <type> - representation type (meaningful when more than one process with the same name exists). Valid values are: min - minimal value among all processes named <process> max - maximal value among all processes named <process> avg - average value for all processes named <process> sum - sum of values for all processes named
Page 113 of 259
3 - pause pending
proc_info[<pro cess>,<attribut e>,<type>]
<process> process name (same as in Different proc_cnt[] information parameter) about specific <attribute> process(es). requested process attribute.
Copyright 2008 ZABBIX SIA
ZABBIX Manual v1.6
Return value
Comments <process> Examples: 1. In order to get the amount of physical memory taken by all Internet Explorer processes, use the following parameter: proc_info[iexplore.exe,wkset,sum] 2. In order to get the average number of page faults for Internet Explorer processes, use the following parameter: proc_info[iexplore.exe,pf,avg] Note: All io_xxx,gdiobj and userobj attributes available only on Windows 2000 and later versions of Windows, not on Windows NT 4.0.
4.13.4.SNMP Agent
ZABBIX must be configured with SNMP support in order to be able to retrieve data provided by SNMP agents. The following steps have to be performed in order to add monitoring of SNMP parameters: Step 1 Create a host for the SNMP device.
Enter an IP address and a port of 161. Set the host Status to NOT MONITORED. You can use the host.SNMP template which would automatically add set of items. However, the template may not be compatible with the host. Step 2 Find out the SNMP string of the item you want to monitor.
After creating the host, use 'snmpwalk' (part of ucd-snmp/net-snmp software which you should have installed as part of the ZABBIX installation) or equivalent tool: shell> snmpwalk <host or host IP> public This will give you a list of SNMP strings and their last value. If it doesn't then it is possible that the SNMP 'community' is different to the standard public in which case you will need to find out what it is. You would then go through the list until you find the string you want to monitor, e.g. you wanted to monitor the bytes coming in to your switch on port 3 you would use: interfaces.ifTable.ifEntry.ifOctetsIn.3 = Counter 32: 614794138
Copyright 2008 ZABBIX SIA
Page 114 of 259
now go back to ZABBIX and click on Items.3: command to find the OID for shell> snmpget -On 10.2.ifInOctets. Now ADD the item and go back to the hosts area of ZABBIX. so enter a plain English description in the 'Description' field of the new item box. Choose the Multiplier if you want one and enter an 'update interval' and 'keep history' if you want it to be different from the default.1.g.6 You should now use the snmpget interfaces. e.e. .3 Enter the 'SNMP port' as 161 and the 'Key' as something meaningful.ifEntry.2.3 = Counter32: 614794138 again the last number in the OID is the port number. From here set the SNMP device to be MONITORED and check in LATEST VALUES for your SNMP data! Example 1 Copyright 2008 ZABBIX SIA General example Page 115 of 259 .1.3. Depending on whether you used a template or not when creating your host you will have either a list of SNMP items associated with your host or just a new item box. port 3=3 Step 3 Create an item for monitoring. port 3=port 103.2.ZABBIX Manual v1.2.g. SNMP-InOctets-Bps.g. So. 3COM seem to use port numbers in the hundreds.1. the 'Type of information' to NUMERIC and the 'Store value' to DELTA (important otherwise you will get cumulative values from the SNMP device instead of the latest change).6.1. This should give you something like the following: .22 interfaces.2. i.1.1.3 where the last number in the string is the port number you are looking to monitor.62.1.10.ifTable. We will work on the assumption that you are going to create the item yourself using the information you have just gathered using snmpwalk and snmpget. e. Enter the community (usually public) and enter the numeric OID that you retrieved earlier in to the 'SNMP OID' field being sure to include the leading dot.2.1.ifOctetsIn.ifTable. port 1=port 101.6.1. Make sure the 'Host' field has your switch/router in it and change the 'Type' field to "SNMPv1 agent" (I had difficulty with SNMPv2 agent so I don't use it). but Cisco use regular numbers.ifEntry. selecting the SNMP host you created earlier.3. Set the 'Status' to MONITORED.10. e.
0) <Unique string to be used as reference to triggers> For example. standard default service port is used. Examples of using simple checks: Copyright 2008 ZABBIX SIA Page 116 of 259 . string OID must be converted to numeric representation.5. If missing.6 Parameter Community Oid Key Description public 1.memTotalSwap.1 port .0 router.220.127.116.11.7.memory.0 localhost public Monitoring of SNMP parameters is possible if either -with-net-snmp or -with-ucdsnmp flag was specified while configuring ZABBIX sources.2.8.ZABBIX Manual v1.0 (or . in some cases. All simple check accepts two optional parameters: ip .3.13.1. Note that OID can be given in either numeric or string form. ZABBIX Server is responsible for processing of simple checks (making external connections. etc).uptime Float uptime 0.01 4.Simple checks Simple checks Simple checks are normally used for agent-less monitoring or for remote checks of services.7. However.0.ucdavis.6.8.Port number.IP address.45. Dafult value is 127. Example 2 Parameter Community Oid Key Value type Units Multiplier Monitoring of Uptime Description public MIB::sysUpTime. Note that ZABBIX Agent is not needed for simple checks.2. Utility snmpget may be used for this purpose: shell> snmpget -On enterprises. 'my_param'.
127.44.<ip>.11.<port> imap.ZABBIX Manual v1.1.<port> pop.44 http_perf.6 ftp.18.104.22.16880 List of supported simple checks: Key icmpping Description Return value Checks if server 0 – ICMP ping fails is accessible by 1 – ICMP ping successful ICMP ping Return ICMP Number of seconds ping response time Checks if FTP 0 – FTP server is down server is 1 – FTP server is running running and 2 – timeout accepting connections Checks if HTTP 0 – HTTP server is down server is 1 – HTTP server is running running and 2 – timeout accepting connections Checks if IMAP 0 – IMAP server is down server is 1 – IMAP server is running running and 2 – timeout accepting connections Checks if NNTP 0 – NNTP server is down server is 1 – NNTP server is running running and 2 – timeout accepting connections Checks if POP 0 – POP server is down server is 1 – POP server is running running and 2 – timeout accepting connections Checks if SMTP 0 – SMTP server is down server is 1 – SMTP server is running running and 2 – timeout accepting connections Checks if SSH 0 – SSH server is down server is 1 – SSH server is running running and 2 – timeout accepting connections Page 117 of 259 icmppingsec ftp.<port> smtp.11.<port> http.<port> ssh.22.<ip>.<ip>.<ip>.<ip>.33.<ip>.<port> Copyright 2008 ZABBIX SIA .<ip>.0.155 http.<port> nntp.
<port > ssh_perf.6 Key tcp.1.Timeout processing ZABBIX will not process a simple check longer than Timeout seconds defined in ZABBIX Server configuration file.<port> Description Return value Checks if TCP 0 – TCP service is down service is 1 – TCP service is running running and 2 – timeout accepting connections Checks if FTP 0 – FTP server is down server is Otherwise number of millisecond spent running and connecting to FTP server. accepting connections Checks if SSH 0 – SSH server is down server is Otherwise number of millisecond spent running and connecting to SSH server.<ip>.ZABBIX Manual v1. Copyright 2008 ZABBIX SIA Page 118 of 259 .5. accepting connections ftp_perf. In case if Timeout time succeeded.<port> smtp_perf. accepting connections Checks if NNTP 0 – NNTP server is down server is Otherwise number of millisecond spent running and connecting to NNTP server.<port > imap_perf.<ip>.<ip>.<port > nntp_perf.<port > pop_perf.13.<ip>.<port> 4.<ip>.<ip>.<ip>. accepting connections Checks if POP 0 – POP server is down server is Otherwise number of millisecond spent running and connecting to POP server.<ip>. accepting connections Checks if HTTP 0 – HTTP (WEB) server is down (WEB) server is Otherwise number of millisecond spent running and connecting to HTTP server. accepting connections Checks if IMAP 0 – IMAP server is down server is Otherwise number of millisecond spent running and connecting to IMAP server. accepting connections Checks if SMTP 0 – SMTP server is down server is Otherwise number of millisecond spent running and connecting to SMTP server.<port> http_perf. '2' is returned.
2.6. has wrong permissions or its location does not match FpingLocation defined in configuration file.13. Add item with this key to have and error ZABBIX internal messages stored. The utility is not part of ZABBIX distribution and has to be additionally installed.13. Internal checks are calculated by ZABBIX Server. Number of Do not use if MySQL InnoDB. If the utility is missing. Run these commands as user 'root' in order to setup correct permissions: shell> chown root:zabbix /usr/sbin/fping shell> chmod 710 /usr/sbin/fping shell> chmod ug+s /usr/sbin/fping 4.6 4.ICMP pings ZABBIX uses external utility fping for processing of ICMP pings. Key zabbix[boottime] Description Comments Startup time of In seconds since the epoch. messages generated by Page 119 of 259 zabbix[log] Copyright 2008 ZABBIX SIA .5. Oracle or values stored in PostgreSQL is used! table HISTORY Number of Do not use if MySQL InnoDB. ICPM pings (icmpping and icmppingsec) will not be processed. Oracle or values stored in PostgreSQL is used! table HISTORY_STR Number items ZABBIX database of in zabbix[history] zabbix[history_str] zabbix[items] zabbix[items_unsup ported] Number of unsupported items in ZABBIX database Stores warning Character. ZABBIX server process in seconds.Internal Checks Internal checks allow monitoring of internals of ZABBIX.ZABBIX Manual v1.
of the Comments zabbix[trends] Number of Do not use if MySQL InnoDB. Syntax of aggregate item's key groupfunc["Host group"."Item key".Aggregated checks Aggregate checks do not require any agent running on a host being monitored. ZABBIX server collects aggregate information by doing direct database queries.13.ZABBIX Manual v1.7. Number items in Queue.6 Key zabbix[queue] Description ZABBIX server."item func". 4. Oracle or values stored in PostgreSQL is used! table TRENDS Number triggers ZABBIX database of in zabbix[triggers] zabbix[uptime] Uptime of ZABBIX server process in seconds."parameter"] Supported group functions: GROUP FUNCTION grpavg grpmax grpmin grpsum DESCRIPTION Average value Maximum value Minimum value Sum of values Supported item functions: ITEM FUNCTION avg count last max Copyright 2008 ZABBIX SIA DESCRIPTION Average value Number of values Last value Maximum value Page 120 of 259 .
avg1]".6 min sum Minimum value Sum of values Examples of keys for aggregate items: Example 1 Total disk space of host group 'MySQL Servers'. Host name 'www1. other parameters are substituted by parameters. First command line parameter is host name.4] Copyright 2008 ZABBIX SIA Page 121 of 259 ."0"] Example 2 Average processor load of host group 'MySQL Servers'."avg". Example 1 Execute script check_oracle. ZABBIX server will find and executed the script in directory defined in configuration parameter ExternalScripts.cpu."0"] Example 3 Average (5min) number of queries per second for host group 'MySQL Servers' grpavg["MySQL Servers". grpavg["MySQL Servers".4".1. check_oracle."vfs."last". External checks do not require any agent running on a host being monitored. Syntax of item's key: script[parameters] script – name of the script.sh[-h 192.size[/.sh with parameters "-h 192. parameters – list of command line parameters. grpsum["MySQL Servers".ZABBIX Manual v1."last".168."system.8.13.fs.qps"."mysql.total]".company.168. Note: Do not overuse external checks! It can decrease performance for ZABBIX system very much.1.load[."300"] 4.com'.External checks External check is a check executed by ZABBIX Server by running a shell script or a binary.
'0' – otherwise. Example 2 More complex example UserParameter=mysql.mysqladmin -uroot ping|grep alive|wc –l The agent will return '1'.sh www1.command Parameter Key Command Example 1 Description Unique item key.ping.14.2. 4.User Parameters Functionality of ZABBIX agents can be enhanced by defining user parameters (UserParameter) in agent's configuration file. 4. User parameter has the following syntax: UserParameter=key. one line has to be added to configuration file of ZABBIX agent and the agent must be restarted. Simple command UserParameter=ping.4.com -h 184.108.40.206. Command to be executed to evaluate value of the Key.company.14. if MySQL server is alive.ZABBIX Manual v1. 4.Simple user parameters In order to define a new parameter for monitoring.echo 1 The agent will always return '1' for item with key 'ping'.6 ZABBIX will execute: check_oracle.Flexible user parameters Copyright 2008 ZABBIX SIA Page 122 of 259 .1.
ping[*]. We can pass user name and password: mysql. ping[0] – will always return '0' ping[aaa] – will always return 'aaa' Example 2 Let's add more sense! UserParameter=mysql. UserParameter=key[*].$10 in the command.our_password] Example 3 How many lines matching a regular expression in a file? UserParameter=wc[*]. The [*] defines that this key accepts parameters. Copyright 2008 ZABBIX SIA Page 123 of 259 .ZABBIX Manual v1. Example 1 Something very simple UserParameter=ping[*]. For flexible user parameters.mysqladmin –u$1 –p$2 ping|grep alive|wc –l This parameter can be used for monitoring availability of MySQL database.ping[zabbix. Command to be executed to evaluate value of the Key. ZABBIX parses content of [] and substitutes $1.….6 Flexible user parameters can be used for more control and flexibility.grep "$2" $1|wc -l This parameter can be used to calculate number of lines in a file.echo $1 We may define unlimited number of items for monitoring all having format ping[something].command Parameter Key Command Description Unique item key.
root] wc[/etc/services|zabbix] 4. For example: perf_counter["Processor(0)\Interrupts/sec"] In order order to get full list of performance counter available for monitoring you may run: typeperf -qx Unfortunately.15. depending on local settings naming of the performance counters can be different on different Windows servers. Every performance counter can be translated into numeric form.6 wc[/etc/passwd. which is unique and exactly the same regardless of language settings.ZABBIX Manual v1.Windows performance counters Windows performance counter can be effectively monitored using perf_counter[]. This intoroduce certain problem when creating a template for monitoring number of Windows machines having different locales. Run regedit. The registry entry contains information like: 1 1847 2 System 4 Memory 6 % Processor Time 10 File Read Operations/sec 12 File Write Operations/sec 14 File Control Operations/sec 16 File Read Bytes/sec Copyright 2008 ZABBIX SIA Page 124 of 259 . the find HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009.
Triggers Trigger is defined as a logical expression and represents system state. 4. Trigger attributes: Parameter Name Expression The trigger depends on New dependency Severity Comments Description Trigger name.Simple user parameters In order to define a new parameter for monitoring. one line has to be added to configuration file of ZABBIX agent and the agent must be restarted... If not empty.1. May contain instructions for fixing specific problem. in order to translate string name of a performance counter into numeric form.6 18 File Write Bytes/sec . Text field used to provide more information about this trigger. find corresponding numbers for each part of the performance counter.ZABBIX Manual v1. like: System -> 2 % Processor Time -> 6 /System/% Processor Time Then use these numbers to create a numeric format: /2/6 4. URL Disabled Expression is recalculated every time ZABBIX server receives new value. Trigger can be disable if required.16. Logical expression used for calculation of trigger state. the URL is used in the screen 'Status of Triggers'. if this value is part of this expression. List of triggers the trigger depends on. contact detail of responsible staff. etc. So.. Add new dependency.15. The name may contain macros. The expression may have the following values: Copyright 2008 ZABBIX SIA Page 125 of 259 . Trigger severity.
000001) Logical AND Logical OR The following functions are supported: Copyright 2008 ZABBIX SIA Page 126 of 259 . processor load is too high.ZABBIX Manual v1. The operator is defined as: A=B (A>B-0. This may happen because of several reasons: server is unreachable trigger expression cannot be evaluated trigger expression has been recently changed 4.000001) | (A>B+0.6 VALUE TRUE FALSE UNKNOWN DESCRIPTION Normally means that something happened.000001) Is equal. The following operators are supported for triggers (descending priority of execution): PRIORITY 1 2 3 4 5 6 7 8 9 10 OPERATOR / * + < > # = & | DEFINITION Division Multiplication Arithmetical minus Arithmetical plus Less than More than Not equal. This is normal trigger state.1. ZABBIX cannot evaluate trigger expression. The operator is defined as: A=B (A<B-0.16.000001) & (A<B+0. In this case. You can use them to create complex logical tests regarding monitored statistics.Expression for triggers The expressions used in triggers are very flexible. For example.
Parameter defines length of the period in seconds. str. Same as max()-min() Returns difference between last and previous values. For strings: 0 – values are equal 1 – values differ avg sec or #num sec or #num ignored float.ZABBIX Manual v1. str. int. int Average value for period of time. int float. text Copyright 2008 ZABBIX SIA Page 127 of 259 . text DEFINITION abschang e Returns absolute difference between last and previous values. int.6 FUNCTION ARGUM ENT ignored SUPPORTED VALUE TYPES float. For strings: 0 – values are equal 1 – values differ delta change float.
The function accepts second optional parameter pattern and third parameter operation. Returns: 1 – last and previous values differ 0 – otherwise dayofweek diff ignored ignored any float.12) will return exact number of values equal to '12' stored in the history. Supported operators: eq – equal ne – not equal gt – greater ge – greater or equal lt – less le – less or equal date ignored any Returns current date in YYYYMMDD format. str DEFINITION count Number of successfully retrieved values for period of time in seconds. Sun – 7.00001 String and log items: matches if contains pattern For example."gt") will return exact number of values which are more than '12' stored in the history. str.6 FUNCTION ARGUM ENT sec SUPPORTED VALUE TYPES float. count(600. log. int. Third parameter works for integer and float values only. For example. Integer items: exact match Float items: match within 0.ZABBIX Manual v1. count(600. For example: 20031025 Returns day of week in range of 1 to 7. int.12. text Copyright 2008 ZABBIX SIA Page 128 of 259 . Mon – 1.
For example. int DEFINITION fuzzytime Returns 1 if timestamp (item value) does not differ from ZABBIX server time for more than N seconds. 0 – does not match 1 – matches Normally used for Windows event logs. 0 – default severity N – severity (integer. Returns log severity of the last log entry. The period should not be less than 30 seconds. text This function is non case-sensitive analogue of regexp. #num sec float. str. Parameter is ignored. int nodata any Copyright 2008 ZABBIX SIA Page 129 of 259 . ZABBIX takes log severity from field Information of Windows event log. 0 – otherwise. log. logsource("VMWare Server") max sec. 0 .otherwise min float. iregexp 1st – string 2nd – sec or #num str. text log Last (most recent) value. Parameter is ignored. int Maximal value for period of time. useful for Windows event logs).localtime to check that local time is in sync with local time of ZABBIX server. Minimal value for period of time. int. last logseverit y ignored ignored float.6 FUNCTION ARGUM ENT sec SUPPORTED VALUE TYPES float. Returns: 1 – if no data received during period of time in seconds. #num sec. Parameter defines length of the period in seconds. Parameter defines length of the period in seconds.ZABBIX Manual v1. Usually used with system. logsource string log Check if log source of the last log entry matches parameter.
Parameter defines regular expression.6 FUNCTION ARGUM ENT ignored SUPPORTED VALUE TYPES any DEFINITION now Returns number of seconds since the Epoch (00:00:00 UTC.ZABBIX Manual v1. log. Parameter is ignored. int Sum of values for period of time. You may also use prefix # to specify that argument has a different meaning: Copyright 2008 ZABBIX SIA Page 130 of 259 . Returns: 1 – found 0 – otherwise sum sec. Second optional parameter is number of seconds or number of lines to analyse. #num ignored float. Posix style. text str. In this case more than one value will be processed. text Find string in last (most recent) value. Returns current time in HHMMSS format. Returns: 1 – found 0 . str. 1970). This function is case-sensitive. log. Parameter defines length of the period in seconds. Example: 123055 time any Note: Note that some of the functions cannot be used for non-numeric parameters! Most of numeric functions accept number of seconds as an argument. Check if last value matches regular expression. In this case more than one value will be processed. Parameter defines string to find. Case sensitive! Second optional parameter is number of seconds or number of lines to analyse. int. January 1. text str 1 – string 2nd – sec or #num st str. Returns previous value.otherwise prev regexp ignored 1st – string 2nd – sec or #num float.
zabbix.<function>(<parameter>)}<operator><const> Parameter must be given even for those functions.55 K – 1024*N M – 1024*1024*N G – 1024*1024*1024*N Examples: 2K. '>5' means that the trigger is true whenever the most recent processor load measurement from www.com {www. Example 2 www.com' and the key being monitored is 'system. By using the function 'last()'.cpu.avg1].cpu.cpu.15.avg1]'. 123.last(0)}>5) 'www.zabbix. It specifies that the server is 'www.avg1].zabbix. Examples: 0.com: system. 0.com: system. Example 3 /etc/passwd has been changed Copyright 2008 ZABBIX SIA Page 131 of 259 .avg1]' gives a short name of the monitored parameter.avg1].ZABBIX Manual v1.load[all.zabbix. we are referring to the most recent value.com is greater than 5.min(600)}>2) The expression is true when either the current processor load is more than 5 or the processor load was more than 2 during last 10 minutes.load[all.zabbix.load[all.cpu.cpu.load[all. Finally. 1.load[all.6 ARGUMENT sum(600) sum(#600) DEFINITION Sum of all values within 600 seconds Sum of last 600 values The following constants are supported for triggers: CONSTANT <number> <number><K|M|G> DEFINITION Positive float number.zabbix.zabbix.com: system. 4G.5M A simple useful expression might look like: {<server>:<key>.last(0)}>5)| ({www. which ignore it.zabbix.com is overloaded ({www. Example: last(0) Example 1 Processor load is too high on www.com: system. 0.
com.last(0)}=0) The expression is true when both SMTP servers are down on both smtp1.zabbi x.in[eth0.version. /kernel.zabbix.cksum[/etc/passwd].zabbix.diff(0)})>0 The expression is true when the previous value of checksum of /etc/passwd differs from the most recent one.6 Use of function diff: ({www.last(0)}=0)&({smtp2.com:agent.zabbix.0beta8).com:net. Example 6 ZABBIX agent needs to be upgraded Use of function str(): {zabbix. Example 8 No heart beats within last 3 minutes Copyright 2008 ZABBIX SIA Page 132 of 259 .com:net.com: vfs.com:status.min(300)})>100K The expression is true when number of received bytes on eth0 is more than 100 KB within last 5 minutes.tcp.file.tcp.service[smtp].last(0)}=2 Note: The 'status' is a special parameter which is calculated if and only if corresponding host has at least one parameter for monitoring.str(beta8)}=1 The expression is true if ZABBIX agent has version beta8 (presumably 1.if. etc. Example 7 Server is unreachable {zabbix.zabbix.zabbix. such as /etc/passwd.zabbix.bytes].service[smtp].ZABBIX Manual v1.conf. See description of 'status' for more details.com: net. Similar expressions could be useful to monitor changes in important files. /etc/inetd.com and smtp2. Example 5 Both nodes of clustered SMTP server are down Note use of two different hosts in one expression: ({smtp1. Example 4 Someone downloads a big file from the Internet Use of function min: ({www.zabbix.
Host If the Router1 is down.zabbix.load[all. ZABBIX perform this check recursively.ZABBIX Manual v1.com:tick. Example 9 CPU activity at night time Use of function time(): ({zabbix: system.load[all.cpu.Router1 – Router2 . we define these dependencies: trigger 'Host is down' depends on trigger 'Router2 is down' trigger 'Router2 is down' depends on trigger 'Router1 is down' Before changing status of trigger 'Host is down'. and one of the triggers is in TRUE state. only at night (00:00-06:00) time. ZABBIX . item 'tick' must be defined. The host should periodically send data for this parameter using zabbix_sender. Trigger dependencies is a very convenient way of limiting number of messages to be sent in case if an event belongs to several resources. 4. In this case.avg1]. ZABBIX supports following trigger severities: Copyright 2008 ZABBIX SIA Page 133 of 259 .cpu.2. ZABBIX will check if there are corresponding trigger dependencies defined. If so. the Router1 and the Router2. For example.16. 4. If no data is received within 180 seconds.time(0)}>000000)& ({zabbix: system. then obviously the Host and the Router2 are also unreachable. the Host trigger won't be updated. One does not want to receive three notifications about the Host.avg1].avg1].6 Use of function nodata(): {zabbix.time(0)}<060000) The trigger may change its status to true. In order to make this trigger work. then trigger status will not be changed and thus actions will not be executed and notifications will not be sent.load[all.3.Trigger severity Trigger severity defines how important is a trigger. a host Host is behind router Router2 and the Router2 is behind Router1.cpu.nodata(180)}=1 'tick' must have type 'ZABBIX trapper''. If Router1 or Router2 is unreachable.16. the trigger value becomes TRUE. This is when Trigger dependencies may be handy.min(300)}>2)&({zabbix: system.Trigger dependencies Trigger dependencies can be used to define relationship between triggers.
The macro returns current trigger value. SMS – high severity.Hysteresis Sometimes a trigger must have different conditions for different states. Light greed. Be warned. For information purposes. Average problem.Screens and Slide Shows ZABBIX screens allow grouping of various information for quick access and display on one screen. Dark red.VALUE}=0&{server:temp. 4.VALUE}=1&{server:temp. Light yellow.16.ZABBIX Manual v1. For example. etc. Bright red. Red. 4.VALUE}.last(0)}>20)| ({TRIGGER.last(0)}>15) Note use of macro {TRIGGER. Financial losses. audio alarms in Status of Triggers screen. The severities are used to: visual representation of triggers. we define the following trigger: Example 1 Temperature in server room is too high ({TRIGGER. COLOR Gray. Easy-to-use screen builder makes creation of the screens easy and intuitive.4. Different colors for different severities.17. Different media (notification channel) for different severities. user medias.6 SEVERITY Not classified Information Warning Average High Disaster DEFINITION Unknown severity. Different audio for different severities. In order to do this. Disaster. Something important has happened. we would like to define a trigger which would become TRUE when server room temperature is higher than 20C while it should stay in the state until temperature will not become lower than 15C. email – other. For example. Copyright 2008 ZABBIX SIA Page 134 of 259 .
List of individual slides (screens): Screen name How long the screen will be displayed. Slide Show is a set of screens. Copyright 2008 ZABBIX SIA Page 135 of 259 .ZABBIX Manual v1. This parameter defines default interval between screen rotations in seconds.6 Screen is a table which may contain the following elements in each cell: simple graphs user-defined graphs maps other screens plain text information server information (overview) trigger information (overview) data overview clock history of events history of actions URL (data taken from other location) Number of elements in each screen is unlimited. Update Interval of the slide show will be used. which will be automatically rotated according to configured update intervals. If set to 0. PARAMETER Name Update interval (in sec) Slides Screen Delay Description Name of slide show. in seconds.
and many other information of higher level.IT Services IT Services are intended for those who want to get a high-level (business) view of monitored infrastructure. In many cases. SLA of various IT services. like lack of disk space.6 Example 1 Slide show "ZABBIX administrators" The slide show consists of two screens which will be displayed in the follwing order: ZABBIX Server Pause 60 seconds ZABBIX Server2 Pause 30 seconds ZABBIX Server Pause 60 seconds ZABBIX Server2 . structure of existing IT infrastructure. IT Services is hierarchy representation of monitored data. we are not interested in low-level details. What we are interested is availability of service provided by our IT department.18. A very simple IT Service structure may look like: IT Service Copyright 2008 ZABBIX SIA Page 136 of 259 . etc. high processor load. ZABBIX IT Services provides answers to all mentioned questions.. 4. We can also be interested in identifying weak places of IT infrastructure.ZABBIX Manual v1..
19. no permissions are granted on a screen when user is registered to the ZABBIX. Communication between the Web Server and the user's browser can be protected using SSL.19.] 4.Overview ZABBIX has a flexible user permission schema which can be efficiently used to manage user permission within one ZABBIX installation or in a distributed environment. By default.. The type controls what administrative functions a user has permission to. [To be finished. Copyright 2008 ZABBIX SIA Page 137 of 259 .ZABBIX Manual v1.] User permissions All ZABBIX users access the ZABBIX application through the Web-based front end. Note that the user is automatically disconnected after 30 minutes of inactivity. All user passwords are encrypted and stored on the ZABBIX database.6 | |-Workstations || | |-Workstation1 || | |-Workstation2 | |-Servers Each node of the structure has attribute status. Permissions are granted to user groups on a host group level. The status is calculated and propagated to upper levels according to selected algorithm.. ZABBIX supports several types of users. Users can not use their user id and password to log directly into the UNIX server unless they have also been set up accordingly to UNIX. [To be finished. Access permissions on screen within the menu may be set for each user.1. Triggers create lowest level of the IT Services.User permissions 4. Each ZABBIX user is assigned a unique login name and a password...
6 4.1. There is no IPC queue or any other queue mechanism in ZABBIX. Permissions to host groups must be explicitly given.User types User types are used to define access to administrative functions and to specify default permissions. Permissions can be revoked by denying access to specific host groups.The Queue 4. USER TYPE ZABBIX User Description The user has access to Monitoring menu. Permissions can be revoked by denying access to specific host groups.ZABBIX Manual v1. 4.2.20. Copyright 2008 ZABBIX SIA Page 138 of 259 . The Queue is just a logical representation of data from the database.19. The user has Read-Write access to all host groups by default. ZABBIX Admin ZABBIX Super Admin 4. Statistics shown by the Queue is a good indicator of performance of ZABBIX server. The user has no access to any resources by default. Configuration and Administration. The user has access to Monitoring and Configuration. The user has Read-Write access to all host groups by default.20.20. The user has access to Monitoring.2.How to read The Queue on a standalone application or when displayed for a master node shows items waiting for a refresh.Overview ZABBIX Queue displays items that are waiting for a refresh.
and one item of type ZABBIX agent (active) waiting more than five minutes (perhaps the agent is down?).ZABBIX Manual v1. The master node receives historical data with a certain delay (normally.6 In this case. so the information is delayed. we see that we have three items of type ZABBIX agent waiting to be refreshed 0-5 seconds. Copyright 2008 ZABBIX SIA Page 139 of 259 . up-to 10 seconds for inter-node data transfer). Note that information displayed for a child node is not up-to-date.
d. See snmptrap. 4. Run snmptrapd Copyright 2008 ZABBIX SIA Page 140 of 259 . 4. which is part of package net-snmp.21.2.Utilities 4.sh The script is used to receive SNMP traps.1.6 On the screenshot we see that there are 93 items waiting more than 5 minutes for refresh on node "Child". however we should not trust the information as it depends on: performance of the Child node communications between Master and Child nodes possible local time difference between Master and Child nodes Note: A special item key zabbix[queue] can be used to monitor health of the queue by ZABBIX.sh for the item's key. The scripts are located under directory misc/init.sh to ~zabbix/bin Edit snmptrap.snmptrap.conf. The script must be used in combination with snmptrapd. Add this line: traphandle default /bin/bash /home/zabbix/bin/snmptrap.ZABBIX Manual v1.Start-up scripts The scripts are used to automatically start/stop ZABBIX processes during system's start-up/shutdown. Configuration guide: Install snmptrapd (part of net-snmp or ucd-snmp) Edit snmptrapd.sh Copy misc/snmptrap/snmptrap.21.sh to configure some basic parameters Add special host and trapper (type "string") item to ZABBIX.21.
When logged in.Login This is Welcome ZABBIX screen.Quick Start Guide 5.ZABBIX Manual v1.6 5.1. you will see "Connected as Admin" and access to "Configuration" area will be granted: Copyright 2008 ZABBIX SIA Page 141 of 259 . When installed use user name "Admin" with no password to connect as ZABBIX superuser.
ZABBIX Manual v1. User "guest" is a special default user.2. By default. the user will be granted with "guest" permissions.Protection against brute force attacks .6 5. ZABBIX has only two users defined.1. Copyright 2008 ZABBIX SIA Page 142 of 259 . User "Admin" has all permissions. "guest" has read-only permissions. If an user does not log in.. User "Admin" is ZABBIX superuser.Add user After initial installation.1. 5..
ZABBIX Manual v1. Copyright 2008 ZABBIX SIA Page 143 of 259 . new user has no permissions.6 In order to add new user. press "Create user". Grant user rights. By default.
6 The user is added.ZABBIX Manual v1. Copyright 2008 ZABBIX SIA Page 144 of 259 . Select "user groups" from drop-down to edit user group membership.
6 Click on a group to change membership of the group. Copyright 2008 ZABBIX SIA Page 145 of 259 . No medias assigned yet.ZABBIX Manual v1. Assign notification methods (medias) to the user.
list of severities for which the media will be active.3.6 Configure email address. 5.Email settings Copyright 2008 ZABBIX SIA Page 146 of 259 . Done! You may try to log in.ZABBIX Manual v1.
ZABBIX has only one notification delivery method (media type) defined. Select "Email" from the list of all available media types.6 Initially.ZABBIX Manual v1. Press "Save" when ready. Email. Email configuration can be found under Menu->Configuration->Media types. Set correct SMTP server. SMTP helo and SMTP email values. Copyright 2008 ZABBIX SIA Page 147 of 259 .
A media type must be linked with users.6 Now you have media type "Email" defined.4.Add agent-enabled host The section provides details about monitoring a host which has ZABBIX agent running. otherwise it will not be used. You must have the agent installed and configured properly.ZABBIX Manual v1. Copyright 2008 ZABBIX SIA Page 148 of 259 . 5. No hosts defined yet.
Enter all required details. we should manually add Items and Triggers to the host afterwards.ZABBIX Manual v1.6 We have ZABBIX agent running on our ZABBIX server and we want to monitor this server. Click on "Create host". We will use standard template Unix_t in order to simplify configuration. If a template is not used. Copyright 2008 ZABBIX SIA Page 149 of 259 .
ZABBIX Manual v1. Back to the list of hosts. Let's check if this host has any items to monitor. We see our host in the list.6 The host is created and it has exactly the same items and triggers as Unix_t has. Menu->Configuration->Items: Copyright 2008 ZABBIX SIA Page 150 of 259 .
6 Yes! What about triggers? Menu->Configuration->Triggers: Good.ZABBIX Manual v1. Go to Menu->Latest data: Copyright 2008 ZABBIX SIA Page 151 of 259 . It is time to see what information is available.
Click on Graph.6 It is time to see some graphs. . and finally triggers.ZABBIX Manual v1.. Menu->Status of triggers: Copyright 2008 ZABBIX SIA Page 152 of 259 .
Menu->Configuration>Actions Copyright 2008 ZABBIX SIA Page 153 of 259 .6 All right. Now it is time to configure basic email notification. We see graphs and status of the hosts. we may be interested in: Modifying list of monitored items Modifying list of triggers items Adjusting refresh rate for items Adding user notification rules 5.Set-up notifications We have a host or several hosts monitored. After the host is added.5.ZABBIX Manual v1. the host is under ZABBIX control.
Macro {TRIGGER. Press "Create Action": If you do not specify any conditions the action will be triggerred if any trigger change its status.6 No actions defined yet. The action will be applied to all medias linked to the selected user or user group.NAME} will be substituted by a trigger name.ZABBIX Manual v1. Macro {STATUS} is either ON or OFF depending on current status of the trigger. Copyright 2008 ZABBIX SIA Page 154 of 259 .
ZABBIX Manual v1. We may be interested in: Use conditions to define advanced filters for sending notification Repeat notifications Execution of remote commands Copyright 2008 ZABBIX SIA Page 155 of 259 .6 This is very basic setup of notifications.
Overview ZABBIX Import/Export processes the following data: Hosts Applications Items Triggers Custom graphs Value mappings 6. items.Goals ZABBIX Import/Export functionality is created to make possible effective exchange of templates. triggers and graphs configuration parameters.Data export Menu->Configuration->Export/Import Step 1 Select elements for export Copyright 2008 ZABBIX SIA Page 156 of 259 .XML Import and Export 6.6 6. Exported data has XML format which is easy to read and modify. Sharing of templates ZABBIX users may share configuration parameters.2. 6.ZABBIX Manual v1. Integration with third-party tools Universal XML format make possible integration and data import/export with third party tools and applications. hosts.3.1.
xml.6 We selected host "Template_Linux" all its items and triggers. The file has the following format (one element of each type is shown): Copyright 2008 ZABBIX SIA Page 157 of 259 .ZABBIX Manual v1. Press button "Preview" to see list of elements to be exported: Step 2 Export data Press button "Export" to export selected elements to a local XML file with default name zabbix_export.
<graphs> <graph name="CPU Loads" width="900" height="200"> <show_work_period>1</show_work_period> <show_triggers>1</show_triggers> <yaxismin>0....11"> <hosts> <host name="ZABBIX Server"> <useip>1</useip> <ip>127.0</expression> <priority>3</priority> </trigger> .05.avg15]"> <color>990000</color> <yaxisside>1</yaxisside> <calc_fnc>2</calc_fnc> <periods_cnt>5</periods_cnt> </graph_element> <graph_element item="{HOSTNAME}:system.0" date="11.0.0. </graphs> </host> .load[.cpu...avg5]"> <color>999900</color> <yaxisside>1</yaxisside> <calc_fnc>2</calc_fnc> <periods_cnt>5</periods_cnt> </graph_element> </graph_elements> </graph> .diff(0)}>...cpu.4..load[.version.. </items> <triggers> <trigger> <description>Version of zabbix_agent(d) was changed on {HOSTNAME}</description> <expression>{{HOSTNAME}:agent..load[.6 <?xml version="1.Data import Menu->Configuration->Export/Import Copyright 2008 ZABBIX SIA Page 158 of 259 .. </hosts> </zabbix_export> 6.ping" value_type="3"> <description>Ping to the server (TCP)</description> <delay>30</delay> <history>7</history> <trends>365</trends> <snmp_port>161</snmp_port> <valuemap>Service state</valuemap> <applications> <application>General</application> </applications> </item> .cpu.0000</yaxismin> <yaxismax>100..ZABBIX Manual v1.0"?> <zabbix_export version="1.07" time="11.0000</yaxismax> <graph_elements> <graph_element item="{HOSTNAME}:system.avg1]"> <color>009900</color> <yaxisside>1</yaxisside> <calc_fnc>2</calc_fnc> <periods_cnt>5</periods_cnt> </graph_element> <graph_element item="{HOSTNAME}:system.1</ip> <port>10050</port> <status>1</status> <groups> </groups> <items> <item type="0" key="agent.
If parameter Update is set for Existing element. Otherwise it will not add it. Copyright 2008 ZABBIX SIA Page 159 of 259 .6 Step 1 Configure settings for data import and press "Import". Otherwise it will not update it.ZABBIX Manual v1. Pay attention to the following parameters of the item: PARAMETER Import file Rules Description File name of XML file. then the import will update it with data taken from the file. then the import will add new element with data taken from the file. If parameter Add is set for Missing element. Element defines element of XML file.
Copyright 2008 ZABBIX SIA Page 160 of 259 .questions.questions Step 3 Restart ZABBIX agent. Step 1 Write a script or command line to retrieve required parameter.ZABBIX Manual v1.Tutorials This section contains step-by-step instructions for most common tasks. It can be any string.1. Step 4 Add new item for monitoring.6 7.mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S" mysql.questions is an unique identifier. Test this parameter by executing: zabbix_agentd -t mysql.conf: UserParameter=mysql. Add the command to zabbix_agentd. for example.Extending ZABBIX Agent This tutorial provides step-by-step instructions how to extend functionality of ZABBIX agent. we may write the following command in order to get total number of queries executed by a MySQL server: mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S" When executed. Agent will reload configuration file. the command returns total number of SQL queries. Step 2 Add this command to agent's configuration file. 7. queries. For example.
log[/var/log/syslog. 7. Must be set to 'log[file<.3.conf make sure that parameter DisableActive is not set in Step 2 Add a new item for monitoring of a log file. Make sure that parameter Hostname matches host name of the host configured in ZABBIX frontend. Also zabbix_agentd. ZABBIX agent will filter entries of log file by the regexp if present.Monitoring of log files This tutorial provides step-by-step instructions how to setup monitoring of log files. It is assumed that a host is configured already in ZABBIX frontend. Normally must be set to 1 second in order to get new records as soon as possible.6 Add new item with Key=mysql.2. For example: log[/var/log/syslog]. Be aware that type of returned values must be set correctly on ZABBIX server.ZABBIX Manual v1.regexp>]'.questions to the monitored host.error] Make sure that the file has read permissions for user 'zabbix' otherwise the item status will be set to 'unsupported'.Remote actions Copyright 2008 ZABBIX SIA Page 161 of 259 . Otherwise ZABBIX won't accept them. The parameter defines how often ZABBIX Agent will check for any changes in the log file. 7. Follow standard instructions in order to install and configure agent on monitored host. Type of the item must be either ZABBIX Agent or ZABBIX Agent (active). Pay attention to the following parameters of the item: PARAMETER Type Key Description Must be set to 'ZABBIX Agent (active)'. Step 1 Configure ZABBIX agent. Type of information Update interval (in sec) Must be set to 'log'.
Pay attention to the following parameters of the action: PARAMETER Action type Remote command Description Must be set to 'Remote command'.ZABBIX Manual v1.6 This tutorial provides step-by-step instructions how to setup remote execution of pre-defined commands in case on an event. One may be interested in using sudo to give access to priviledged commands. It is assumed that ZABBIX is configured and operational. ZABBIX agent executes commands in background ZABBIX does not check if a command has been executed successfully Example 1 Restart of Windows on certain condition.conf. For example: host:/etc/init. Follow standard instructions in order to configure configure agent on monitored host.d/apache restart Make sure that corresponding agent has EnableRemoteCommands set to 1 in zabbix_agentd. Each line must contain an command for remote execution. Important notes Make sure that user 'zabbix' has execute permissions for configured commands. Remote command can contain macros! Syntax of remote commands: REMOTE COMMAND <host>:<command> <group>#<command> Description Command 'command' will be executed on host 'host'. Copyright 2008 ZABBIX SIA Page 162 of 259 . Command 'command' will be executed on all hosts of host group 'group'. Step 1 Configure new action.
In the General tab you should see a field called Service name.4. Step 1 Get service name You can get that name by going to the services mmc and bring up the properties of the service you want to monitor it's up/down status. It is assumed that ZABBIX server and ZABBIX agent are configured and operational. Copyright 2008 ZABBIX SIA Page 163 of 259 .6 In order to automatically restart Windows in case of a problem detected by ZABBIX. define the following actions: PARAMETER Action type Remote command Description 'Remote command' host:c:\windows\system32\shutdown. value mapping Windows service state. For example.Monitoring of Windows services This tutorial provides step-by-step instructions how to setup monitoring of Windows services. if I wanted to monitor the "workstation" service then my service would be lanmanworkstation. Step 2 Add item for monitoring of the service Add item with a key service_state[lanmanworkstation]. The value that follows that you put in the brackets above.exe –r –f Replace 'host' with ZABBIX hostname of Windows server. 7. value type Integer.ZABBIX Manual v1.
minutes.1. etc). Copyright 2008 ZABBIX SIA Page 164 of 259 . Depending on configuration.2.Overview ZABBIX provides effective and very flexible functionality for escalations and repeated notifications.Escalations and repeated notifications 8. Recovery message to all interested parties Escalations based on conditions (for example.Goals ZABBIX Escalations is aimed to the following goals: Keep users periodically notified in case if a problem (a trigger in TRUE state) exists Repeated notifications Escalate problems to other user groups Execute actions (both notifications and remote commands) if a problem exists for more than N hours (seconds.6 8. do not escalate acknowledged events) 8. ZABBIX will automatically escalate (increase escalation step) unresolved problems and executed actions assigned to each escalation step.ZABBIX Manual v1.
Goals .Different scenarios ZABBIX provides effective and very flexible WEB monitoring functionality. The 9.2.3..3.6 9.Single action For a description of all conditions available for auto-discovery based events see 9.WEB Monitoring 9. The 9..126.96.36.199.Repeated actions and notifications For a description of all conditions available for auto-discovery based events see 9.3.ZABBIX Manual v1.Overview ZABBIX provides effective and very flexible WEB monitoring functionality. ZABBIX WEB Monitoring is aimed to the following goals: Performance monitoring of WEB applications Availability monitoring of WEB applications Support of HTTP and HTTPS Support of complex scenarios consisting of many steps (HTTP requests) 9.1.Escalate event to a different user or user group For a description of all conditions available for auto-discovery based events see Copyright 2008 ZABBIX SIA Page 165 of 259 .
WEB Scenario is periodically executed and consists of one or more Steps.Goals ZABBIX WEB Monitoring is aimed to the following goals: Performance monitoring of WEB applications Availability monitoring of WEB applications Support of HTTP and HTTPS Support of complex scenarios consisting of many steps (HTTP requests) 10. All cookies are preserved during execution of a single scenario. Normally a scenario is defined for one particular part of functionality of a WEB application. which will be periodically executed by ZABBIX server. triggers and notifications. Example 1 Monitoring of ZABBIX GUI Copyright 2008 ZABBIX SIA Page 166 of 259 .2.WEB Monitoring 10. WEB Scenario is linked to a host application for grouping.1.6 10. 10.3.Overview ZABBIX provides effective and very flexible WEB monitoring functionality. Scenarios are very convenient way of monitoring user experience.WEB Scenario Scenario is set of HTTP requests (steps).ZABBIX Manual v1. The module periodically executes WEB scenarios and keeps collected data in the database. The data is automatically used for graphs. ZABBIX WEB monitoring supports both HTTP and HTTPS. The following information is collected per each step of WEB scenario: Response time Download speed per second Response code ZABBIX also checks if a retrieved HTML page contains a pre-defined string.
6 If we want to monitor availability and performance of ZABBIX GUI. The application must exist. For example: ZABBIX Server Name of the WEB scenario. The name will appear in Monitoring -> Web For example: ZABBIX GUI Name Update interval Agent How often this scenario will be executed. it will NOT be executed List of macros to be used in configuration of the steps. Parameter Application Description WEB scenario will be linked to this application. execution of scenario fails. it will be executed Disabled: disabled scenario. check how quickly Overview and Status of Triggers screens work and then logout. Logout If a step cannot be perfomed.ZABBIX Manual v1. Go to Overview screen 3. Copyright 2008 ZABBIX SIA Page 167 of 259 . Login 2. we have to login. For example: Opera 9. The scenario may have the following steps: 1.02 on Linux Active: active scenario. Useful for monitoring of WEB sites which generate different content for different WEB browsers. For example: {user}=guest {password}=guest Status Variables Steps Steps of the scenario. Go to Status of Triggers screen 4. in seconds. Syntax: {macro}=value The macro {macro} will be replaced by "variable" in Step's URL and Post variables. For example: 60 ZABBIX will pretend to be the selected browser.
last(0)#0 Do not forget to replace the Scenario with real name of your scenario. For example: Login URL For example: www.. Item key: web. Example 2 Trigger "WEB application is slow" be defined as: {host: The trigger expression can web. Page 168 of 259 .4. Example 1 Trigger "WEB scenario failed" The trigger expression can be defined as: {host: web.bps]}.in[Scenario.6 As soon as a scenario is created.WEB Step Step is basically a HTTP request. Steps are executed in a pre-defined order. 0 is returned. 10. if any. Parameter Name URL Post Copyright 2008 ZABBIX SIA Description Name of the step.zabbix.test.ZABBIX Manual v1. i.bps] Type: float Failed step of scenario This item keeps number of failed step of the scenario.e.last(0)<10000 Do not forget to replace the Scenario with real name of your scenario.. Actual scenario name will be used instead of "Scenario".com HTTP POST variables. 'Scenario' Item key: web. If all steps are executed successfully. average scenario 'Scenario' for all steps. Item Description Download speed for This item will collect information about download speed (bytes per second) of the whole scenario.test.in[Scenario.fail[Scenario]}. ZABBIX automatically adds the following items for monitoring and links them to the selected application.test.fail[Scenario] Type: integer These items can be used to create triggers and define notification conditions.test.
Timeout Do not spend more than Timeout seconds for execution of the step. If retrieved status code is not in the list. Item Description Download speed for This item will collect information about download speed step 'Step' of scenario (bytes per second) of the step.Step] Type: float Response code for This item will collect response codes of the step. Otherwise this step fails. For example: 15 The string (given as Posix regular expression) must exist in retrieved content. For example: Homepage of ZABBIX List of HTTP status codes to be considered as success.in[Scenario. it will be replaced by its value when the step is executed. 'Scenario' Item key: web. any content will be accepted. If empty. Therefore.Step] 'Scenario' Type: integer These items can be used to create triggers and define notification conditions.test. If empty.Step. Actually this parameter defines maximum time for making connection to the URL and maximum time for performing an HTTP request.time[Scenario.test. any status code is accepted.test. Copyright 2008 ZABBIX SIA Page 169 of 259 .210 Required Status codes As soon as a step is created.rspcode[Scenario. 'Scenario' Item key: web.6 Parameter Description For example: id=2345&userid={user} If {user} is defined as a macro of the WEB scenario.ZABBIX Manual v1. ZABBIX will not spend more than 2xTimeout seconds on the step. step 'Step' of scenario Item key: web. For example: 200.bps] Type: float Response time for step This item will collect information about response time of 'Step' of scenario the step in seconds. ZABBIX automatically adds the following items for monitoring and links them to the selected application. The information will be sent as is. Actual scenario and step names will be used instead of "Scenario" and "Step" respectively. this step fails.
This step is not required if you already have a suitable application.Real life scenario Let's use ZABBIX WEB Monitoring for monitoring of ZABBIX WEB interafce.5. Step 1 Add new host application. first we make a login with our user name and password and then we will try to access Configuration->General page. We want to know if it is available. We add a new scenario for monitoring of ZABBIX WEB inetrafce. The scenario will execute number of steps.Login]}. Copyright 2008 ZABBIX SIA Page 170 of 259 . You may also want to create a host if one does not exist. So.ZABBIX Manual v1. Step 2 Add new WEB scenario.last(0)>3 10.test. provides right content and how quickly it works.time[ZABBIX GUI.6 Example 1 Trigger "ZABBIX GUI login is too slow" The trigger expression can be defined as: {zabbix: web.
Add steps for monitoring. Step 3 Define steps for the scenario.ZABBIX Manual v1. Note use of macros {user} and {password}.6 Note that we also created two macros. {user} and {password}. Scenario step 1. Copyright 2008 ZABBIX SIA Page 171 of 259 .
6 Scenario step 2.ZABBIX Manual v1. The list of applications and linked scenarios will appear in Monitoring->WEB: Copyright 2008 ZABBIX SIA Page 172 of 259 . Step 4 Save Scenario.
6 Click on a scenario to see nice statistics: Copyright 2008 ZABBIX SIA Page 173 of 259 .ZABBIX Manual v1.
to make sure it starts reading the log file from this point.How it works Monitoring of log files requires ZABBIX Agent running on a host.1.6 11. Important notes: The server and agent keep a trace of the monitored log's size in a counter.ZABBIX Manual v1. ZABBIX Agent does not send more than 10 lines of a log file per second. Whenever the log file become smaller than the log counter known by the agent.Overview ZABBIX can be used for cetralised monitoring and analysis of log files. The limit prevents overloading of network and CPU resources. Copyright 2008 ZABBIX SIA Page 174 of 259 . The agent starts reading the log file from the point it stopped the previous time. An item used for monitoring of a log files must have type ZABBIX Agent (Active). ZABBIX Agent processes new records of a log file once per Refresh period seconds. The number of bytes already analyzed (the counter) is stored in the ZABBIX database and is sent to the agent.2.pattern>]. the counter is reset to zero and the agent starts reading the log file from the beginning. 11. its value type must be Log and key set to log[path to log file<. Notifications can be used to warn users when a log file contains certain strings or string patterns.Log File Monitoring 11.
IMAP.6 12. TCP. POP3. Support of changing environments Auto-discovery makes possible use of ZABBIX environments with no excessive administration.2. Simplify administration Properly configured auto-discovery can simplify administration of ZABBIX system very much.Auto-discovery 12. WEB.1. It also makes possible creation of user friendly appliances. ZABBIX auto-discovery is based on the following information: IP ranges Availability of external services (FTP. etc) Information received from ZABBIX agent Information received from SNMP agent It does NOT provide: Discovery of network topology Every service and host (IP) checked by ZABBIX auto-discovery module generates events which may be used to create rules for the following actions: Generating user notifications Adding and removing hosts Adding hosts to a template Removing hosts from a template Linking hosts to a template Unlinking hosts from a template Executing remote scripts Copyright 2008 ZABBIX SIA Page 175 of 259 .ZABBIX Manual v1. in rapidly changing 12.Goals There are several goals of ZABBIX auto-discovery module: Simplify deployment Auto-discovery can be used to significantly simplify and speed up ZABBIX deployment. SSH.Overview ZABBIX provides effective and very flexible auto-discovery functionality.
ZABBIX generates the following events: Event Service Up Service Down Host Up Host Down Service Discovered Service Lost Host Discovered Host Lost When generated Every time ZABBIX detects active service. and generate discovery event or several events. If the service is lost after being up. IP. 12. First. Copyright 2008 ZABBIX SIA Page 176 of 259 . we discover a host or a service.2.1. If all services are not responding.3.6 The actions can be configured to respect host or service uptime and downtime. 12.3. If host is back after downtime or discovered for the first time. etc.How it works Auto-discovery basically consists of two phases: Discovery and Actions. If host is lost after being up. its status. If the service is back after downtime or discovered for the first time.3. Events generated by auto-discovery module have Event Source "Discovery". Each rule defines set of service checks to be performed for IP range. Then we process the events and apply certain actions depending of type of discovered device. If at least one of the services is UP for the IP.Actions For a description of all conditions available for auto-discovery based events see Action conditions. Every time ZABBIX cannot detect service. 12.Discovery ZABBIX periodically scans IP ranges defined in auto-discovery rules.ZABBIX Manual v1. Frequency of the check is configurable for each rule individually. up/down time.
1.168. List of supported checks: SSH. Parameters of auto-discovery rule: Parameter Name IP range Description Name of the rule.255.1.2. SNMPv2 Agent Parameter Ports may be one of following: Single port: 22 Range of ports: 22-45 List: 22-184.108.40.206. In our scenario we want to: discover only hosts having ZABBIX Agent running run discovery every 10 minutes add host for monitoring if host uptime is more than 1 hour remove hosts if host downtime is more than 24 hours Copyright 2008 ZABBIX SIA Page 177 of 259 .55.60-70 Status Active – the rule is active and will be execute by ZABBIX server Disable – the rule is not active.1-100. HTTP. Range of IP addresses for discovery. SMTP.1-255 List: 192.1.1. LDAP.2. For example.ZABBIX Manual v1. TCP.168.Auto-discovery rule Auto-discovery rule is a rule used by ZABBIX to discover hosts and services.33 Range of IP addresses: 192. NNTP.168. 18.104.22.168.6 For a description of all operations available for auto-discovery based events see Operations. It won't be executed. ZABBIX Agent.Real life scenario Suppose we would like to setup auto-discovery for local network having IP range of 192.200 Delay (in sec) Checks This parameter defines how often ZABBIX should execute this rule.1. IMAP. It may have the following formats: Single IP: 192. FTP. ZABBIX will use this list of check for discovery of hosts and services. "Local network". POP.1-192.192. SNMPv1 Agent.168.1-255. 12.
1-192. ZABBIX will try to discover hosts in IP range of 192.6 use Template_Windows for Windows hosts use Template_Linux for Linux hosts add Linux hosts to group "Linux servers" add Windows hosts to group "Windows servers" Step 1 Define auto-discovery rule for our IP range. When the rule is added. For example.1.uname.168.ZABBIX Manual v1.1. Step 2 Define an action for adding newly discovered Linux servers. Linux boxes to Linux_Template. A value received from an agent can be used to apply different actions for different operating systems. Copyright 2008 ZABBIX SIA Page 178 of 259 . The rule will be executed every 10 minutes (600 seconds).255 by connecting to ZABBIX Agents and getting system. link Windows boxes to Windows_Template.168. ZABBIX will automatically start discovery and generation of Discovery based events for further processing.
ZABBIX will automatically start monitoring of the host using items and triggers from "Template_Linux". Step 3 Define an action for adding newly discovered Windows servers.6 The action will be activated if: service "ZABBIX Agent" is Up value of system.uname (ZABBIX Agent's key we used in rule definition) contains "Linux" Uptime is more than 1 hour (3600 seconds) The action will execute the following operations: adds newly discovered host to group "Linux servers" (also adds host if wasn't added previously) links host to template "Template_Linux".ZABBIX Manual v1. Copyright 2008 ZABBIX SIA Page 179 of 259 .
6 Step 4 Define an action for removing lost servers. Copyright 2008 ZABBIX SIA Page 180 of 259 .ZABBIX Manual v1.
6 A server will be removed if service "ZABBIX Agent" is Down for more than 24 hours (86400 seconds). Copyright 2008 ZABBIX SIA Page 181 of 259 .ZABBIX Manual v1.
Proxy v.Why use Proxy ZABBIX Proxy can be used for many purposes: Offload ZABBIX Server when monitoring thousands of devices Monitor remote locations Monitor locations having unreliable communications Simplify maintenance of distributed monitoring 13.s.2. Node When making a choice between use of a Proxy or a Node. 13. several considerations must be taken into account.ZABBIX Manual v1.1. when all Agents and Proxies report to one ZABBIX server and all data is collected centrally.Use of Proxies ZABBIX Proxies may greatly simplify maintenance of ZABBIX environment and increase performance of central ZABBIX server. use of ZABBIX Proxies is the easiest way of implementing centralized and distributed monitoring. Easy maintenance Ready for embedded hardware Automatic DB creation Works independently One way TCP connections Centralised configuration Generates notifications Local administration Lightweight Copyright 2008 ZABBIX SIA GUI Page 182 of 259 .6 13. Also.
Copyright 2008 ZABBIX SIA Page 183 of 259 .Configuration Every host can be monitored either by ZABBIX Server or by ZABBIX Proxy. The data will be collected by the Proxy and sent to ZABBIX Server for further processing.3. This is configured in host definition screen: If a host is configured to be monitored by a Proxy.6 Node Proxy No Yes Yes No Yes Yes No Yes No Yes Yes No No Yes Yes Yes No Yes Yes No 13. the Proxy will perform gathering of performance and availability data for the host.ZABBIX Manual v1.
Each Node is responsible for monitoring of its own Location.3. Child Nodes will optionally send the data to Master Node.1. Each Node reports to its Master Node only. Configuration of the whole distributed setup can be done from a single location via common WEB interface.3. i.Goals There are several goals of the distributed monitoring: Get control of whole monitoring from a single or several locations ZABBIX administrator may control configuration of all Nodes from a single ZABBIX WEB front-end. Hierarchical monitoring This is for monitoring of complex multi-level environments. Node can be configured either locally or by its Master node which has a copy of configuration data of all Child Nodes.Overview ZABBIX provides effective and reliable way of monitoring distributed IT infrastructure. Configuration of Child Nodes can be done in off line mode. 14. 14.2. When communication is back. Hierarchical distributed monitoring allows having tree-like structure of Nodes.Configuration 14.e.Distributed Monitoring ZABBIX can be configured to support hierarchical distributed monitoring. Historical information and events are stored locally. New Nodes can be attached to and detached from the ZABBIX distributed setup without any loss of functionality of the setup.ZABBIX Manual v1.Configuration of Nodes Copyright 2008 ZABBIX SIA Page 184 of 259 . when there are no connectivity between Master and Child Node. No restart of any Node required. Each Node has its own configuration and works as a normal ZABBIX Server. Offload the overhead from busy ZABBIX server Monitoring thousands of hosts using single ZABBIX server? This may be for you! 14.1. ZABBIX supports up-to 1000 (one thousand) Nodes in a distributed setup. All Nodes may work even in case of communication problems. Monitor large complex environments This is especially useful when monitoring several geographical locations.6 14.
ZABBIX trapper must be listening on this IP address. ZABBIX automatically converts time stamps to local timezone when transferring time related data across nodes. Node Port number. ZABBIX won't keep history of the node longer than N seconds.6 Parameters of a Node: Parameter Name Id Type Time zone Description Unique node name. ZABBIX trapper must be listening on this port number. Unique Node ID. IP Port Do not keep history For non local historical data only. Local – Local node Remote – Remote node Time zone of the Node. ZABBIX won't keep trends of the node longer than N seconds. Node IP address. older than (in sec) Copyright 2008 ZABBIX SIA Page 185 of 259 . older than (in sec) Do not keep trends For non local trend data only. Default is 10051.ZABBIX Manual v1.
. ChildNode will report to central node events.. Central Node IP: 192...... Port: 10051 Child Node IP: 192............conf Converting tables . history and trends... This option is not required to start ZABBIX server! Step 4 Configure Node parameters.. Port: 15052 For Central Node: Step 1 Install ZABBIX.. cd bin ... done..... while Child Node's NodeID=2..168.6 14.. ZABBIX server has to be executed to covert unique IDs for use by first node.5.. Central Node will have NodeID=1..2.conf: NodeID=1 Step 3 Convert database data.....Simple configuration Our simple configuration consists of a Central Node and a Child One...3.. Copyright 2008 ZABBIX SIA Page 186 of 259 ... In file zabbix_server.. Step 2 Setup NodeID in server configuration file... Central Node will have total control over configuration of Child Node............ Follow standard installation instructions to create database./zabbix_server -n 1 -c /etc/zabbix/zabbix_server. Note: This should be executed only once.....3.ZABBIX Manual v1.....3.2. install ZABBIX frontend and binaries.168. Conversion completed...
ZABBIX Manual v1. Copyright 2008 ZABBIX SIA Page 187 of 259 .6 Step 5 Add child node.
.. install ZABBIX frontend and binaries..... Step 2 Setup NodeID in server configuration file../zabbix_server -n 2 -c /etc/zabbix/zabbix_server. This option is not required to start ZABBIX server! Step 4 Configure Node parameters.......... Note: This should be executed only once.............. We should see NodeID in stratup messages of server log file: 31754:20070629:150342 server #16 started [Node watcher. In file zabbix_server...... cd bin ... Conversion completed.conf Converting tables . Node ID:1] For Child Node: Step 1 Install ZABBIX....ZABBIX Manual v1........ done..... Copyright 2008 ZABBIX SIA Page 188 of 259 .6 Step 6 Start Master Node...... Follow standard installation instructions to create database...... ZABBIX server has to be executed to covert unique IDs for use by first node....conf: NodeID=2 Step 3 Convert database data...
6 Step 5 Add master node. Page 189 of 259 . Step 6 Copyright 2008 ZABBIX SIA Start Child Node.ZABBIX Manual v1.
ZABBIX Manual v1. Node ID:2] Does it work? Selection of active nodes will appear automatically after nodes are defined: Add host for monitoring for Child Node node and see events coming to Master Node: Copyright 2008 ZABBIX SIA Page 190 of 259 .6 We should see NodeID in stratup messages of server log file: 27524:20070629:150622 server #9 started [Node watcher.
3.6 14.3.More complex setup The setup consists of seven Nodes. Each Node may be configured either locally (using local WEB interface) or from one of its Master Nodes. Copyright 2008 ZABBIX SIA Page 191 of 259 .ZABBIX Manual v1.
NodeID must be a unique Node ID. Additional steps Step 1 Follow standard installation procedure. 14. 14. Follow standard installation procedure but do not start ZABBIX Server. ZABBIX database must be created and populated with data from data.5. Step 4 Start ZABBIX Node.Platform independence A node may use its own platform (OS. Oracle or PostgreSQL backend.sql. It may be practical to use less powerful hardware with ZABBIX Server running SQLite or MySQL MyISAM while nodes of higher levels may use combination of a better hardware with MySQL InnoDB. Step 3 Configure Master and Child Nodes. Make sure that all IP addresses and port numbers are correct./zabbix_server Copyright 2008 ZABBIX SIA Page 192 of 259 . Use ZABBIX Frontend to configure details of Nodes having direct communication with the Node.ZABBIX Manual v1.Configuration of a single Node Every Node in distributed environment must be properly configured to have a unique Node ID. Start ZABBIX Server: shell> . Also child nodes can be installed without ZABBIX frontend. hardware) and database engine independently of other nodes. Riga (node 4) will collect events from all child nodes. Add NodeID to ZABBIX Server configuration file. It may also optionally collect historical information as well.4.6 In this example. ZABBIX front end must be installed and configured. Step 2 Configure zabbix_server.conf.
Data Configuration changes Events History Frequency Every 120 seconds..7.Child to Master Each Child Node periodically sends configuration changes. Trends are calculated locally based on received historical data. 14. 11656:20061129:171614 NODE 2: Sending data of node 2 to node 1 datalen 3522738 11656:20061129:171614 NODE 2: Sending data of node 2 to node 1 datalen 20624 .Switching between nodes When connecting to a node in distributed setup.ZABBIX Manual v1.. For example.Data flow 14.1. All information available in the GUI belongs to the selected node. 14. Note: Sending of Events and History can be controlled by configuration parameters NodeNoEvents and NodeNoHistory. ZABBIX does not send operational data across the nodes.. itemrelated information (last check.7. 14..6.6 If everything was configured properly. ZABBIX node will automatically start configuration and data exchange with all nodes in distributed setup. last value. etc) exists only locally. a list of available child nodes is accessible in right-upper corner of the GUI. It displays current node. Every 10 seconds. Child Node will resend data in case of communication problems.7. Every 10 seconds.2.Master to Child Copyright 2008 ZABBIX SIA Page 193 of 259 . historical data and events to its Master Node. You may see the following messages in server log file: .
14.Performance considerations Any node requires more processing resources in a distributed setup. ZABBIX does not send configuration of a Master Node to Childs.3.ZABBIX Manual v1.7. 14. Data flow Child Master Master Child Source port to Any to Any Destination port 10051 10051 This is default port used by ZABBIX trapper process.Firewall settings Inter-node communications use TCP protocol only. Network communications must be also fast enough for timely transfer of new data.8. Copyright 2008 ZABBIX SIA Page 194 of 259 . Data Configuration changes Frequency Every 120 seconds.6 Each Master Node (a node with at least one child) periodically sends configuration changes to Child Nodes either directly or via other Child Nodes directly connected to the Master Node. Master Node must be powerful enough to process and store not only local data but also data received from its all Child Nodes.
Offload the overhead from busy ZABBIX server Monitoring thousands of hosts using single ZABBIX server? This may be for you! 15.Configuration ZABBIX provides effective and reliable way of monitoring distributed IT infrastructure.6 15. Monitor large complex environments This is especially useful when monitoring several geographical locations.2.1. Configuration of the whole distributed setup can be done from a Copyright 2008 ZABBIX SIA Page 195 of 259 . 15.Maintenance mode for ZABBIX GUI ZABBIX can be configured to support hierarchical distributed monitoring.Goals There are several goals of the distributed monitoring: Get control of whole monitoring from a single or several locations ZABBIX administrator may control configuration of all Nodes from a single ZABBIX WEB front-end.ZABBIX Manual v1. Hierarchical monitoring This is for monitoring of complex multi-level environments.
6 16. etc) sound alarm can be switched on and off in Status of Triggers view 16.1.1.WEB Interface There are several useful features of ZABBIX WEB interface: – – – almost all screens support full-screen mode Ctrl + Mouse click make possible selection of multiple list elements (hosts.1.Configuration There are several goals of the distributed monitoring: 16.1.1. Configuration parameters: Copyright 2008 ZABBIX SIA Page 196 of 259 . triggers. items.ZABBIX Manual v1.Events The screen defines event related settings.1.General 16.
per trigger to show Copyright 2008 ZABBIX SIA Page 197 of 259 . Default is 7 days.ZABBIX Manual v1. This parameter defines for how many days event are displayed in Status of Triggers screen. Mac count of events Maximum number of event to show for each trigger in Status of Triggers screen.6 Parameter Event acknowledges Show events no older (Days) Description This parameter defines if event acknowledges are activated in ZABBIX interface. Default is 100.
Housekeeper The Housekeeper is a periodical process which is executed by ZABBIX Server. Do not keep events This parameter defines how many days of events history ZABBIX will keep in the database.ZABBIX Manual v1.1.1. The process removes outdated information and information deleted by user. Older actions will be removed. Configuration parameters: Parameter Description Do not keep actions This parameter defines how many days of executed actions (emails.2.6 16. Copyright 2008 ZABBIX SIA Page 198 of 259 . jabber. SMS. etc) history ZABBIX will older than (in days) keep in the database. Older events older than (in days) will be removed.
3.Images List of images Copyright 2008 ZABBIX SIA Page 199 of 259 .1.1.6 16.ZABBIX Manual v1.
JPEG) to be uploaded to ZABBIX Copyright 2008 ZABBIX SIA Page 200 of 259 . There are two types of images: Icon Background Icons are used in for displaying System Map elements. Image attributes: Parameter Name Type Upload Description Unique name of an image.ZABBIX Manual v1. Backgrounds are used as background images of System Maps.6 Image definition ZABBIX images are stored in the database. Either Icon or Background Name of local file (PNG.
5MB may not be displayed in maps. Copyright 2008 ZABBIX SIA Page 201 of 259 .ini if you have this problem.6 Note: Note that you may upload image of any size. Increase value of max_memory_size in php. however images bigger than 1.ZABBIX Manual v1.
6 16. which are used to customize look and feel of ZABBIX front-end.ZABBIX Manual v1. Copyright 2008 ZABBIX SIA Page 202 of 259 . Possible parameters: Parameter Default theme Description Theme used for all users.4.Themes ZABBIX support themes.1.1. Default theme is "Original blue". An user may override the default theme in user profile.
Value mapping Value maps are used to create a mapping between numeric values and string representations. an item which has value '0' or '1' can use value mapping to represent the values in a human readable form: '0' => 'Not Available' '1' => 'Available' Note: Value mapping can be used only for items having type 'Unsigned integer'. Copyright 2008 ZABBIX SIA Page 203 of 259 . For example.6 16.5. Value mappings are used for representation of data in both ZABBIX front-end and information sent by email/jabber/SMS/whatever.ZABBIX Manual v1.1.1.
6 Value mapping definition Parameters of a value mapping: Parameter Name Mapping New mapping Description Unique name of set of value mappings. Single mapping for addition.ZABBIX Manual v1. Copyright 2008 ZABBIX SIA Page 204 of 259 . Set of mappings.
00:00-23:59 For example: 1-5.… FORMAT dd hh mm DESCRIPTION Day of week: 1 – Monday.Working time Working time is system-wide parameter which defines working time.ZABBIX Manual v1.hh:mm-hh:mm.09:00-18:00 Copyright 2008 ZABBIX SIA Page 205 of 259 . Currently this is used for graphs only.1.… . Working time has the following format: dd-dd. 2 – Tuesday . while non-working time is displayed as grey. Working time is displayed as a white background.1. 7 – Sunday Hours: 00-24 Minutes: 00-59 Empty format is equal to 01-07.6 16.6.dd-dd.hh:mm-hh:mm.
ZABBIX Manual v1.10:00-16:00 Copyright 2008 ZABBIX SIA Page 206 of 259 .09:00-18:00.6 1-5.6-7.
Other Refresh unsupported items Some items may become unsupported due to errors in User Parameters or possible an item is not supported by an agent. ZABBIX server will not stop.7.6 16. it will wait until the database is back again to continue processing. a special ZABBIX server process. down Page 207 of 259 . is created in order to alarm ZABBIX administrators in case of disaster.1. The watchdog will send notifications to a user group in case if the database is down. Parameter Description Refresh unsupported ZABBIX will activate unsupported item every N seconds. If set to 0. Database watchdog.ZABBIX Manual v1. Database watchdog Availability of ZABBIX server depends on availability of back-end database very much.1. the automatic activation will be items (in sec) disabled. It cannot work without a database. User group database Copyright 2008 ZABBIX SIA for User group for sending alarm message or 'None'. ZABBIX can be configured to periodically make unsupported items active.
6 Parameter message Description Note: Database watchdog is supported for MySQL only! Copyright 2008 ZABBIX SIA Page 208 of 259 .ZABBIX Manual v1.
ZABBIX Manual v1.Administration The Administration Tab is available to users Super Administrators only.Authentication 16. Enabled Copyright 2008 ZABBIX SIA Page 209 of 259 .HTTP The screen can be used to enable Apache based (HTTP) authentication. The authentication will be used to check user names and passwords.6 16.1. Configuration parameters: Parameter Description HTTP Authentication This parameter defines if Apache based authentication is enabled.1.2. 16.2. Note that an user must exist in ZABBIX as well.2.1. however his ZABBIX password will not be used.
6 Note: Be careful! Make sure that Apache authentication is configured and works properly before switching it on. Copyright 2008 ZABBIX SIA Page 210 of 259 . Note: Some user group can still be authorised by ZABBIX. These group must have GUI Access set to Internal.ZABBIX Manual v1.
com ou=Users. Configuration parameters: Parameter LDAP Host Port Base DN Search Attribute Bind DN Bind Password LDAP Copyright 2008 ZABBIX SIA Description Name of LDAP ldap://ldap. server. The authentication will be used to check user names and passwords.ou=system Password for binding to the LDAP server.ZABBIX Manual v1.1.6 16. Default is 389. Note that an user must exist in ZABBIX as well. however his ZABBIX password will not be used.2.LDAP The screen can be used to enable external LDAP authentication. For example: Port of LDAP server.zabbix. Page 211 of 259 . ZABBIX LDAP authentication works at least with Microsoft Active Directory and OpenLDAP.ou=system uid uid=Admin. Authentication Enable LDAP authentication.2.
Note: Some user group can still be authorised by ZABBIX.220.127.116.11 Parameter Enabled Test Authentication Login User Password Description Name of a test user.ZABBIX Manual v1. 16. These group must have GUI Access set to Internal.Users The screen can be used to manage ZABBIX users. List of users It provides list of users. ZABBIX will not activate LDAP authentication if it is unable to authenticate the test user. LDAP password of the test user.2.2. Displayed data: Copyright 2008 ZABBIX SIA Page 212 of 259 . The user must exist in LDAP.Users 16.
Actions Copyright 2008 ZABBIX SIA Page 213 of 259 . User name. LDAP Authentication Internal – the user is authenticated by ZABBIX regardless of system settings Disabled – GUI access is restricted to this user Status User status. The user is ignored by ZABBIX. HTTP Authentication. login name. i.ZABBIX Manual v1. User type. one of following: ZABBIX User ZABBIX Admin ZABBIX Super Admin Groups Is online? GUI Access List of all group the user belong to. depends on settings of user groups: System default – ZABBIX. depends on settings of user groups: Enabled – the user is active Disabled – the user is disabled. User surname. Access to GUI. Is user online.6 Parameter Alias Name Surname User type Description User short-name.e.
e. Language of ZABBIX GUI.6 User configuration The screen provides user details and gives control to change user attributes. one of following: ZABBIX User – access to Monitoring tab only. Must be unique! User name.ZABBIX Manual v1. access to Monitoring and ZABBIX Super Admin – access to everything. List of all medias. Groups Media Language Theme Copyright 2008 ZABBIX SIA List of all group the user belong to. login name. The medias are used by ZABBIX for sending notifications. Defines how the GUI looks like: Page 214 of 259 . User surname. User type. i. including Administration tabs. Configuration parameters: Parameter Alias Name Surname User type Description User short-name. ZABBIX Admin – Configuration tabs.
Make ZABBIX to transfer you to the URL after successful login. Set it to 0 to disable auto-logout.6 Parameter Description System Default . screens. plain text data. Can be set to 0 to disable. It is impossible to change user rights here.ZABBIX Manual v1. Browser cookies are used for this. .use system settings Original Blue – standard blue theme Black & Blue – alternative theme Auto-login (1 month) Auto-logout disable) (0 Enable if you want ZABBIX to remember you. Refresh used for graphs. URL (after login) Refresh (in seconds) Click on User Right Show to display user rights. the rights depend on user group membership! The information is available read-only. etc. Copyright 2008 ZABBIX SIA Page 215 of 259 .User will be logouted after N seconds if inactivity.
2.2. Enabled – users are active Disabled – all users of the group are disabled Displays how the users are authenticated. List of user groups It provides list of user groups. Displayed data: Parameter Name User status GUI Access Description Host group name.User Groups The screen can be used to manage ZABBIX user groups. System default – use default authentication Internal – use ZABBIX authentication Disabled – access to ZABBIX GUI is forbidden Members List of group members Copyright 2008 ZABBIX SIA Page 216 of 259 .ZABBIX Manual v1.2.6 16. Must be unique.
How the users of the group are authenticated.ZABBIX Manual v1. System default – use default authentication Internal – use ZABBIX authentication Disabled – access to ZABBIX GUI is forbidden Users Status Status of group members: Enabled – users are active Disabled – users are disabled Rights Three lists for different host permissions: Read-write – host groups with read-write access Read-only – host groups with read-only access Deny – host groups with deny access Copyright 2008 ZABBIX SIA Page 217 of 259 .6 User group configuration Configuration parameters: Parameter Group name Users GUI Access Description Unique group name. List of members of this group.
ZABBIX Manual v1.6 Click on User rights (Show) to see what permissions the user group have: Copyright 2008 ZABBIX SIA Page 218 of 259 .
Configuration details.6 16. Displayed data: Parameter Type Description Media type: Email – email notification SMS – SMS notifications sent using serial GSM modem Jabber – Jabber notification Script – script based notification Description Details Copyright 2008 ZABBIX SIA Name of the media.2. List of media types It provides list of media types.ZABBIX Manual v1. Page 219 of 259 . depends on media type. Media type is a delivery method for user notifications.2.Media types 16.Media types The screen can be used to manage ZABBIX users.3.3.1.
6 Media configuration The screen provides user details and gives control to change media attributes.Jabber ID Password – Password of the Jabber ID Copyright 2008 ZABBIX SIA Page 220 of 259 . Media type: Email – email notification SMTP Server .server name SMTP Hello – Hello string. Configuration parameters: Parameter Description Type Description Unique media name.serial device name of GSM modem Jabber – Jabber notification Jabber Identifier . normally domain name SMTP Email – sender email address SMS – SMS notifications sent using serial GSM modem GSM Modem .ZABBIX Manual v1.
Read . ZABBIX user may execute a script from the front-end by clicking on host from certain screens. Displayed data: Parameter Name Command User group Host group Host access Copyright 2008 ZABBIX SIA Description Unique script name. The script is available to members of the user group only.2. List of scripts It provides list of scripts known to ZABBIX.ZABBIX Manual v1.6 Parameter Description Script – script based notification Script name .an user must have read permission for the host Page 221 of 259 . The script is available for hosts of the host group only. Depending on permission.name of the custom script 16. Command to be executed.Scripts The screen can be used to manage user-defined scripts.4.
The following macros are supported here: {HOST.6 Parameter Description to execute the script Write .ZABBIX Manual v1.CONN} User group The script is available to members of the user group only. Page 222 of 259 Copyright 2008 ZABBIX SIA . Script configuration The screen provides script details and gives control to change script attributes. Full patch to a command. The command will run on ZABBIX Server side.an user must have write permission for the host to execute the script. which will be executed on user request. Configuration parameters: Parameter Name Command Description Unique script name.
2.5. User name. which was affected: Page 223 of 259 . 16. Object.Audit The screen can be used to see front-end audit records and list of notifications sent to users.6 Parameter Host group Host access Description The script is available for hosts of the host group only. Read .an user must have write permission for the host to execute the script.an user must have read permission for the host to execute the script Write . Audit logs Displayed data: Parameter Time User Resource Copyright 2008 ZABBIX SIA Description Time stamp when an action took place.ZABBIX Manual v1.
ZABBIX Manual v1. Displayed data: Copyright 2008 ZABBIX SIA Page 224 of 259 . The screen provides access to history of notifications and remote commands.6 Parameter Description Application Graph Host Item User Action Performed action: Added Login Logout Removed Updated Details Audit actions More detailed information about action.
6 Parameter Time Type Description Time stamp when an action took place. Error if the notification was not sent. List of recipients. Copyright 2008 ZABBIX SIA Page 225 of 259 . Type of executed operation: Notifications Remote command Status Status: Not sent Sent Retires left Recipient(s) Message Error Number of retires left. Message used in notification.ZABBIX Manual v1.
Overview The view gives information about overall performance of ZABBIX including ZABBIX Server and Proxies. Data is delayed for 5-10 minutes. Data is delayed for 30-60 seconds. Data is delayed for 10-30 seconds. For each item type the following data is displayed: Parameter Items 5 seconds 10 seconds 30 seconds 1 minute 5 minutes More than 10 minutes Description Item type Data is delayed for 5-10 seconds.Queue The Queue provides information about performance of ZABBIX. Data is delayed for more than 10 minutes.6.6 16.ZABBIX Manual v1. Data is delayed for 1-5 minutes. Copyright 2008 ZABBIX SIA Page 226 of 259 .2.
shows statistics about local server.ZABBIX Manual v1. For each Proxy and local ZABBIX Server the following data is displayed: Parameter Proxy Description Proxy name or Server.6 Overview by proxy The view gives more detailed information about performance of ZABBIX Server and Proxies. Server. displayed last. Copyright 2008 ZABBIX SIA Page 227 of 259 .
List of items is displayed with the following details: Parameter Next check Host Description Description Expected time stamp of next data retrieval.ZABBIX Manual v1. The time stamps will always be in the past.6 Details The view gives very detailed information about delayed items. Host name. Copyright 2008 ZABBIX SIA Page 228 of 259 . Item name.
Notifications This is report on number of notifications sent to each user grouped by media types.7. For each user number of notifications is displayed per each media type. Copyright 2008 ZABBIX SIA Page 229 of 259 .2.ZABBIX Manual v1.6 16.
ZABBIX Manual v1. Do not add – if something is not translated.2. Parameters: Parameter Take for default locale Locale to extend New entries Description The locale will be used as a base one. Locale selection Select locale you'd like to select for further processing. ignore it Leave empty – if something is not translated. fill translation with default value Copyright 2008 ZABBIX SIA Page 230 of 259 .8. Select language you'd like to improve.Locales Locales provides functionality for easy editing of translations of ZABBIX frontend.6 16. leave translation empty Fill with default value – if something is not translated.
ZABBIX Manual v1.6 Translation form This form is used to translate phrases used in ZABBIX front-end. which can be used to replace files under include/locales. Copyright 2008 ZABBIX SIA Page 231 of 259 . Once translation is ready. Left side is filled with default language. press button "Download" to have translation file. right side consists of translated phrases.
ZABBIX Manual v1.Installation The screen makes possible creation of ZABBIX front-end configuration file.6 16.9. Copyright 2008 ZABBIX SIA Page 232 of 259 .2.
Operating System Use latest (stable!) version of OS Exclude unnecessary functionality from kernel Tune kernel parameters ZABBIX configuration parameters Many parameters may be tuned to get optimal performance.Hardware General advices on hardware: Use fastest processor available SCSI or SAS is better than IDE (performance of IDE disks may be significantly improved by using utility hdparm) and SATA 15K RPM is better than 10K RPM which is better than 7200 RPM User fast RAID storage Use fast Ethernet adapter Having more memory is always better 17.2.Performance Tuning 17.5Ghz. You want to update these parameters once in 30 seconds. These calculations made in assumption that all monitored values are retrieved as soon as required (latency is 0). we see that ZABBIX is able to handle 600 servers (or 6000 checks). 256Mb. one may ask? It depends on number of monitored parameters and how often ZABBIX should acquire these parameters. 17. MySQL/MyISAM 3.0 installed (RedHat Linux 8. the hardware configuration will be able to handle 600x2=1200 servers. each server you monitor has ten parameters to watch for.6 17.54a-4.23. If this is not a requirement.18-14. IDE) is able to collect more than 200 parameters per second from servers being monitored (assuming no network delays).4.Performance tuning 17. In case if these parameters need to be updated once in a minute. Doing simple calculation. zabbix_server Copyright 2008 ZABBIX SIA Page 233 of 259 .126.96.36.199.Real world configuration Server with ZABBIX 1. How many servers can be monitored by ZABBIX on the hardware. then number of monitored servers can be increased even up to 5x-10x times. kernel 2. Suppose. Pentium IV 1.ZABBIX Manual v1.2.2.
Every additional instance of zabbix_server adds known overhead. 'items' 'functions'. use fastest database engine. InnoDB requires more CPU power. keeping of MySQL temporary files in tmpfs is recommended 17.2. MySQL use stable release of a database engine rebuild MySQL or PostgreSQL from sources to get maximum performance follow performance tuning instructions taken from MySQL or PostgreSQL documentation for MySQL. Copyright 2008 ZABBIX SIA Page 234 of 259 .2. It is recommended to use DBSocket for connection to the database. DebugLevel Optimal value is 3. Example: why use system[procload]. Keeping small update interval may be good for nice graphs. This value can be monitored by using internal check zabbix[queue]. triggers'. for large installations. contains minimum number of parameters (ideally.e.ZABBIX Manual v1. parallelism is increased.4. Optimal number of instances is achieved when queue. This is because of increased parallelism. and 'trends' are most heavily used tables. ZABBIX heavily depends on availability and performance of database engine.keep value of this parameter as low as possible.General advices monitor required parameters only tune 'Update interval' for all items.5 times faster (comparing to MyISAM) if InnoDB is used. 0 at any given moment). 17. However. 'history_str. use InnoDB table structure ZABBIX works at least 1. however. That is the fastest and the most secure way.3. i. keep database tables on different hard disks 'history'.system[procload5] andsystem[procload15] if system[procload] contains all.Database Engine This is probably most important part of ZABBIX tuning.6 StartPollers General rule . DBSocket MySQL only. in the same time. this may over load ZABBIX tune parameters for default templates tune housekeeping parameters do not monitor parameters wich return same information. on average.
max(3600) will be calculated significantly slower than max(60). Copyright 2008 ZABBIX SIA Page 235 of 259 .6 avoid use of triggers with long period given as function argument. For example.ZABBIX Manual v1.
General advices Copyright 2008 ZABBIX SIA Page 236 of 259 .6 18.Troubleshooting 18.1.ZABBIX Manual v1.
2.ZABBIX Manual v1.net/forum/message. 220.127.116.11 19.Sending alerts via WinPopUps WinPopUps maybe very useful if you're running Windows OS and want to get quick notification from ZABBIX.com/Redbooks.Monitoring of server's availability At least three methods (or combination of all methods) may be used in order to monitor availability of a server.php?msg_id=2721722.1. More information is available at http://publibb.1.AS/400 IBM AS/400 platform can be monitored using SNMP. ICMP ping (Key "icmpping") Key "status" Trigger function nodata() for monitoring availability of hosts using only active checks 19.nsf/RedbookAbstracts/sg244504.boulder.1.2.MySQL Copyright 2008 ZABBIX SIA Page 237 of 259 .ibm. Details about enabling of WinPopUps can be found at https://sourceforge.1.GENERAL RECIPES 19. It could be good addition for email-based alert messages.MONITORING OF SPECIFIC APPLICATIONS 19. 19.Cookbook 19.2.html?Open.2.
not started 1 . ### Set of parameter for monitoring MySQL server (v3.mysql -V * mysql[ping] Check.alive * mysql[uptime] Number of seconds MySQL is running * mysql[threads] Number of MySQL threads * mysql[questions] Number of processed queries * mysql[slowqueries] Number of slow queries * mysql[qps] Queries per second * mysql[version] Copyright 2008 ZABBIX SIA Page 238 of 259 .mysqladmin -uroot status|cut f5 -d":"|cut -f1 -d"O" #UserParameter=mysql[qps].42 and later) ### Change -u and add -p if required #UserParameter=mysql[ping].mysqladmin -uroot status|cut f2 -d":"|cut -f1 -d"T" #UserParameter=mysql[threads].6 Configuration file misc/conf/zabbix_agentd.mysqladmin -uroot status|cut -f9 d":" #UserParameter=version[mysql].mysqladmin -uroot status|cut f4 -d":"|cut -f1 -d"S" #UserParameter=mysql[slowqueries].mysqladmin -uroot ping|grep alive|wc -l #UserParameter=mysql[uptime]. if MySQL is alive Result: 0 .23.ZABBIX Manual v1.mysqladmin -uroot status|cut f3 -d":"|cut -f1 -d"Q" #UserParameter=mysql[questions].conf contains list of parameters that can be used for monitoring of MySQL.
3. It is available from http://forge. 19.com/modules/xfmod/project/?mrtgext.NLM) agent for Novell.6 Version of MySQL Example: mysql Ver 11.WIN32 Use ZABBIX W32 agent included (pre-compiled) into ZABBIX distribution. See http://www.5.ZABBIX Manual v1.Mikrotik routers Use SNMP agent provided by Mikrotik.49.2.Novell Use MRTG Extension Program for NetWare Server (MRTGEXT.2.novell. Items have to be configured of type ZABBIX Agent and must have keys according to the MRTGEXT documentation. For example: * UTIL1 1 minute average CPU utilization * CONNMAX Max licensed connections used * VFKSys bytes free on volume Sys: Copyright 2008 ZABBIX SIA Page 239 of 259 .4.com for more information. 19. The agent is compatible with protocol used by ZABBIX. for pc-linux-gnu (i686) 19.23.16 Distrib 3.2.mikrotik.
I enable it by setting the following options for the jvm: -Dcom. ZABBIX can retrieve information provided by Informix SNMP agent.sun.ssl=false \ -Dcom.JMX First of all.management.sun.jmxremote.sun. 19.txt.management.8.Tuxedo Tuxedo command line utilities tmadmin and qmadmin can be used in definition of a UserParameter in order to return per server/service/queue performance counters and availability of Tuxedo resources. to use password authentication. How do you know if you can do this? You can use the sun jconsole utility that comes with the jdk and point it at your machine running the jvm.Informix Standard Informix utility onstat can be used for monitoring of virtually every aspect of Informix database.6.file=/path/java/jre/lib/management/j mxremote. and to refer to the passwords stored in the jmxremote.authenticate=true \ Dcom.6 Full list of parameter supported by the agent can be found in readme.sun.management.jmxremote \ -Dcom.management.jmxremote. In my tomcat environment. 19. which is part of the software.management.jmxremote.7.2. If you can connect.password.ZABBIX Manual v1.sun.jmxremote. password" This tells the jmx server to run on port XXXXX. 19. you are good.password file. you need to configure your jvm to allow jmx monitoring. Also. See the sun Copyright 2008 ZABBIX SIA Page 240 of 259 .2.port=xxxxx \ -Dcom.2.
lang.jar <jvmhostname>:<jmxport> Copyright 2008 ZABBIX SIA Page 241 of 259 . The first way is I can use the servlet provided by Tomcat. I browse down through the jmx objects via jconsole. (Don't know what jboss has). Parse the output and grab the number of your choice.lang:type=Threading PeakThreadCount /<pathTo>/cmdline-jmxclient. jconsole will also provide you the information you need to query specific jmx attributes from the information tab. Let's say I am interested in peak threads used by the system. I click on the info tab.6 docs on jconsole for details.lang:type=Threading' where the jmx username and password are the ones defined in the file defined in the jvm options above. I can then run jconsole and see everything that is currently exposed (and to verify that I can connect properly).ZABBIX Manual v1. The output from this will be all the metrics from this jmx key. since I use Tomcat. (You might consider enabling ssl to make the connection more secure. the qry string is the one obtained from jconsole. The second way is I can send well formatted requests via a jmx command line tool. there are two ways that I can grab the jmx attribute values (or effect a jmx operation). I can do the following: curl -s -u<jmxusername>:<jmxpassword> 'http://<tomcat_hostname>/manager/jmxproxy/?qry=java. Threading. If you don't have a servlet that will allow you to make a http request to the jmx interface. After selecting Threading. and I can see the name of the mbean is "java. Now.) Once that is done. find it under java.lang:type=Threading" With tomcat. you can use the command line tool like this /<pathTo>/java -jar <jmxusername>:<jmxpassword> java.
sun.maxthreads.org/cmdline-jmxclient/ Information on setting up jmx monitoring for your jvms http://java.g.html General Information on JMX Copyright 2008 ZABBIX SIA Page 242 of 259 .jar <jmxusername>:<jmxhostname> <jvmhostname>:<jmxport> java. Need a command line jmx client? I use the one from here: http://crawler. you can then turn that command into a zabbix userparm.left as an exercise to the reader> That's it. Again.0/docs. parse the output for the data of your choice.6 The difference with the command line client is you need to specify the attribute you are interested in specifically.lang:type=Threading PeakThreadCount | <some filter to grab just the number you need .ment/agent.5.com/j2se/1. Leaving it out will give you a list of all the attributes available under Threading..ZABBIX Manual v1. I prefer getting my stats from the servlet via http rather than using the java command line client as it is much "lighter" to start up and grab the information. /usr/bin/curl -s -u<jmxusername>:<jmxpassword> 'http://<tomcat_hostname>/manager/jmxproxy/?qry=java. "" ).lang:type=Threading' | / bin/awk '/^PeakThreadCount\:/ { gsub( /[^0123456789]/. /<pathTo>/java -jar /<pathTo>/cmdlinejmxclient.archive. print $1 }' or UserParameter=jvm. e.maxthreads. UserParameter=jvm.. Once you can reliably grab the data you are interested in.
Step 4 Write media script.0/docs.6 http://java. If trigger is ON. 19.5. Step 2 Define new user..ZABBIX Manual v1. then execute OpenView command opcmsg -id application=<application> msg_grp=<msg_grp> object=<object> msg_text=<text>. The command will return unique message ID which has to be stored somewhere. Step 3 Configure actions.verviewTOC. Configure actions to send all (or selected) trigger status changes to the user. The user has to be linked with the media. The media will execute a script which will send required information to OpenView. The following steps must be performed: Step 1 Define new media.sun. The script will have the following logic.5 jvm also supports snmp which provides another option.HP OpenView ZABBIX can be configured to send messages to OpenView server.INTEGRATION 19. preferrably in a new table of ZABBIX database. Copyright 2008 ZABBIX SIA Page 243 of 259 . If trigger is OFF then opcmack <message id> has to be executed with message ID retrieved from the database.3.com/j2se/1.3.1.html PS: apparently the 1..
6 Refer to OpenView official documentation for more details about opcmsg and opcmack.ZABBIX Manual v1. Copyright 2008 ZABBIX SIA Page 244 of 259 . The media script is not given here.
Copyright 2008 ZABBIX SIA Page 245 of 259 .ZABBIX Manual v1. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish). For example. that you can change the software or use pieces of it in new free programs.Licence GNU GENERAL PUBLIC LICENSE Version 2. too. Inc. the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. we are referring to freedom. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it.Suite 330. By contrast. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead. And you must show them these terms so they know their rights. 59 Temple Place . that you receive source code or can get it if you want it. When we speak of free software. if you distribute copies of such a program. too. You must make sure that they. and that you know you can do these things. Boston. you must give the recipients all the rights that you have. 1991 Free Software Foundation.6 20. These restrictions translate to certain responsibilities for you if you distribute copies of the software. Preamble The licenses for most software are designed to take away your freedom to share and change it. not price. MA 02111-1307. we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. USA Everyone is permitted to copy and distribute verbatim copies of this license document. but changing it is not allowed. receive or can get the source code. whether gratis or for a fee. June 1991 Copyright (C) 1989. or if you modify it.) You can apply it to your programs. To protect your rights.
distribute and/or modify the software. refers to any such program or work. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses. in effect making the program proprietary. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. either verbatim or with modifications and/or translated into another language.ZABBIX Manual v1. TERMS AND CONDITIONS MODIFICATION FOR COPYING. Activities other than copying. we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. provided that you conspicuously and appropriately publish on Copyright 2008 ZABBIX SIA Page 246 of 259 . The precise terms and conditions for copying. in any medium. and (2) offer you this license which gives you legal permission to copy. 1. Also. for each author's protection and ours. so that any problems introduced by others will not reflect on the original authors' reputations. we want its recipients to know that what they have is not the original. a work containing the Program or a portion of it. we want to make certain that everyone understands that there is no warranty for this free software. To prevent this. You may copy and distribute verbatim copies of the Program's source code as you receive it. If the software is modified by someone else and passed on. and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Finally. DISTRIBUTION AND 0. The "Program". any free program is threatened constantly by software patents. The act of running the Program is not restricted. Whether that is true depends on what the Program does.) Each licensee is addressed as "you". and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say. distribution and modification are not covered by this License. distribution and modification follow.6 We protect your rights with two steps: (1) copyright the software. they are outside its scope. (Hereinafter. translation is included without limitation in the term "modification". below.
and you may at your option offer warranty protection in exchange for a fee. and copy and distribute such modifications or work under the terms of Section 1 above. * b) You must cause any work that you distribute or publish. and thus to each and every part regardless of who wrote it. when started running for such interactive use in the most ordinary way. to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else. You may charge a fee for the physical act of transferring a copy. saying that you provide a warranty) and that users may redistribute the program under these conditions. keep intact all the notices that refer to this License and to the absence of any warranty. 2. then this License. do not apply to those sections when you distribute them as separate works.ZABBIX Manual v1. and give any other recipients of the Program a copy of this License along with the Program. that in whole or in part contains or is derived from the Program or any part thereof. the distribution of the whole must be on the terms of this License.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program. and its terms. thus forming a work based on the Program. your work based on the Program is not required to print an announcement. But when you distribute the same sections as part of a whole which is a work based on the Program. to be licensed as a whole at no charge to all third parties under the terms of this License. you must cause it. You may modify your copy or copies of the Program or any portion of it. provided that you also meet all of these conditions: * a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. and telling the user how to view a copy of this License. whose permissions for other licensees extend to the entire whole. * c) If the modified program normally reads commands interactively when run. (Exception: if the Program itself is interactive but does not normally print such an announcement. and can be reasonably considered independent and separate works in themselves.6 each copy an appropriate copyright notice and disclaimer of warranty. Copyright 2008 ZABBIX SIA Page 247 of 259 .
it is not the intent of this section to claim rights or contest your rights to work written entirely by you. * c) Accompany it with the information you received as to the offer to distribute corresponding source code. rather. to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. valid for at least three years. In addition. or. complete source code means all the source code for all modules it contains. mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler. 3. You may copy and distribute the Program (or a work based on it.6 Thus. the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. For an executable work. plus any associated interface definition files. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer. in accord with Subsection b above. However. a complete machine-readable copy of the corresponding source code. for a charge no more than your cost of physically performing source distribution.) The source code for a work means the preferred form of the work for making modifications to it. kernel. as a special exception. and so on) of the operating system on which the Copyright 2008 ZABBIX SIA Page 248 of 259 . * b) Accompany it with a written offer. under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: * a) Accompany it with the complete corresponding machine-readable source code. which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. or.ZABBIX Manual v1. plus the scripts used to control compilation and installation of the executable. to give any third party.
You may not impose any further restrictions on the recipients' exercise of the rights granted herein. However. 6. agreement or otherwise) that contradict the conditions of this License. and all its terms and conditions for copying. as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues). nothing else grants you permission to modify or distribute the Program or its derivative works. However. 7.6 executable runs. 5. distributing or modifying the Program or works based on it. If distribution of executable or object code is made by offering access to copy from a designated place. then the only way Copyright 2008 ZABBIX SIA Page 249 of 259 . the recipient automatically receives a license from the original licensor to copy. if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you. sublicense. then as a consequence you may not distribute the Program at all. unless that component itself accompanies the executable. If. You are not required to accept this License. You are not responsible for enforcing compliance by third parties to this License. parties who have received copies. distribute or modify the Program subject to these terms and conditions. These actions are prohibited by law if you do not accept this License. from you under this License will not have their licenses terminated so long as such parties remain in full compliance. modify. you indicate your acceptance of this License to do so. For example. then offering equivalent access to copy the source code from the same place counts as distribution of the source code. Therefore. even though third parties are not compelled to copy the source along with the object code. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations.ZABBIX Manual v1. or distribute the Program except as expressly provided under this License. conditions are imposed on you (whether by court order. modify. by modifying or distributing the Program (or any work based on the Program). since you have not signed it. sublicense or distribute the Program is void. Any attempt otherwise to copy. Each time you redistribute the Program (or any work based on the Program). 4. or rights. You may not copy. they do not excuse you from the conditions of this License. and will automatically terminate your rights under this License.
Each version is given a distinguishing version number. but may differ in detail to address new problems or concerns. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims. If the Program specifies a version number of this License which applies to it and "any later version". 9. If the Program does not specify a version number of this License.ZABBIX Manual v1. you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. Copyright 2008 ZABBIX SIA Page 250 of 259 .6 you could satisfy both it and this License would be to refrain entirely from distribution of the Program. this License incorporates the limitation as if written in the body of this License. Such new versions will be similar in spirit to the present version. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. so that distribution is permitted only in or among countries not thus excluded. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system. which is implemented by public license practices. 8. In such case. the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries. If any portion of this section is held invalid or unenforceable under any particular circumstance. it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. you may choose any version ever published by the Free Software Foundation. this section has the sole purpose of protecting the integrity of the free software distribution system.
TO THE EXTENT PERMITTED BY APPLICABLE LAW. BE LIABLE TO YOU FOR DAMAGES. 12. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different. INCLUDING. write to the Free Software Foundation. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE. REPAIR OR CORRECTION. write to the author to ask for permission. BUT NOT LIMITED TO. OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE.6 10. INCLUDING ANY GENERAL. SHOULD THE PROGRAM PROVE DEFECTIVE. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER. EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. EITHER EXPRESSED OR IMPLIED. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THERE IS NO WARRANTY FOR THE PROGRAM. END OF TERMS AND CONDITIONS Copyright 2008 ZABBIX SIA Page 251 of 259 . YOU ASSUME THE COST OF ALL NECESSARY SERVICING. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. NO WARRANTY 11. For software which is copyrighted by the Free Software Foundation.ZABBIX Manual v1. SPECIAL. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND. INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS). we sometimes make exceptions for this.
Contribute There are several ways to contribute to the project: Share your experience We are extremely interested in your experience of using ZABBIX. It would be very beneficial for the project to be mentioned in popular tech media. It is not necessary to send patches or workarounds. Comparison to existing Open Source and commercial competitive products is especially welcome. make sure that: new code is in sync with ZABBIX coding conventions new code is tested and works under all supported platforms. Write code Before sending a patch or a piece of code. report any bugs or inefficiencies of the software. Write review ZABBIX is relatively new software and many people are not aware of its existence.6 21. new functionality is clearly described no copyright issues associated with your work Please. Copyright 2008 ZABBIX SIA Page 252 of 259 . consider discussing your ideas with ZABBIX developers before writing actual code. It also helps justify priorities for the feature requests. please. My assistance is guaranteed! Report bugs Please. It gives very useful information that allows us make the software better. Report any compatibility issues.ZABBIX Manual v1. I believe this policy guarantees high quality of the software and makes support more efficient.
Virtual-Planet Group GmbH. Copyright 2008 ZABBIX SIA Page 253 of 259 .V. Germany Ken Smith.com/exec/obidos/wishlist/2MXT84ZA4ZNNA Thanks to all who sent me something from Amazon! Charlie Collins. USA Henrik Huhtinen.com available at http://www.6 My wish list at Amazon. Netherlands Abdourahmane SECK.amazon. Poland Julian Pawlowski. USA Plushosting B.. Finland Jaroslaw Pioro. Check it out if you want an affordable hosting in Netherlands. see ZABBIX Manual for a complete list of contributors. you can purchase something from my wish list at Amazon.com If ZABBIX just saved you from a disaster or if you want to be nice to me. WEB Hosting WEB Hosting is freely provided by Clearcut Networks. Senegal Contributors Please.ZABBIX Manual v1.
Our team also wants to thank all the ZABBIX users who have sent corrections and suggestions.Developers of ZABBIX ALEXEI VLADISHEV Author of ZABBIX.1. This sort of feedback helps us make the software better.6 22.Contributors to ZABBIX I am sorry for not mentioning all who contributed to ZABBIX/ In alphabetical order: ALEXANDER KALIMULIN Help with various issues related to C.2. 22.ZABBIX Manual v1.Credits ZABBIX team wants to thank the guys from http://sourceforge. ARTURS ABOLTINS Copyright 2008 ZABBIX SIA Page 254 of 259 . C functions. 22. EUGENY GRIGORJEV Many significant improvements mostly related to PHP front-end and ZABBIX agents. etc ALEXANDER KIRHENSTEIN Suggested fixes to make ZABBIX work under SCO. has written most of ZABBIX code including PHP front-end.net for providing hosting for the project.
HARALD HOLZER RPMs and zabbix. DANIEL HIGGINS Improvements for email sending routines. ERIK CARLSEEN Many excellent ideas.ZABBIX Manual v1. Support for graceful shutdown in case MySQL server goes down (not implemented yet). Copyright 2008 ZABBIX SIA Page 255 of 259 .6 Patch to allow connection to MySQL using UNIX socket. DANIEL ESTER Support for SNMP values of type timetick. Significant improvements of the Manual. EUGENY BACULA Many suggestions for improvements. Thanks Charlie! DENIS USTIMENKO Support for querying SNMP parameters by IP address. Other changes. Idea and initial code for ZABBIX screens. FRANKY VAN LIEDEKERKE Support of system[uptime] under Solaris.spec. Fixes and suggestions. CHARLIE COLLINS Start-up scripts.
JAEN-BAPTISTE MARIOTTE Help with testing JEFF REDDING Support for non-GCC compilers JOHN CRUNK Start-up scripts for RedHat 8.0 JOSH KONKOL Help with testing JÜRGEN SCHMITZ Idea and implementation of check_service_perf[*] KASPARS CIKMACS Lots of new ideas based on real experience of using ZABBIX. Copyright 2008 ZABBIX SIA Page 256 of 259 .6 IGOR MICKO Plenty of interesting ideas based on real use of ZABBIX in large monitoring environment.ZABBIX Manual v1. LAURIS STIGLICS Select criteria in for "Status of Triggers" LUKAS MACURA Many ideas.
6.ZABBIX Manual v1. Improvements for graphs.6 MARC LEDENT Original implementation of proc_cnt[*] for Solaris.php.. SHAWN MARRIOTT Proofreading of the Manual. SEBASTIEN "SLIX" LIENARD Fixed selection of hosts and icons in sysmap. RICKARD PLARS Help with fixing coredump for zabbix_suckerd. OLIVER SIEGMAR Fixes in SQL statements of WEB frontend. Support for system[procload] on Solaris 2. MARIUSZ . VICTOR KIRHENSTEIN Copyright 2008 ZABBIX SIA Page 257 of 259 . MICHAL SUSZYCKI Help with autoconf and automake issues. Other fixes. Improvements for system maps.. MIKE HOOLEHAN Help with making the ZABBIX Manual correct and understandable.
6 Native ZABBIX agent for WIN32 platforms.ZABBIX Manual v1. Copyright 2008 ZABBIX SIA Page 258 of 259 .
Latvia Tel +371 7473943 Fax +371 7473944 Email sales@zabbix. . All other names and products are trademarks or registered trademarks of their respective owners. ZABBIX is a registered trademark of ZABBIX SIA.com Copyright © 2006 by ZABBIX SIA.zabbix. LV-1004.ZABBIX SIA Neretas 2/1-109.com Web www. Riga.
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue listening from where you left off, or restart the preview.