Re: [opennms-devel] SnmpPoller onStop

2010-03-10 Thread Antonio Russo
Thaks Matt. Works! Antonio Il giorno 10/mar/10, alle ore 19:36, Matt Brozowski ha scritto: > Did you try configuring a destroy method on your spring bean? > > http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/beans.html#beans-factory-lifecycle-disposablebean > > M

Re: [opennms-devel] SnmpPoller onStop

2010-03-10 Thread Matt Brozowski
Did you try configuring a destroy method on your spring bean? http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/beans.html#beans-factory-lifecycle-disposablebean Matt On Wed, Mar 10, 2010 at 11:56 AM, Antonio Russo wrote: > I've enhanced the snmp poller to save th

[opennms-devel] SnmpPoller onStop

2010-03-10 Thread Antonio Russo
I've enhanced the snmp poller to save the poll status and the last poll time into the snmpinterface table. Becouse snmppoller is disabled by default I'd like to have before the daemon stops all the snmpinterface set to 'N' that means not polled. In fact, in the case there is a restart in w