Bill,

I too have tried in the same fashion [in subagent: register a scalar
handler and put a sleep in MODE_SET_ACTION] before I have commented like
I couldn't see the issue in v5.7.1. 
May be as you stated, it is there and hard to invoke!

At that time, I have tried the below listed two ways actually.
1. agentXTimeout 7, agentXRetries 0 and sleep in MODE_SET_ACTION as 20
[all timeout values in sec]
        Sleep interval greater than default ping interval [15 sec]
 2. agentXTimeout 1, agentXRetries 0 and sleep in MODE_SET_ACTION as 5 
        Sleep interval less than default ping interval [15 sec]
The agentx connection had broken in between in both the cases. I am
wondering why the session break happening in the 2nd case.

Anyway I could notice that the agentx/master process goes through
netsnmp_wrap_up_request() during these scenario and 
reset netsnmp_processing_set global.

-renjith

.-----Original Message-----
.From: Bill Fenner [mailto:fen...@gmail.com]
.Sent: 31 December 2011 07:10 PM
.To: Renjith R. V.
.Cc: net-snmp-coders@lists.sourceforge.net
.Subject: Re: agentx master agent not responding after an agentx
subagent
.SET timeout
.
.I haven't had any luck invoking the failure mode with my misbehaving
.subagent.  Both the disconnect and the timeout end up going through
.netsnmp_remove_delegated_requests_for_session(), which then causes
.check_delayed_request() to call netsnmp_wrap_up_request() which resets
.netsnmp_processing_set.
.
.  Bill
***** Confidentiality Statement/Disclaimer *****

This message and any attachments is intended for the sole use of the intended 
recipient. It may contain confidential information. Any unauthorized use, 
dissemination or modification is strictly prohibited. If you are not the 
intended recipient, please notify the sender immediately then delete it from 
all your systems, and do not copy, use or print. Internet communications are 
not secure and it is the responsibility of the recipient to make sure that it 
is virus/malicious code exempt.
The company/sender cannot be responsible for any unauthorized alterations or 
modifications made to the contents. If you require any form of confirmation of 
the contents, please contact the company/sender. The company/sender is not 
liable for any errors or omissions in the content of this message.

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to