@cryptotaxi247 / netdata-1 / commits / 996ad5736

go.d snmp fix vnode host labels (#18534)

Ilya Mashchenko committed Sep 12, 2024 at 11:57 UTC 996ad57368ad86851a3b0628efee616097cc8c72
1 file changed +2 -2
src/go/plugin/go.d/modules/snmp/collect.go
+2 -2
@@ -75,10 +75,10 @@ func (s *SNMP) setupVnode(si *sysInfo) *vnodes.VirtualNode {
75 labels["sysDescr"] = si.descr
76 }
77 if si.contact != "" {
78 - labels["sysContact"] = si.descr
78 + labels["sysContact"] = si.contact
79 }
80 if si.location != "" {
81 - labels["sysLocation"] = si.descr
81 + labels["sysLocation"] = si.location
82 }
83 labels["organization"] = si.organization
84