name and vp->name ? what is the difference
"mn kh" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I am still trying to solve a huge problem i came accross not so long ago, and thanks to Mike, I found out that my problem is not really the fact that snmpwalk is sending an exact request its bigger than that. After reviewing carefully, i found out that there is smthg happening that shouldn't be happening. In fact, I thought that the difference between name and vp->name in the functuin findVar is the following (based on netsnmp tutorial): -name is the oid of the request -vp->name is the oid of the entry in the variableN for the object in consideration could anyone please exaplian what does "the oid of the entry in the variableN for the object in consideration" means. if i do: snmpwalk mmsc for example, what is name and what is vp->name? >From my understanding, name would be mmsc and vp->name would be the first child in the mmsc tree (considering that mmsc is in fact a tree). If i have understood it right, what would be the next value for name and vp->name on the next call, will name stay the same and vp->name goes to the second leaf? >From what i understood this is what should happens and when a value different than NULL is returned in function findVar, then the next snmpwalk will fill name with the last value taken by vp->name and appended by 0 and vp->name continues normally (to the next child in the tree) and so on Please enlight me if my expalantion is false Thank you Regards, ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ 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