matrinerox.blogg.se

Zabbix fuzzytime
Zabbix fuzzytime













zabbix fuzzytime

Install LAMP Stack on Debian 11 Install Additional Packages

zabbix fuzzytime

Follow the guide below to install LAMP Stack on Debian 11. Trigger expressions can use unit symbols to replace large numbers, such as 5m instead of 300, or 1d instead of 86400, 1k instead of 1024 bytes, and so on.In this tutorial, we will use LAMP Stack. If history is not available (time_shift time offset parameter cannot be used), the history record must be kept longer, at least the records that need to be kept. Note: The trigger expression needs to be calculated using history historical data. For example, avg(1h,1d), then the average data within 1 hour of yesterday will be obtained. The last function must contain parameters.ĪVG, count, last, min and max functions also support additional parameters, the parameter time_shift (time shift) in seconds. For example, the value from the old to the newest is 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, the value obtained by last(#2) is 9, and the value obtained by last(#9) is 2. The last function uses different parameters to get different values, #2 represents the second-to-last new data. You can use the prefix "#" to indicate that it has different meanings Most numerical functions can use seconds as a parameter.

zabbix fuzzytime

For a complete list of functions supported by trigger expressions, please click on the official website address supported functions Trigger functions can refer to retrieved values, current time or other elements. The last 5 minutes, the network card eth0 traffic is greater than 100K and alarm #cpu will alarm when the load is greater than 5 or the load is greater than 2 in the last 10 minutes. Operator Operator corresponds to the operator part of the expression. S-seconds (when used, works the same as the raw value) Zabbix trigger conditions, many of which are expressions of digital parameters per unit time, and the commonly used time units involved are as follows: Take the screenshot above as an example, the key is icmppingloss, the function function is min, the parameter value is 5 minutes, and the operator is more than the. Trigger expression is the content filled in the above expression, and its format is: The trigger is only valid for the specially set host and is invalid for other hosts.Īccording to the difference between global trigger and limited trigger, it can configure trigger in hosts under configuration, or configure trigger in tmplates under configuration.Īs shown in the figure above, a new trigger can be added by setting the name, condition, description, alarm level, etc., save and enable it. We can consider it to be global The trigger associated with the host is a limited trigger. Once the conditions are met, the corresponding operation (such as an alarm) will be executed. That is, when the template is created, the corresponding trigger is set, and the host associated with the template is also associated with the trigger. Trigger can be associated with the template or the host. In order to set various conditions more conveniently in zabbix, zabbix designed corresponding functions and operators for us. When the value obtained by monitoring triggers the set condition, the corresponding action operation will be executed according to the setting of the trigger. Zabbix trigger is the setting condition for zabbix to perform alarm notification.















Zabbix fuzzytime