Zabbix stores the collection time of items in the history database ("clock" and "ns" columns). Is this information available for calculations somehow?
I'm getting raw counter values from the monitored server, and I need to calculate a time sensitive delta. A calculated item like the following for instance:
({server:disk_total_queue_length.last(#1)} - {server:disk_total_queue_length.last(#2)}) / ({server:disk_total_queue_length.collection_time(# 1)} - {server:disk_total_queue_length.collection_time(#2 )})
This would give the average queue length of the disk over the period.
I'm getting raw counter values from the monitored server, and I need to calculate a time sensitive delta. A calculated item like the following for instance:
({server:disk_total_queue_length.last(#1)} - {server:disk_total_queue_length.last(#2)}) / ({server:disk_total_queue_length.collection_time(# 1)} - {server:disk_total_queue_length.collection_time(#2 )})
This would give the average queue length of the disk over the period.
Comment