Skip to main content
Question

SNMP v1 with rust plugin

  • October 20, 2026
  • 0 replies
  • 11 views

Forum|alt.badge.img+7

The new RUST plugins (will) supports SNMPv1?

I’m testing on a device that allow only v1 and it seems no.

snmpwalk

snmpwalk -v1 -c **** 10.*.*.* .1.3.6.1.2.1.1.1
SNMPv2-MIB::sysDescr.0 = STRING: ****

with rs plugin

/usr/lib/centreon/plugins/centreon-plugin-rust-snmp -H 10.*.*.* -v 1 -c **** --json /usr/lib/centreon/plugins/rs-collections/applications-protocol-snmp/sysdesc.json --check-response
UNKNOWN: Could not connect to 10.*.*.*:161 is the hostname and the snmp community correct ? Resource temporarily unavailable (os error 11)

With TCPdump I see that it force SNMPv2c GetBulk, a function not present on SNMPv1

11:41:08.191089 IP (tos 0x0, ttl 64, id 14733, offset 0, flags [DF], proto UDP (17), length 68)
10.*.*.*.59760 > 10.*.*.*.161: [bad udp cksum 0x3caa -> 0x6f89!] { SNMPv2c C="*" { GetBulk(24) R=1 N=1 M=1 .1.3.6.1.2.1.1.1 } }