Re: Need information to retrieve etherStatsTable parameters from the linux kernel.

2009-11-20 Thread Bart Van Assche
On Fri, Nov 20, 2009 at 8:22 AM, srivardhan hebbar ruinlovewit...@gmail.com wrote: I am trying to implement etherStatsTable of the Rmon mib. I am using Net-SNMP 5.4.2.1. I am implementing it on linux kernel. I can get the values of some parameters from /proc/net/dev. The following are the

Re: net-snmp-5.4.2.1 snmpd cpu usage 100%

2009-11-20 Thread bheemesh v
Hello Wes Hardaker, I have answers to some your questions again: WH: 2) make sure the code is supporting caching. With 4000 entries in the WH: /proc/net/dev file you *don't* want to re-read it frequently. As earlier said with strace out put as well while attaching snmpd to gdb to do frequent

回复: About Dynamically Load my MIB

2009-11-20 Thread 飞飞
r...@ubuntu:/usr/share/snmp/mibs# snmpd -f -Le -Duit,dlmod 6161 registered debug token uit, 1 registered debug token dlmod, 1 dlmod: register mib dlmod: dlmod_path: /usr/lib/snmp/dlmod dlmod: dlmod_create_module dlmod: dlmod_load_module uit: /usr/share/snmp/mibs/uit.so NET-SNMP version 5.4.1

Re:RE: 回复:RE: 回复:RE: The problem about the net-snmp in stallation

2009-11-20 Thread 飞飞
I had been read them all,but,I got nothing useful to me. I just want to know one thing ,how the steps i need to do so I can install the net-snmp in my OS?I test several OSs,Ubuntu,SuSE,Redhat,I cannot install net-snmp use source code download from the offical site. All my job now need I

/usr/local/sbin/./snmpd cannot find 'libnetsnmpagent.so.20'---------what is wrong with it?

2009-11-20 Thread 飞飞
sys-man sbin # ./snmpd ./snmpd: error while loading shared libraries: libnetsnmpagent.so.20: cannot open shared object file: No such file or directory libnetsnmpagent.so.20-- Let Crystal Reports handle

RE: /usr/local/sbin/./snmpd cannot find'libnetsnmpagent.so.20'---------what is wrong with it?

2009-11-20 Thread Mike Ayers
From: 飞飞 [mailto:chenyapu1...@qq.com] Sent: Thursday, November 19, 2009 6:25 PM sys-man sbin # ./snmpd ./snmpd: error while loading shared libraries: libnetsnmpagent.so.20: cannot open shared object file: No such file or directory Do you have /usr/local/lib in your LD_LIBRARY_PATH?

RE: net-snmp-5.4.2.1 snmpd cpu usage 100%

2009-11-20 Thread Mike Ayers
From: bheemesh v [mailto:bheem...@gmail.com] Sent: Friday, November 20, 2009 12:12 AM YES, CPU stays 100% for ever, i think your guess might be right. But as an observation when i had less than 2000 VLAN's this was not the case it is used to fluctuate between 10-40-100 but predominently

snmpwalk and specific interface

2009-11-20 Thread Anatoliy Kushner
is it possible to use specific local interface(or better specific local ip address) for snmp requests ? somesing like -I in ping , or -b for telnet -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008