agent crash when proxying for Squid

2005-04-29 Thread John Hardin
I have a system where I set up Net-SNMP to proxy for Squid (the caching software). Squid is running on the same machine as Net-SNMP. Its agent is integrated into its cache daemon and only understands SNMPv1, so I have Squid's agent listening on 127.0.0.1:3401. The snmpd.conf file I give to the Ne

RE: Problem on 64 bit machine: Timeout: No response from localhost

2005-04-29 Thread LIAO, GUANGDENG
Hi (BAfter your patch, another problem arises, the trace as following: (B (Btrace: _snmp_build(): snmp_api.c, 2769: (Bsnmp_send: Building SNMPv1 message... (Btrace: _snmp_build(): snmp_api.c, 2772: (Bdumph_send: PDU-GETNEXT (Btrace: snmp_pdu_realloc_rbuild(): snmp_api.c, 3130: (Bsnmp_pdu_re

Re: help please

2005-04-29 Thread M. Vivek
Actually i was doing a cross compiling for fusiv_linux. I found out the problem since it was using wrong ar and ranlib that problem occured. Now i hav solved that one. Thanks for replying. But i am facing the following problem now , linux_kerna

Re: When not to retry INFORM PDUs

2005-04-29 Thread Wes Hardaker
> On Tue, 26 Apr 2005 09:25:18 +0100, Dave Shield <[EMAIL PROTECTED]> said: >> I've been looking for a reference, preferably an RFC, which defines >> this behavior, but I'm failing to find one. >> >> Is this defined behavior, or would this just an implementation >> decision in an area where t

Re: Resend a received Trap with a different peername

2005-04-29 Thread Wes Hardaker
> On Tue, 26 Apr 2005 15:05:37 +0100, Dave Shield <[EMAIL PROTECTED]> said: Dave> I was hoping John might be able to shed some light on whether Dave> the transport information was needed in the PDU copy at all (and Dave> if so, why). Unfortunately, I don't think he's listening. However, the

Re: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-29 Thread Wes Hardaker
> On Thu, 28 Apr 2005 11:26:19 +0100, "Andy Ford" <[EMAIL PROTECTED]> said: Andy> I have just tested the new code from CVS - I didn't do a diff to Andy> see the changes - just compiled and installed over what I had. Andy> I bombarded the snmptrapd with traps and saw the memory Andy> utilisati

Re: AgentX master agent failed to respond to ping

2005-04-29 Thread W Raul S
a) It successfully creates the socket. b) The agent does 'connect', but fails to register. Note netstat's output for the sub-agent app 'rmApps-subDemo' for when the master agent and sub-agent are connected. (see below) After shutting down the sub-agent and master agent, the socket 'master' does no

Re: AgentX master agent failed to respond to ping

2005-04-29 Thread Dave Shield
On Fri, 2005-04-29 at 14:23, W Raul S wrote: > The socket is created when the master agent starts up. It is not > deleted (as usual) when the master agent shutsdown. That's what I half suspected. Normally the master agent *should* delete the socket when it closes down cleanly (I think). What h

Re: AgentX master agent failed to respond to ping

2005-04-29 Thread W Raul S
Hello Dave, The socket is created when the master agent starts up. It is not deleted (as usual) when the master agent shutsdown. Observing this i instead used the -x option to specify a tcp port, which checking through netstat, established a connection to the sub-agent process. Raul On 4/29/05,

Re: help please

2005-04-29 Thread Gary Clark
Hi, What is this fusiv_linux? Do we have a net-snmp installation for this? I know for sure that net-snmp-5.1.2 works for RH9 and is fairly simple to install and build...or is my memory that blow. Thanks, Garyc - Original Message - From: "Dave Shield" <[EMAIL PROTECTED]> To: "M. Vivek" <[E

Re: help please

2005-04-29 Thread Dave Shield
On Fri, 2005-04-29 at 10:27, M. Vivek wrote: > Actually i was doing a cross compiling for > fusiv_linux. But i am facing the following problem now, > linux_kernal.c > is not included in Makefiles and there were some linker > errors happening. Pass - I have *no* experience of cross-compilin

Re: use of directives

2005-04-29 Thread Dave Shield
On Thu, 2005-04-28 at 12:28, [EMAIL PROTECTED] wrote: > I am going through MIB2C info on the net-snmp site. I just wanted > to inquire that, > > 1. How are directives useful from the user point of view Which directives are you referring to? mib2c directives, snmpd.conf directives, or snmp.con

Re: snmp

2005-04-29 Thread Dave Shield
On Mon, 2005-04-18 at 11:28, Sunitha J wrote: > 1) If you're writing code for some generic scalars > (by hand use: "mib2c -c mib2c.scalar.conf Netmib") > > 2) If you want to magically "tie" integer variables to integer > scalars > (by hand use: "mib2c -c mib2c.int_watch.conf Net

Re: Missing function ??

2005-04-29 Thread Dave Shield
On Mon, 2005-04-25 at 17:27, Robert Story wrote: > On Mon, 25 Apr 2005 18:46:08 +0530 Sridhar wrote: > SS> I am using Net-SNMP version 5.2.1. I was looking at > SS> agent/mibgroup/mibII/ifTable.c file. > That file is an incomplete implementation, and can't be used as is. Robert - if that particul

Re: Mem usage for few APIs

2005-04-29 Thread Dave Shield
On Mon, 2005-04-25 at 14:46, Anuradha Bhakta wrote: > Can anyone let me know the usage of read_config_save_objid() & > read_config_read_objid() APIs WRT memory usage. > > What do these APIs expect to be malloced before their usage Well, 'read_config_save_objid' expects both the buffer to save to,

Re: how to know hard disk read-write rate

2005-04-29 Thread Dave Shield
On Tue, 2005-04-26 at 09:42, Miguel Gómez wrote: > I need to know what should I do to know the real hdd read-write rate. You could try walking the UCD-DISKIO-MIB::diskIOTable I'm not sure whether it's included by default (or even supported) on all systems, but it's probably the closest t

Re: help please

2005-04-29 Thread Dave Shield
On Tue, 2005-04-26 at 11:31, M. Vivek wrote: > I am facing the followig problem while > compiling the netsnmp source code, > ./.libs/libnetsnmpmibs.a: could not read symbols: Archive has no index; What version and O/S are you using? Were there any errors listed when compiling the library? Try

Re: differences between scalar & instance

2005-04-29 Thread Dave Shield
On Fri, 2005-04-29 at 06:12, ericyosho wrote: > maybe have to explain: > take scalar mplsTunnelNotificationMaxRate for example. > >mplsTunnelNotificationMaxRate OBJECT-TYPE > SYNTAX Unsigned32 > MAX-ACCESS read-write > .. > i will first use mib2c.scalar.conf to generat

Re: AgentX master agent failed to respond to ping

2005-04-29 Thread Dave Shield
On Thu, 2005-04-28 at 22:06, W Raul S wrote: > There is no authentication between the sub-agent and the master > agent, and yes, "master agentx" is enabled and started from within the > master agent. OK - so when you start the master agent, does it create the named socket /var/agentx/master ? And

Re: rmon doubt

2005-04-29 Thread Dave Shield
On Thu, 2005-04-28 at 06:33, priya wrote: > How to configure Rmon in net-snmp. Please see the FAQ entry: Does the agent support the RMON-MIB? Dave --- SF.Net email is sponsored by: Tell us your software development plans! Take t