Skip to content

Latest commit

 

History

History
340 lines (273 loc) · 16.1 KB

CHANGELOG.md

File metadata and controls

340 lines (273 loc) · 16.1 KB

Change Log

This project adheres to Semantic Versioning.

This CHANGELOG follows the format listed here

4.2.2 2020-12-09

Changed

  • Replaced CentOS 6 in Bonsai with CentOS 8

4.2.1 2020-12-09

Fixed

  • metrics-es-node-graphite.rb: request URL now constructed correctly when --cert-file flag is used

4.2.0 2020-05-11

Added

  • 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

Changed

  • Update rest-client requirement from = 1.8.0 to = 2.1.0 (@dependabot-preview)

4.0.1 - 2019-06-21

Fixed

  • Fix for JSON.parse in metrics checks commands that inheret from Sensu::Plugin::Metric::CLI::JSON:Class

4.0.0 - 2019-05-07

Breaking Changes

  • Bump sensu-plugin dependency from ~> 3.0 to ~> 4.0 you can read the changelog entries for 4.0, 3.0, and 2.0

Added

  • 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

Breaking Changes

  • removed ruby support for versions < 2.3 (@majormoses)

2.1.0 - 2018-05-23

Added

  • 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

Security

2.0.0 - 2018-03-07

Security

Breaking Changes

  • removed ruby < 2.1 support @majormoses

Changes

  • added explicit dependency on mixlib-shellout to keep compatibility with ruby 2.1 (@majormoses)
  • appeased the cops and created TODOs (@majormoses)

1.12.0 - 2018-03-01

Added

  • check-es-indices-field-number.rb: check if the number of fields in index(es) is approaching limit (default to 1000 in ES) (@huynt1979)

Changed

  • Address a couple of rubocop style violations (@huynt1979)

1.11.1 - 2018-02-27

Changed

  • this is a no-op release to test the CI pipeline's ability to publish gems

1.11.0 - 2018-02-23

Added

  • 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

Added

  • 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

Changed

  • bin/check-es-node-status.rb: updated to check the status of all nodes in a cluster (@cihangirbesiktas)

1.8.1 - 2018-02-15

Fixed

  • 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

Added

  • 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

Fixed

  • 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

Changed

  • 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)

Added

  • 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

Fixed

  • bin/check-es-query-ratio.rb: added support to define float thresholds (@cgarciaarano)

1.6.0 - 2017-08-18

Added

  • bin/check-es-query-ratio.rb: added option to avoid triggering alert if divisor is 0 (@cgarciaarano)

1.5.3 - 2017-08-17

Fixed

  • bin/check-es-query-ratio.rb: ratio is performed by a float division, instead of integer division (@cgarciaarano)

1.5.2 - 2017-08-12

Fixed

  • check-es-query-ratio.rb: Fix when divisor = 0 (@cgarciaarano)

1.5.1 - 2017-08-03

Fixed

  • bin/metrics-es-cluster.rb: missing data no longer causes invalid metrics by defaulting to 0 (@TheKevJames)

1.5.0 - 2017-07-26

Added

  • check-es-query-average.rb: check of average result by field (@ilavender)

1.4.1 - 2017-07-13

Fixed

  • use timestamp_field from config for sorting in Kibana (@osgida)

1.4.0 - 2017-07-04

Added

  • 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)

Fixed

  • PR template spell "compatibility" correctly. (@majormoses)

1.3.1 - 2017-05-22

Fixed

  • Conversion of previous_months option to Seconds (@guptaishabh)

1.3.0 - 2017-05-08

Fixed

  • Use strict Base64 encoding to fix base64 encoding/netty issue (@msblum)

1.2.0 - 2017-05-03

Fixed

  • metrics-es-cluster.rb: Check to see if cluster key exists in transient_settings before trying to use it. (@RAR)

Added

  • 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

Fixed

  • metrics-es-cluster/metrics-es-node-graphite.rb: Fix Elasticsearch 5.0 compatability (@terjesannum)

1.1.2 - 2016-12-29

Fixed

  • 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

  • Fixed check-es-file-descriptors.rb was not compatible with Elasticsearch 5.0 (@woqer)

1.1.0 - 2016-11-14

Changed

  • Changed check-es-heap.rb to be compatible with Elasticsearch 5.0 (@christianherro)

Added

  • 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

Fixed

  • 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

  • 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)

Removed

  • Ruby 1.9.3 support (@eheydrick)

Changed

  • Update to Rubocop 0.40 and cleanup (@eheydrick)

Fixed

  • check-es-indicies-size.rb - broken for newer updates

0.5.3 - 2016-04-02

Added

  • 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

Fixed

  • 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

Added

  • metrics-es-cluster.rb: Added i/o cluster stats

0.4.1 - 2016-01-26

Fixed

  • 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

Added

  • 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

Changed

  • Update metrics-es-node.rb for Elasticsearch 2.0

0.3.1 - 2015-12-29

Changed

0.3.0 - 2015-11-18

Changed

  • 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

Added

  • 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

Changed

  • cluster-status check: added a new status_timeout option that will use elasticsearch's wait_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

Added

  • add parameters for elasticsearch auth

0.1.1 - 2015-07-14

Changed

  • updated sensu-plugin gem to 1.2.0

0.1.0 - 2015-07-06

Added

  • check-es-node-status node status check

Fixed

  • uri resource path for get_es_resource method

Changed

  • 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

Fixed

  • added binstubs

Changed

  • removed cruft from /lib

0.0.1 - 2015-05-21

Added

  • initial release