This project adheres to Semantic Versioning.
This CHANGELOG follows the format listed here
4.2.2 2020-12-09
- Replaced CentOS 6 in Bonsai with CentOS 8
4.2.1 2020-12-09
- metrics-es-node-graphite.rb: request URL now constructed correctly when
--cert-file
flag is used
4.2.0 2020-05-11
- Updated asset build targets to support centos6
- Removed centos from bonsai asset definition
- Updated bundler requirement from '
> 1.7' to '> 2.1'
4.1.0 2020-01-09
- Update rest-client requirement from
= 1.8.0
to= 2.1.0
(@dependabot-preview)
4.0.1 - 2019-06-21
- Fix for JSON.parse in metrics checks commands that inheret from Sensu::Plugin::Metric::CLI::JSON:Class
4.0.0 - 2019-05-07
- Bump
sensu-plugin
dependency from~> 3.0
to~> 4.0
you can read the changelog entries for 4.0, 3.0, and 2.0
- Travis build automation to generate Sensu Asset tarballs that can be used n conjunction with Sensu provided ruby runtime assets and the Bonsai Asset Index
- Require latest sensu-plugin for Sensu Go support
3.0.0 - 2018-12-17
- removed ruby support for versions
< 2.3
(@majormoses)
2.1.0 - 2018-05-23
- check-es-shard-allocation-status.rb, check-es-file-descriptors.rb, check-es-heap.rb: added
--cert-file
option which allows you to specify a ca-cert to be used to verify TLS (@vin01)
2.0.1 - 2018-03-27
- updated yard dependency to
~> 0.9.11
per: https://nvd.nist.gov/vuln/detail/CVE-2017-17042 (@majormoses)
2.0.0 - 2018-03-07
- updated rubocop dependency to
~> 0.51.0
per: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8418. (@majormoses)
- removed ruby
< 2.1
support @majormoses
- added explicit dependency on
mixlib-shellout
to keep compatibility with ruby2.1
(@majormoses) - appeased the cops and created TODOs (@majormoses)
1.12.0 - 2018-03-01
- check-es-indices-field-number.rb: check if the number of fields in index(es) is approaching limit (default to 1000 in ES) (@huynt1979)
- Address a couple of rubocop style violations (@huynt1979)
1.11.1 - 2018-02-27
- this is a no-op release to test the CI pipeline's ability to publish gems
1.11.0 - 2018-02-23
- bin/check-es-query-average.rb: added flag of '--headers' so that headers can be passed to the elasticsearch http client (@alexandrustaetu)
- bin/check-es-query-average.rb: added flag of '--headers' so that headers can be passed to the elasticsearch http client (@alexandrustaetu)
- bin/check-es-query-average.rb: added flag of '--headers' so that headers can be passed to the elasticsearch http client (@alexandrustaetu)
- bin/check-es-query-average.rb: added flag of '--headers' so that headers can be passed to the elasticsearch http client (@alexandrustaetu)
- lib/sensu-plugins-elasticsearch/elasticsearch-common.rb: collect headers originating from query commands and pass them to the elasticsearch client (@alexandrustaetu)
- integration testing with es6 (@alexandrustaetu) (@majormoses)
1.10.0 - 2018-02-19
- check-es-circuit-breakers.rb, check-es-cluster-status.rb, check-es-indices-sizes.rb, check-es-node-status.rb, metrics-es-cluster.rb, metrics-es-node-graphite.rb, metrics-es-node.rb: added
--cert-file
option which allows you to specify a ca-cert to be used to verify TLS (@csoleimani) (@majormoses)
1.9.0 - 2018-02-19
- bin/check-es-node-status.rb: updated to check the status of all nodes in a cluster (@cihangirbesiktas)
1.8.1 - 2018-02-15
- metrics-es-cluster.rb: Don't try to fetch percolator stats on ES 5+, those stats have been removed (@eheydrick)
1.8.0 - 2017-11-21
- bin/check-es-heap.rb: added support to check heap usage of all nodes in a cluster (@cihangirbesiktas)
- update changelog location guidelines (@majormoses)
1.7.1 - 2017-09-18
- bin/check-es-cluster-health.rb and bin/check-es-cluster-status.rb fixed --alert-status failing to alert and allow absent value to alert on any status (@rwky)
1.7.0 - 2017-09-16
- check-es-cluster-health.rb: changed
--alert_status
to--alert-status
to be more consistent with conventions, restrict--alert-status
to the actual acceptable options. (@majormoses) - check-es-cluster-status.rb: changed
--alert_status
to--alert-status
to be more consistent with conventions, restrict--alert-status
to the actual acceptable options. (@majormoses)
- bin/check-es-cluster-health.rb: added option to alert only during a yellow state or only during a red state (@barrebre)
- bin/check-es-cluster-status.rb: added option to alert only during a yellow state or only during a red state (@barrebre)
1.6.1 - 2017-08-24
- bin/check-es-query-ratio.rb: added support to define float thresholds (@cgarciaarano)
1.6.0 - 2017-08-18
- bin/check-es-query-ratio.rb: added option to avoid triggering alert if divisor is 0 (@cgarciaarano)
1.5.3 - 2017-08-17
- bin/check-es-query-ratio.rb: ratio is performed by a float division, instead of integer division (@cgarciaarano)
1.5.2 - 2017-08-12
- check-es-query-ratio.rb: Fix when divisor = 0 (@cgarciaarano)
1.5.1 - 2017-08-03
- bin/metrics-es-cluster.rb: missing data no longer causes invalid metrics by defaulting to 0 (@TheKevJames)
1.5.0 - 2017-07-26
- check-es-query-average.rb: check of average result by field (@ilavender)
1.4.1 - 2017-07-13
- use timestamp_field from config for sorting in Kibana (@osgida)
1.4.0 - 2017-07-04
- added ruby 2.4 testing (@majormoses)
- check-es-shard-allocation-status.rb: HTTP Basic Auth support added (@cihangirbesiktas)
- check-es-shard-allocation-status.rb: timeout option for rest calls (@cihangirbesiktas)
- PR template spell "compatibility" correctly. (@majormoses)
1.3.1 - 2017-05-22
- Conversion of previous_months option to Seconds (@guptaishabh)
1.3.0 - 2017-05-08
- Use strict Base64 encoding to fix base64 encoding/netty issue (@msblum)
1.2.0 - 2017-05-03
- metrics-es-cluster.rb: Check to see if cluster key exists in transient_settings before trying to use it. (@RAR)
- Add option to run check-es-shard-allocation-status.rb on non master nodes (@Evesy)
- Fixed check-es-shard-allocation-status.rb for Elasticsearch 5.x compatibility (@Evesy)
1.1.3 - 2017-01-04
- metrics-es-cluster/metrics-es-node-graphite.rb: Fix Elasticsearch 5.0 compatability (@terjesannum)
1.1.2 - 2016-12-29
- Fixed metrics-es-node-graphite.rb was not compatible with Elasticsearch 5.0 (@woqer)
- Make query lib compatible with ES 5+ (@jackfengji)
1.1.1 - 2016-11-26
- Fixed check-es-file-descriptors.rb was not compatible with Elasticsearch 5.0 (@woqer)
1.1.0 - 2016-11-14
- Changed check-es-heap.rb to be compatible with Elasticsearch 5.0 (@christianherro)
- Added check-es-query-ratio.tb to support ratio-type checks (@alcasim)
- Added direct support to check-es-indices-size.rb to delete indicies without the handler-es-delete-indices.rb
- aws-sdk 2.5.x breaks aws-es-transport (@sstarcher)
- check-es-indicies-size - fix array mapping by (@nyxcharon)
1.0.0 - 2016-07-29
- Added AWS transport gem and configuration for check-es-query-* sensu calls to use --transport=AWS (@brendangibat)
- Added a rescue for 503 on several checks: (@majormoses)
- check-es-circuit-breakers.rb
- check-es-cluster-status.rb
- check-es-file-descriptors.rb
- check-es-heap.rb
- Added option --localhost for check-es-circuit-breakers.rb to only check its local node for broken circuit (@majormoses)
- Add Ruby 2.3.0 support (@eheydrick)
- Allow using newer patch versions of elasticsearch gem within the same minor (@majormoses)
- Add check-es-cluster-health to check Elasticsearch cluster health and status (@brendangibat)
- Add check-es-indices-size to check if indicies grow above a certain size (@brendangibat)
- Add handler-es-delete-indices handler to delete indicies (@brendangibat)
- Ruby 1.9.3 support (@eheydrick)
- Update to Rubocop 0.40 and cleanup (@eheydrick)
- check-es-indicies-size.rb - broken for newer updates
0.5.3 - 2016-04-02
- check-es-indexes (check for dup indexes) (Yieldbot)
- check-es-shard-allocation (check ElasticSearch shard allocation persistent and transient settings) (Yieldbot)
- Adding offset flag to allow specifying of a end time offset
- Adding custom timestamp field feature to check-es-query-count and check-es-query-exists
- Added support for https requests (OrbotixInc)
0.4.3 - 2016-02-22
- metrics-es-heap.rb: Assignment of node from the stats variable happened before stats was assigned. Moved node assignment to be after stats assignment.
0.4.2 - 2016-01-27
- metrics-es-cluster.rb: Added i/o cluster stats
0.4.1 - 2016-01-26
- metrics-es-cluster.rb: Allow metrics to be gathered even if the cluster has zero documents. Also updated cache name for Elasticsearch 2.0+
- metrics-es-node-graphite.rb: Update node stats for Elasticsearch 2.0+
0.4.0 - 2016-01-22
- metrics-es-node-graphite.rb: Added file system and cpu stats
- metrics-es-cluster.rb: Added cluster metrics including optional percolator metrics, allocation status, and option to run on non-master nodes
0.3.2 - 2015-12-29
- Update metrics-es-node.rb for Elasticsearch 2.0
0.3.1 - 2015-12-29
- Update metrics-es-node.rb to use version checks consistent with other metrics
- Update metrics-es-cluster.rb to use
_stats
api instead of/_count?q=*:*
see Unbound wildcard range query cripples es on larger installs #20
0.3.0 - 2015-11-18
- Update metrics-es-node-graphite.rb, check-es-node-status.rb, and check-es-file-descriptors.rb for Elasticsearch 2.0
- Update elasticsearch gem to 1.0.14
- Add check-es-cluster-health that checks health status with elasticsearch gem and can use AWS transport for checks.
- Add check-es-circuit-breakers.rb, to alert when circuit breakers have been tripped
0.2.0 - 2015-10-15
- cluster-status check: added a new
status_timeout
option that will use elasticsearch'swait_for_status
parameter and wait up to the given number of seconds for the cluster to be green. This pervents false alerting during normal elasticsearch operations.
0.1.2 - 2015-08-11
- add parameters for elasticsearch auth
0.1.1 - 2015-07-14
- updated sensu-plugin gem to 1.2.0
0.1.0 - 2015-07-06
check-es-node-status
node status check
- uri resource path for
get_es_resource
method
get_es_resource
URI path needs to start with/
- clean cruft from Rakefile
- put deps in alpha order in gemspec
- update documentation links in README and CONTRIBUTING
0.0.2 - 2015-06-02
- added binstubs
- removed cruft from /lib
- initial release