Closed aseques closed 7 years ago
Based on snmp-content-id=None
I suspect your configuration does not match the SNMP command (GETNEXT) and/or OID you are trying to query what leads to undefined snmp-content-id
and message routing failure.
Here's the snippet which should match everything:
content-group { snmp-pdu-type-pattern: .? snmp-pdu-oid-prefix-pattern-list: .?
snmp-content-id: any-content
}
I suppose the Unknown SNMP engine ID encountered
error can be safely ignored -- it's part of SNMP engine ID auto discovery.
WDYT?
Sorry for my late reply, I tested today with your proposed changes, and there's no difference, see attached the configuration files I am using (you'll see that are mostly the same you provide)
I believe you have a typo in the regexp:
snmp-pdu-oid-prefix-pattern-list: .?
It does not match any OID so it needs to be:
snmp-pdu-oid-prefix-pattern-list: .*?
Yay, it finally worked, I had to replace the community too because I am not using public, but it's working nicely now.
I am trying to setup the connection from v3 to v1 (before changing more the config), but I am having issues with the current configuration.
I get this error when I try to walk the device
snmpwalk -v3 -lauthPriv -u test-user -A authkey1 -X privkey1 127.0.0.1:1161 1.3
At the moment I only changed the bind to be 0.0.0.0 (on the server side) and the peer address to be an snmp enable device. The version I am currently using is the 0.2.1