This is a discussion on Re: about modifying files generated by mib2c within the SNMP Users forums, part of the Networking and Network Related category; --===============0101474627== Content-Type: multipart/alternative; boundary="----=_Part_2301_22436859.1154078305618" ------=_Part_2301_22436859.1154078305618 Content-Type: text/plain; charset=ISO-8859-1; ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0101474627==
Content-Type: multipart/alternative; boundary="----=_Part_2301_22436859.1154078305618" ------=_Part_2301_22436859.1154078305618 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 <D.T.Shield@csc.liv.ac.uk> wrote: > > On 28/07/06, <Qiang Hu> <hqlittlepi@gmail.com> 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 ------=_Part_2301_22436859.1154078305618 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div>oh,i'm sorry .i'm so sorry about my behavior to query the similar question in "<span style="FONT-SIZE: larger"><b><font size="2">didn't net-snmp support leaf nods too deep?"</font></b></span> 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! </div> <div> </div> <div>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</div> <div> <div>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!</div> <div>sorry again!</div> <div>thanks sincerely!!</div></div><br><br> <div><span class="gmail_quote">On 7/28/06, <b class="gmail_sendername">Dave Shield</b> <<a href="mailto:D.T.Shield@csc.liv.ac.uk">D.T.Shield@ csc.liv.ac.uk</a>> wrote:</span> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On 28/07/06, <Qiang Hu> <<a href="mailto:hqlittlepi@gmail.com">hqlittlepi@gmai l.com</a>> wrote: <br>> oid   ; m3uaMIB_variables_oid[] = { 1, 3, 6, 1, 4, 1, 9997 };<br>><br>> is it right or not?<br><br>No.<br>I can't tell what this should be since you've never given us the full<br>definition of m3usMIB (it's like drawing teeth, sometimes! :-)), <br><br>But your original message gave the structure of your MIB as<br><br>> +--m3uaMIB(31)<br>> |<br>> +--m3uaManagement(1)<br>> | |<br>> | +--m3uaAttributes(1)<br>> | | |<br>> | | +--m3uaConfig(1) <br>> | | | |<br>>&n bsp; | | | +-- -R-- Unsigned m3uaVersion(1)<br>> &n bsp; | | | +-- -R-- EnumVal m3uaProcType(2)<br><br>so the OID definition should be something of the form:<br><br>oid &nbs p; m3uaMIB_variables_oid[] = { 1, 3, 6, 1, 4, 1, ...., <br>31, 1, 1, 1 };<br><br><br>Also - do you have any connection with the Virtual e-learning group<br>(VEG) of Denmark? Because you appear to be using their enterprise<br>number (9997).<br>You should *NOT* choose an enterprise number at random - either apply <br>for an official number for yourself (see the FAQ for details), or use<br>something under NET-SNMP-MIB.::netSnmpPlaypen. That's what it's<br>there for....<br><br>Dave<br></blockquote></div><br><br clear="all"><br>-- <br>Qiang ------=_Part_2301_22436859.1154078305618-- --===============0101474627== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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?p...rge&CID=DEVDEV --===============0101474627== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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/...net-snmp-users --===============0101474627==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|