Zabbix Calculated Items

preview_player
Показать описание
With calculated items, you can create calculations on the basis of other items.
Thus, calculated items are a way of creating virtual data sources. The values will be periodically calculated based on an arithmetical expression. All calculations are done by the Zabbix server - nothing related to calculated items is performed on Zabbix agents or proxies.

☕ In case if you want to support this content with coffee:

👋 SOCIAL MEDIA
📹 TWITTER - @RealDeimons

📫 Sign Up For Newsletter And Don't Miss Out on Anything
Рекомендации по теме
Комментарии
Автор

When defining your formula I would recommend leaving the quotes in and escaping the inner quotes.
You can escape a single quote by placing a backslash before it. Such as last(fred["abc"]) --> last("fred[\"abc\"]")
Note the outside quotes are not escaped, but the inside quotes are escaped so they become part of what is in the quotes instead of ending the quoted string.

briancoverstone
Автор

Dear Dmitry, thanks for the videos your helping with. I am new to zabbix, I understood caculated items, I have a doubt on the example you worked with, when the zabbix agent items are preprocessed with custom multiplier 8, to convert bps to Bps, the stored value in database should be in Bps and it should be returning the same to the calculated item for calculation. So I think the units in the calculated item should be in "Bps" not "bps". Please correct me. Thanks

ap_in
Автор

Many thanks. I would like to suggest a topic : "Event Correlation"

mustaphaaissat
Автор

Books About Zabbix
Amazon COM

Amazon UK

Amazon DE

zabbixtraining
Автор

Hi Dmitry, which microphone/headphones do you use for recording videos? Your voice in the video is very clear.

mateeshbhave
Автор

How to quick debugging expression (formulas) of calculate item?

barabucho
Автор

We have 6.0 zabbix but I want to create only up ports graphs how do that

TechNetworking
Автор

Hi there... Is possible to create and test a formula able to convert from Celsius to Farenheit, using the available data from an APC UPS probe?
Can you help me, please?

freddyfreire
Автор

Thanks for video Dmitry.
So in a calculated item instead of a trigger expression (like in the Zabbix agent) I simple define the expression in formula field?
I want to create a calculated item which will set a trigger when the free disk space of a host, has been decreased more than 5G within the last hour.


I am thinking something like :
last("{host_name:vfs.fs.size[{/home}, free]}", 0, 3600) < 0 and abs(last("{host_name:vfs.fs.size[{/home}, free]}", 0, 3600)) > 5G
How can I define the absolute value on Zabbix? Perhaps with the abschange function??
Could you give me an example for abschange function?

Any help/hint is really appreciated
Thanks in advance

ioanniskapnisakis
Автор

Hey Dmitry, this seems to be only for numeric data. Is there any functionality available which can help to club data from 2 items with text as output. I have an SNMP trap message which i am trying to break. I am able to successfully fetch error message and hostname in 2 respective items using regex. But unable to merge them. Any suggestions

amitarora
Автор

Hi! I have a value from remote host .pfx certificate file = YYYYMMDD How is possible calculate from that the nummber of days diffenet ftom current date?

cenubit
Автор

Hello Dmitry and thank you for your videos and tutorials.
I have one question, my item is declared to get a value from a file in this way with a regexp: vfs.file.regexp[/var/log/IoT/log, "(P-ZZ-1).*:.\s([0-9]*)?", , , , \2]
but when i put the expression in a calculated item I get the error that it cannot evaluate the function because Template:vfs.file.regexp[bla, bla, bla... doesn't exit. Is there any way to use file regexp in calculated items?
Regards.

Ferraresse
Автор

how can I use calculated item in my template ? how to refer to a generic hostname ? the """{HOST.NAME}:my_item wildcard does not work

nicolasgmarseille
Автор

how to calculate total bandwidth usage? example total for monthly usage.

FahmiPersada
Автор

Hi Dmitry, I am trying to sum all the items discovered through an lld. How would that be possible? All the items have numerical value and have key format : Size[{#VENDOR}]

multazimdeshmukh