lorf / zapache

Zabbix Apache Monitoring Script (from https://www.zabbix.org/wiki/Docs/howto/apache_monitoring_script#Method_3, originally from https://www.zabbix.com/forum/showthread.php?p=62457)
85 stars 44 forks source link

BytesPerReqRealtime #8

Closed dmgeurts closed 9 years ago

dmgeurts commented 9 years ago

The templates refer to "BytesPerReqRealtime" but zapache(.sh) only knows about "BytesPerReq". Why was this item added to the template when the script doesn't know where to get this detail?

lorf commented 9 years ago

BytesPerReqRealtime is a calculated value taken by dividing last TotalKBytes delta by last TotalAccesses delta. Zapache script is not involved since calculation is done by Zabbix server. In contrast BytesPerReq is a value averaged over time by apache and is taken from apache stats directly.

The BytesPerReqRealtime was added to get more detailed picture of what is going on and is used on the graphs, predefinied in template.

Calculated item may be reported as "Not supported" in Zabbix while the values it depends on are not available. Such item will be recalculated after "Unsupported item refresh interval".

dmgeurts commented 9 years ago

Thank you for the explanation. I have enabled the item and data is being graphed.