Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8d4a954336
Fetching contributors…

Cannot retrieve contributors at this time

file 14 lines (9 sloc) 0.339 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14

name = "locked"

def doData():
    print name + ".value " + str( 100 * getServerStatus()["globalLock"]["ratio"] )

def doConfig():

    print "graph_title MongoDB write lock percentage"
    print "graph_args --base 1000 -l 0 "
    print "graph_vlabel percentage"
    print "graph_category MongoDB"

    print name + ".label " + name
Something went wrong with that request. Please try again.