RE: Link problem with 5.7.1 and g++‏

2011-12-06 Thread Elicia Syson
You are absolutely correct. My mistake. Looking at the net-snmp repository, that 'broken' LDFLAGS ordering has been like that for who knows how long. So the 5.4.1 tarball from net-snmp, it's as 'broken' as 5.7.1. Yikes, the makefile.in files for all the tools (i.e. command-line goodies like ‘sn

RE: how to determine table query index in snmp subagent table handler?

2011-12-06 Thread STOTTS Timothy
Here is the example I have created for demonstrating the problem. I am using NET-SNMP 5.7.1. I have not yet attempted to set any SNMP values. At the moment, I am concerned with GETNEXT and GETBULK. #!/bin/bash # file: testTableDemo.sh env MIBS="+TABLE-DEMO-MIB" snmptable -l authPriv -u authPrivU

Re: source-interface implementation

2011-12-06 Thread ashok kumar
Thanks for your quick reply Dave. I will go through the flow of the configuration clientaddr. On Tue, Dec 6, 2011 at 4:11 PM, Dave Shield wrote: > On 6 December 2011 10:17, ashok kumar wrote: >> I have a requirement to implement for source-interface functionality. >> >> If the agent runs on a ma

Re: Link problem with 5.7.1 and g++‏

2011-12-06 Thread Dave Shield
2011/12/2 Elicia Syson : > We noticed the snmpd rule changed in the > snmp/masteragent/netsnmp/net-snmp/agent/Makefile.in file. > > net-snmp-5.4.1 Makefile.in: > snmpd$(EXEEXT):  ${LAGENTOBJS} $(USELIBS) $(AGENTLIB) $(HELPERLIB) $(MIBLIB) > $(LIBTARG) >   $(LINK) $(CFLAGS) ${LDFLAGS} -o $@ ${LAGEN

Re: Getting "notWritable" for an OID marked as read-write with proper perms

2011-12-06 Thread Dave Shield
On 5 December 2011 21:30, Tim Perrault wrote: > I'm trying to set the OID "coDot11CurrentFrequency" to another value. > But with v2c and using the private community (which allows me to set some > system things like location), it still yields "notWritable": The most likely cause is that the code

Re: how to determine table query index in snmp subagent table handler?

2011-12-06 Thread Dave Shield
On 5 December 2011 21:27, STOTTS Timothy wrote: > Thank you for your answer Dave. However, your suggestion of using the varbind > list only > works for single GET operations of the table entries. No - it ought to work for all requests. > As a reminder, my table initialization code looks like t

Re: source-interface implementation

2011-12-06 Thread Dave Shield
On 6 December 2011 10:17, ashok kumar wrote: > I have a requirement to implement for source-interface functionality. > > If the agent runs on a machine with more than one physical interface, > the traps and informs always goes out through a particular interface > (may be default interface). > I wa

Getting "notWritable" for an OID marked as read-write with proper perms

2011-12-06 Thread Tim Perrault
Hello, I've tried searching google and the site for hours, and have found others with the same problem but no solutions that work for me. I'm trying to set the OID "coDot11CurrentFrequency" to another value. It's not the community, I've tried "public" and that yields "noAcess" ("private" is also

source-interface implementation

2011-12-06 Thread ashok kumar
Hello Team, I have a requirement to implement for source-interface functionality. If the agent runs on a machine with more than one physical interface, the traps and informs always goes out through a particular interface (may be default interface). I want to change this so that after I configure

Re: trap NAT 5.4.2.1

2011-12-06 Thread Dave Shield
On 6 December 2011 07:21, shay naveh wrote: > Is there already built-in parallel mechanism 'snmptrapd' ? e.x. 'snmptrapd' > will listen for incoming traps from these local 'snmpd' instances and will > redirect them to some receiver. $ man snmptrapd.conf : NOTIFICATION PROCESSING