From 62db705786ddb726b8a69e5cccf82e1b7482ec22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjell-Magne=20=C3=98ierud?= Date: Fri, 5 Aug 2011 14:58:17 +0200 Subject: [PATCH] Fixed invalid rpn expression in the Query Cache graph. Closes #41 --- lib/Munin/MySQL/Graph/QueryCache.pm | 2 +- t/config.out | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Munin/MySQL/Graph/QueryCache.pm b/lib/Munin/MySQL/Graph/QueryCache.pm index a7db9ef..739dde1 100644 --- a/lib/Munin/MySQL/Graph/QueryCache.pm +++ b/lib/Munin/MySQL/Graph/QueryCache.pm @@ -17,7 +17,7 @@ sub graphs { return { data_sources => [ {name => 'Qcache_queries_in_cache', label => 'Queries in cache (K)', info => 'The number of queries registered in the query cache.', - cdef => 'he_queries_in_cache,1024,/', + cdef => 'Qcache_queries_in_cache,1024,/', type => 'GAUGE'}, {name => 'Qcache_hits', label => 'Cache hits', info => 'The number of query cache hits.'}, diff --git a/t/config.out b/t/config.out index f900c2c..d5d9d21 100644 --- a/t/config.out +++ b/t/config.out @@ -620,7 +620,7 @@ graph_title Query Cache graph_vlabel Commands per ${graph_period} graph_category mysql Qcache_queries_in_cache.info The number of queries registered in the query cache. -Qcache_queries_in_cache.cdef he_queries_in_cache,1024,/ +Qcache_queries_in_cache.cdef Qcache_queries_in_cache,1024,/ Qcache_queries_in_cache.draw LINE1 Qcache_queries_in_cache.min 0 Qcache_queries_in_cache.label Queries in cache (K)