From 04595807852de18aafeb0b613a7627177c310843 Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Mon, 12 Apr 2010 17:00:43 -0400 Subject: [PATCH] make everything 0 based CASE 1 --- mongo_btree | 2 +- mongo_conn | 2 +- mongo_lock | 2 +- mongo_mem | 2 +- mongo_ops | 2 +- src/body_btree.py | 2 +- src/body_conn.py | 2 +- src/body_lock.py | 2 +- src/body_mem.py | 2 +- src/body_ops.py | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/mongo_btree b/mongo_btree index 4a1c1a4..81da375 100755 --- a/mongo_btree +++ b/mongo_btree @@ -25,7 +25,7 @@ def doData(): def doConfig(): print "graph_title MongoDB btree stats" - print "graph_args --base 1000" + print "graph_args --base 1000 -l 0" print "graph_vlabel mb ${graph_period}" print "graph_category MongoDB" diff --git a/mongo_conn b/mongo_conn index 23f0884..b149f78 100755 --- a/mongo_conn +++ b/mongo_conn @@ -24,7 +24,7 @@ def doData(): def doConfig(): print "graph_title MongoDB current connections" - print "graph_args --base 1000" + print "graph_args --base 1000 -l 0" print "graph_vlabel connections" print "graph_category MongoDB" diff --git a/mongo_lock b/mongo_lock index d7a0ce9..5a846f5 100755 --- a/mongo_lock +++ b/mongo_lock @@ -23,7 +23,7 @@ def doData(): def doConfig(): print "graph_title MongoDB write lock percentage" - print "graph_args --base 1000" + print "graph_args --base 1000 -l 0 " print "graph_vlabel percentage" print "graph_category MongoDB" diff --git a/mongo_mem b/mongo_mem index ba777d2..3a4d96b 100755 --- a/mongo_mem +++ b/mongo_mem @@ -26,7 +26,7 @@ def doData(): def doConfig(): print "graph_title MongoDB memory usage" - print "graph_args --base 1024 --vertical-label Bytes" + print "graph_args --base 1024 -l 0 --vertical-label Bytes" print "graph_category MongoDB" for k in getServerStatus()["mem"]: diff --git a/mongo_ops b/mongo_ops index 0e6f06d..2bb9c97 100755 --- a/mongo_ops +++ b/mongo_ops @@ -24,7 +24,7 @@ def doData(): def doConfig(): print "graph_title MongoDB ops" - print "graph_args --base 1000" + print "graph_args --base 1000 -l 0" print "graph_vlabel ops / ${graph_period}" print "graph_category MongoDB" print "graph_total total" diff --git a/src/body_btree.py b/src/body_btree.py index 0557831..1e03637 100755 --- a/src/body_btree.py +++ b/src/body_btree.py @@ -9,7 +9,7 @@ def doData(): def doConfig(): print "graph_title MongoDB btree stats" - print "graph_args --base 1000" + print "graph_args --base 1000 -l 0" print "graph_vlabel mb ${graph_period}" print "graph_category MongoDB" diff --git a/src/body_conn.py b/src/body_conn.py index 506a350..8b883d1 100644 --- a/src/body_conn.py +++ b/src/body_conn.py @@ -8,7 +8,7 @@ def doData(): def doConfig(): print "graph_title MongoDB current connections" - print "graph_args --base 1000" + print "graph_args --base 1000 -l 0" print "graph_vlabel connections" print "graph_category MongoDB" diff --git a/src/body_lock.py b/src/body_lock.py index b1f98b1..0a89b25 100644 --- a/src/body_lock.py +++ b/src/body_lock.py @@ -7,7 +7,7 @@ def doData(): def doConfig(): print "graph_title MongoDB write lock percentage" - print "graph_args --base 1000" + print "graph_args --base 1000 -l 0 " print "graph_vlabel percentage" print "graph_category MongoDB" diff --git a/src/body_mem.py b/src/body_mem.py index 05d544f..d30f4e4 100755 --- a/src/body_mem.py +++ b/src/body_mem.py @@ -10,7 +10,7 @@ def doData(): def doConfig(): print "graph_title MongoDB memory usage" - print "graph_args --base 1024 --vertical-label Bytes" + print "graph_args --base 1024 -l 0 --vertical-label Bytes" print "graph_category MongoDB" for k in getServerStatus()["mem"]: diff --git a/src/body_ops.py b/src/body_ops.py index 3682028..a09fb8e 100644 --- a/src/body_ops.py +++ b/src/body_ops.py @@ -8,7 +8,7 @@ def doData(): def doConfig(): print "graph_title MongoDB ops" - print "graph_args --base 1000" + print "graph_args --base 1000 -l 0" print "graph_vlabel ops / ${graph_period}" print "graph_category MongoDB" print "graph_total total"