Error while creating a row mib2c.table_data.conf

2011-04-21 Thread Anil Murala
Hi All, I have generated .c and .h files for a table with "mib2c.table_data.conf" configuration file.when i am trying to create a row with "SNMPSET", it is giving the error while inserting into the container more often. Is there any tweaking in the code to be done to prevent the error whi

how to gracefuly exit snmpd process?

2011-04-21 Thread sunaina mangla
Hi, I am using net-snmp 5.6.1. I have one dynamically loaded module running. It has tabular and scalar objects and I used mfd to build the table.I am running it on Arm target. My question is how should I exit the snmpd agent. Means when the system wants to shut down the snmpd , how should I hand

snmpd stops responding after some time

2011-04-21 Thread sunaina mangla
Hi, I am running net-snmp 5.6.1. I have my properietary MIB which I load as a dynamic module. The standard MIB modules are built into the agent. I start the snmp daemon by : /usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd.pid After that I dynamically load the proprietary mib module. I a

Re: Compiling NetSNMP for x64 Windows

2011-04-21 Thread Xiang Li
Hi Dave, There is another issue with the “openssl” in Net-snmp windows 5.6.1 and 5.5.1 builds I thought I should bring it up to your attention: It seems Net-snmp 5.6.1 (and 5.5.1) windows build depend on the Openssl distribution from slproweb. However in net-snmp readme.win32 it says:

support for using net-snmp lib under Win32 OS

2011-04-21 Thread Autuori Gianluigi
Hi, i want to do a simple program written in c to get values of mibs of a switch. I have done it under Linux os and it works very well: I need help to use library writing the same program under Win32 and MinGW. I have installed net-snmp-5.5.0-1.x86.exe and configured the path of OS. But I don't kn

Re: Compiling NetSNMP for x64 Windows

2011-04-21 Thread Xiang Li
On 4/21/2011 8:17 AM, Markus Gaugusch wrote: > On Apr 19, Xiang Li wrote: > >> Hi, >> >> C:\Program Files (x86)\Microsoft Visual Studio >> 9.0\VC\lib\amd64, >> >> Also copy the "openssl" header files folder as you would >> do for 32-bit >> bui

Re: Compiling NetSNMP for x64 Windows

2011-04-21 Thread Dave Shield
On 21 April 2011 14:17, Markus Gaugusch wrote: > * Finally, how do you build your installers? The Windows binary releases use the Nullsoft Scriptable Install System (http://nsis.sourceforge.net/home/) driven by a .nsi script (in win32/dist). I'm currently in the process of constructing windows b

Re: Compiling NetSNMP for x64 Windows

2011-04-21 Thread Markus Gaugusch
On Apr 19, Xiang Li wrote: Hi, C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\lib\amd64, Also copy the "openssl" header files folder as you would do for 32-bit builds. After that the build should work. Thanks for

Re: net-snmp problem when i make

2011-04-21 Thread Dave Shield
On 21 April 2011 08:56, 高川 wrote: > And i want to know which part of the net-snmp need perl module. The main one would be 'mib2c' Neither the agent, not trap receiver, nor any of the command-line tools require perl. Dave

Re: net-snmp problem when i make

2011-04-21 Thread 高川
Many thanks Dave!! And i want to know which part of the net-snmp need perl module. This is the reply for perl -V: # perl -V Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration: Platform: osname=hpux, osvers=11.22, archname=IA64.ARCHREV_0-thread-multi-LP64 uname='hp-ux

Re: Snmpgetnext on Table with "holes"

2011-04-21 Thread Boris Zweimueller
Sure, here they are! Thanks Boris 2011/4/21 Dave Shield > On 21 April 2011 05:47, Boris Zweimueller wrote: > > Attached are the relevant excerpt of the MIB (Descriptions removed for > size) > > and the generated files ttfCfgTable.c and ttfCfgTable_columns.h > > Could you please post the rest

Re: net-snmp problem when i make

2011-04-21 Thread Dave Shield
2010/4/21 高川 : > I change the version to 5.5.1 and i still got the problem, > there is the log OK - that's useful. The log shows that building the main applications (snmpd, snmptrapd, and the command line tools) is working. The problem only arises when compiling the perl modules. The simplest way

Re: Snmpgetnext on Table with "holes"

2011-04-21 Thread Dave Shield
On 21 April 2011 05:47, Boris Zweimueller wrote: > Attached are the relevant excerpt of the MIB (Descriptions removed for size) > and the generated files ttfCfgTable.c and ttfCfgTable_columns.h Could you please post the rest of the header files (ttfCfgTable.h and ttfCfgTable_checkfns.h).I c