make check_collections work with pymongo 2.5.2, slaveOk problem
Merge pull request #105 from dsch/master

make check_collections work with pymongo 2.5.2, slaveOk problem
Get mongo to tell us the replica set name when connecting locally

socket.gethostname() won't always match the local name of the replica
set member; one example is when gethostname() returns a shortname, but
the replica set member name is an FQDN.

In a previous version of the code (before 32409ca0), we asked mongo to
tell us which member we were, by querying the "me" key from the hash
returned by the "ismaster" command.  This seems like the Right Thing to
do -- rather than guess what name we have, just get mongo to tell us.
Merge pull request #117 from philandstuff/master

Get mongo to tell us the replica set name when connecting locally
adds check for replicaset quorum
Merge pull request #124 from tilya/replset_quorum

adds check for replicaset quorum
Allow to monitor collection size
Merge pull request #133 from hydrapolic/master

Allow to monitor collection size
fixed lock percentage in case where lockTime > totalTime
Merge pull request #138 from Captainkrtek/lock_time

fixed lock percentage in case where lockTime > totalTime
added credit
Merge pull request #139 from Captainkrtek/credit

added credit
Adding automatic calculation of memory warn/crit tresholds
Merge pull request #141 from mvernimmen/master

Adding automatic calculation of memory warn/crit tresholds