mzupan/nagios-plugin-mongodb — pull request #21 by andyjones (2012-01-24 11:28:50+00:00)
Title: replication lag check throwing exception since upgrade to mongod 2.0.2 running on default port

Since upgrading our mongodb servers to 2.0.2, the replication lag checks started throwing an exception:

```CRITICAL - General MongoDB Error: u'fake.hostname.net:27017'```

The host is in the `slaveDelays` collection but it doesn't include the port. The pull request appends the default mongo port if there isn't one.

Thanks