didn't net-snmp support leaf nods too deep?
"蔷<Qiang Hu>" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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
-------------------------------------------------------------------------
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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users