This has been fixed with the invention of OpenNMS commands in the Karaf console.
Alejandro Galue April 29, 2014 at 4:24 PM
Revision 7680048092c7926c12eea99a452d597fa4dcd304 for 1.12 contains a command line tool for testing poller monitors. It is called "poller-test".
Ron Roskens November 12, 2012 at 12:43 PM
I think this issue could be a broadened beyond just data collection, to include being able to run a provisioning detector or service poller/monitor from the command line for testing purposes.
We need to be able to use our libs for testing SNMP.
jsmpwalk
jsnmpgetnext
jsnmpgetbulk
jsnmpget
We should also support a jcollect command that specifies the service name and the collection group to be collected and output to stdout:
jcollect --service SNMP --group "mib2-interfaces"
jcollect --service WMI --group "wmiOSCpu"