Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mon 14867 warp10v2 (develop) #588

Closed

Conversation

kduret
Copy link
Contributor

@kduret kduret commented Feb 24, 2023

Description

refacto warp10 stream connector

Type of change

  • Patch fixing an issue (non-breaking change)
  • New functionality (non-breaking change)
  • Breaking change (patch or feature) that might cause side effects breaking part of the Software

Target serie

  • 21.04.x
  • 21.10.x
  • 22.04.x
  • 22.10.x (master)

How this pull request can be tested ?

use the stream connector and try to send metrics to warp10

Checklist

Community contributors & Centreon team

  • I have followed the coding style guidelines provided by Centreon
  • I have commented my code, especially new classes, functions or any legacy code modified. (docblock)
  • I have commented my code, especially hard-to-understand areas of the PR.
  • I have rebased my development branch on the base branch (master, maintenance).

bouda1 and others added 30 commits April 10, 2018 13:30
This script uses neb events and not metrics.
fix(doc): precisions on script names.
This version works with metrics events.
This stream connector will only work with centreon-broker-18.10.1
that contains the new parse_perfdata function.
change to lastest instead of 2.8.X
* enh(doc): improve splunk part
Thanks to David Guenault, this bug is fixed.
There was previously a bugged parse_perfdata function.
Now we use then centreon-broker one which is much better.
* Add Service Now stream connector
* add NDO output

* add OMI stream connector

* rename file

* add url configuration and improve readme
* Properly handle write return value

* Workaround duplicate events

* Add an option to skip anon events

* Improve documentation
…er, change authen method (#14)

* enh(influxdb-neb): add log_path and influxdb_retention_policy parameter, change authen method

Add a log_path parameter to provide path to log file
Add a influxdb_retention_policy parameter to provide RP when writing to DB
Change the way credentials are provided in request

* enh(doc): add new parameters for influxdb-neb script
* feat(elastic-neb): add elastic-neb.lua script

Handles both metrics and statuses

* feat(doc): add elastic-neb section

* enh(elastic-neb): add min/max/uom to metrics index

* feat(doc): update elastic-neb section
tanguyvda and others added 25 commits June 13, 2022 16:13
* (stream/lib) add output limit

* fixing my dumb mistakes

* fix bad variable scope
* add new escape method + refacto other ones

* always put cache data in event + fix poller cache

* add group macro handling (hg, sg, bv)

* add new transformation flags

* add doc for lua_regex_escape method

* add new macros documentation

* put new methods into readme

* fix wrong link

* add trim function

* fix many bugs with macro conversion

* add trim documentation

* add doc for new macros method

* add new methods in the readme

* remove testing debug
* add new custom_code_file param handling

* add custom code execution

* load custom code in each api v2 SC

* put custom_code in the params table

* fix bad  logger instance name

* Add custom code documentation

* avoid breaking change

* add new param in the doc

* imrpove doc

* wording

* better code block

* Apply suggestions from code review

* typos

Co-authored-by: Simon Bomm <[email protected]>
…ment (#122)

* prepare canopsis stream connector

* add queue metadatas

* start writing http query

* fix log message in datadog sc

* finish canopsis stream connector

* update flush class with metadata
* fix ack remove dt remove and dt send

* force buffer size to 1
* handle flapping

* update event doc with flapping

* add flapping parameter

* add documentation for flapping param

* add new methods in the readme

* rename canopsis and handle duplicate dt edge case

* add canopsis api v4 sc

* improve queue metadata system

* fix queue metadata system

* use authkey instead of basic auth

* update the flush class documentation

* add queue metadata system to all apiv2 sc

* improve logs

* fix markdown

* add add_queue_metadata method documentation

* put all sc_flush method in the readme index

* fix code comment

* add spec file for 3.5.0
* add get_curl_command method

* add proxy_protocol param

* move get_curl_command from sc_common to sc_logger

* add log_curl_commands param

* document new parameters

* add log_curl_command documentation

* encapsulate strings in log_curl_command

* add new log_curl_command method in the sc

* fix bugs with log curl command

* log curl commands for all possible sc

* fix log message

* fix bad proxy verif

* add 3.6.0 specifle
* add instance and service as grouping key

* not working without the host label

---------

Co-authored-by: Thomas Vasseur <[email protected]>
@kduret
Copy link
Contributor Author

kduret commented Feb 24, 2023

@kduret kduret closed this Mar 10, 2023
@kduret kduret deleted the centreon-stream-connector-scripts-MON-14867-warp10v2 branch March 10, 2023 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.