2009/6/4 geri noorzaman <noorzaman...@yahoo.com>: > and also I'm not missing the line: > > vptr = vptr->next_variable; > > What I posted earlier, it is just a piece of code, not complete code.
I'm sorry - but I am not prepared to waste my time trying to guess what you might or might not have written in code that you can't be bothered to mention. If you wish assistance, can you please post the *complete* code - not isolated fragments. > The problem is, when I try to query that table with snmpwalk, > I get an output something: > > MIB::mibnodetableentry.1.'.ABCDE'.70.71.72 = INTEGER 21 > I want to get all the string index in a complete format like: > > .'ABCDEFGH' That implies that there's probably something wrong with the length of the index string, by the time that it's received by the client app. But it's impossible for us to tell what might be going wrong, since you haven't provided enough detail of your code. > Why net-snmp outputting the query with format like that > (half in string, half in hex)??? If you run the command with the '-Ob' flag, I'm pretty sure that the index subidentifiers will probably be displayed as MIB::mibnodetableentry.1.5.65.66.57.68.69.70.71.72 i.e. with a length of '5' rather than '8' Dave ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users