Re: multiple subagents using the same MIB

2010-12-14 Thread Robert Story
On Tue, 14 Dec 2010 17:27:57 -0800 Judith wrote: JW> I just want to make the subagents I've created unique enough that I won't get a duplicate registration error. My two programs both want to report the exact same statistics, so I want to use the same MIB/code. Registration is based on OID and

Re: [PATCH] allow setting source address on traps

2010-12-14 Thread Robert Story
On Tue, 14 Dec 2010 10:53:57 -0800 Stephen wrote: SH> The problem is that setting the clientaddr in snmp.conf has no effect because SH> it is not being read by the agent. The following 2 line patch against current SH> net-snmp svn trunk fixes the problem. No, it doesn't, as the problem is that s

RE: multiple subagents using the same MIB

2010-12-14 Thread Judith Walker
Yes, I have indexes also, and I can individualize them for each process for sure, but it appears as though only one process instance can "register" in the *_interface.c file with the master agent, or you will get the duplicate entry issue. How did you work around the registration process if yo

Re: multiple subagents using the same MIB

2010-12-14 Thread Fulko Hew
On Tue, Dec 14, 2010 at 8:27 PM, Judith Walker wrote: > I see an error AGENTX_ERR_DUPLICATE_REGISTRATION number 263, when I try > to run the same subagent that I created, but in different processes > (embedded). What can I do to unique-iffy my subagents so that I can run > them simultaneously,

multiple subagents using the same MIB

2010-12-14 Thread Judith Walker
I see an error AGENTX_ERR_DUPLICATE_REGISTRATION number 263, when I try to run the same subagent that I created, but in different processes (embedded). What can I do to unique-iffy my subagents so that I can run them simultaneously, but within different programs or instances of the same progra

Re: [PATCH] allow setting source address on traps

2010-12-14 Thread Magnus Fromreide
On Tue, 2010-12-14 at 10:53 -0800, Stephen Hemminger wrote: > I sent this once before, but it seems no one believed it ... > > According to the documentation of snmp.conf (not snmpd.conf), it should be > possible > to specify the source address used when sending traps: >clientaddr [:] >

[PATCH] allow setting source address on traps

2010-12-14 Thread Stephen Hemminger
I sent this once before, but it seems no one believed it ... According to the documentation of snmp.conf (not snmpd.conf), it should be possible to specify the source address used when sending traps: clientaddr [:] specifies the source address to be used by command-line appli

Re: I have some problem when I use snmpset command.

2010-12-14 Thread Robert Story
On Tue, 14 Dec 2010 15:32:39 +0700 [email protected] wrote: NPC> #snmpset -u amstest -a MD5 -l AuthNoPriv -c private -A 0spring1 -v 2c NPC> localhost REUTERS-JO-TEST-MIB::joeTest.1 i 1 Is joeTest.1 a typo? The oid you registered and the oid in the error are joeTest.0. -

Re: how to generate c file using mib2c for node containg both scalars and table

2010-12-14 Thread Robert Story
On Mon, 13 Dec 2010 16:53:47 +0530 MAS wrote: M> Hi All, M> M> I want to generate c implementation file and header file for the MIB-NODE M> file containing both scalars and table. M> I have generated c file and header file for scalar using mib2c.scalar.conf M> and similarly for table using mib2c.

how to generate c file using mib2c for node containg both scalars and table

2010-12-14 Thread MAS .
Hi All, I want to generate c implementation file and header file for the MIB-NODE file containing both scalars and table. I have generated c file and header file for scalar using mib2c.scalar.conf and similarly for table using mib2c.table_data.conf, but I want to generate c file and header file f

how to build net-snmp using Momentics for QNX 6.5

2010-12-14 Thread Bismarck (gmail)
Hello, I'm very new to net-snmp. I downloaded net-snmp source 5.6. I'm trying to build the source using Momentics for QNX 6.5. So far I've done the following: - Installed QNX6.5 software development platform (with Momentics IDE) on a WIn7 virtual machine. - Copied net-snmp source into c:/net-sn

Re: Net-snmp 5.6 uses the wrong interface on a multi-homed box with asymmetric routing

2010-12-14 Thread Bill Fenner
On Mon, Dec 13, 2010 at 5:21 PM, Robert Story wrote: > On Mon, 13 Dec 2010 11:16:54 -0500 Bill wrote: > BF> I'm not sure what to suggest as a solution.  For those who use > BF> net-snmp as the agent on a router, where asymmetric routing like this > BF> is very common, this black hole for the respo

Re: CFO: rename dtls config tokens

2010-12-14 Thread Robert Story
On Tue, 14 Dec 2010 06:54:57 -0700 [email protected] wrote: GN> My opinion: 'our' and 'their' seems a little colloquial, and 'identity' pretty abstract and over-broad. how about GN> GN> localCert peerCert That works for me. That would even align with some internal defines which also use peer.

RE: CFO: rename dtls config tokens

2010-12-14 Thread gmarzot
My opinion: 'our' and 'their' seems a little colloquial, and 'identity' pretty abstract and over-broad. how aboutlocalCert peerCert-G -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, t