Skip to content

Commit

Permalink
chore: more info for snmp warning logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kongfei605 committed May 1, 2024
1 parent 497d22d commit 4cd8668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inputs/snmp/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4cd8668

Please sign in to comment.