Re: persistent data file

2012-02-24 Thread Chris Cossman
Hey, lookupd and Shark with snmpd.conf running ... I was fooling around a little with my include directory, and I came across some files that I wanted to put through another program. /usr/bin/acid has an option for settings that deal with physical_addresses as far as the ss# and the table s

Re: Int size issue with TUTORIAL-MIB on x86_64

2012-02-24 Thread Joe Lorenz
I changed netsnmp_register_int() to use sizeof(long) instead of sizeof(int), and now sets are working. Now how do I know I'm not causing any regressions with such a change? :-/ -Joe On 2/24/12 10:59 AM, Joe Lorenz wrote: > I'm working through the NET-SNMP-TUTORIAL-MIB example using > n

Int size issue with TUTORIAL-MIB on x86_64

2012-02-24 Thread Joe Lorenz
I'm working through the NET-SNMP-TUTORIAL-MIB example using nstAgentSubagentObject.c and example-demon.c running as a subagent. I'm using Net-SNMP 5.7.1. I have success on reads, but writes give a "wrongLength" error: $ snmpget -v 2c -c private dut NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.

command snmptrap (a command line interface) using SNMP v2

2012-02-24 Thread Zeljko Mihelcic
Dear I'd like to work with net-snmp agent , i.e. using it to send traps to the snmp manager with a command line interface on Linux Idea is to simulate expected traps from FTTH (fiber to the home) network build with different nodes (SmartMetro, LG Ericsson and Ericsson family - ENC/EFN). SNMP p