From: Sumathi G. <su...@cc...> - 2000-11-17 19:15:38
|
But the command 'snmptranslate -On -IR unknown' gives the correct result :'enterprises.ucdavis.ucdSnmpAgent.unknown' !! If snmptranslate is looking up the correct MIB table, why not snmpwalk/snmpget ??!! Thanks, Sumathi Sumathi Gopal wrote: > Hello UCD-SNMP coders, > I'm trying to write an extension on the UCD-SNMP agent. Presuming > snmpd.conf to be a good start, I uncommented the 'pass' directive, and > set the correct path to the program - passtest. > > is this all that has to be done for 'snmpwalk' & 'snmpget' to give the > desired results ?? well.. it did'nt work for me! > > I started the agent with the command > 'snmpd -DL -c /etc/snmp/snmpd.conf' > > The lines displayed did indicate that it was parsing all the MIB files, > and also reading /etc/snmp/snmpd.conf . > > but then in response to the command: > 'snmpget -v 1 localhost public .1.3.6.1.4.1.2021.255.5' > I'm getting the error message : > "Error in packet > Reason: (noSuchName) There is no such variable name in this MIB. > This name doesn't exist: enterprises.ucdavis.255.5 > " > > on issuing 'snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.255' > just getting a single line of output - 'End of MIB' > > > Please advise!! > > Thanking you, > > Sumathi Gopal > > Research Associate, > C&C Research Labs, > NEC USA Inc. > Princeton, NJ. |