This project adheres to Semantic Versioning.
This CHANGELOG follows the format located here
2.1.0 - 2018-12-27
bin/metrics-mongodb.rb
: added--exclude-db-sizes
option that removes database sizes which can be quite large from the payload sent to message broker (rabbitmq) which often need special tuning for (@mdzidic)
2.0.2 - 2018-03-17
- renamed library file
metics
tometrics
and updated all refrences in code to it (@majormoses)
2.0.1 - 2017-10-19
- updating the read preferences for
2.2
-2.8
pymongo clients (@urg)
2.0.0 - 2017-09-23
- bumped requirement of
sensu-plugin
to 2.0 (@majormoses)
- check-mongodb-metric.rb: make
--metric
required since it is (@majormoses)
1.4.1 - 2017-09-23
- Support for database size metrics (@fandrews)
- updated changelog guidelines location (@majormoses)
1.4.0 - 2017-09-05
- Support for returning replicaset state metrics (@naemono)
- Tests covering returning replicaset state metrics (@naemono)
- Ruby 2.4.1 testing
1.3.0 - 2017-05-22
- Support for database size metrics (@naemono)
- Tests covering returning database size metrics (@naemono)
check-mongodb.py
: will now correctly crit on connection issues (@majormoses)
1.2.1 - 2017-05-07
check-mongodb.py
: fixed issue of param building with not/using ssl connections (@s-schweer)
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