-Z option no longer properly parsed
Joe Marcus Clarke <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | MarcusCom, Inc. |
| Message-ID | <[email protected]> |
I'm using net-snmp on FreeBSD, and have been for some time. I was very used to the boot and engine time arguments to the -Z option being properly parsed, and use so to avoid probe packets. However, when I upgraded to 5.3.1, this stopped working. Now, the initial request packet goes out with the proper authoritative engineID, but the boots and engine time fields are still set to 0. This results in the agent sending back a report packet. The command line I'm used to using is: snmpget -v3 -u marcus -l authNoPriv -a MD5 -A password -e 80000009030000101433D400 -Z 26,5579870 14.32.100.75 sysObjectID.0 I still have a server with 4.2.6 installed so I know the command line should work, but under 5.3.1, I cannot get it to properly recognize the boot and engine time arguments. I looked in SVN and on the mailing list archives, but the closest match was a patch to handle a boot count of 0 which is not applicable here. At first glance, the code looks like it should work, but when I run with -DALL, I see that set_enginetime() is only called with boots and engine time arguments of 0: lcd_set_enginetime: engineID 80 00 00 09 03 00 00 10 14 33 D4 00 : boots=0, time=0 Then it picks up the proper values from the agent once the report packet is sent: lcd_set_enginetime: engineID 80 00 00 09 03 00 00 10 14 33 D4 00 : boots=26, time=5582675 The full debug output can be found at http://www.marcuscom.com/downloads/snmp.out . Am I missing something new in net-snmp 5.3.1 that should allow this to work? Thanks. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
signature.asc
(application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGY6Zkb2iPiv4Uz4cRAnU/AJ0a/NKOfZXKnszNNqdEWjkgZiqTNgCfWWiK DijJRLbhGgNAiLpGBRpjaug= =B/L6 -----END PGP SIGNATURE-----