Thanks to you... i fixed some problem

but some problem still remain...


first i succeed to load mib...with..

"echo "mibs +ALL" >> $HOME/.snmp/snmp.conf

of course, i copyed my mib files in $HOME/.snmp/mibs...

HOME directory is /root... so only root can succeed "snmpwalk"


in FAQ....


if you want every one can use snmp...  do like this

"cp MY-MIB /usr/local/share/snmp/mibs"

"export MIB=+ALL"


but except root, no one can reply from agent...

====================================================================================

[syc...@localhost mibs]$ su root
암호:
[r...@localhost mibs]# snmpwalk -v 1 -c public 172.16.0.100 fan
/root/.snmp/snmp.conf: line 9: Warning: Unknown token: echo.
NEXCOMM-FAN-MIB::targettemperature.0 = INTEGER: 25
NEXCOMM-FAN-MIB::currenttemperature.0 = INTEGER: 26
NEXCOMM-FAN-MIB::autofanspeed.0 = INTEGER: spd-auto(1)
NEXCOMM-FAN-MIB::currentfanspeed.0 = INTEGER: spd-max(2)
NEXCOMM-FAN-MIB::fm1rpms.0 = STRING: "2345"
NEXCOMM-FAN-MIB::Fm2rpms.0 = STRING: "1234565678"
[r...@localhost mibs]# su sychoi
[syc...@localhost mibs]$ snmpwalk -v 1 -c public 172.16.0.100 fan
[syc...@localhost mibs]$


=====================================================================================


if anyone want to use snmp... i must make ".snmp" directory in his HOME directory..

then i should copy all MIB file in his mib directory in HOME...

then i should configure some configuration...

It is not a proper way.....


Is there any method for everyone can use "snmp"...


it is useless "export MIBS=+ALL"...

i know only this way...

Is there something another....


please help....me...






---------[ 받은 메일 내용 ]----------
제목 : Re: [SPAM] cross compiling net-snmp-5.3.2
날짜 : Tue, 30 Mar 2010 09:10:41 -0400
보낸이 :Robert Story <[email protected]>
받는이 :"생각하기" <[email protected]>
함께받는이 : [email protected]
On Tue, 30 Mar 2010 09:51:03 +0900 (KST) 생각하기 wrote:
> thank for your reply...
>
> I did't get anything 'snmptranslate -IR fan'...
>
> =========================================================================
>
> [r...@localhost net-snmp-5.3.2]# export env MIBS=+"NEXCOMM-FAN-MIB"
> [r...@localhost net-snmp-5.3.2]# snmptranslate -IR fan
> No log handling enabled - turning on stderr logging
> Cannot find module (NEXCOMM-FAN-MIB): At line 0 in (none)
> Unknown object identifier: fan

This indicates that your MIB is not being loaded. Please see the FAQs on the
wiki for details on loading MIBs for the tools.

 


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to