From 8020f71afd34d7696d7933659df2d763ab05542f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 16:31:17 +0200 Subject: Adding upstream version 1.37.1. Signed-off-by: Daniel Baumann --- build_external/scenarios/gaps_hi/child-compose.yml | 13 ++++++++++++ build_external/scenarios/gaps_hi/child_guid | 1 + build_external/scenarios/gaps_hi/child_stream.conf | 11 +++++++++++ .../scenarios/gaps_hi/middle-compose.yml | 13 ++++++++++++ build_external/scenarios/gaps_hi/middle_guid | 1 + .../scenarios/gaps_hi/middle_stream.conf | 23 ++++++++++++++++++++++ build_external/scenarios/gaps_hi/min.conf | 6 ++++++ .../scenarios/gaps_hi/parent-compose.yml | 13 ++++++++++++ build_external/scenarios/gaps_hi/parent_guid | 1 + .../scenarios/gaps_hi/parent_stream.conf | 11 +++++++++++ 10 files changed, 93 insertions(+) create mode 100644 build_external/scenarios/gaps_hi/child-compose.yml create mode 100644 build_external/scenarios/gaps_hi/child_guid create mode 100644 build_external/scenarios/gaps_hi/child_stream.conf create mode 100644 build_external/scenarios/gaps_hi/middle-compose.yml create mode 100644 build_external/scenarios/gaps_hi/middle_guid create mode 100644 build_external/scenarios/gaps_hi/middle_stream.conf create mode 100644 build_external/scenarios/gaps_hi/min.conf create mode 100644 build_external/scenarios/gaps_hi/parent-compose.yml create mode 100644 build_external/scenarios/gaps_hi/parent_guid create mode 100644 build_external/scenarios/gaps_hi/parent_stream.conf (limited to 'build_external/scenarios/gaps_hi') diff --git a/build_external/scenarios/gaps_hi/child-compose.yml b/build_external/scenarios/gaps_hi/child-compose.yml new file mode 100644 index 0000000..2ca306f --- /dev/null +++ b/build_external/scenarios/gaps_hi/child-compose.yml @@ -0,0 +1,13 @@ +version: '3.3' +services: + agent_child: + image: debian_10_dev + command: /usr/sbin/netdata -D + #ports: + #- 21002+:19999 + volumes: + - ./child_stream.conf:/etc/netdata/stream.conf:ro + #- ./child_guid:/var/lib/netdata/registry/netdata.public.unique.id:ro + - ./min.conf:/etc/netdata/netdata.conf:ro + cap_add: + - SYS_PTRACE diff --git a/build_external/scenarios/gaps_hi/child_guid b/build_external/scenarios/gaps_hi/child_guid new file mode 100644 index 0000000..670f7c2 --- /dev/null +++ b/build_external/scenarios/gaps_hi/child_guid @@ -0,0 +1 @@ +22222222-2222-2222-2222-222222222222 \ No newline at end of file diff --git a/build_external/scenarios/gaps_hi/child_stream.conf b/build_external/scenarios/gaps_hi/child_stream.conf new file mode 100644 index 0000000..2218c68 --- /dev/null +++ b/build_external/scenarios/gaps_hi/child_stream.conf @@ -0,0 +1,11 @@ +[stream] + enabled = yes +# destination = tcp:agent_middle + destination = tcp:192.168.1.2 + api key = 00000000-0000-0000-0000-000000000000 + timeout seconds = 60 + default port = 19999 + send charts matching = * + buffer size bytes = 10485760 + reconnect delay seconds = 5 + initial clock resync iterations = 60 diff --git a/build_external/scenarios/gaps_hi/middle-compose.yml b/build_external/scenarios/gaps_hi/middle-compose.yml new file mode 100644 index 0000000..c316164 --- /dev/null +++ b/build_external/scenarios/gaps_hi/middle-compose.yml @@ -0,0 +1,13 @@ +version: '3.3' +services: + agent_middle: + image: debian_10_dev + command: /usr/sbin/netdata -D + ports: + - 21001:19999 + volumes: + - ./middle_stream.conf:/etc/netdata/stream.conf:ro + - ./middle_guid:/var/lib/netdata/registry/netdata.public.unique.id:ro + - ./min.conf:/etc/netdata/netdata.conf:ro + cap_add: + - SYS_PTRACE diff --git a/build_external/scenarios/gaps_hi/middle_guid b/build_external/scenarios/gaps_hi/middle_guid new file mode 100644 index 0000000..f8a43c2 --- /dev/null +++ b/build_external/scenarios/gaps_hi/middle_guid @@ -0,0 +1 @@ +11111111-1111-1111-1111-111111111111 \ No newline at end of file diff --git a/build_external/scenarios/gaps_hi/middle_stream.conf b/build_external/scenarios/gaps_hi/middle_stream.conf new file mode 100644 index 0000000..132eaa1 --- /dev/null +++ b/build_external/scenarios/gaps_hi/middle_stream.conf @@ -0,0 +1,23 @@ +[stream] + enabled = yes + destination = tcp:agent_parent + api key = 00000000-0000-0000-0000-000000000000 + timeout seconds = 60 + default port = 19999 + + send charts matching = * + buffer size bytes = 1048576 + reconnect delay seconds = 5 + initial clock resync iterations = 60 + +[00000000-0000-0000-0000-000000000000] + enabled = yes + allow from = * + default history = 3600 + # default memory mode = ram + + health enabled by default = auto + + # postpone alarms for a short period after the sender is connected + default postpone alarms on connect seconds = 60 + multiple connections = allow diff --git a/build_external/scenarios/gaps_hi/min.conf b/build_external/scenarios/gaps_hi/min.conf new file mode 100644 index 0000000..83fa23e --- /dev/null +++ b/build_external/scenarios/gaps_hi/min.conf @@ -0,0 +1,6 @@ +[global] + debug flags = 0x0000000040000000 + errors flood protection period = 0 +[web] + ssl key = /etc/netdata/ssl/key.pem + ssl certificate = /etc/netdata/ssl/cert.pem diff --git a/build_external/scenarios/gaps_hi/parent-compose.yml b/build_external/scenarios/gaps_hi/parent-compose.yml new file mode 100644 index 0000000..2944bbc --- /dev/null +++ b/build_external/scenarios/gaps_hi/parent-compose.yml @@ -0,0 +1,13 @@ +version: '3.3' +services: + agent_parent: + image: debian_10_dev + command: /usr/sbin/netdata -D + ports: + - 21000:19999 + volumes: + - ./parent_stream.conf:/etc/netdata/stream.conf:ro + - ./parent_guid:/var/lib/netdata/registry/netdata.public.unique.id:ro + - ./min.conf:/etc/netdata/netdata.conf:ro + cap_add: + - SYS_PTRACE diff --git a/build_external/scenarios/gaps_hi/parent_guid b/build_external/scenarios/gaps_hi/parent_guid new file mode 100644 index 0000000..fee6f32 --- /dev/null +++ b/build_external/scenarios/gaps_hi/parent_guid @@ -0,0 +1 @@ +00000000-0000-0000-0000-000000000000 \ No newline at end of file diff --git a/build_external/scenarios/gaps_hi/parent_stream.conf b/build_external/scenarios/gaps_hi/parent_stream.conf new file mode 100644 index 0000000..600a9fa --- /dev/null +++ b/build_external/scenarios/gaps_hi/parent_stream.conf @@ -0,0 +1,11 @@ +[00000000-0000-0000-0000-000000000000] + enabled = yes + allow from = * + default history = 3600 + default memory mode = dbengine + health enabled by default = no + + # postpone alarms for a short period after the sender is connected + default postpone alarms on connect seconds = 60 + multiple connections = allow + -- cgit v1.2.3