Re: net-snmp-5.5_CrossCompiling_xscale_be

2010-02-21 Thread Thomas Anders
Queenie de Melo wrote: Iam a newbie to linux and I recently downloaded net-snmp, Iam getting errors when i try cross compiling net-snmp-5.5 for my target platform having xscale big endian architecture. http://www.net-snmp.org/wiki/index.php/FAQ:General_07 +Thomas

Re: Building NET_SNMP-5.5 using Visual Studio-2008

2010-02-21 Thread Bart Van Assche
On Tue, Feb 9, 2010 at 11:08 AM, ganeshyell...@bel.co.in wrote: [ ... ] snmpwalk.obj : error LNK2019: unresolved external symbol _optind referenced in function _optProc [ ... ] You have to modify win32/net-snmp/net-snmp-config.h as follows when building libnetsnmp as a dll: change the line

Re: trapsink with variable ip destination

2010-02-21 Thread Dave Shield
On 20 February 2010 11:06, majid namnabat maj@gmail.com wrote:         snmp_set_var_typed_value(var,  ASN_OBJECT_ID, oidnetsnmpUDPDomain3, oidnetsnmpUDPDomain3_len    ); The final parameter of this routine is the size of the data being passed. Not the number of

Re: statically linking netsnmplib

2010-02-21 Thread Thomas Anders
anand prasad worte: Now, I am trying to use snmptrap command: sudo ./snmptrap -v 2c -Ci -c public 192.168.1.137 NET-SNMP-EXAMPLES-MIB::netSnmpExampleHeartbeatNotification netSnmpExampleHeartbeatRate i 1234561 I am getting the follwing error: Cannot find module (IP-MIB): At line 0 in (none)

Re: trap sending

2010-02-21 Thread Thomas Anders
maxim maxim wrote: How i can to send a SNMPv1 and SNMPv2 traps by net-snmp api?, i need some examples of code, i know how to do it from the command line, but i need this in code. apps/snmptrap.c has the full source code of the command-line tool you're familar with. +Thomas

SNMPGET...[NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject]

2010-02-21 Thread ganeshyellapu
Hi, i am facing trobles in using snmpget for more than oneweek. Also i am not knowing whether i am doing mistakes in configuring agent(snmpd. I am extending agent using microsoft visual c++. what i have done is below. 1. i put NET-SNMP-TUTORIAL-MIB in the folder c:\usr\share\snmp\mibs 2.

Little help! (net-snmp 5.5 under Cygwin on WinXP)

2010-02-21 Thread Ben Kamen
My snmp.conf contains: (does it even matter?) mibdirs C:/cygwin/share/snmp/mibs;C:/cygwin/home/bkamen/mibs persistentDir C:/cygwin/snmp/persist tempFilePattern C:/cygwin/temp/snmpdXX mibs +TZ-MIB;TRANZEO-MIB;MICROCHIP-MIB My

Re: Little help! (net-snmp 5.5 under Cygwin on WinXP)

2010-02-21 Thread rakesh zingade
On Mon, Feb 22, 2010 at 11:02 AM, Ben Kamen bka...@benjammin.net wrote: My snmp.conf contains: (does it even matter?) mibdirs C:/cygwin/share/snmp/mibs;C:/cygwin/home/bkamen/mibs persistentDir C:/cygwin/snmp/persist tempFilePattern C:/cygwin/temp/snmpdXX mibs