chore(go.d/ping): set privileged by default for dyncfg jobs (#19480)
Ilya Mashchenko committed
Jan 24, 2025 at 20:24 UTC
7fc9caee449184d2e45b221ffbb96b2847168d39
2 files changed
+4
-4
src/go/plugin/go.d/collector/ping/config_schema.json
+2
-2
@@ -13,9 +13,9 @@
13
},
14
"privileged": {
15
"title": "Privileged mode",
16
- "description": "If unset, sends unprivileged UDP ping packets (require [additional configuration](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/ping#overview)); otherwise, sends raw ICMP ping packets ([not recommended](https://github.com/netdata/netdata/issues/15410)).",
16
+ "description": "If set, sends raw ICMP ping packets; otherwise, sends unprivileged UDP ping packets (require [additional configuration](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/ping#overview)).",
17
"type": "boolean",
18
- "default": false
18
+ "default": true
19
},
20
"hosts": {
21
"title": "Network hosts",
src/go/plugin/go.d/collector/ping/metadata.yaml
+2
-2
@@ -94,9 +94,9 @@ modules:
94
default_value: ""
95
required: false
96
- name: privileged
97
- description: Ping packets type. "no" means send an "unprivileged" UDP ping, "yes" - raw ICMP ping.
97
+ description: Ping packets type. "yes" means raw ICMP ping, "no" - "unprivileged" UDP ping.
98
default_value: true
99
- required: false
99
+ required: true
100
- name: packets
101
description: Number of ping packets to send.
102
default_value: 5