high cpu load with snmpv3

2005-06-20 Thread Mieden, Rick van der
I notice a very high cpu load and therefore bad performance on my server (2 x 1.1 Ghz sparc cpu’s with 1024 RAM). I’m using net-snmp 5.2.1 with snmpv3 configured to monitor my servers with Nagios.   I suspect the snmpv3 is consuming a lot of cpu-time because of the encryption and user ver

document error?

2005-06-20 Thread Leo Lei
hi net-snmp-users: i have downloaded the source code net-snmp-5.1.2 from the homepage, i found a little error(maybe), as the following: snmpd.conf.5.def: SYSCONFDIR/snmp/snmpd.conf - configuration file for the Net-SNMP SNMP agent. EXAMPLE.conf.5.def: it should be placed i

Re: Persisting MIB table

2005-06-20 Thread Steve S. Law
I looked at the file and tried to use the callback mechanism to save data. But when I shut-down my sub-agent, the callback is not invoked at all. In my init_applTable(), after netsnmp_register_table_iterator, I did: snmp_register_callback(SNMP_CALLBACK_LIBRARY, SNMP_CAL

RE: How to start snmpd deamon

2005-06-20 Thread ryoung
Try: snmpd -a -A This should give you a start. Robert Young -Original Message- From: francisco.arias [mailto:[EMAIL PROTECTED] Sent: Monday, June 20, 2005 3:33 PM To: net-snmp-users Subject: How to start snmpd deamon Hi I am trying to start the snmpd daemon It has not wor

unlinked OID newbie to snmp question

2005-06-20 Thread Graham Faigle
Please excuse me if this has been covered, or is so trivial it makes you snort your coffee/soda. I'm relatively new to the world of snmp and seeking some help. I've searched through the list archives and couldn't figure out the solution on my own. I'm setting up some monitoring on my network, an

Re: Problem while debugging with DDD

2005-06-20 Thread Robert Story
On Thu, 16 Jun 2005 12:48:20 +0530 Sridhar wrote: SS> My problem is I am not able see the Net-SNMP code in DDD. SS> [...] SS> This is how I executed 'configure' script to build the agent. SS> SS> ./configure SS> --prefix=/home/ssridhar/work/netsnmp/net-snmp-5.2.1/netsnmp-install/ SS> --with-defau

Re: snmp_synch_response

2005-06-20 Thread Robert Story
On Thu, 16 Jun 2005 10:34:42 -0700 George, wrote: GG> So is there any way I can validate the user input? That is, if user GG> tries to set an OID which is not valid (Not in specific view /not able GG> to retrieve info / type is not as we expect etc), then it should return GG> BAD_VALUE. No, it can

Re: No swap line in /proc/stat and No page line in /proc/stat

2005-06-20 Thread Robert Story
On Fri, 17 Jun 2005 13:56:48 +1200 Garrett wrote: GS> Please provide me with some more information on this, on what you mean by GS> There is no way to eliminate the message w/out recompiling , In 5.1, the message is logged every time the mib data is read. That's the way the code worked. GS> have

How to start snmpd deamon

2005-06-20 Thread Arias, Francisco
Hi I am trying to start the snmpd daemon It has not work and I tried gd to find out It turned out that it needs an argument What should I use as arguments since I am in the process of starting it up for the first time   Any help is much appreciated   Best Regards,   Francisco Aria

RH AS and 2021

2005-06-20 Thread Blurry
What do I need to check if my Redhat AS3.5 box with netsnmp 5.029 renders End of MIB when I query the 2021 branch ? The HostRes branch returns timeticks and nothing else. Thanks --- SF.Net email is sponsored by: Discover Easy Linux Migration Str

RE: snmptrapd memory leak ??

2005-06-20 Thread Wu, Lan, ALABS
Hi Thomas, Please see the attachment. Thanks. Lan -Original Message- From: Thomas Anders [mailto:[EMAIL PROTECTED] Sent: Monday, June 20, 2005 10:12 AM To: Wu, Lan, ALABS Subject: Re: snmptrapd memory leak ?? Wu, Lan, ALABS wrote: > $ gdb /home/snmp/netsnmp/net-snmp-5.2.1/apps/snmptr

Re: Let total size of all executed file < 1MB

2005-06-20 Thread Shufen Zhang
Hi Dave,   With --enable-mini-agent option in ./configure, what will the mini-agent include? Does it contain all SNMPV3 support? To enable all three versions of SNMP, what other standard mibs do we have to include?   Thanks a lot,   ShufefnDave Shield <[EMAIL PROTECTED]> wrote: On Mon, 2005-06-20

net-snmp-5.1.3.pre1 available for testing

2005-06-20 Thread Robert Story
net-snmp-5.1.3.pre1 is available for testing. Please give it a whirl, and let us know if you have any problems. Precursors to this release we successfully built on the following SourceForge compile farm test machines this weekend: OpenBSD 3.4, NetBSD 1.6, Linux 2.2.20 (alpha), Solaris (spa

RE: snmp_synch_response

2005-06-20 Thread Dave Shield
On Mon, 2005-06-20 at 15:32, George, Geo wrote: > DS> How would you handle monitoring an initially valid OID that was > DS> subsequently deleted? Or creating the value being monitored as > DS> part of the same request as the monitoring entry? > If the OID is valid initially and then deleted sub

RE: snmp_synch_response

2005-06-20 Thread George, Geo
Thanks Dave. I will have a look in to Disman implementation too. DS>How would you handle monitoring an initially valid OID that was DS>subsequently deleted? Or creating the value being monitored as DS>part of the same request as the monitoring entry? DS>The DisMan approach is to allow the creat

RE: snmptrapd memory leak ??

2005-06-20 Thread Wu, Lan, ALABS
Hi Thomas, I gave the path to the executable module is still has the same information. /home/snmp/netsnmp/net-snmp-5.2.1/apps $ cd /home/snmp/snmpcol/bin $ gdb /home/snmp/netsnmp/net-snmp-5.2.1/apps/snmptrapd core GNU gdb 6.0 Copyright 2003 Free Software Foundation, Inc. GDB is free software,

Re: Let total size of all executed file < 1MB

2005-06-20 Thread Dave Shield
On Mon, 2005-06-20 at 13:04, Finfin wrote: > How can I do to decrease the size of image? > Can I remove some executed files? Please see the FAQ entry How can I reduce the memory footprint? Dave --- SF.Net email

Let total size of all executed file < 1MB

2005-06-20 Thread Finfin
hi: I porting the net-snmp into the embedded system The flash size is 4MB I set the command: ./configure --enable-mini-agent. but it is too big Before to add net-snmp, the total size of im

Re: snmptrap using Hex string

2005-06-20 Thread Dave Shield
On Mon, 2005-06-20 at 03:44, Paul Chen (QD/LJC) wrote: > I want to send a trap with a object of hex string type. > I tried to send this trap using snmptrap like this : > snmptrap -v 2c 150.236.78.57 public '' .1.3.6.1.4.1.27.1 > .1.3.6.1.4.1.27 x "01020304" Yup - that works for m

RE: snmp_synch_response

2005-06-20 Thread Dave Shield
On Fri, 2005-06-17 at 23:19, George, Geo wrote: > I need to monitor a user selected SNMP OID periodically. Have you considered using the DISMAN-EVENT-MIB, which is specifically designed for this very purpose? It's already implemented in the Net-SNMP agent. See the snmpd.conf(5) man page, under

RE: snmp_synch_response

2005-06-20 Thread Dave Shield
On Thu, 2005-06-16 at 18:34, George, Geo wrote: > Thanks Robert. > So is there any way I can validate the user input? That is, if user > tries to set an OID which is not valid (Not in specific view /not able > to retrieve info / type is not as we expect etc), then it should return > BAD_VALUE. The

Re: (no subject)

2005-06-20 Thread Dave Shield
On Fri, 2005-06-17 at 22:20, Wang Yinyan-AYW003 wrote: > I downloaded source code of net-snmp-5.2.1 and extracted and try to > install the perl module. Following the instruction of INSTALL, I need > to run "./configure". Not correct. Have another look at the INSTALL file. Under "Installing the