Verification of VACM parameter in case of SNMPv2 request

2008-01-11 Thread somenath.pal
Hi All , I have one question regarding the checking of SNMPV3 related parameters. Is it not mandatory that only in case of SNMPv3 request the VACM related parameters will be verified . For example in case of getbulk (SNMPv3) request agent has to verify if the next OID is in the

RE: Question regarding SNMP GET response PDU

2007-12-04 Thread somenath.pal
Hi Dave, Many thanks for your response. I have one doubt here . suppose noSuchInstance pseudo-values is 10 then it will be set as value for v2 and v3 . Then how manager will differentiate whether it is exception or value ? Regards, Somenath -Original Message-

RE: Question regarding SNMP GET response PDU

2007-12-04 Thread somenath.pal
Hi Dave, Many thanks for the response. I would like to verify my understanding. So noSuchInstance is a ASN1 type .So while encoding the PDU it will be different than other type such as INTEGER, GAUGE32 etc. So manger while decoding will come to knows that it is noSuchInstance. Please let me

RE: Question regarding SNMP GET response PDU

2007-12-04 Thread somenath.pal
Hi Dave, Many thanks for your response and suggestion. I would like to inform that I am trying to learn SNMP form William Stallings SNMP,SNMPV2,Snmpv3,and RMON 1 and 2. In this book it is mentioned that noSuchInstance will be put in the value field .But it was not clear for me that it is

Question regarding SNMP GET response PDU

2007-12-03 Thread somenath.pal
Hi All, I have one basic question regarding SNMPv2 GET response PDU. Suppose manager has queried for 3 attributes say v1, v2, v3, v4 Now suppose the response for the attributes are as follows. V1success V2 error (No Such instance) V3 error (No

ORDER of varbind IN SNMP response PDU

2007-07-30 Thread somenath.pal
Hi ALL, I have doubt related to SNMPGET .while responding to SNMPGET query is it expected that SNMP agent during forming response PDU will follow the same order for varbind in which it received the varvind ? For example .if agent has received the Varbind in the following order 1)Atr1

RE: ORDER of varbind IN SNMP response PDU

2007-07-30 Thread somenath.pal
Hi Dev, Thanks for your response. But I want to have little more clear understanding. Suppose all the three varbinds are part of same request PDU then is it also expected that response PDU will have the same order? Regards, Somanath -Original Message- From: [EMAIL PROTECTED]

RE: ORDER of varbind IN SNMP response PDU

2007-07-30 Thread somenath.pal
Hi Dave, Could you please tell me which RFC describe this? Regards, Somanath -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Monday, July 30, 2007 2:14 PM To: Somenath Pal (WT01 - TES-Access Networks) Cc:

RE: SNMP get querry for table with display string as index

2007-07-25 Thread somenath.pal
Hi Suresh, SNMPGET is working with ASCII value. Many thanks for the information. Regards, Somenath -Original Message- From: Pamidipati Suresh-G20238 [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 25, 2007 6:09 PM To: Somenath Pal (WT01 - TES-Access Networks);

RE: Conversation of seconds to DateAndTime

2007-06-26 Thread somenath.pal
Hi All, Thanks for your kind response. I would like to know if I there is any method which can convert DateAndTime to seconds . Regards, Somenath -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Monday, June 25, 2007 2:10 PM To:

Conversation of seconds to DateAndTime

2007-06-25 Thread somenath.pal
Hi All, As per our requirement I need to converts seconds in to DateAndTime format. Is there any function that can do this? Or I need to write the function to do this? Please provide your inputs. Regards, Somenth - This

RE: Doubt related to SNMPGET

2007-03-16 Thread somenath.pal
I need to handle the following error scenarios 1) Database management system unable to create row in table 2) While creating a row in the table which already exist in Data base 3) Unknown error return by subsystem 4) File operation error 5) Inter process communication failed Regards,

Doubt related to SNMPGET

2007-03-15 Thread somenath.pal
Hi all, I have the following doubt about SNMPGET. 1) Is there any error condition such that SNMP agent will not send any response PDU to manager? In case of error condition which is not known to SNMP agent (which is return by the subsystem responsible for implementing MIB attribute) what SNMP

Problem related to OID representation

2007-02-14 Thread somenath.pal
Hello All, I need some information related to OID representation From SNMP agent I need to send one MIB attribute (which may be columnar) value as OID in trap PDU's varbind. For example 1.2.3.4.5.6 is MIB tables OID and index is display string So suppose I need to send 1.2.3.4.5.6.1.1.2.abc

RE: Problem related to OID representation

2007-02-14 Thread somenath.pal
Many thanks Dev, for your reply. Just to get the clear picture suppose the tables is having display string and integer as data type of the indices .Suppose for 1.2.3.4.5.6.1.1.2.abc.1 I should be sending 1.2.3.4.5.6.1.1.2.97.98.99.1 or 1.2.3.4.5.6.1.1.2.97.98.99.49 (49 is ASCII

MAX-ACCESS of table index

2006-12-13 Thread somenath.pal
Hi all, I need to write private MIBS. I have a doubt regarding table index. In MIB table sometimes the index is not-accessible and some time the index is read-only. My doubt is how to decide whether the table index will be read-only or not-accessible. Please help. Regards, Somenath

RE: MAX-ACCESS of table index

2006-12-13 Thread somenath.pal
Hi Mahesh, Many thanks for your answer. But what if the table has one read-create or read-write columnar objects? For example in case of ifTable it has read-only and read-write columnar objects and theindex ifIndex is read only. What can be the logic behind this? Regards, Somenath

SNMP interface for configuring SNMP

2006-11-23 Thread somenath.pal
Hi All, We need to develop an SNMP agent for which we need to provide SNMP interface for changing SNMP v2 (community string), SNMP v3 parameters (security name, authentication protocol, etc), creation of context etc and the configuration should be persistent across reboot of device. Does

compilation of net-snmp-5.3.1 using g++

2006-11-08 Thread somenath.pal
Hi All, I am using net-snmp-5.3.1. I need to compile it using g++. Is it possible to compile net-snmp-5.3.1 using g++ ? Regards, Somenath - Using Tomcat but need to do more? Need to support web services, security? Get

RE: Multiple row creation

2006-10-06 Thread somenath.pal
Hi Dev, Thanks for your response. But suppose one create (SNMPSET) success and one create (SNMPSET) request fails then do we need to delete the first row as SET request is atomic? Regards, Somenath -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave

RE: Multiple row creation

2006-10-06 Thread somenath.pal
Hi Dev, Many thanks for your answer. Suppose I want to create two rows for two different tables in a single SNMPSET request. But the handler (CREAT AND GO) for two different rows will be different. Suppose the second creation fails. Now how we can delete the first row? As execution of first

RE: Multiple row creation

2006-10-06 Thread somenath.pal
Hi Dev , Many thanks for your response. I am using mib2c.iterate.conf . I have one question is it possible for scalar attribute . For example in a single SNMPSET request if manager is trying to set three attribute (say ipaddress, netmask, and gateway). Suppose setting of gateway fails then is it

Multiple row creation

2006-10-05 Thread somenath.pal
Hi ALL, I have one doubt. Is it possible to create multiple rows in single SNMPSET request? Regards, Somenath - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the

Defination of lexicographic ordering

2006-09-28 Thread somenath.pal
Hi ALL, I have a doubt about lexicographic ordering. Suppose we have table as defined bellow UserEntry OBJECT-TYPE SYNTAX FmxUserEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION The entry contains data for a user.

Getnext Implementation

2006-09-27 Thread somenath.pal
Hi all, It will be helpful for me if some one provide the following information. 1) What are the options for mib2c to create cache handler for one table. Thanks in advance. Regards, Somenath - Take

RE: Getnext Implementation

2006-09-26 Thread somenath.pal
Hi Dev, Many thanks for your response. But my problem is little different. Suppose we have one table having indexs data type as integer. Suppose it has three rows with index 1, 2, 3. But the info about the rows are not stored in the index .It is stored in the data base. Now if some query

RE: Getnext Implementation

2006-09-26 Thread somenath.pal
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, September 26, 2006 2:22 PM To: Somenath Pal (WT01 - Broadband Networks) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Getnext Implementation On 26/09/06,

GETNEXT doubt

2006-09-26 Thread somenath.pal
Hi ALL, I have a doubt regarding GETNEXT in snmpv3. Suppose we have three tables T1, T2, T3 they are in lexicographic order. Table T1 and T3 are in same view and T2 in different view. Now for GETNEXT in the last row, last column of table T1 should the agent return error or first

RE: Getnext Implementation

2006-09-26 Thread somenath.pal
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, September 26, 2006 3:04 PM To: Somenath Pal (WT01 - Broadband Networks) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Getnext Implementation On 26/09/06,

Difference in snmpset

2006-09-25 Thread somenath.pal
Hi All, I have one basic question. Is there any difference between snmpset in snmpv2 and snmpv3? Please help. Regards, Somenath - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's

RE: Difference in snmpset

2006-09-25 Thread somenath.pal
Hi Dev, Many thanks for your answer. Regards, Somenath -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Monday, September 25, 2006 2:29 PM To: Somenath Pal (WT01 - Broadband Networks) Cc:

How Trap generation works

2006-09-25 Thread somenath.pal
Hi ALL, It will be very helpful for me if some body provide me the following information. 1) How trap generation works. I have one MIB table AlarmNotification NOTIFICATION-TYPE OBJECTS { AlarmNotificationSequenceNumber, AlarmNotificationAlarmText, AlarmNotificationMoc,

Getnext Implementation

2006-09-25 Thread somenath.pal
Hi All, Is it possible to implement snmpgetnext even the agent does not contain the data. For example in a table where row can be created how it is possible to know the next index? Regards, Somenath

Agent is not responding

2006-06-07 Thread somenath.pal
Hi, I am sending SNMPv3 queries to two different net-snmp agents one running on 161 and the other on 2050 port number through vc++.The first time querying is fine and I am getting all the values correctly..but during the second time requests seem to go to only one snmp

key generation problem

2006-05-24 Thread somenath.pal
I am working on VC++.Here generate_Ku is working fine for generation of authentication key but fails for privacy key..I have included the libeay32.lib in my libraries.Please help as I am stuck with this for more than 2 weeks... The code for my program is given below.

Mib Loading Problem

2006-03-01 Thread somenath.pal
Title: Mib Loading Problem Hi ALL, I am facing one problem. I need to implement some private MIBS. I have generated the .c and .h using mib2c and then generated libmhso.so .I kept the .so in /tmp/MH directory and all the other netsnmp libraries in /tmp/rh/lib. While configuring netsnmp I

RE: Example of create

2006-02-20 Thread somenath.pal
Title: RE: Example of create Hi Dave, Many many thanks for your time.Now things are fine .Now I am able to delete rows. I have one more question.Using this helper can I restrict user to create entry befor set ?. I mean user should create row first then only he can change the values of column

RE: Example of create

2006-02-20 Thread somenath.pal
Title: RE: Example of create Hi Dave, Many many thanks for your time . It is working fine again . Thanks, Somenath -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED]] Sent: Mon 2/20/2006 7:19 PM To: Somenath Pal (WT01 - Broadband Networks) Cc:

RE: Example of create

2006-02-19 Thread somenath.pal
Hi Dave, Thanks for your reply. I have generated code using mib2c -c mib2c.create-dataset.conf. I am using the netsnmp_table_data_set helper . I am attaching the code .With this code I am able to add rows and get the rows but not able to delete. When I am setting the row status as 6

Example of create

2006-02-17 Thread somenath.pal
Hi ALL, I am new to this SNMP world. I need to develop agent which implements some private MIBS. Can any one help me by providing an example code for creating and removing table entry using NET-SNMP API. Thanks, Somenath

RE: Example of create

2006-02-17 Thread somenath.pal
Hi Dave, Thanks for replying .I have written the code for create. I am able to create and get. But I am not able to delete the row .I am using netsnmp stack for storage. In create I am dong nothing. switch (*request-requestvb-val.integer) { case RS_CREATEANDGO: snmp_log