[collectd] [PATCH] fix spam_check graph for email plugin

Brad Fritz brad at fewerhassles.com
Mon Aug 24 19:25:37 CEST 2009


Corrects DS name to fix email plugin's spam_check graph.

Signed-off-by: Brad Fritz <brad at fewerhassles.com>
---
 contrib/collection.cgi |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/collection.cgi b/contrib/collection.cgi
index eeda241..cbdb76e 100755
--- a/contrib/collection.cgi
+++ b/contrib/collection.cgi
@@ -1290,9 +1290,9 @@ sub load_graph_definitions
     'GPRINT:avg:LAST:%4.1lf Last\l'
     ],
     spam_check => [
-    'DEF:avg={file}:hits:AVERAGE',
-    'DEF:min={file}:hits:MIN',
-    'DEF:max={file}:hits:MAX',
+    'DEF:avg={file}:value:AVERAGE',
+    'DEF:min={file}:value:MIN',
+    'DEF:max={file}:value:MAX',
     "AREA:max#$HalfMagenta",
     "AREA:min#$Canvas",
     "LINE1:avg#$FullMagenta:Count ",
-- 
1.6.0.4

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090824/ab35cfe9/attachment.pgp 


More information about the collectd mailing list