[snmp] slow snmp v3 discovery timeout

Birgit Arkesteijn birgit at westhawk.co.uk
Tue Jan 30 17:06:51 GMT 2007


Hi Josh,

Yes, it would still attempt timeline discovery because of the
authentication. :-(

In order to fake that you'd have to make
- uk.co.westhawk.snmp.stack.TimeWindowNode a public class
and 
- make TimeWindow.setTimeLine public:
  protected uk.co.westhawk.snmp.stack.TimeWindowNode 
    setTimeLine(
        java.lang.String snmpEngineId, 
        uk.co.westhawk.snmp.stack.TimeWindowNode newNode)

Cheers, Birgit

On Tue, Jan 30, 2007 at 11:27:54AM -0500, Josh Bers wrote:
> Birgit and Gejo,
> 
> Thanks for the response. A questions:
> 
> > > well in my case i was working with Westhawk Stack version 
> > > 4_13, i have 
> > > switched off 
> > > the authentication and privacy flags in the context. also while 
> > > initialising the context 
> > > call TimeWindow.setSnmpEngineId(host, port, engineId), this 
> > > will stop
> > > the discovery of engineId every time before sending a packet
> 
> I am using 5_1 of the stack. I cannot turn off privacy or
> authentication (as
> they are required by my application), however, I can provide the
> engineid.
> In this configuration will it still attempt discovery before first
> contacting the agent?
> 
> Josh


-- 
-- Birgit Arkesteijn, birgit at westhawk.co.uk,
-- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
-- tel.: +44 (0)161 237 0660
-- <URL: http://www.westhawk.co.uk>


More information about the snmp mailing list