can't get values in mibs
"蔷<Qiang Hu>" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
access control for democommunity is well as you can see:
[littlepi@localhost]# snmpget -v 1 -c democommunity localhost system.sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (81432) 0:13:34.32
but I can't snmpget all values of mymib although i can snmptranlate it
and had generated .o and .lo files in the mibgroup directory. So i
tried snmpget ucdsnmp mib,and still can't snmpget some values of
"ucdsnmp mib"(note just some not all) as the following shows.why?what
else should i do ?
[littlepi@localhost]# snmptranslate -IR -Tp prTable
+--prTable(2)
|
+--prEntry(1)
| Index: prIndex
|
+-- -R-- Integer32 prIndex(1)
| Range: 0..65535
+-- -R-- String prNames(2)
| Textual Convention: DisplayString
| Size: 0..255
+-- -R-- Integer32 prMin(3)
+-- -R-- Integer32 prMax(4)
+-- -R-- Integer32 prCount(5)
+-- -R-- Integer32 prErrorFlag(100)
+-- -R-- String prErrMessage(101)
| Textual Convention: DisplayString
| Size: 0..255
+-- -RW- Integer32 prErrFix(102)
+-- -R-- String prErrFixCmd(103)
Textual Convention: DisplayString
Size: 0..255
[littlepi@localhost]# snmpget -v 1 -c democommunity localhost
ucdavis.prTable.prEntry.prIndex.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::prIndex.0
thanks in advance!in hurry!
--
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