Re: CFV OID Ways Forward (was Re: Oid Type rationalization in 5.6.1)

2011-05-12 Thread Bart Van Assche
On Thu, May 12, 2011 at 3:57 PM, Niels Baggesen wrote: > On Thu, May 12, 2011 at 06:35:12AM -0700, Wes Hardaker wrote: >> WH> A) produce 5.6.1.1 immediately >> >> I think that needs to be done (and fedora patched immediately for updates). > > I think I said it earlier, but now that it is formally

Re: netsnmp agent error for snmpget()

2011-05-12 Thread Dave Shield
On 12 May 2011 19:07, Ravi Depa wrote: >The problem what I have is when I > send a snmpget request to agent, snmp agent is not responding for one > specific OID which is related to TIMETICKS >     char return_val[256]; >     case MODE_GET: >     snmp_set_var_typed_value(req

Re: Extending MIBS and related Agent Functionality

2011-05-12 Thread Dave Shield
2011/5/12 Ernst Albrecht Köstlin : > Anyhow, what I had in mind when posting/talking about "more process related > informatation" were such info one could find under the /proc/ tree in > certain *X OSes. Can you be specific, please? What are the precise items of information that you are looking to

Re: Extending MIBS and related Agent Functionality

2011-05-12 Thread Ernst Albrecht Köstlin
RS> Unless you really need an IETF standard MIB to proceed, Should I have the need? ;-) I initially mentioned the HOST-RESOURCES-MIB because the extensions I have in mind seem to fit into it quiet well (at least from the/my technical point of view). "My needs" are to have the extensions in the

netsnmp agent error for snmpget()

2011-05-12 Thread Ravi Depa
Hi, I am running Debian 6.0 with netsnmp 5.4.3. I developed a snmp agent with dlmod. The basic agent source code is generated using mib2c tool and I modified the source files for my project. The problem what I have is when I send a snmpget request to agent, snmp agent is not responding for one s

Re: CFV OID Ways Forward (was Re: Oid Type rationalization in 5.6.1)

2011-05-12 Thread Wes Hardaker
> On Thu, 12 May 2011 15:09:43 +0100, Dave Shield > said: DS> Next question: should 5.6.1.1 contain *just* this reversion DS> or should it contain other changes on the 5.6.x branch? If it's not just that one, then it'd be 5.6.2. >> (and fedora patched immediately for updates). DS> Th

SNMP request lets program crash

2011-05-12 Thread Michael Jäger
Hello Everyone, I'm currently working on an snmp application, written in C, that requests certain information from a device. These requests contain OIDs of the LLDBMIB. In order to request for different information I've created a function that wraps the Net-SNMP function 'snmp_synch_response(...)

Re: CFV OID Ways Forward (was Re: Oid Type rationalization in 5.6.1)

2011-05-12 Thread Dave Shield
On 12 May 2011 14:35, Wes Hardaker wrote: > WH> 2) Change the u_int32 back to u_long, and *fix the broken code*. > WH> (IE, If printing doesn't work that can be fixed) > > WH> A) produce 5.6.1.1 immediately > > I think that needs to be done I don't really like that solution. But on due considera

Re: static analysis findings and use of reserved words

2011-05-12 Thread Robert Story
On Sat, 16 Apr 2011 17:40:58 -0500 ecsel...@rockwellcollins.com wrote: EC> Although there is no C++ in net-snmp, it would be helpful if the use of EC> C++ reserved words was avoided. Every few releases we try and make sure C++ is supported. If it's not working for you, feel free to file a bug wit

Re: Multi-Thread Support

2011-05-12 Thread Robert Story
On Tue, 5 Apr 2011 14:02:46 -0400 Doug wrote: DM> My main concern is that net-snmp not break when two threads are doing DM> their own v3 things at the same time. DM> DM> Ideally, I want two threads to talk to the same agent via different DM> session pointers. Essentially, each thread would do its

Re: CFV OID Ways Forward (was Re: Oid Type rationalization in 5.6.1)

2011-05-12 Thread Niels Baggesen
On Thu, May 12, 2011 at 06:35:12AM -0700, Wes Hardaker wrote: > WH> A) produce 5.6.1.1 immediately > > I think that needs to be done (and fedora patched immediately for updates). I think I said it earlier, but now that it is formally a CFV: +1 (at least) /Niels -- Niels Baggesen - @home - Århu

Re: net-snmp 5.6.1 and hp's snmp agents.

2011-05-12 Thread Robert Story
On Thu, 21 Apr 2011 18:11:34 -0400 Jayson A wrote: RJA> HP doesn't want to support this because they're saying that Net-SNMP doesn't provide a binary for RHEL6 x64 and RHEL 6 x64 currently only provides net-snmp 5.5 ( which works ). So kinda stuck between a rock and a hard place and not sure at

Re: CFV OID Ways Forward (was Re: Oid Type rationalization in 5.6.1)

2011-05-12 Thread Robert Story
On Thu, 12 May 2011 06:35:12 -0700 Wes wrote: WH> > On Tue, 10 May 2011 11:01:30 -0700, Wes Hardaker WH> > said: WH> WH> Ok, I'll bite. At least for the 5.6 branch: WH> WH> WH> 2) Change the u_int32 back to u_long, and *fix the broken code*. WH> WH> (IE, If printing doesn't work that ca

Re: agent/object_monitor.c

2011-05-12 Thread Robert Story
On Tue, 26 Apr 2011 09:31:23 -0700 Wes wrote: WH> MF> What is the purpose of agent/object_monitor.c? WH> WH> My recollection was that it was the start of a process for monitoring WH> variables... Maybe it never got used or finished. Looking at the code, it looks like it was created as a way for

Re: CFV OID Ways Forward (was Re: Oid Type rationalization in 5.6.1)

2011-05-12 Thread Wes Hardaker
> On Tue, 10 May 2011 11:01:30 -0700, Wes Hardaker > said: Ok, I'll bite. At least for the 5.6 branch: WH> 2) Change the u_int32 back to u_long, and *fix the broken code*. WH> (IE, If printing doesn't work that can be fixed) WH> A) produce 5.6.1.1 immediately I think that needs to be

Re: Extending MIBS and related Agent Functionality

2011-05-12 Thread Robert Story
On Tue, 10 May 2011 08:53:16 +0100 Dave wrote: DS> On 10 May 2011 00:08, Wes Hardaker wrote: DS> > 2) We can, however, extend [the Host Resources MIB] by adding objects to the DS> > Net-SNMP MIB tree that adds the needed functionality or definitions. DS> DS> > For things like this, we'd need to

Does sample table code netSnmpHostsTable work correctly?

2011-05-12 Thread Zimmer Hu
Hi All, I'm following netSnmpHostsTable coming with netsnmp 5.4 and it seems doesn't work for snmp table set correctly. The RowStatus is always in RS_ACTIVE and setting can't be committed into file. Any comments? Thanks, -Zimmer ---