Re: Sub-agent/agent initialization

2004-10-20 Thread Ivens Porto
Robert Story (Coders) wrote: On Tue, 19 Oct 2004 17:07:56 -0200 Ivens wrote: IP> Robert Story (Coders) wrote: IP> > On Tue, 19 Oct 2004 14:58:30 -0200 Ivens wrote: IP> > IP> I'm embedding an agentx sub-agent in my application and now I would IP> > IP> like to make my sub-agent became a master agent

Re: Agent X subagent traps not working

2004-10-20 Thread Users
On Tue, 12 Oct 2004 18:56:50 -0400 Andy wrote: AS> What about moving it up a level into snmp.conf, or if we are spwaning AS> more config files then maybe snmptools.conf. gack! blech! ptuii! No, no spawning of new config files. We already have to check for too many as is. AS> The applications s

Re: Setting Variables in different Tables of different Mibs

2004-10-20 Thread Coders
On Wed, 20 Oct 2004 12:08:15 -0400 Robert wrote: RS> On Wed, 20 Oct 2004 11:13:49 -0400 Robert wrote: RS> RS> I looked at the code, and I see the problem. I should have a patch RS> RS> shortly. RS> RS> Can you try this patch and tell me if it fixes the problem? One quick change (by hand, sorry).

Re: Net-snmp code new style

2004-10-20 Thread Coders
[ First - *please* don't mail me directly. Keep discussions on the list, where others can both learn and offer advice. Thanks. ] On Tue, 19 Oct 2004 16:36:38 -0700 Srini wrote: SK> I am in the process of writing mib code using new style. I generated code SK> using mib2c. For scalar

Re: Setting Variables in different Tables of different Mibs

2004-10-20 Thread Sven Jonas
Robert, i will try it tomorrow afternoon and report to you. Kind Regards, Sven > On Wed, 20 Oct 2004 11:13:49 -0400 Robert wrote: > RS> I looked at the code, and I see the problem. I should have a patch > shortly. > > Can you try this patch and tell me if it fixes the problem? > > Index: agen

Re: Setting Variables in different Tables of different Mibs

2004-10-20 Thread Zorrozorro
Hi Robert, i'm very glad, that you see a problem in the code. Thanks in advance for your patch! Kind Regard, Sven > On Wed, 20 Oct 2004 11:20:51 +0200 (MEST) [EMAIL PROTECTED] wrote: > ZD> The two different tables reside in two different Mibs, i call it MibA > and > ZD> MibB. But, they both ha

Re: Setting Variables in different Tables of different Mibs

2004-10-20 Thread Coders
On Wed, 20 Oct 2004 11:13:49 -0400 Robert wrote: RS> I looked at the code, and I see the problem. I should have a patch shortly. Can you try this patch and tell me if it fixes the problem? Index: agent/helpers/table_dataset.c === RCS

Re: Setting Variables in different Tables of different Mibs

2004-10-20 Thread Coders
On Wed, 20 Oct 2004 11:20:51 +0200 (MEST) [EMAIL PROTECTED] wrote: ZD> The two different tables reside in two different Mibs, i call it MibA and ZD> MibB. But, they both have the same two Indexes ID1 and ID2. ZD> I used the mib2c-Tool with the option -c mib2c.create-dataset and this tool ZD> genera

Re: Handlers

2004-10-20 Thread Coders
On Wed, 20 Oct 2004 09:59:58 +0100 Dave wrote: DS> > but the twist is that the value of DS> > the variables are computed from a common source that is costly to access. DS> DS> OK - so the 'shared_handler' routine caches this value in some way, DS> and uses tha

Re: Sub-agent/agent initialization

2004-10-20 Thread Coders
On Tue, 19 Oct 2004 17:07:56 -0200 Ivens wrote: IP> Robert Story (Coders) wrote: IP> > On Tue, 19 Oct 2004 14:58:30 -0200 Ivens wrote: IP> > IP> I'm embedding an agentx sub-agent in my application and now I would IP> > IP> like to make my sub-agent became a master agent when a master agent IP> > IP

Re: IPv6 support

2004-10-20 Thread Coders
On Tue, 19 Oct 2004 14:00:01 -0700 Srini wrote: SK> For a new platform we ar planning to support IPv6 and for snmp we plan to SK> use net-snmp. SK> Does net-snmp support IPv6? Yes, on some platforms. (No, I don't know which ones work and which don't.) Configure with --enable-ipv6, and it will tel

how to send a v3 trap from agent

2004-10-20 Thread madanagopal
hai, I want to send a v3 trap using snmptrap utility and from agent. I added the following line in /var/net-snmp/snmptrapd.conf: createUser -e 0x1234567890 testuser MD5 testpasswd and started snmptrapd and issued the following command: snmptrap -e 0x1234567890 -v3 -u testuser -a MD5 -l authNo

Setting Variables in different Tables of different Mibs

2004-10-20 Thread Zorrozorro
Hello, i'm having some Problems when setting two different Variables in two different Tables. The two different tables reside in two different Mibs, i call it MibA and MibB. But, they both have the same two Indexes ID1 and ID2. I used the mib2c-Tool with the option -c mib2c.create-dataset and thi

Re: Handlers

2004-10-20 Thread Dave Shield
> I want to have a single handler called once for two separately registered > variables examples.1.0 and examples.3.0 Yes - that's easy enough. Something like: oid example1_oid[] = { , 1 }; oid example3_oid[] = { , 3 }; netsnmp_handler_registration *reg = netsnmp