Hi, all
I met another problem.
The callback function registered is a FindVarMethod type. I found its
definition in file snmp_vars.h. But I am not sure the usage. Such as how to
specify the Get or the Get-Next method?
So anyone could give the information about the usage of this function?
Thanks
I have seen the debug message. Thanks.
Sorry for bothering.
Thanks
Richard
2008/6/4, 杨伟 <[EMAIL PROTECTED]>:
>
> Yes, I found that in some functions DEBUGMSG and DEBUGMSGTL are used. BUT
> those parameters are fixed.
>
> For example, I see one usage from the net-snmp tutorial
> DEBUGMSGTL(("ns
Yes, I found that in some functions DEBUGMSG and DEBUGMSGTL are used. BUT
those parameters are fixed.
For example, I see one usage from the net-snmp tutorial
DEBUGMSGTL(("nstAgentSubagentObject",
"Initializing the nstAgentSubagentObject module\n"));
This format is odd. And what I
2008/6/3 杨伟 <[EMAIL PROTECTED]>:
> 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 d
Hi, all
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.
So anyone could tell me some debug method? I want to print some message on
the screen.Should
The mib2c config file is given by someone else. So I am not permitted to
show you. Sorry.
I misunderstand your meaning. Not every row is available. But at least 1 and
2 are available.
在08-6-3,Dave Shield <[EMAIL PROTECTED]> 写道:
>
> 2008/6/3 杨伟 <[EMAIL PROTECTED]>:
> > The configure file is write
Hi Dave,
Thanks for your reply.
The configure file is writen by someone else. It is not provided by
net-snmp.
I am not clear about your second question. In my mind every row is valid I
think.But the OID of the standard one is different from those in the lib. So
we should make a little change.
T
2008/6/3 杨伟 <[EMAIL PROTECTED]>:
> 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
2008/6/2 杨伟 <[EMAIL PROTECTED]>:
> 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
>
-- Forwarded message --
From: 杨伟 <[EMAIL PROTECTED]>
Date: 2008-6-2 16:48
Subject: Re: something about netsnmp_index
To: Dave Shield <[EMAIL PROTECTED]>
Sorry for posing such a silly question.
I want to describe what we want to do.
We are tring to add a sub-agent to
2008/6/2 杨伟 <[EMAIL PROTECTED]>:
> I use mib2c to convert a mib file to a c file. I found that for every table
> entry , it adds an netsnmp_index variable automatically.
Which mib2c template are you using?
Many of the table helpers require a particular structure
for the per-row data structure, so
Hi all:
I use mib2c to convert a mib file to a c file. I found that for every table
entry , it adds an netsnmp_index variable automatically.
When net-snmp get a get message, what is stored in this data type?
Thanks all.
-
Th
12 matches
Mail list logo