oh,i'm sorry .i'm so sorry about my behavior to query the similar question in "didn't net-snmp support leaf nods too deep?" list.(actually,that's just because i thought out another simple test mib(not the m3uaMIB) to describe the problem clearly just a few minutes after i have submited that list.)sorry again ,never next time!
p.s there are no problem like that when I use the new mib2c.conf to generate C codes((not old API)) other than mib2c.old-api.conf
of course i know it must be my fault to cause that problem,so i just want to know how to solve them with your helps!
sorry again!
thanks sincerely!!
On 7/28/06, Dave Shield <[EMAIL PROTECTED]> wrote:
On 28/07/06, <Qiang Hu> <[EMAIL PROTECTED]> wrote:
> oid m3uaMIB_variables_oid[] = { 1, 3, 6, 1, 4, 1, 9997 };
>
> is it right or not?
No.
I can't tell what this should be since you've never given us the full
definition of m3usMIB (it's like drawing teeth, sometimes! :-)),
But your original message gave the structure of your MIB as
> +--m3uaMIB(31)
> |
> +--m3uaManagement(1)
> | |
> | +--m3uaAttributes(1)
> | | |
> | | +--m3uaConfig(1)
> | | | |
> | | | +-- -R-- Unsigned m3uaVersion(1)
> | | | +-- -R-- EnumVal m3uaProcType(2)
so the OID definition should be something of the form:
oid m3uaMIB_variables_oid[] = { 1, 3, 6, 1, 4, 1, ....,
31, 1, 1, 1 };
Also - do you have any connection with the Virtual e-learning group
(VEG) of Denmark? Because you appear to be using their enterprise
number (9997).
You should *NOT* choose an enterprise number at random - either apply
for an official number for yourself (see the FAQ for details), or use
something under NET-SNMP-MIB.::netSnmpPlaypen. That's what it's
there for....
Dave
--
Qiang
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ 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