The way I see, whenever you have a dependent item, it uses the master item key to process data.
Acordding to "Dependent items" documentation (https://www.zabbix.com/documentation...ependent_items),
"Dependent items depend on the master item that collects their data simultaneously, in one query. A new value for the master item automatically populates the values of the dependent items."
To check that information I created a host called "Internet".
For this example, my host has 2 items, as follow.
As you can see, the first is a simple check "icmppingsec" for Cloudflare DNS. It results in the average ICMP response time. The second item depends on the first one. It should result in packet loss percentage but, for now, it basically does nothing.
I find it better to use "icmppingsec" instead of a simple "icmpping" because the response time gives me some kind of performance information and I can also trigger availability with it.
If we check the actual values from these items, they are exactly the same. As documented, a dependent item depends on its master item for data.

If we take a look at the dependent item configuration, we see that the item "key" is mandatory.

But, what if I changed the key from "icmppingloss" to something like "fake.key"?

The result values are still the same.
What I found was that, giving a key to a dependent item doesn't seem to change anything about it. Different keys don't affect the master item received value. The dependent item just receives the resulting value from master item.
So I ask, why have a mandatory "key" for dependent item?
Acordding to "Dependent items" documentation (https://www.zabbix.com/documentation...ependent_items),
"Dependent items depend on the master item that collects their data simultaneously, in one query. A new value for the master item automatically populates the values of the dependent items."
To check that information I created a host called "Internet".
For this example, my host has 2 items, as follow.
| ICMP response time Cloudflare | Triggers 3 | icmppingsec[1.0.0.1,4,200,,200] | 5m | 1w | 365d | Simple check |
| ICMP response time Cloudflare: ICMP loss CloudFlare | icmppingloss[1.0.0.1,4,200,,200] | 1w | 365d | Dependent item |
I find it better to use "icmppingsec" instead of a simple "icmpping" because the response time gives me some kind of performance information and I can also trigger availability with it.
If we check the actual values from these items, they are exactly the same. As documented, a dependent item depends on its master item for data.
If we take a look at the dependent item configuration, we see that the item "key" is mandatory.
But, what if I changed the key from "icmppingloss" to something like "fake.key"?
The result values are still the same.
What I found was that, giving a key to a dependent item doesn't seem to change anything about it. Different keys don't affect the master item received value. The dependent item just receives the resulting value from master item.
So I ask, why have a mandatory "key" for dependent item?
Comment