FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian ISP

 
 
LinkBack Thread Tools
 
Old 03-30-2011, 09:31 AM
"liyq"
 
Default questions on SNMP

Hi,all

I*am*just*testing*about*SNMP*on*my*Debian*6.0*syst em*I*had*installed*and*update*almost*every*SNMP*pa ckage*relevant,*but*I*failed*to*test*SNMP.*I*looku ped*some*webpages*and*I
found*some*SNMP*command*didn't*worked,*for*example :
*

#*snmpget*-v*2c*-c*public*localhost*1.3.6.1.2.1.1.1.0
iso.3.6.1.2.1.1.1.0*=*STRING:*"Linux*localhost*2.6 .32-5-686*#1*SMP*Wed*Jan*12*04:01:41*UTC*2011*i686"
It's OK!
*

#*snmptranslate*1.3.6.1.2.1.1.3.0
iso.3.6.1.2.1.1.3.0
I don't know if the result is normal? Which is not the same as what I had
seen on some material.
*

#*snmptranslate*-On*SNMPv2-MIB::system.sysUpTime.0
No*log*handling*enabled*-*turning*on*stderr*logging
MIB*search*path:*/root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot*find*module*(SNMPv2-MIB):*At*line*0*in*(none)
SNMPv2-MIB::system.sysUpTime.0:*Unknown*Object*Identifier

I*don't*know*why*the*SNMPv2-MIB*is*gone?*or*netsnmp*have*changed*the*SNMP*modu le*definition?
*
2011-03-30



liyq
 
Old 03-30-2011, 09:38 AM
"Raoul Bhatia [IPAX]"
 
Default questions on SNMP

On 03/30/2011 11:31 AM, liyq wrote:
> SNMPv2-MIB::system.sysUpTime.0: Unknown Object Identifier
> I don't know why the SNMPv2-MIB is gone? or netsnmp have changed the SNMP module definition?

did you install and use the "snmp-mibs-downloader" to fetch
the MIBs?

cheers,
raoul
--
__________________________________________________ __________________
DI (FH) Raoul Bhatia M.Sc. email. r.bhatia@ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OG web. http://www.ipax.at
Barawitzkagasse 10/2/2/11 email. office@ipax.at
1190 Wien tel. +43 1 3670030
FN 277995t HG Wien fax. +43 1 3670030 15
__________________________________________________ __________________


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4D92FA21.8060304@ipax.at">http://lists.debian.org/4D92FA21.8060304@ipax.at
 
Old 11-15-2011, 09:14 AM
Przemysław Bednarek
 
Default questions on SNMP

Loading MIBs is disabledÂ* by default.
Try comment line
mibs :
in /etc/snmp.conf (not /etc/snmpd.conf).
 

Thread Tools




All times are GMT. The time now is 05:05 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org