Skip to content

Releases: centreon/centreon-stream-connector-scripts

centreon-stream-connectors lib 3.7.0-1

31 Jul 14:14
ea99d61
Compare
Choose a tag to compare

Features

  • sc_params
    • Add a new param accepted_metrics to filter sent metrics for metrics oriented stream connectors (360dbb3)

Documentation

  • sc_params
    • Add documentation for new param accepted_metrics (360dbb3)

stream connector lib 3.6.1-1

28 Feb 08:53
7ea552e
Compare
Choose a tag to compare

Bug fixes

  • sc_event

centreon-stream-connectors lib 3.6.0-1

31 Jan 15:41
bd9d19a
Compare
Choose a tag to compare

Features

  • sc_logger
    • Allow the possibility to log curl command with a new method log_curl_command (ad3bee4)
  • sc_params
    • Add a new param log_curl_commands to enable logging curl commands (44d1dfa)

Documentation

  • sc_params
    • Add documentation for new param log_curl_command (bcff081)
  • sc_logger
    • Add documentation for the is_valid_event_flapping_state method (e316225)

stream connector lib 3.5.1-1

30 Jan 09:52
c26e3a7
Compare
Choose a tag to compare

Bug fixes

  • sc_event
    • The long output of the stream connector was wrongfully using the standard output leading to a loss of data (c26e3a7)

stream connector lib 3.5.0-1

23 Jan 08:59
6e45007
Compare
Choose a tag to compare

Features

  • sc_event
    • Handle event flapping with a new method is_valid_event_flapping_state (db4ff32)
  • sc_params
    • Add a new param flapping to filter flapping events (685f592)
  • sc_flush
    • Add a new method add_queue_metadata to properly add metadata to a queue (8fa2a14)

Bug fixes

  • sc_event
    • Use wrong cache entry when checking the state of a service in a downtime event (b33a5ca)

Documentation

  • sc_params
    • Add documentation for new param flapping (2afbb1b)
  • sc_event
    • Add documentation for the is_valid_event_flapping_state method (2720c48)
  • sc_flush
    • Complete revamp of the documentation that was needed with all the changes in the queue system (b864d8c, 9ebda2c)
  • README

Stream connectors

This part of the release is just to inform people which new stream connectors have been made between two releases of the centreon stream connectors lua modules.

  • canopsis2-events-apiv2.lua
  • canopsis4-events-apiv2.lua

stream connector lib 3.4.0-1

05 Dec 11:24
50dd6d5
Compare
Choose a tag to compare

Features

  • sc_flush
    • add new metadata system to the queue system. Allowing stream connectors developpers to handle each queue in a specific way according to said metadata (50dd6d5)

stream connector lib 3.3.0-1

11 Aug 07:09
3d84a70
Compare
Choose a tag to compare

Features

The major feature of this release is the possibility to write custom lua code for your stream connector without modifying the stream connector. All the details are documented here

  • sc_macros
    • Add a new macro type called the group macro. It allows you to get information about hosts groups, services groups and business views (59aa988)
    • You can now have access to all types of cache with macros. Meaning you can get information about pollers and severities right from the cache macro (21e77a1)
    • Add two new transformation flags _scnumber and _scstring to force the data to be of the appropriate type (1eed2a0)
  • sc_params
    • Add a new param custom_code_file to load a custom lua code file (19c95ac)
  • sc_common
    • Add a new method lua_regex_escape to escape lua regex special characters in a string (050da08)
    • Add a new method trim to remove characters at the begining and the end of a string (732b383)

Bug fixes

  • sc_event
    • The instance cache (pollers) was wrong (21e77a1)

Documentation

stream connector lib 3.2.0-1

17 Jun 08:04
44145f7
Compare
Choose a tag to compare

Features

  • sc_param
    • add a new param output_size_limit that allows you to limit the length of the output of your service or host (the length is the maximum number of characters you want, there is no limit by default) (b95a90f)

Bug fixes

  • sc_event: fix an incompatibility issue with the 22.04 version (last_update field is no longer part of the event) (44145f7)

Documentation

centreon-stream-connectors lib 3.1.0-1

12 May 14:55
8d7848c
Compare
Choose a tag to compare

Features

This release is here to give support to both bbdo protocol v2 and v3. It is not a breaking change. Everything has been made so it is seamless for all Centreon versions

compatibility patches

  • sc_params: switch host_status and service_status info table on the fly depending on the bbdo version (af49325)
  • sc_event:
    • add state entry in the event table when using bbdo 3 (a35516e)
    • add scheduled_downtime_depth entry in the event table when using bbdo 3 (14be0c9)
    • add acknowledged entry in the event table when using bbdo 3 (2346d9e, 99002da)

bug fix

  • sc_event: fix an issue when service wasn't found in cache (f2c1224)

centreon-stream-connectors lib 3.0.0-1

12 May 07:06
df97466
Compare
Choose a tag to compare

Features

This release is an overhaul of the metric system for the stream connectors. The purpose is to handle the new metric format provided by the Centreon plugins

UPDATING TO THIS VERSION REQUIRES YOU TO UPDATE YOUR splunk-metrics-apiv2.lua STREAM CONNECTOR.
This is a breaking change !
Note that this stream connector will send more data than before. Previously, it was sending one event for a service, now it sends an event for each metric of the service.

  • sc_common: add a dumper method (a17b4f3)
  • sc_metric: add a new build_metric method
  • sc_params: add new parameters to handle new metric system. metric_name_regex, metric_replacement_character
  • sc_params: add a new parameter to handle event output. use_long_output
  • sc_event; there is now a short_output and long_output entry in the event table. The output entry in the event table will now be the long output or short_output depending on the value of the use_long_output parameter

bug fix

  • sc_metric fix an issue with host perfdata that were always dropped no matter what

Documentation

  • add documentation for the aformentioned new methods and new parameters