Re: cross compile net-snmp

2010-01-08 Thread Colin Strachan
Jordan, You need to use the makefile properly configured for the target. This script builds the 5.4.1agent only for an arm target, tweak to suit your requirements and version. cd net-snmp-5.4.1/ #1 single find command and xargs chokes due to bash line limitation, process sequentially find -nam

cross compile net-snmp

2010-01-08 Thread Jordan Kagan
If I was going to use a cross compiler on net-snmp, how would I do this? I used a gcc compiler for an Arm processor on smpd.c, but it returned a bunch of errors because it couldn't find the includes. Thanks, Jordan -- Th

need help

2010-01-08 Thread Roven liu
Hello I run snmpd in my product like # snmpd -c "/var/net-snmp/snmpd.conf“ -Le & Then come out some error /home/uClinux/ROUTER/snmp/snmpinstall/etc/snmp/snmpd.conf: Invalid argument /home/uClinux/ROUTER/snmp/snmpinstall/etc/snmp/snmpd.local.conf: Invalid argument /home/uClinux/ROUTER/snmp/s

Re: problem with mib2c

2010-01-08 Thread Hemant Soundankar
I found a crude solution for this. I removed rdbmsSrvParamName from the INDEX list of rdbmsSrvParamTable and then i modified the accessibility of this object from not-accessible to read-only. Now the template is generated as i wanted. On Fri, Jan 8, 2010 at 10:50 PM, Hemant Soundankar < hemant

problem with mib2c

2010-01-08 Thread Hemant Soundankar
Hello, I am implementing RFC 1697 for postgres. While generating the code template for rdbmsSrvParamTable via mib2c , no code/ functions for inserting proper value for rdbmsSrvParamName is generated. Please help with the code template generation. Thanks, Hemant Soundankar ---

Re-init agentX subagent fails

2010-01-08 Thread Mario Gartner
Hi! This is my situation. I use NET-SNMP version 5.4.2.1. My net-snmp subagent is embedded to service application running in linux. Once started, it handles SNMP requests using the table iterator helper and works fine. Also when I stop the snmpd deamon and later restart it, the subagent reconne

snmpwalk: Unknown host (Too many open files)

2010-01-08 Thread nathan
Hi, I wrote a test program to do "snmpwalk" on an OID periodically. It worked fine for 4-5 hours, and then it crashed with the follwoing message: snmpwalk: Unknown host (Too many open files). Then I checked the agent, and found that it was still running fine. does anyone can tell me what went w

mib2c: empty data context

2010-01-08 Thread Martin Knappe
hi i am trying to implement an snmp extension with mib2c for a table i am using the mib2c.mfd.conf file for this i accept the hard-coded defaults the problem is, that the resulting data context paNGHardwareTable_data contains no fields it should contain the fields device, state and info, no? when