What vmbix does is that it consolidates real-time values other the specified interval. It's because if you query your vCenter for values other a larger interval, it returns historical values, aggregated at least every 5mn I think. So they are updated every 5mn. As Zabbix could need real-time data, we need to use the real-time interval. For VMware, the real-time interval is always 20s. So if you set a 60s interval in your vmbix query, vmbix will aggregate 3 values. The way it processes them depends on the performance counter stats type (delta, rate, etc) and the rollup type (average, min, max, etc). For example, for cpu.ready, the vm.counter.list methods returns :
12 cpu.ready ... (delta, summation)
which means that Vmbix will sum the collected values other the specified interval.
That's why you need to set the same check interval in the Zabbix item.
That being said, you should have approximately the same results in Zabbix and VMWare... I just see a slight difference in my setup.
Could you try to collect these perf metrics every 20s to verify if you obtain the same results than in the vCenter ?
The esx.memory and ex.cpu.load methods don't use VMware Performance Metrics but QuickStats :
So the values are not the same than the memory or cpu counters in the Performance Tab of the vCenter view. It corresponds to the Summary tab values.
Again, I have the same results in my setup.
12 cpu.ready ... (delta, summation)
which means that Vmbix will sum the collected values other the specified interval.
That's why you need to set the same check interval in the Zabbix item.
That being said, you should have approximately the same results in Zabbix and VMWare... I just see a slight difference in my setup.
Could you try to collect these perf metrics every 20s to verify if you obtain the same results than in the vCenter ?
The esx.memory and ex.cpu.load methods don't use VMware Performance Metrics but QuickStats :
So the values are not the same than the memory or cpu counters in the Performance Tab of the vCenter view. It corresponds to the Summary tab values.
Again, I have the same results in my setup.
Comment