Hi Alex, I think this is a quite nice enhancement, so I would propose you just add a html page with doku how to use it in scriptd ;-)) and open an enhancement bug, that's the best way to get it added to the code I think.
-Michael >>> Alex Bennee <kernel-hac...@bennee.com> 10.02.2010 19:46 >>> Hi, After much scratching of head and grepping through the code I have created the attached patch. I'm unsure if the using the BeanFactory to pull out the NodeDao object is the correct method to use but as the documentation on this is on the wiki is fairly sparse it's what I've done. Comments? Would you like this added to bugzilla? -- Alex, homepage: http://www.bennee.com/~alex/ http://www.half-llama.co.uk Ihr starker Gesundheitspartner - die neue BARMER GEK. Weitere Informationen unter www.barmer-gek.de ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ 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