From 4cd8668a3a32898ae4e8c45767db04e870cf7cf6 Mon Sep 17 00:00:00 2001 From: kongfei Date: Thu, 2 May 2024 07:18:08 +0800 Subject: [PATCH] chore: more info for snmp warning logs --- inputs/snmp/table.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inputs/snmp/table.go b/inputs/snmp/table.go index e371b708..87126a66 100644 --- a/inputs/snmp/table.go +++ b/inputs/snmp/table.go @@ -344,7 +344,7 @@ func (t Table) Build(gs snmpConnection, walk bool, tr Translator) (*RTable, erro } ifv[""] = fv } else { - log.Println("W! no info for oid", oid) + log.Println("W! no info for oid:", oid, "target:", gs.Host()) } } else { err := gs.Walk(oid, func(ent gosnmp.SnmpPDU) error {