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 which you comment out the SnmpPoller service the SnmpInterface must be in the right status (that is Not Monitored).

My onStop method is not called. This is due to the fact that AbstractSpringContextJmxServiceDaemon
does not call a daemon.stop() method as expected.
It cannot becouse the SpringServiceDaemon
does not have a method stop()! Why?


Regards

Antonio
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to