Re: snmptrapd is missing from build?

2008-02-19 Thread Awadhesh Kumar
Thanks, its there. Regards Awadhesh On 2/19/08, Thomas Anders <[EMAIL PROTECTED]> wrote: > > Awadhesh Kumar wrote: > > I have installed net-snmp 5.4.1 on linux for development purpose, I want > > to use snmptarpd ( to execute other programs on the reception o

snmptrapd is missing from build?

2008-02-19 Thread Awadhesh Kumar
Hi, I have installed net-snmp 5.4.1 on linux for development purpose, I want to use snmptarpd ( to execute other programs on the reception of a trap). But after installation I am unable to see this utility at the installed location. However other executables like snmpset, snmpget, snmptrap etc are

Re: error on subcontainer remove (-1) while deleting row

2008-02-01 Thread Awadhesh Kumar
be reason of this problem? Regards Awadhesh. On 1/31/08, Dave Shield <[EMAIL PROTECTED]> wrote: > > On 30/01/2008, Awadhesh Kumar <[EMAIL PROTECTED]> wrote: > > > ctx = (gsomcGrpCfgTable_context *) CONTAINER_FIND (cb.container, > &index); > > &

error on subcontainer remove (-1) while deleting row

2008-01-29 Thread Awadhesh Kumar
Hi, I am using Net-Snmp 5.4.1 for agent development. I am using mib2c configuration array-user.conf for snmp table implementation. I am using net-snmp API for row creation (CONTAINER_INSERT) and row deletion (CONTAINER_REMOVE). We have requirement to delete the particular row based on ceratin non-i

Re: where to set retries/timeout time, problem in set request

2008-01-16 Thread Awadhesh Kumar
.. 0016: 00 00 00 00 Sending 28 bytes to TCP: [127.0.0.1]:57381 : 01 12 00 00 07 00 00 00 00 00 00 00 0F CF ED 2E 0016: 08 00 00 00 B8 11 01 00 00 00 00 00 Thanks Awadhesh. On Jan 16, 2008 3:15 PM, Dave Shield <[EMAIL PROTECTED]> wrote: > On 16/01/2008, Awadhesh Ku

where to set retries/timeout time, problem in set request

2008-01-16 Thread Awadhesh Kumar
Hi Dave, I am facing the same problem in SET request. I am using NetSnmp 5.4.1 for sub-agent development. I have mib module object which has type READ/WRITE. If I do snmp set request then it apply the information in the database and apply it also on device. So it takes some time and then in result

Reg Segmentation Fault while processing SET request

2007-11-16 Thread Awadhesh Kumar
Hi All, I am facing problem with SET processing in my master agent-sub agent communication. I am using NET-SNMP 5.4.1. I am doing SNMP SET in three MODE 1) RESERVE1 : 2) RESERVE2 3) ACTION Here in Reserv1 and Reserve2 I am checking the data type, range and creating the buffer to send the data. I

error: netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load()

2007-10-26 Thread Awadhesh Kumar
Hi, I am using net-snmp 5.4.1. When i start snmpd with command /usr/local/sbin/snmpd -Dread_config -Dagentx -c /usr/local/share/snmp/snmpd.conf -x tcp:localhost:705 It shows following error/warning [EMAIL PROTECTED] test]# /usr/local/sbin/snmpd -Dread_config -Dagentx -c /usr/local/share/snmp/snm

Enable snmpd log

2007-10-16 Thread Awadhesh Kumar
Hi Dave, I am trying to delete the SNMP row based on passed index in SNMP V1 table. For which i am using CONTAINER_REMOVE method. It is successfully removing the row. But It gives some error message while removing the row with given index - e

info of last var bind while commit

2007-07-25 Thread Awadhesh Kumar
Hi Dave, I am using NetSNMP as a EMS agent (mid level agent). I get SNMP request from the higher layer manager for some device configuration. I have to pass this configuration to device by performing SNMP SET on the agent running on the device. At my MID level agent if I get multiple varbinds in

Re: error while loading shared libraries: libnetsnmpmibs.so.14

2007-06-06 Thread Awadhesh Kumar
Yes, I did the same and it is resolved now. Thanks Awadhesh. On 6/7/07, Dave Shield <[EMAIL PROTECTED]> wrote: On 28/05/07, Awadhesh Kumar <[EMAIL PROTECTED]> wrote: > $ ./snmpSubAgent > ./snmpSubAgent: error while loading shared libraries: libnetsnmpmibs.so.14: > cann

Re: composite index creation in mib2c generated code

2007-06-06 Thread Awadhesh Kumar
sId = *var->val.integer; Here gsomcGsId is one of the column defined in the table. Any clue will be highly appreciated. Regards Awadhesh. On 6/7/07, Dave Shield <[EMAIL PROTECTED]> wrote: On 23/05/07, Awadhesh Kumar <[EMAIL PROTECTED]> wrote: > I am using mib2c application to d

error while loading shared libraries: libnetsnmpmibs.so.14

2007-05-28 Thread Awadhesh Kumar
Hi, I am using net-snmp 5.4 for net-snmp sub agent development. When i execute my subagent application(developed using mib2c etc..) at Linux machine, it is giving following error $ ./snmpSubAgent ./snmpSubAgent: error while loading shared libraries: libnetsnmpmibs.so.14: cannot open shared objec

error in snmpd

2007-05-27 Thread Awadhesh Kumar
ode 1 [EMAIL PROTECTED] ggne0147]# Please note that the port 161 is not in use. I have also tried to run the service on some different port (like 2020, etc) using root user also but the same error come. I will appreciate for your quick response. Regards, Awadhesh Kumar -

composite index creation in mib2c generated code

2007-05-22 Thread Awadhesh Kumar
create the row. ctx = gsomcGrpCfgTable_create_row( & index); etc.. } Could you please tell me , is it the right procedure to create the row having composite indexes. because I am unable to do snmp get on column in agent which i am developing. Regards, Awadhesh K

libtool: link: is not a valid libtool object

2007-05-17 Thread Awadhesh Kumar
uration as following way ../configure --with-mib-modules="enmsTrapHistoryTableLength" Earlier I did the same from Net-snmp 5.3.1, it was working fine with that version. Regards, Awadhesh Kumar ***

libperl.a: could not read symbols:Bad value

2007-05-11 Thread Awadhesh Kumar
r 2 make[1]: Leaving directory `/root/net-snmp-5.4/perl' make: *** [perlmodules] Error 1 Could you please tell me the resolution of this problem. If it is due to installed perl module, how can i uninstall the old perl module? Regards, Awadhesh Kumar **

Fw: ERROR: You don't have the SNMP perl module installed

2007-04-09 Thread Awadhesh Kumar
led. Please obtain this by getting the latest source release of the net-snmp toolkit from http://www.net-snmp.org/download/ . Once you download the source and unpack it, the perl module is contained in the perl/SNMP directory. See the README file there for instructions. I have also put the ent

compilation problem on Linux

2007-04-04 Thread Awadhesh Kumar
I also used following for buiild purpose LDFLAGS=-L/usr/lib64 ../configure and then make again the same error come. Could you please help me in resolving the problem? Regards, Awadhesh Kumar **