Re: string as index of a table

2014-10-17 Thread sarath azad
Hi Niels,
 
But using a query like:  snmpwalk $host  OID of
table.1.column.\ABCDE\ 
is not working also. Below are the test
results :
 
 snmpget $host 
OID of table.1.column.10.66.67.68.69.70.71.72.73.74.75
 OID of
table.1.column.BCDEFGHIJK = INTEGER: 0
snmpget $host  OID of
table.1.column.10.\ABCDEFGHIJ\
 OID of
table.1.column.10.ABCDEFGHIJ: Unknown Object Identifier
(Index out of range: ABCDEFGHIJ)
snmpget $host  OID of
table.1.column.10.'ABCDEFGHIJ'
 OID of
table.1.column.10.ABCDEFGHIJ: Unknown Object Identifier (Index out
of range: ABCDEFGHIJ )
 
Could you please help in resolving 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 index by dot separated ascii
 values of each character in the name. 
 eg. OID of the table .1.column
 no..5.65.66.67.68.69  where the item name is ABCDE. 

I wonder where this is documented :-(

If you make sure that the shell passes the quotes to the command, you
can actually do it:

snmpwalk $host  OID of table.1.column.\ABCDE\

If the index is an IMPLIED string (one without a length prefix) you must
use single quotes in stead of double quotes.

See the -OE option to snmpcmd(1)

/Niels

-- 
Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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 query passing the item name 
string as index. 
I have tested it, it is feasible, but while giving the OID in snmpget, we 
needed to give the item name string index by dot separated ascii values of each 
character in the name. 
eg. OID of the table .1.column
no..5.65.66.67.68.69  where the item name is ABCDE. 

But from usage perspective it is not looking good that we need to manually 
calculate the ascii values of the characters in the item name and provide them 
in the snmpget query.
Is there any other way of doing this so that we can directly give the item name 
and not the ascii values?
Some thing like: OID of the table .1.column
no..5.ABCD or OID of the table .1.column no..5.A.B.C.D

thanks and regards
S Sarath--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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

2014-10-03 Thread sarath azad
Hi Bill,
Could you please provide a sample outline or example of how to create, register 
and use a serialize handler?Here do we need to use the function 
netsnmp_register_instance for each of the column in the table to have 
separate handler for each column to be called for each of them separately, 
rather than a single handler function being called passing all the varbinds in 
input SNMPGET/SET query?
thanks and regardsS Sarath 

 On Thursday, September 4, 2014 5:51 PM, Bill Fenner fen...@gmail.com 
wrote:
   

 The only advice I have is to try the serialize handler.
  Bill


On Thu, 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   
 netsnmp_register_table The problem we are facing is that if our table 
is columns,c1, c2, and c3, and if c1 is of string data type. Now if we are 
doing “snmpset c1 val1  c2 val2  c3 val3” we are getting these 
valuesval1, val2 and val3 properly in code and they are getting properly 
updated inthe table.But if we are giving columns in different order like 
“snmpsetc3 val3 c1 val1 c2 val2” now we are not getting theval1 value 
of string column c1 , what we gave in the SNMPSET. For integer columns we are 
getting proper valuesirrespective of their order in SNMPSET command. But if we 
are not giving thestring column in proper order in SNMPSET we are not getting 
its value. Only gettingsome garbage value (integer value of pervious column 
value in snmpset). Could you please advise what could be the issue here? Thanks 
and regardsS  Sarath   



 On Wednesday, September 3, 2014 7:38 PM, Bill Fenner fen...@gmail.com 
wrote:
   

 I've had trouble with multiple requests in ordered table_iterator tables.  I 
have no idea if that's what you're using, since you didn't give much info about 
your use case.  I just worked around it by injecting the serialize handler:
    int result = netsnmp_register_table_iterator( reg, iinfo );    assert( 
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 doing SNMPSET for tables 
with string data?
thanks and regardsS Sarath  

 On Friday, August 22, 2014 9:03 PM, sarath azad saraths...@yahoo.co.in 
wrote:
   

 Hello,  Could you please help in resolving the below issue? For SNMPSET on a 
table which contains a column ofstring data type, if we are giving values of 
all the columns in thesingle SNMPSET query, then we are getting the values of 
the string column properly,only if the order of column values, in the query is 
same as the order of columnin the table.  ie. snmpset -v 2c -c public 
system-IP column1 column 1 value column 2 column 2 value ...  If we 
are giving the values in the query in different order, thenfor integer columns 
we are getting values properly as given in the query. Butfor the string columns 
we are only getting some junk characters or value in theprevious column in the 
query.  The table handler function is written as below:  Int 
tableHandlerFunction(netsnmp_mib_handler *handler,  
netsnmp_handler_registration   *reginfo,       
netsnmp_agent_request_info *reqinfo, netsnmp_request_info   
*requests)  { netsnmp_request_info*request; 
netsnmp_table_request_info*table_info; char data[100]; for(request = requests; 
request; request = request-next)   {          table_info 
=netsnmp_extract_table_info(request);  switch (reqinfo-mode)       
 {       case MODE_SET_ACTION:        switch 
(table_info-colnum)         {    case 
COLUMN_STRING_COLUMN:        strcpy( data , 
requests-requestvb-val.string));        break;   
thanks and regards S Sarath
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Net-snmp-users mailing list
net-snmp-us...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



--
Slashdot TV.
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Net-snmp-users mailing list
net-snmp-us...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

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  --
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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

2014-09-04 Thread sarath azad
Hi Bill,
 
Thanks for the reply.
Here for registration of the table we are using below
functions:
netsnmp_create_handler_registration
netsnmp_create_table_data
netsnmp_table_helper_add_indexes
netsnmp_register_table
 
The problem we are facing is that if our table is columns,
c1, c2, and c3, and if c1 is of string data type. 
Now if we are doing “snmpset 
c1 val1  c2 val2  c3 val3” we are getting these values
val1, val2 and val3 properly in code and they are getting properly updated in
the table.
But if we are giving columns in different order like “snmpset
c3 val3 c1 val1 c2 val2” now we are not getting the
val1 value of string column c1 , what we gave in the SNMPSET. 
For integer columns we are getting proper values
irrespective of their order in SNMPSET command. But if we are not giving the
string column in proper order in SNMPSET we are not getting its value. Only 
getting
some garbage value (integer value of pervious column value in snmpset).
 
Could you please advise what could be the issue here?
 
Thanks and regards
S  Sarath 
 




On Wednesday, September 3, 2014 7:38 PM, Bill Fenner fen...@gmail.com wrote:
 


I've had trouble with multiple requests in ordered table_iterator tables.  I 
have no idea if that's what you're using, since you didn't give much info about 
your use case.  I just worked around it by injecting the serialize handler:

int result = netsnmp_register_table_iterator( reg, iinfo );
assert( 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 doing SNMPSET for 
tables with string data?


thanks and regards
S Sarath 



On Friday, August 22, 2014 9:03 PM, sarath azad saraths...@yahoo.co.in wrote:
 


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 values, in the query is same as the order of column
in the table.
 ie. snmpset -v 2c -c public system-IP column
1 column 1 value column 2 column 2 value ...
 
If we are giving the values in the query in different order, then
for integer columns we are getting values properly as given in the query. But
for the string columns we are only getting some junk characters or value in the
previous column in the query.
 
The table handler function is written as below:
 
Int tableHandlerFunction
(netsnmp_mib_handler *handler,  netsnmp_handler_registration   *reginfo,
  netsnmp_agent_request_info *reqinfo, 
 netsnmp_request_info   *requests) 
{
netsnmp_request_info
*request;
netsnmp_table_request_info
*table_info;
char data[100];
for
(request = requests; request; request = request-next) 
 {
  table_info =
netsnmp_extract_table_info(request);
  switch (reqinfo-mode) 
  {
  case MODE_SET_ACTION:
   switch (table_info-colnum) 
   {
   case COLUMN_STRING_COLUMN:
   strcpy( data , 
 requests-requestvb-val.string));
   break;
 
 
thanks and regards
S Sarath
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Net-snmp-users mailing list
net-snmp-us...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



--
Slashdot TV.
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Net-snmp-users mailing list
net-snmp-us...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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 values, in the query is same as the order of column
in the table.
 ie. snmpset -v 2c -c public system-IP column
1 column 1 value column 2 column 2 value ...
 
If we are giving the values in the query in different order, then
for integer columns we are getting values properly as given in the query. But
for the string columns we are only getting some junk characters or value in the
previous column in the query.
 
The table handler function is written as below:
 
Int tableHandlerFunction
(netsnmp_mib_handler *handler,  netsnmp_handler_registration   *reginfo,
      netsnmp_agent_request_info *reqinfo, 
netsnmp_request_info   *requests) 
{
netsnmp_request_info
*request;
netsnmp_table_request_info
*table_info;
char data[100];
for
(request = requests; request; request = request-next) 
 {
          table_info =
netsnmp_extract_table_info(request);
  switch (reqinfo-mode) 
      {
      case MODE_SET_ACTION:
       switch (table_info-colnum) 
       {
   case COLUMN_STRING_COLUMN:
       strcpy( data , 
requests-requestvb-val.string));
       break;
 
 
thanks and regards
S Sarath--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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

2014-07-02 Thread sarath azad
Hello,

Thanks for the replies and inputs. 
The problem was that the table being of very large size, SNMPWALK was taking 
more time to finish. 
When we configured the view to contain only a single column of the table, and 
then doing SMNPWALK on that column of the table, we were getting the data from 
that particular column. Once that column is done, SNMP-get-next (internal to 
SNMPWALK) tries to get the next column data. But that column is not there in 
the view, so it continues to search for next valid data present in the view , 
till the end of the table. As the table is of very large size, it takes very 
long time to return and in the mean time SNMPWALK query gets timed out. 

Initially we tried with : snmpwalk -t 10 ...  but we go same timeout problem. 
But when tried with snmpwalk -t 20 ... it worked .
So there is no problem with our code, its the general behavior only.

thanks 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...@yahoo.co.in wrote:

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 end of the MIB tree)


If this table is a small table with few entries it is showing above message. 
And if it is a big table with some 4 thousand odd entries it is showing 
Timeout: No Response from device - ip.


When looking at the snmp packets exchanged, For the query on the smaller 
table, after the table's last entry is sent, another snmp get-next is sent to 
the device with the last entity of the table. Now as the next entity is 
outside the view (since our table is the last item in the view) it is getting 
message that no more variables in the view. But if the table is big with few 
thousands of entries, this last snmp get-next with the last index is not 
responded. After a few retries we are getting Timeout message. 


Could you please help in resolving this issue, as why this timeout is showing 
for large tables?


thanks and regards
S Sarath
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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 end of the MIB tree)

If this table is a small table with few entries it is showing above message. 
And if it is a big table with some 4 thousand odd entries it is showing 
Timeout: No Response from device - ip.

When looking at the snmp packets exchanged, For the query on the smaller table, 
after the table's last entry is sent, another snmp get-next is sent to the 
device with the last entity of the table. Now as the next entity is outside the 
view (since our table is the last item in the view) it is getting message that 
no more variables in the view. But if the table is big with few thousands of 
entries, this last snmp get-next with the last index is not responded. After a 
few retries we are getting Timeout message. 

Could you please help in resolving this issue, as why this timeout is showing 
for large tables?

thanks and regards
S Sarath--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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 main snmpd process and the snmp_agentx process?
 
Thanks and regards
S Sarath
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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 main snmpd process and the snmp_agentx process?
 
Thanks and regards
S Sarath--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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 our device (trap generating 
device) in trapsess directive, the traps were successfully received at the 
manager. 
In case of SNMPv3 traps the engine-id the sending device (trap generating 
device) needs to be used in trapsess, which will be common for all the traps 
generated from our device. 

Please let me know if you have any questions regarding this.

thanks and regards
S Sarath


On Tuesday, November 19, 2013 9:52 AM, Paul Jaehne paul.jae...@gmail.com 
wrote:
 
Version: 5.7.2


Hi all,

I'm currently experiencing strange behaviour while experimenting with SNMPv3 
traps. Every time I define a trapsess directive like followed I get an error 
about an unknown user:

trapsess -v3 -u trapuser -l authPriv -n  -a MD5 -A authPass1 -x AES -X 
privPass1 192.168.2.240
--
snmpd: send_trap: USM unknown security name (no such user exists)

When I change the trapsess directive to explicitely specify an imaginary 
engineId, I don't get any errors any more:

trapsess -v3 -u trapuser -e 0x0102030405 -l authPriv -n  -a MD5 -A authPass1 
-x AES -X privPass1 192.168.2.240

My problem is that I don't really want to set the engineIDs manually, since I 
would need different ones to distinguish between the devices.

Any thoughts on what I'm doing wrong and how this can be solved?

Cheers,
Paul

--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Re: Show SNMPv3 users

2013-11-25 Thread sarath azad
Hi Giuseppe,

Thanks for the inputs.

thanks and regards
S Sarath



On Friday, November 22, 2013 4:37 PM, giuseppe de vito giusepp...@gmail.com 
wrote:
 
Hi,
you can do SNMPWALK on localhost.
For example, if you want to use snmpwalk application from a linux shell you can 
use the command

snmpwalk -v3 -u your admin user -l authPriv -A your auth pass -a your auth 
protocol (MD5 | SHA) -X your priv pass -x your priv alg (i.e. DES) 
localhost 1.3.6.1.6.3.15.1.2.2.1.3

Option (-l authPriv) must be used if you have configured your admin user to use 
authentication + encryption.

If you have to do so from your software you can use the SNMPv3 API of your 
programming language (for example for PHP
we have the snmpv3_walk function).

I think that reading the MIB is more portable than reading the snmpd.conf file 
that can change filesystem location if you change
your distribution or operating system.
Reading the MIB let you have the flexibility to change the host where your 
users are stored: if tomorrow your application will run
on a host that is different from the host where snmpd is running then you have 
to change only an IP address.

I hope this will help in your application design.





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 the user details, do we need to do 
snmpwalk on localhost for this OID or is there any other method also.

Currently I am doing the SNMPv3 configuration using snmpd.conf file and so 
thinking to implement the show user details functions by reading the 
snmpd.conf file. But is it the correct method which will work in all cases, or 
is there any other better methods.

thanks and regards
S Sarath 



On Thursday, November 21, 2013 3:08 PM, giuseppe de vito 
giusepp...@gmail.com wrote:
 
Hello,
SNMPv3 users are stored in the usmUserTable (OID=.1.3.6.1.6.3.15.1.2.2).
This table has the following entries

usmUserTable
  +usmUserEntry(1)
    +-usmUserEngineID(1)
    +-usmUserName (2)
    +-usmUserSecurityName (3)
    +- . (see 
http://www.net-snmp.org/wiki/index.php/TUT:SNMPv3_Options for details

You are looking for the usmUserSecurityName and, for a complete list of such 
items, you can walk 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 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 regards
S Sarath
--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
Net-snmp-users mailing list
net-snmp-us...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users




--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Re: Show SNMPv3 users

2013-11-21 Thread sarath azad
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 the user details, do we need to do 
snmpwalk on localhost for this OID or is there any other method also.

Currently I am doing the SNMPv3 configuration using snmpd.conf file and so 
thinking to implement the show user details functions by reading the 
snmpd.conf file. But is it the correct method which will work in all cases, or 
is there any other better methods.

thanks and regards
S Sarath 


On Thursday, November 21, 2013 3:08 PM, giuseppe de vito giusepp...@gmail.com 
wrote:
 
Hello,
SNMPv3 users are stored in the usmUserTable (OID=.1.3.6.1.6.3.15.1.2.2).
This table has the following entries

usmUserTable
  +usmUserEntry(1)
    +-usmUserEngineID(1)
    +-usmUserName (2)
    +-usmUserSecurityName (3)
    +- . (see 
http://www.net-snmp.org/wiki/index.php/TUT:SNMPv3_Options for details

You are looking for the usmUserSecurityName and, for a complete list of such 
items, you can walk 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 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 regards
S Sarath
--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
Net-snmp-users mailing list
net-snmp-us...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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 regards
S Sarath--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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

2013-10-04 Thread sarath azad
Hello,

I have got the solution to this problem.
The problem was that for configuring SNMPv3 traps, i was adding below in the 
snmpd.conf file:
  trapsess  -u username -l security level host IP
It was working well for MD5, but for SHA auth and priv (both DES  AES) it was 
sending a trap , but it was getting error which receiving at the manager saying 
that authentication (for SHA) or decryption (for MD5 + DES/AES) failure.

If we are configuring the 'trapsess' with the engine-id then it is working well 
for all these auth (MD5,SHA) and priv (DES, AES), as below:
  trapsess -e engine-id -u 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: Friday, September 27, 2013 10:41 AM
Subject: not able to receive SNMPv3 traps for SHA, and priv users
 


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 manager. 
I have tried to capture the traffic from my device, and I could see these traps 
(SHA and encrypted) being sent from the device, but these are not getting 
received by the manager software. 
I have tried with couple of management software, like net-snmp's snmptrapd, and 
ManageEngine MibBrowser free tool 5.0. In both of them I only able to receive 
MD5 user's traps only.
Though SNMPv2 traps are getting properly received.
Also the user config, are done in same way for both MD5 user and SHA user on 
the snmptrapd.conf file.

Please advise how to solve the problem.

thanks and regards
S Sarath
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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 manager. 
I have tried to capture the traffic from my device, and I could see these traps 
(SHA and encrypted) being sent from the device, but these are not getting 
received by the manager software. 
I have tried with couple of management software, like net-snmp's snmptrapd, and 
ManageEngine MibBrowser free tool 5.0. In both of them I only able to receive 
MD5 user's traps only.
Though SNMPv2 traps are getting properly received.
Also the user config, are done in same way for both MD5 user and SHA user on 
the snmptrapd.conf file.

Please advise how to solve the problem.

thanks and regards
S Sarath--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Re: which is better way to create SNMPv3 users

2013-09-06 Thread sarath azad
Hi Anish,

Thanks for the reply.
My requirement is to create SNMPv3 users when ever needed, and not just at the 
Agent start up.
Also if I am creating a user using SNMPUSM command, I am able to create, but 
they are not persistent across a Agent restart.
Once i created a user using SNMPUSM I have tried to send signal -HUP to snmpd 
process to see if the new user is getting updated in the persistent snmpd.conf 
file, but it was not updating.

Any idea how to make the users created by SNMPUSM copied to persistent 
snmpd.conf file, so that it will be persistent across the Agent restart.
I am 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@lists.sourceforge.net 
Sent: Friday, September 6, 2013 12:52 AM
Subject: Re: which is better way to create SNMPv3 users
 


Create a user/Snmv3 session when your Agent starts, 

 



 From: sarath azad saraths...@yahoo.co.in
To: net-snmp-coders@lists.sourceforge.net 
net-snmp-coders@lists.sourceforge.net 
Sent: Thursday, 5 September 2013 7:12 PM
Subject: which is better way to create SNMPv3 users
 


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 editing the persistent snmpd.conf file using 
createUser. Here restart of the snmp agent process is necessary, but no need 
to maintain any extra users for making other user configurations.

thanks and regards
S Sarath
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Re: which is better way to create SNMPv3 users

2013-09-06 Thread sarath azad
Hi Anish,

I am able to create new users using SNMPUSM, but the newly created users are 
not persistent. 
That is, if the snmp agent is restarted the users created using SNMPUSM are not 
there. 
Also the persistent snmpd.conf file is not getting updated with the users 
created SNMPUSM, even after 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-snmp-coders Net-snmp-coders@lists.sourceforge.net 
Sent: Friday, September 6, 2013 4:38 PM
Subject: Re: which is better way to create SNMPv3 users
 


The Net-SNMP utility snmpusm is used to maintain SNMPv3 users. This utility can 
be very useful when it comes to managing and creating users on the fly,Note 
that to use this command, your SNMPv3 user must have write access to the 
usmUserTable in the agent,

snmpd.conf
snmpd.conf file:
                              rwuser user1 auth system 
    rwuser user1 auth



 



 From: sarath azad saraths...@yahoo.co.in
To: Anish anish2g...@yahoo.co.in 
Cc: net-snmp-coders@lists.sourceforge.net 
net-snmp-coders@lists.sourceforge.net 
Sent: Friday, 6 September 2013 1:12 PM
Subject: Re: which is better way to create SNMPv3 users
 


Hi Anish,

Thanks for the reply.
My requirement is to create SNMPv3 users when ever needed, and not just at the 
Agent start up.
Also if I am creating a user using SNMPUSM command, I am able to create, but 
they are not persistent across a Agent restart.
Once i created a user using SNMPUSM I have tried to send signal -HUP to snmpd 
process to see if the new user is getting updated in the persistent snmpd.conf 
file, but it was not updating.

Any idea how to make the users created by SNMPUSM copied to persistent 
snmpd.conf file, so that it will be persistent across the Agent restart.
I am 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@lists.sourceforge.net 
Sent: Friday, September 6, 2013 12:52 AM
Subject: Re: which is better way to create SNMPv3 users
 


Create a user/Snmv3 session when your Agent starts, 

 



 From: sarath azad saraths...@yahoo.co.in
To: net-snmp-coders@lists.sourceforge.net 
net-snmp-coders@lists.sourceforge.net 
Sent: Thursday, 5 September 2013 7:12 PM
Subject: which is better way to create SNMPv3 users
 


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 editing the persistent snmpd.conf file using 
createUser. Here restart of the snmp agent process is necessary, but no need 
to maintain any extra users for making other user configurations.

thanks and regards
S Sarath
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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 the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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 editing the persistent snmpd.conf file using 
createUser. Here restart of the snmp agent process is necessary, but no need 
to maintain any extra users for making other user configurations.

thanks and regards
S Sarath--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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 way to copy the users created using SNMPUSM 
to persistent snmpd.conf file.

Thanks and regards
S Sarath--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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 Sarath--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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 version for SNMPv3 upgrade?

Thanks and regards
S Sarath--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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 Sarath--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


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 : 
    agent_check_and_process(Operation::AGENTX_BLOCK_TILL_SNMP_PACKET_ARRIVE);
 
Inside which its getting blocked at the write system call writing to a pipe 
inside netsnmp_callback_send. 
 
The stack trace at the time of the block is as below:
/lib/libpthread.so.0(__write+0x38)[0xfaa17e4]
/pkg/net-snmp/lib/libnetsnmp.so.15(netsnmp_callback_send+0x3e0)[0xfd98318]
/pkg/net-snmp/lib/libnetsnmp.so.15(snmp_sess_async_send+0x4a0)[0xfd61f58]
/pkg/net-snmp/lib/libnetsnmp.so.15(snmp_async_send+0x3c)[0xfd624d4]
/pkg/net-snmp/lib/libnetsnmpagent.so.15(handle_agentx_packet+0x504)[0xfe5f9e0]
/pkg/net-snmp/lib/libnetsnmp.so.15[0xfd64d40]
/pkg/net-snmp/lib/libnetsnmp.so.15(_sess_read+0x220)[0xfd6644c]
/pkg/net-snmp/lib/libnetsnmp.so.15(snmp_sess_read+0x2c)[0xfd67140]
/pkg/net-snmp/lib/libnetsnmp.so.15(snmp_read+0x48)[0xfd671c4]
/pkg/net-snmp/lib/libnetsnmpagent.so.15(agent_check_and_process+0xc4)[0xfe4fc18]
 
In the function netsnmp_callback_recv we are reading from the same pipe. 
Also from debug log I have noticed that we have far more calls to write to the 
pipe that the reads from the pipe. So is it that the pipe is getting full as we 
are reading less than the write operation, and causing the last write to block?
How to handle this situation? 
Please advise.
 
Thanks and regards
S Sarath--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders