Re: string as index of a table

2014-10-17 Thread sarath azad
this? Thanks and regards S Sarath On Thursday, October 16, 2014 10:00 PM, Niels Baggesen n...@users.sourceforge.net wrote: On Thu, Oct 16, 2014 at 11:04:54PM +0800, sarath azad wrote: I have tested it, it is feasible, but while giving the OID in snmpget, we needed to give the item name

string as index of a table

2014-10-16 Thread sarath azad
Hello, Could you please if it is advisable to use a string eg. name of item as a table index? The table is yet to be defined, need defined and added to a MIB file. The table will contain info of different items and our requirement is if we can get the info of a particular item by doing snmpget

Re: problem in SNMPSET on table with string data type columns

2014-10-03 Thread sarath azad
, Sep 4, 2014 at 3:33 AM, sarath azad saraths...@yahoo.co.in wrote: Hi Bill, Thanks for the reply.Here for registration of the table we are using belowfunctions:netsnmp_create_handler_registration    netsnmp_create_table_data    netsnmp_table_helper_add_indexes

does net-snmp support AES-128 SHA96

2014-09-23 Thread sarath azad
Hello, Could you please tell if net-snmp supports AES-128 (128 bit encryption) and HMAC-SHA-96? I have used net-snmp 5.4.2.1 version and it supported AES and SHA, but I am not able to get information if it supports specifically 128 bit AES and HMAC-SHA-96. thanks and regards S Sarath

Re: problem in SNMPSET on table with string data type columns

2014-09-04 Thread sarath azad
( result == MIB_REGISTERED_OK ); int injected = netsnmp_inject_handler( reg, netsnmp_get_serialize_handler() ); assert( injected == SNMPERR_SUCCESS ); Bill On Wed, Sep 3, 2014 at 3:19 AM, sarath azad saraths...@yahoo.co.in wrote: Hello, Could you please help in solving the below

problem in SNMPSET with string data type columns

2014-08-22 Thread sarath azad
Hello,   Could you please help in resolving the below issue? For SNMPSET on a table which contains a column of string data type, if we are giving values of all the columns in the single SNMPSET query, then we are getting the values of the string column properly, only if the order of column

Re: error showing SNMPWALK on the last table of a view

2014-07-02 Thread sarath azad
and regards S Sarath On Wednesday, June 25, 2014 11:28 PM, Fulko Hew fulko@gmail.com wrote: Can't saw if this is yr problem but I have seen that it has linear? Delays when dealing with large tables via agent.  Perhaps the problem is inherent? On Jun 24, 2014 5:28 PM, sarath azad saraths

error showing SNMPWALK on the last table of a view

2014-06-24 Thread sarath azad
Hello, Could you please help in resolving the below problem? If we are configuring a view containing a single MIB table and do a SNMPWALK on it, it is showing all the data on the table and at the end of the table it is showing a message: No more variables left in this MIB View (It is past the

Re: a query regarding AgentX and snmpd

2014-06-11 Thread sarath azad
Hello,   Could you please tell the scenario when agentx_reopen_session() and register_mib_reattach() functions be called from run_alarms() in AgentX process? Here we have a main agent “snmpd” process and snmp_agentx process.   Does these functions be called when we looses connection between

a query regarding AgentX and snmpd

2014-06-06 Thread sarath azad
  Hello,   Could you please tell the scenario when agentx_reopen_session() and register_mib_reattach() functions be called from run_alarms() in AgentX process? Here we have a main agent “snmpd” process and snmp_agentx process.   Does these functions be called when we looses connection between

Re: bug in trapsess directive?

2013-11-28 Thread sarath azad
Hi Paul, I too have observed this that trapsess directive, was requiring the engine-id for properly sending the traps. Otherwise, though we were able to generate and send the traps from our device, but they were not able to be detected at the receiving manager. Once we gave the engine-id of

Re: Show SNMPv3 users

2013-11-25 Thread sarath azad
. 2013/11/21 sarath azad saraths...@yahoo.co.in Hi Giuseppe, Thanks for the reply. For getting the user details from a remote system, we may do SNMPWALK on this OID. But if on the same device where snmp agent is running (where we are doing the SNMPv3 configuration), if we want to get

Re: Show SNMPv3 users

2013-11-21 Thread sarath azad
the usmUserTable over the same field; for example you can execute snmpwalk .1.3.6.1.6.3.15.1.2.2.1.3 to obtain all configured users in the usmUserTable. I hope this will help. 2013/11/21 sarath azad saraths...@yahoo.co.in Hello, Could you please tell, in a program, what is the best method

Show SNMPv3 users

2013-11-20 Thread sarath azad
Hello, Could you please tell, in a program, what is the best method to show all the SNMPv3 users configured? Is it a good, to write a function to read the snmpd.conf file to show all the configured SNMPv3 users? Or is there any other API to get the list of SNMPv3 users configured? Thanks and

Re: not able to receive SNMPv3 traps for SHA, and priv users

2013-10-04 Thread sarath azad
username -l security level host IP thanks and regards S Sarath From: sarath azad saraths...@yahoo.co.in To: net-snmp-us...@lists.sourceforge.net net-snmp-us...@lists.sourceforge.net; net-snmp-coders@lists.sourceforge.net net-snmp-coders@lists.sourceforge.net Sent

not able to receive SNMPv3 traps for SHA, and priv users

2013-09-26 Thread sarath azad
Hello, I am using net-snmp version 5.4.2.1. I am able to send traps for SNMPv3 users for authentication with MD5 and receive them properly by the manager software. But while sending traps with authentication SHA or using SNMPv3 users with encryption, I am not able to receive them at the

Re: which is better way to create SNMPv3 users

2013-09-06 Thread sarath azad
thinking about this option of using SNMPUSM as it doesnot require restart of the Agent process. Thanks and regards S Sarath From: Anish anish2g...@yahoo.co.in To: sarath azad saraths...@yahoo.co.in Cc: net-snmp-coders@lists.sourceforge.net net-snmp-coders

Re: which is better way to create SNMPv3 users

2013-09-06 Thread sarath azad
giving -HUP signal to snmp agent process (snmpd). Could you please suggest a way to have these users created with SNMPUSM be persistent? Thanks and regards S Sarath Chandra Azad From: Anish anish2g...@yahoo.co.in To: sarath azad saraths...@yahoo.co.in Cc: Net

max number of snmpv3 users supported

2013-09-05 Thread sarath azad
Hello, Could you please tell what is the maximum number of SNMPv3 users, views, groups supported by net-snmp? thanks and regards S Sarath-- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover

which is better way to create SNMPv3 users

2013-09-05 Thread sarath azad
Hello, Could you please tell which is better way to create a SNMPv3 user? 1. creating the user using SNMPUSM command, which doesnot involve restart of snmp agent process. But for this we need to maintain one sample user based on which we need to create the new users. 2. creating by directly

copy users from usmUserTable to snmpd.conf file

2013-09-05 Thread sarath azad
Hello, Could you please tell how to copy configured SNMPv3 users using SNMPUSM in  usmUserTable, to persistent snmpd.conf file? I have tried to give -HUP signal to snmpd process, but it is not transferring the usmUserTable users to persistent snmpd.conf file. Please let me know if there is any

Support for notify-view in Group configuration

2013-09-04 Thread sarath azad
Hello, Could you please tell from which version of net-snmp will the support for NOTIFY-view in group configuration will be available? Also could you please suggest any work around for implementing NOTIFY-views? Thanks and regards S Sarath

Support for notify-view in Group configuration

2013-08-30 Thread sarath azad
Hello, Could you please tell from which version of net-snmp will the support for NOTIFY-view in group configuration will be available? Also could you please suggest any work around for implementing NOTIFY-views? Thanks and regards S

Support for SNMPv3 on net-snmp 5.4.2.1

2013-08-08 Thread sarath azad
Hello, Currently we are using net-snmp version 5.4.2.1 and so far we were only using SNMPv1 and v2c.  Now we are adding support to SNMPv3. Could you please suggest if we can have stable SNMPv3 operations using our existing net-snmp version of 5.4.2.1? Is there any risks involved using this

purpose of pipe in netsnmp_callback_send/recv functions

2012-03-17 Thread sarath azad
Hello,     Is the pipe used in netsnmp_callback_send/recv function, is for synchronization purpose ? If yes, how is this approch better than other synchronisation methods like semaphores as we are storing one character for marking the push/pop from the queue?     Thanks and regards S

AgentX getting blocked at write call in netsnmp_callback_send

2012-03-06 Thread sarath azad
Hello,   Could you please help me regarding this problem.   When I am sending continuous flow if snmp traffic (packets/queries) the process SNMPd is getting unresponsive after some time and we are restarting it. But after some 30-35 restarts the AgentX is getting blocked in at the call :