Releases: centreon/centreon-stream-connector-scripts
centreon-stream-connectors lib 3.7.0-1
stream connector lib 3.6.1-1
Bug fixes
- sc_event
- Fix the poller filter (bd6056b)
centreon-stream-connectors lib 3.6.0-1
stream connector lib 3.5.1-1
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
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
- 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
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
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
Bug fixes
- sc_event
- The instance cache (pollers) was wrong (21e77a1)
Documentation
- sc_params
- Add documentation for new param custom_code_file (cfdb8b0)
- sc_common
- sc_macros
- Add documentation for the new group macro and transformation flags (53759e8)
- custom_code
- Add documentation for custom_code (50371b0)
- README
- Add a new table with all the documentation that are not linked to one of our module (50371b0#diff-b4a4ca4b1dba8444f9808378aad06e599b7374ef71d829ff080214e47b370024)
stream connector lib 3.2.0-1
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
- add the documentation for the new parameter output_size_limit (https://github.com/centreon/centreon-stream-connector-scripts/blob/master/modules/docs/sc_param.md#default-parameters)
centreon-stream-connectors lib 3.1.0-1
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:
bug fix
- sc_event: fix an issue when service wasn't found in cache (f2c1224)
centreon-stream-connectors lib 3.0.0-1
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