Skip to content

Commit

Permalink
make everything 0 based CASE 1
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Apr 12, 2010
1 parent bfe0d65 commit 0459580
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion mongo_btree
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion mongo_conn
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion mongo_lock
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion mongo_mem
Expand Up @@ -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"]:
Expand Down
2 changes: 1 addition & 1 deletion mongo_ops
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/body_btree.py
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion src/body_conn.py
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion src/body_lock.py
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion src/body_mem.py
Expand Up @@ -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"]:
Expand Down
2 changes: 1 addition & 1 deletion src/body_ops.py
Expand Up @@ -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"
Expand Down

0 comments on commit 0459580

Please sign in to comment.