sebest/collectd-mongodb — pull request #2 by aiurlano (2011-11-11 17:20:22+00:00)
Title: Fixed lock ratio that now shows the same values as mongostat

Hello.

I have added code that saves globalLock.totalTime and globalLock.lockTime from db.serverStatus() and then computes the percent of held lock in the interval issued by collectd.
The resultant value is the same that mongostat produces.