[snmp] Port number change

Birgit Arkesteijn birgit at westhawk.co.uk
Tue May 8 13:00:20 BST 2007


Dear Yun,

Your implementation seems fine.

Could you please download the latest version from our website (v 5_1) 
http://snmp.westhawk.co.uk/index.html ?

We made quiet a few changes in 4_14 in this area, so hopefully your 
problem will be solved.

( You can also download the latest (not released) version from SourceForge:
http://sourceforge.net/projects/westhawksnmp/ )

Cheers, Birgit

Yun Freund wrote:
> The only way we get the port to be changed is to restart the JVM. But
> this is not desirable. Please help if you have any suggestions or if our
> implementation is not correct.
> Yun
> 
> -----Original Message-----
> From: snmp-bounces at snmp.westhawk.co.uk
> [mailto:snmp-bounces at snmp.westhawk.co.uk] On Behalf Of Yun Freund
> Sent: Friday, May 04, 2007 11:20 AM
> To: snmp at snmp.westhawk.co.uk
> Subject: [snmp] Port number change
> 
> Hi, all, I would like to ask the following question:
> 
>  
> 
> We are trying to implement the SNMP port number change once our server
> JVM is started.
> 
>                     SnmpContextPool contextPool = new
> SnmpContextPool(_host, 162);
> 
> .......
> 
> At some point at run time the user would like to change the SNMP Port
> number. We called
> 
> contextPool.destroy();
> 
> and then reinitialize the SNMPContextPool with a new port 
> 
>                     contextPool = new SnmpContextPool(_host, 163);
> 
> Is this the right way to change the port number? But it looks like when
> using netstat -a -n the server seems to be still running on the old
> port. 
> 
> Any suggestion or help would be greatly appreciated. We are using
> WestHawk version 4.13.
> 
> Yun


-- 
-- Birgit Arkesteijn, birgit at westhawk.co.uk,
-- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
-- Company no: 1769350
-- Registered Office:
-- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
-- tel.: +44 (0)161 237 0660
-- <URL: http://www.westhawk.co.uk>


More information about the snmp mailing list