Re: something about netsnmp_index

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 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-02-2008
Dave Shield
 
Posts: n/a
Default Re: something about netsnmp_index

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

Reply With Quote
  #2 (permalink)  
Old 06-03-2008
Dave Shield
 
Posts: n/a
Default Re: something about netsnmp_index

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

Reply With Quote
  #3 (permalink)  
Old 06-03-2008
Dave Shield
 
Posts: n/a
Default Re: something about netsnmp_index

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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:43 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0