Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
1.8.1
-
Security Level: Public
-
None
-
Using cbhealthchecker as of git commit 30deb879, and a .json report from some other version of healthchecker from a customer on 1.8.0.
Description
Exception when running current health checker on older file. If I comment out the incomingXdrPerformance stat, this goes away.
~/c/code/healthchecker (master)$ ./cbhealthchecker -i ~/c/cust/advertise.com/couchbase/2012-11-19_15-57-27.json
Exception launched when processing counter: incomingXdrPerformance
Traceback (most recent call last):
File "/Users/tim/c/code/healthchecker/analyzer.py", line 76, in run_analysis
result = eval("
File "<string>", line 1, in <module>
File "/Users/tim/c/code/healthchecker/cluster_stats.py", line 793, in run
nodeStats = values["nodeStats"]
TypeError: 'NoneType' object is unsubscriptable
The run finished successfully. Please find html output at 'reports/2012-12-05_10-43-43.html' and text output at 'reports/2012-12-05_10-43-43.txt'.
~/c/code/healthchecker (master)$ git log -1
commit 30deb87990b4e7dcc39bd4eb3769a15870760f87 (HEAD, origin/master, origin/HEAD, master)
Author: Bin Cui <bin.cui@gmail.com>
Date: Wed Nov 21 14:30:39 2012 -0800
polish output report
diff --git a/cluster_stats.py b/cluster_stats.py
index 8de926e..f528fae 100755
— a/cluster_stats.py
+++ b/cluster_stats.py
@@ -1173,24 +1173,24 @@ ClusterCapsule = [
"perNode" : True,
"perBucket" : True,
},
- {"name" : "IncomingXDCRPerformance",
- "ingredients" : [
- {
- "name" : "incomingXdrPerformance",
- "description" : "Incoming XDCR Get/Set ops ratio",
- "counter" : ["ep_num_ops_get_meta", "ep_num_ops_set_meta"],
- "code" : "XdrOpsPerformance",
- "threshold" : { - "low" : 2, - "high" : 10 - },
- "symptom" : "Get to Set ops ratio '{0}
' is bigger than '
{1}'. Too few set operations.",- "formula" : "Avg(ep_num_ops_get_meta) / Avg(ep_num_ops_set_meta)",
- },
- ],
- "perNode" : True,
- "perBucket" : True,
- },
+# {"name" : "IncomingXDCRPerformance",
+# "ingredients" : [
+# {
+# "name" : "incomingXdrPerformance",
+# "description" : "Incoming XDCR Get/Set ops ratio",
+# "counter" : ["ep_num_ops_get_meta", "ep_num_ops_set_meta"],
+# "code" : "XdrOpsPerformance",
+# "threshold" : { +# "low" : 2, +# "high" : 10 +# },
+# "symptom" : "Get to Set ops ratio '{0}' is bigger than '{1}
'. Too few set operations.",
+# "formula" : "Avg(ep_num_ops_get_meta) / Avg(ep_num_ops_set_meta)",
+# },
+# ],
+# "perNode" : True,
+# "perBucket" : True,
+# },
{"name" : "CompactionPerformance",