#Change Log This project adheres to Semantic Versioning.
This CHANGELOG follows the format listed at Keep A Changelog
1.2.0 - 2017-03-06
check-mongodb.py
: Set read preference for pymongo 2.2+ to fix 'General MongoDB Error: can't set attribute' (@boutetnico)check-mongodb.py
: Fix mongo replication lag percent check showing password in plain text (@furbiesandbeans)metrics-mongodb-replication.rb
: Sort replication members to ensure the primary is the first element (@gonzalo-radio)
- Update
mongo
gem to 2.4.1, which adds support for MongoDB 3.4 (@eheydrick)
1.1.0 - 2016-10-17
- Inclusion of check-mongodb-metrics.rb to perform checks against the same data metrics-mongodb.rb produces. (@stefano-pogliani)
- Inclusion of lib/sensu-plugins-mongodb/metics.rb to share metric collection logic. (@stefano-pogliani)
- Tests to the metrics processing shared code. (@stefano-pogliani)
- Support for SSL certificates for clients. (@b0d0nne11)
- Inclusion of metrics-mongodb-replication.rb to produce replication metrics including lag statistics (@stefano-pogliani)
- Updated metrics-mongodb.rb to include version checks to ensure execution in mongodb > 3.2.x (@RycroftSolutions)
- Additional metrics not included in original metrics-mongodb.rb (@RycroftSolutions)
- Moved most of metrics-mongodb.rb code to shared library. (@stefano-pogliani)
- MongoDB version checks to skip missing metrics. (@stefano-pogliani)
- Renamed some metrics to become standard with MongoDB 3.2 equivalent (so checks/queries don't have to bother with version detection). (@stefano-pogliani)
1.0.0 - 2016-06-03
- support for Rubies 1.9.3 and 2.0
- support for Ruby 2.3
- Update to rubocop 0.40 and cleanup
- Update to mongo gem 2.2.x and bson 4.x for MongoDB 3.2 support
- Long was added as a numeric type
- metrics-mongodb.rb: fix typo
0.0.8 - 2016-03-04
- Add a ruby wrapper script for check-mongodb.py
- Rubocop upgrade and cleanup
0.0.7 - 2015-11-12
- Stopped trying to gather indexCounters data from mongo 3 (metrics-mongodb.rb)
- Updated mongo gem to 1.12.3
0.0.6 - 2015-10-13
- Rename option to avoid naming conflict with class variable name
- Add message for replica set state 9 (rollback)
- Installation fix
0.0.5 - 2015-09-04
- Fixed non ssl mongo connections
0.0.4 - 2015-08-12
- general gem cleanup
- bump rubocop
0.0.3 - 2015-07-14
- updated sensu-plugin gem to 1.2.0
0.0.2 - 2015-06-03
- added binstubs
- removed cruft from /lib
- initial release