2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Fix hit rate calculation

In varnish4, purges are counted as client_req but not as hit or miss anymore.
This fix recalculates client_req based on cache_(hit|miss|hitpass).
This commit is contained in:
Ingo Oppermann 2015-01-08 17:50:35 +00:00
parent de86866b02
commit 7041db3964

View File

@ -238,7 +238,8 @@ my %ASPECTS = (
'client_req' => {
'type' => 'DERIVE',
'min' => '0',
'graph' => 'off'
'graph' => 'off',
'rpn' => [ 'cache_hit' , 'cache_miss' , 'cache_hitpass' , '+' , '+' ]
},
'cache_hit' => {
'type' => 'DERIVE',