Which error code to choose?

2011-05-17 Thread Giuseppe Modugno
Dear list, I'm developing an agent extension of Net-SNMP agent for an electronic piece of equipment. I have three kinds of OID variables to implement in the agent. 1. Variables always present and retrievable (read-only or read- write). These are simple to manage. 2. Variables that are meaningf

5.3.4.pre2 and 5.4.4.pre2 available for testing

2011-05-17 Thread Dave Shield
I've just realised that although the pre2 tarballs were released a week or two back, I never send out an announcement of the fact. Sorry about that! Versions 5.3.4.pre2 and 5.4.4.pre2 of the Net-SNMP suite are now available from the sourceforge download servers. We're hoping to move to Release C

Re: Extending MIBS and related Agent Functionality

2011-05-17 Thread Robert Story
On Mon, 16 May 2011 22:02:47 +0200 Ernst wrote: EAK> On 16.05.2011 17:50, Robert Story wrote: EAK> > EAK> RS> Yes, but having a working example of the code mean it would be EAK> easier to stuff EAK> RS> into an extension mib. EAK> EAK> Ahok, so please find patches to hr_swrun.c and HOST-RESOURCE

Re: Which error code to choose?

2011-05-17 Thread Robert Story
On Tue, 17 May 2011 09:05:05 +0200 Giuseppe wrote: GM> 2. Variables that are meaningful only if an optional hardware is GM> installed in the electronic equipment. In this case, if the optional GM> hardware is not present, I can't associate a value for related GM> variables. Should I return an er

Re: Which error code to choose?

2011-05-17 Thread Giuseppe Modugno
On 17 May 2011 at 11:04, Robert Story wrote: > On Tue, 17 May 2011 09:05:05 +0200 Giuseppe wrote: > GM> 2. Variables that are meaningful only if an optional hardware is > GM> installed in the electronic equipment. In this case, if the optional > GM> hardware is not present, I can't associate a va