didn't net-snmp support leaf nods too deep?

This is a discussion on didn't net-snmp support leaf nods too deep? within the SNMP Users forums, part of the Networking and Network Related category; --===============1419607037== Content-Type: multipart/alternative; boundary="----=_Part_127086_9543335.1153980426764" ------=_Part_127086_9543335.1153980426764 Content-Type: text/plain; charset=ISO-8859-1; ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-28-2006
hqlittlepi@gmail.com (Ǿ
 
Posts: n/a
Default didn't net-snmp support leaf nods too deep?

--===============1419607037==
Content-Type: multipart/alternative;
boundary="----=_Part_127086_9543335.1153980426764"

------=_Part_127086_9543335.1153980426764
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

as you can see ,when i just gave the values of firstKey ,secondKey and
thirdKey in C code,why all the values are respectively given to
firstGroup,secondGroup and 3.it seems that net-snmp did not support leaf
nods too deep! is it right ?or i had to do something wrong.
[littlepi@localhost ]# snmpwalk -v 1 -c public localhost jmtest
JM-TEST-1-MIB::firstGroup.0 = INTEGER: 10
JM-TEST-1-MIB::secondGroup.0 = INTEGER: 30
JM-TEST-1-MIB::jmtest.3.0 = INTEGER: 30
[littlepi@localhost]# snmpget -v 1 -c public localhost jmtest.firstGroup.0
JM-TEST-1-MIB::firstGroup.0 = INTEGER: 10
[littlepi@localhost root]# snmptranslate -IR -Tp jmtest
+--jmtest(72)
|
+--firstGroup(1)
| |
| +-- -RW- INTEGER firstKey(1)
| | Range: 0..100
| +-- -R-- INTEGER secondKey(2)
| | Range: 0..100
| +-- -R-- INTEGER thirdKey(3)
| Range: 0..100
|
+--secondGroup(2)
|
+-- -RW- INTEGER firstPlace(1)
| Range: 0..100
+-- -R-- INTEGER secondPlace(2)
| Range: 0..100
+-- -R-- INTEGER thirdPlace(3)
Range: 0..100

thanks in advance!
--
Qiang

------=_Part_127086_9543335.1153980426764
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div>as you can see ,when i just gave the values of firstKey ,secondKey and thirdKey in C code,why all the values are respectively given to firstGroup,secondGroup and <a href="http://3.it">3.it</a> seems that net-snmp did not support leaf nods too deep! is it right ?or i had to do something wrong.
<br>[littlepi@localhost ]# snmpwalk -v 1 -c public localhost jmtest<br>JM-TEST-1-MIB::firstGroup.0 = INTEGER: 10<br>JM-TEST-1-MIB::secondGroup.0 = INTEGER: 30<br>JM-TEST-1-MIB::jmtest.3.0 = INTEGER: 30<br>[littlepi@localhost
]# snmpget -v 1 -c public localhost jmtest.firstGroup.0<br>JM-TEST-1-MIB::firstGroup.0 = INTEGER: 10<br>[littlepi@localhost root]# snmptranslate -IR -Tp jmtest<br>+--jmtest(72)<br>&nbsp;&nbsp; |<br>&nbsp;&nbsp; +--firstGroup(1)<br>&nbsp;&nbsp; |&nbsp; |<br>
&nbsp;&nbsp; |&nbsp; +-- -RW- INTEGER&nbsp;&nbsp; firstKey(1)<br>&nbsp;&nbsp; |&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Range: 0..100<br>&nbsp;&nbsp; |&nbsp; +-- -R-- INTEGER&nbsp;&nbsp; secondKey(2)<br>&nbsp;&nbsp; |&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Range: 0..100<br>&nbsp;&nbsp; |&nbsp; +-- -R-- INTEGER&nbsp;&nbsp; thirdKey(3)<br>&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp; Range: 0..100<br>&nbsp;&nbsp; |
<br>&nbsp;&nbsp; +--secondGroup(2)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-- -RW- INTEGER&nbsp;&nbsp; firstPlace(1)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Range: 0..100<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-- -R-- INTEGER&nbsp;&nbsp; secondPlace(2)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Range: 0..100<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-- -R-- INTEGER&nbsp;&nbsp; thirdPlace(3)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Range: 0..100<br><br clear="all">thanks in advance!<br>--&nbsp;<br>Qiang </div>

------=_Part_127086_9543335.1153980426764--


--===============1419607037==
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
--===============1419607037==
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

--===============1419607037==--

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 04:40 PM.


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