How to catch errors in init_snmp

2006-10-16 Thread Arnaud BODENAN
Hi, The function init_snmp is prototyped as a void function but can generate errors. Example: If I set an invalid address in the variable NETSNMP_DS_AGENT_X_SOCKET, an error is triggered in init_snmp: Error: Failed to connect to the agentx master agent (tcp:TEST_UNKONOWN_HOST:1450): Unknown ho

RE: How to catch errors in init_snmp

2006-10-17 Thread Arnaud BODENAN
t;Arnaud BODENAN" <[EMAIL PROTECTED]> >To: net-snmp-users@lists.sourceforge.net >Subject: How to catch errors in init_snmp >Date: Mon, 16 Oct 2006 17:28:36 +0200 > >Hi, > >The function init_snmp is prototyped as a void function but can generate >errors. > >Exam

Re: How to catch errors in init_snmp

2006-10-20 Thread Dave Shield
On 16/10/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote: > The function init_snmp is prototyped as a void function but can generate > errors. > Is there a function in net-snmp that checks for errors arising in init_snmp ? No - I don't believe this is possible. (And I'm not immediately sure how we

Re: How to catch errors in init_snmp + dynamic libraries issue underAIX 5.3

2006-10-21 Thread Arnaud BODENAN
I create the bug number 1581782 for the problem of catching errors in init_snmp >From: "Arnaud BODENAN" <[EMAIL PROTECTED]> >To: net-snmp-users@lists.sourceforge.net >Subject: Re: How to catch errors in init_snmp + dynamic libraries issue >underAIX 5.3 >Date:

Re: How to catch errors in init_snmp + dynamic libraries issue under AIX 5.3

2006-10-21 Thread Arnaud BODENAN
d behaviour is identical to Sun Solaris or Linux. Arnaud. >From: "Dave Shield" <[EMAIL PROTECTED]> >To: "Arnaud BODENAN" <[EMAIL PROTECTED]> >CC: net-snmp-users@lists.sourceforge.net >Subject: Re: How to catch errors in init_snmp >Date: Fri, 20 Oct 2006 2

Re: How to catch errors in init_snmp + dynamic libraries issue under AIX 5.3

2006-10-23 Thread Albert Chin
mp-5.3.1 building on AIX 5.3 with shared libraries but we still need -r. We get the following error without -r: nlist: No such file or directory > Arnaud. > > >From: "Dave Shield" <[EMAIL PROTECTED]> > >To: "Arnaud BODENAN" <[EMAIL PROTECTED]> &g