See also: Minimum permission level for Windows agent items. This tutorial provides step-by-step instructions for setting up the monitoring of Windows services. It is assumed that Zabbix server and agent are configured and operational. You can get that name by going to MMC Services snap-in and bringing up the properties of the service.
In the General tab you should see a field called 'Service name'. The value that follows is the name you will use when setting up an item for monitoring. Configure an item for monitoring the service. The item service.
Depending on the information you need, specify the param option which accepts the following values: displaynamestatepathuserstartup or description. The default value is state if param is not specified service. The type of return value depends on chosen param : integer for state and startup ; character string for displaynamepath and user ; text for description. Two value maps are available Windows service state and Windows service startup type to map a numerical value to a text representation in the Frontend.
Low-level discovery provides a way to automatically create items, triggers, and graphs for different entities on a computer.
Zabbix can automatically start monitoring Windows services on your machine, without the need to know the exact name of a service or create items for each service manually. A filter can be used to generate real items, triggers, and graphs only for services of interest. User Tools Log In.
Site Tools Search. Sidebar Zabbix Manual. Zabbix manpages.
Zabbix documentation in Russian. Table of Contents Windows-specific item keys. The table provides details on the item keys that you can use with Zabbix Windows agent only. The item must be configured as an active check.
Note that the agent is unable to send in events from the "Forwarded events" log. The mode parameter is supported since Zabbix 2. Note that selecting a non-Log type of information for this item will lead to the loss of local timestamp, as well as log severity and source information.
See also additional information on log monitoring.Item key format, including key parameters, must follow syntax rules. The following illustrations depict the supported syntax.
Allowed elements and characters at each point can be determined by following the arrows - if some block can be reached through the line, it is allowed, if not - it is not allowed. To construct a valid item key, one starts with specifying the key name, then there's a choice to either have parameters or not - as depicted by the two lines that could be followed.
The key name itself has a limited range of allowed characters, which just follow each other. Allowed characters are:. The parameter can also be left empty, thus using the default value. In that case, the appropriate number of commas must be added if any further parameters are specified.
For example, item key icmpping[,] would specify that the interval between individual pings is milliseconds, timeout - milliseconds, and all other parameters are left at their defaults. If the key parameter is a quoted string, any Unicode character is allowed, and included double quotes must be backslash escaped. If the key parameter is an unquoted string, any Unicode character is allowed except comma and right square bracket ].
Unquoted parameter cannot start with left square bracket [.
Subscribe to RSS
If the key parameter is an array, it is again enclosed in square brackets, where individual parameters come in line with the rules and syntax of specifying multiple parameters. User Tools Log In. Site Tools Search. Sidebar Zabbix Manual. Zabbix manpages. Zabbix documentation in Chinese. Zabbix documentation in Russian. Table of Contents 1 Item key format. Which means: all numbers. An item key can have multiple parameters that are comma separated.
Each key parameter can be either a quoted string, an unquoted string or an array. To quote item key parameters, use double quotes only. Single quotes are not supported. Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.Trapping is also possible using Zabbix sender or Zabbix sender protocol. HTTP item check is executed by Zabbix server.
Zabbix will optionally follow redirects see the Follow redirects option below. More details are available by running a shell command: man curl. Checking if Zabbix API is alive, using apiinfo. Note the usage of macros in query fields. Refer to the Openweathermap API for how to fill them. User Tools Log In. Site Tools Search. Sidebar Zabbix Manual. Zabbix manpages. Zabbix documentation in Chinese. Zabbix documentation in Russian. HTTP item checks do not require any agent running on a host being monitored.
Key Enter a unique item key. The Parse button can be used to separate optional query fields like? Limited to characters. Query fields Variables for the URL see above. Specified as attribute and value pairs. Values are URL -encoded automatically. Values from macros are resolved and then URL -encoded automatically. Therefore, Zabbix will not spend more than 2 x Timeout seconds on one check.
Time suffixes are supported, e. Supported macros: user macros, low-level discovery macros. Macros can be used as string, number, true and false; macros used as strings must be enclosed in double quotes.Processing of XML documents were never as easy as now.
Xpath preprocessing is available as a native functionality without any third party scripts or modules. Write your xpath query and use it against your XML document to extract desired value. Introduction II. Setup III. About preprocessing IV. XPath preprocessing 1. Conclusion The topic for today is a bit more interesting than usual because today I want to talk about dependent items and master items, the benefits of those and what you can get while using them, and also about preprocessing.
Just like usual, I have Zabbix 4. Basically, I have just 8 items here — one master item and a couple of dependent items. I tried to find a service that could respond to me with an interesting XML.
I placed it in the directory of the Zabbix front end files so that I could use the HTTP agent item type to receive the values of this item as actual historical data and then do the preprocessing based on XPath with my dependent items. So, let me give you some background on how the preprocessing actually works. We have some kind of data coming in.
This is raw data, not processed by any of our rules — just all the stuff that we are gathering. Then on the Zabbix side, there are basically two types of processes responsible for this task — preprocessing manager and preprocessing workers. It gets the data and sends it to the preprocessing worker. The preprocessing worker executes all the steps we have configured in the front end today it will be XPath. Then it writes the data back to the preprocessing queue and then the preprocessed data is written to the history cache.You can also create an item by opening an existing one, pressing the Clone button and then saving under a different name.
Text data limits depend on the database backend. Before storing text values in the database they get truncated to match the database value type limit:. By default, specifying a unit for an item will result in a multiplier prefix being added - for example, value with unit B would be displayed as 2KB. For a pre-defined, hardcoded list of units this is prevented:.
Note that both lowercase and uppercase rpm rpm and RPM strings are blacklisted. An item can become unsupported if its value cannot be retrieved for some reason. Such items are still rechecked at a fixed interval, configurable in Administration section. User Tools Log In. Site Tools Search. Sidebar Zabbix Manual. Zabbix manpages. Zabbix documentation in Russian.
Table of Contents 1 Creating an item. Item attributes: Parameter Description Name This is how the item will be named. See individual item type sections. Key Item key up to characters. The supported item keys can be found in individual item type sections.
The key must be unique within a single host. If key type is 'Zabbix agent', 'Zabbix agent active ', 'Simple check' or 'Zabbix aggregate', the key value must be supported by Zabbix agent or Zabbix server.
See also: the correct key format. Host interface Select the host interface.
Zabbix XPath Preprocessing
This field is available when editing an item on the host level. Type of information Type of data as stored in the database after performing conversions, if any.
Numeric unsigned - 64bit unsigned integer Numeric float - floating point number Negative values can be stored. Allowed range: Starting with Zabbix 2. Character - short text data Log - long text data with optional log related properties timestamp, source, severity, logeventid Text - long text data Limits of text data are described in the table below.
The dark mode beta is finally here. Change your preferences any time. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. How should a function like min be applied over 3 different items so it returns the lowest of those? Unfortunately, that is currently not supported.
If instead, you wanted the minimum of 3 items for the same host, don't do this in an item. Instead put the function in the trigger where you can easily trigger when the min temperature reaches a certain value.
Learn more. Zabbix - calculated item function over multiple items Ask Question. Asked 8 years, 8 months ago.Zabbix Network Monitoring Essentials Tutorial: Adding an Item - nvidmermaid.pw
Active 1 year, 11 months ago. Viewed 19k times. This is fine for computations using functions over a single item like, max "temp1", How should a function like min be applied over 3 different items so it returns the lowest of those? Joao Figueiredo. Joao Figueiredo Joao Figueiredo 2, 3 3 gold badges 26 26 silver badges 37 37 bronze badges. Active Oldest Votes. Richlv Richlv 3, 1 1 gold badge 11 11 silver badges 17 17 bronze badges. Ari Maniatis Ari Maniatis 5, 3 3 gold badges 13 13 silver badges 28 28 bronze badges.
Thank you Ari. But I already knew about aggregate functions. Please note that my goal is to apply a function over different items, not same named ones in different hosts. I tried to answer both possible versions of the ambiguous question you posed. First I explained how to group items from different hosts, then I explained that if you wanted different items in the same host you needed to do that in the trigger, not in another item.
Though a Trigger allows to use logical operators over multiple checks each a function over a single item that's certainly not what I stated in my goal. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.
Email Required, but never shown. The Overflow Blog. Podcast Programming tutorials can be a real drag.This tutorial provides step-by-step instructions for setting up the monitoring of Windows services. It is assumed that Zabbix server and agent are configured and operational.
You can get that name by going to the services mmc and bringing up the properties of the service. In the General tab you should see a field called 'Service name'.
The value that follows is the name you will use when setting up an item for monitoring. Configure an item for monitoring the service, with:. User Tools Log In. Site Tools Search. Sidebar Zabbix Manual. Zabbix manpages. Zabbix documentation in Japanese. Zabbix documentation in Russian. Table of Contents Windows-specific item keys. The table provides details on the item keys that you can use with Zabbix Windows agent only.
The mode parameter is supported from version 2. The item must be configured as an active check. See also additional information on log monitoring.
Text Supported since Zabbix agent version 1. Multi-byte interface names supported since Zabbix agent version 1. Disabled interfaces are not listed. Some Windows versions for example, Server might require the latest updates installed to support non- ASCII characters in interface names.
Integer, float, string or text depending on the request counter - path to the counter interval - last N seconds for storing the average value. The interval must be between 1 and seconds included and the default value is 1.
Performance Monitor can be used to obtain list of available counters. Until version 1. It will not work as expected for counters that require more that one sample - like CPU utilisation.