This is a discussion on Re: Strange error in test program... within the SNMP Coders forums, part of the Networking and Network Related category; Hi Dave, Thanks for the apt response, I really appreciate it! I fixed the MAX_OID_LEN thing and all works fine ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi Dave,
Thanks for the apt response, I really appreciate it! I fixed the MAX_OID_LEN thing and all works fine now. > You are also assuming that ifTable entries will always be > in a strict consecutive sequence (starting from 1). That's > probably true for most simple systems, but it's not guaranteed. > It is perfectly valid to have 3 interfaces, with indexes 2, 3 > and 27, for example. Mmm...ok. I could send another PDU to get the ifIndex.x list...this works but needs another PDU. > You might want to look at using a sequence of GETNEXT requests, > or (if your agent supports SNMPv2c or SNMPv3), a GETBULK > request, which would do the same thing but in one go. Allright, I'll look into it! Thanks! -Kris ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757...un.com/javaone _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |
![]() |
| Thread Tools | |
| Display Modes | |
|
|