This is a discussion on Re: something about netsnmp_index within the SNMP Coders forums, part of the Networking and Network Related category; 2008/6/2 Ñîΰ <shyw13@gmail.com>: > We are tring to add a sub-agent to the original ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
2008/6/2 Ñîΰ <shyw13@gmail.com>:
> We are tring to add a sub-agent to the original version. We are tring to > chang those callback function which are generated automatically by mib2c. Generated using which template? "mib2c" is a bit vague - the different templates produce *very* different code > Our problem now is those MIB informations is not under our control. We have > to pass this request information to another lib which will return those > informations of a sepcified OID. Do you know which rows of the table are valid? Or is this information only available to the "other lib"? Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |
|
|||
|
2008/6/3 Ñîΰ <shyw13@gmail.com>:
> The configure file is writen by someone else. It is not provided by > net-snmp. You said that you were generating code using mib2c. But you did not say which mib2c template you were using. I don't see where "configure" comes into things. > I am not clear about your second question. In my mind every row is valid I > think. So you've got a row with index 1? And a row with index 2? And a row with index 3? .... And a row with index 4274? And a row with index 4275? .... And a row with index 9004518462? .... I'm sorry - but I don't believe you. It is not conceivable that "every row is valid". But you are providing so little information about your setup, that it is impossible to offer any useful assistance. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |
|
|||
|
2008/6/3 Ñîΰ <shyw13@gmail.com>:
> I visited the Net-Snmp Tutorials on > http://www.net-snmp.org/wiki/index.php/Tutorials > > When I want to see some debug method, it prompt that I have to login before > edit. But I don't want to edit it. If you follow the "Debugging using GDB" link, that should display OK. You don't need to log in. If you try to follow any of the other links under the Debugging section, then you *will* be asked to log in. But that's because these pages don't yet exist. They are placeholders, waiting to be written. That's why all these links are red, rather than blue. > I want to print some message on the screen. > Should I use the DEBUGMSG? You've had an idea. Why not *try* it, rather than asking here? Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |