Re: Error starting snmptrapd

2005-05-13 Thread Alex Burger
Shobana Sampath wrote: It now receives the PDU but says: Cannot find TrapOID in TRAP2 PDU What did you use to send the test trap? If you used snmptrap, what was the command you used? I did not use snmptrap to send the trap, I am using my own SNMP server application for our product. I placed the c

Re: Setting the sender address in outgoing SNMP trap packets

2005-05-13 Thread Shobana Sampath
On an ethereal trace after doing what is described below, I had to also add this code because I noticed that snmp_pdu_build does not add the agent_addr for v2c traps cp = asn_build_string(cp, pkt_len, (u_char) (ASN_IPADDRESS | ASN_PRIMITIVE), (u

Re: "double free" bug for AgentX and patch

2005-05-13 Thread W Raul S
The version is 5.2.1, and the release (that i must use) is redhat's 10.FC3. The srpm can be found here ( http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/SRPMS/ ). You're right that callback.c doesnt check what kind of sc_client_arg exists. Raul On 5/13/05, Robert Story <[EMA

Re: Setting the sender address in outgoing SNMP trap packets

2005-05-13 Thread Shobana Sampath
Setting the trap-source-address as described below, I do not see that in the PDU dump. I am running Ethereal and that does not show the trap-source-address either. Thanks. /Shobana --- Dave Shield <[EMAIL PROTECTED]> wrote: > On Mon, 2005-04-25 at 16:38, Shobana Sampath wrote: > > I tried to add a

Re: "double free" bug for AgentX and patch

2005-05-13 Thread Robert Story
On Thu, 12 May 2005 15:06:37 -0400 W wrote: WRS> I would like to bring attention to the double-free error that occurs WRS> when shutting down a sub-agentx application. The error occurs in the WRS> 2.5.1.1 release (and is incorrectly patched by redhat for its release WRS> of a 2.5.1.10). I can on

Re: Table-Instance & Index?

2005-05-13 Thread Robert Story
On Thu, 12 May 2005 06:10:07 -0400 Pedot, wrote: PW> Does the Instance in a table always has to be equal to the index? The index is the instance, so yes, they are always the same. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid

Re: deprecated functions

2005-05-13 Thread Robert Story
On Wed, 11 May 2005 23:42:33 +0200 Magnus wrote: MF> In include/net-snmp/agent/snmp_agent.h netsnmp_set_request_error and MF> netsnmp_set_mode_request_error both have the comment 'deprecated, use MF> netsnmp_request_set_error instead'. In agent/snmp_agent.c there is a MF> similar comment that point

Re: Agent MIBs:Notification Filtering

2005-05-13 Thread Robert Story
On Fri, 13 May 2005 03:50:00 -0700 (PDT) Ajit wrote: AB> This seems pending. We've table implementation for AB> NOTIFICATION mib. But filtering doesn't happen. AB> AB> We've added to the implementation to filter the traps AB> based on entries in the snmpNotifyFilterTable. Thus AB> the TARGET/NOTIF

Re: CVS broken for Solaris for 5-0-patches

2005-05-13 Thread Robert Story
On Thu, 12 May 2005 20:32:31 -0600 Bruce wrote: BS> >mibII/interfaces.c: In function `var_ifEntry': BS> >mibII/interfaces.c:1333: error: `Name' undeclared (first use in this BS> >function) BS> BS> Yeah, that's cause it's spelled wrong. The reference in line 1333 should BS> be"name". Problem is,

Agent MIBs:Notification Filtering

2005-05-13 Thread Ajit Bhat
Hi all, This seems pending. We've table implementation for NOTIFICATION mib. But filtering doesn't happen. We've added to the implementation to filter the traps based on entries in the snmpNotifyFilterTable. Thus the TARGET/NOTIFICATION support is almost complete. Almost because the 'snmpNotifyF