Skip to content

Releases: centreon/centreon-stream-connector-scripts

stream connector lib 1.3.0-2

15 Jul 17:20
b97e96c
Compare
Choose a tag to compare

New features

Modules

  • new modules
    • Add a new module sc_flush to handle queues of events (7481b62)
    • Add a new module sc_metrics to handle metrics events (eea657d)
  • sc_params
    • improve categories and elements handling (eea657d)
    • add new method load_event_format_file that loads a file that will be used as a template to format event (6f8925f)
  • sc_common
    • add new method load_json_file to load json files (eb70b0c)

Parameters

for a full parameters description, head over the Documentation

Parameter name Quick description
format_file load a json that will be used as a template to format event
send_data_test send events in the logfile instead of the tool that should have received it.

Documentation

  • New documentations
    • Add a documentation for the sc_flush module (68cd007)
    • Add a documentation for the sc_metrics module (bb56c67)
    • Add a documentation for the load_json_file method (c7c537f)
    • Add a documentation for the load_event_format_file method (43b9041)
    • Add a new documentation about mappings (55cdaa0)
    • Add a new documentation about template files (b666035)

Bug fixes

Mostly typos

Stream connectors

  • Refactored splunk events and splunk metrics stream connectors
  • Better naming of new stream connectors (new stream connectors and refactored one must be called xxxxx-events-apiv2.lua or xxxxx-metrics-apiv2.lua

|

stream connector lib 1.3.0-1

15 Jul 17:17
bc39dea
Compare
Choose a tag to compare

New features

Modules

  • new modules
    • Add a new module sc_flush to handle queues of events (7481b62)
    • Add a new module sc_metrics to handle metrics events (eea657d)
  • sc_params
    • improve categories and elements handling (eea657d)
    • add new method load_event_format_file that loads a file that will be used as a template to format event (6f8925f)
  • sc_common
    • add new method load_json_file to load json files (eb70b0c)

Parameters

for a full parameters description, head over the Documentation

Parameter name Quick description
format_file load a json that will be used as a template to format event
send_data_test send events in the logfile instead of the tool that should have received it.

Documentation

  • New documentations
    • Add a documentation for the sc_flush module (68cd007)
    • Add a documentation for the sc_metrics module (bb56c67)
    • Add a documentation for the load_json_file method (c7c537f)
    • Add a documentation for the load_event_format_file method (43b9041)
    • Add a new documentation about mappings (55cdaa0)
    • Add a new documentation about template files (b666035)

Bug fixes

Mostly typos

Stream connectors

  • Refactored splunk events and splunk metrics stream connectors
  • Better naming of new stream connectors (new stream connectors and refactored one must be called xxxxx-events-apiv2.lua or xxxxx-metrics-apiv2.lua

|

stream connector lib 1.2.1-1

18 Jun 09:10
1111b03
Compare
Choose a tag to compare

Fixes

  • installation didn't work on el8 because of the crypto lib dependancy
  • use cffi-lua lib for el8 for kafka stream-connector
  • add proxy user and password options for google bigquery stream connector

Notes

With this release, the google bigquery stream connector will not be compatible with el8 until a proper solution is found

1.2.0-2

15 Jun 06:49
4c8494d
Compare
Choose a tag to compare
Update centreon-stream-connectors-lib-1.2.0-1.rockspec

stream connector lib 1.2.0-1

15 Jun 06:36
abf19f1
Compare
Choose a tag to compare

New features

Modules:

  • new modules
    • Add a new module sc_macros to handle macros in stream connectors (2823933)
    • Add a new module google.auth.oauth to handle oauth with google api (ba6e7fb)
    • Add a new module google.bigquery.bigquery to handle tables schema for bigquery
  • sc_param
    • Add a new method generate_postfield_param_string (cc9ada2)
    • Add new parameters to handle timestamps (4acdbec)
  • sc_logger

Parameters:

for a full parameters description, head over the Documentation

Parameter name Quick description
local_time_diff_from_utc The difference between local time and UTC in seconds
timestamp_conversion_format the human readable format used to convert timestamps

Refacto

  • sc_event
    • change deduplication handling (a78adc0)
    • better skip_anon_events handling with cache is skip_anon_events is set to 0 (a78adc0)
    • better cache handling for severity to match new macro system (3a27851)
  • sc_param
    • better custom software oriented parameters handling

Documentations

  • new documentations
    • add the documentation of the sc_macros module (fcc3716)
    • add the documentation of the google.auth.oauth module (4fb0c00)
    • add the documentation of the google.bigquery.bigquery module (33ef12c)
  • sc_param
    • add new parameters documentation (32e43a2)
  • broker_data_structure
    • add host_status and service_status events structure (615f78b)

Fixes

  • sc_param
    • fix wrong variables in is_mandatory_config_set method (0cf7561)

stream connector lib 1.1.0-3

31 May 21:09
3bb39c6
Compare
Choose a tag to compare
fix rockspec (#52)

* fix requires in test_kafka script

* fix rockspec again

stream connector lib 1.1.0-2

31 May 08:54
39e5201
Compare
Choose a tag to compare
fix rockspec v1.1.0-2 (#50)

stream connector lib 1.1.0

31 May 08:09
5078aa3
Compare
Choose a tag to compare

New features

Modules:

  • sc_event
    • add downtime events to the list of handled neb event (eb5fa54)
    • add acknowledgement events to the list of handled neb event (eebb2c0)
    • add dedudiplication for host and service status event (f6ed626)
  • sc_param
    • add a method to check mandatory param for a stream connector (cae76fa)
    • add a method to handle Kafka configuration parameters (cae76fa)
  • new modules

Parameters:

for a full parameters description, head over the Documentation

Parameter name Quick description
ack_host_status filter ack event depending on host status
ack_service_status filter ack event depending on service status
dt_host_status filter downtime event depending on host status
dt_service_status filter downtime event depending on service status
enable_host_status_dedup (beta) if enabled, do not send event if host status didn't change
enable_service_status_dedup (beta) if enabled, do not send event if service status didn't change
accepted_authors filter ack or downtime event depending on the author

Refacto

  • sc_common
    • replace empty return by a false return in the split() method (7a18b6d)

Documentation

Stream connector lib 1.0.0

04 May 08:33
93fa92f
Compare
Choose a tag to compare

commit for 1.0.0 release

Features:

  • sc_event
    • adds the possibility to filter on the severity of a host or service (797654e)
    • adds the possibility to filter on the poller of a host (563af83)

Bug fixes:

  • sc_broker
    • typo in get_instance() (it never retrieved instance name) (7a2b6e2)
    • wrong variables in get_bvs_infos() (if a BA had 4 BV linked, it returned 4 times the same BV info instead of all BVs infos) (3379fcd)
    • missing parameter when accessing the broker cache with get_servicegroups() (it never retrieved servicegroups) (4f81c16)

Refacto:

  • more inline method naming (will not do that again from version 1.0.0 because it is a breaking change unless it is justified to release a 2.x.x version) (0eb3baa d27740b)
  • put every cache information inside a cache table for a more logical variable structure (and avoid conflicts)(787166a 33918e1)
  • improves skipping nil ID with the skip_nil_id param to avoid bugs (af221cb)

Doc:

  • Adds the sc_common module documentation (999600d)
  • Adds the sc_broker module documentation (109ff88)
  • Adds the sc_logger module documentation (dce6750)
  • Adds the sc_event module documentation (0f437a5)
  • Adds the sc_param module documentation (6f26359)
  • Adds a documentation index (README) (dce6750)

Release:

  • Adds new rockspec file for the production ready release (1.0.0) (96e7333)

stream connector lib 0.1.0

14 Apr 20:14
5e8bbfa
Compare
Choose a tag to compare

test luarocks packaging with the following lua modules

  • sc_broker
  • sc_common
  • sc_event
  • sc_logger
  • sc_test