SNMPBULKGET and SNMPWALK behaviour
"Angela Lazaro" <[email protected]>
| Newsgroups | gmane.network.net-snmp.devel,gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all!
In a previous mail I report that:
I'm implementing an agent that responds to a MIB with net-snmp 5.3.2 that has a table build as follow:
Table1
Index1
Column1
Column2
Column3
Column10
I mean, the OIDs for all columns are not sequential. It jumps from 3 to 10.
When I tried to poll my agent with an snmpbulkget request I only receive until column3, the column 10 is never received. The bulk request by default retrieves 10 sequence elements but the column10 is not retrieved. Is that a expected behaviour for this command? Does the OIDs for columns from the tables as to be sequential in order to be retrieved by the snmpbulkget request?
But I also notice that if I have a table with two indexes and if this indexes are not followed as normally the snmpbulkget request also do not retrieve the OIDs as it is in the MIB.
To simplify, I have this table:
a) Table2
Index1
Column1
Index2
Column2
And when I send a snmpbulkget request the response OID is has if the table is formed like:
b) Table2
Index1
Index2
Column1
Column2
So, the OID returned by the snmpbulkget request is the one that follows the order in case a) and does not match with the one in case b) that is the same defined in the MIB.
I also tried to use the snmpwalk command and the behaviour remains the same...
Is that an expected behaviour of the snmpbulkget and snmpwalk command? In order to use this type of commands the OIDs in the MIB must be sequential?
Thank you all for you help and answers!
Best Regards,
Ângela Lázaro
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders