@cryptotaxi247 / netdata-1 / commits / bee5616f0

chore(go.d/snmp): enable create_vnode by default (#19529)

Ilya Mashchenko committed Jan 30, 2025 at 11:15 UTC bee5616f0a2eba14d3ec154158357dbc061301f7
3 files changed +5 -3
src/go/plugin/go.d/collector/snmp/collector.go
+2 -1
@@ -32,7 +32,8 @@ func init() {
32 func New() *Collector {
33 return &Collector{
34 Config: Config{
35 - Community: "public",
35 + CreateVnode: true,
36 + Community: "public",
37 Options: Options{
38 Port: 161,
39 Retries: 1,
src/go/plugin/go.d/collector/snmp/config_schema.json
+2 -1
@@ -24,7 +24,8 @@
24 "create_vnode": {
25 "title": "Create",
26 "description": "If set, the collector will create a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes) for this SNMP device, which will appear as a separate Node in Netdata.",
27 - "type": "boolean"
27 + "type": "boolean",
28 + "default": true
29 },
30 "vnode": {
31 "title": "Configuration",
src/go/plugin/go.d/collector/snmp/metadata.yaml
+1 -1
@@ -81,7 +81,7 @@ modules:
81 required: true
82 - name: create_vnode
83 description: If set, the collector will create a Netdata Virtual Node for this SNMP device, which will appear as a separate Node in Netdata.
84 - default_value: "false"
84 + default_value: "true"
85 required: false
86 - name: vnode.guid
87 description: A unique identifier for the Virtual Node. If not set, a GUID will be automatically generated from the device's IP address.