Create Java SNMP command line utils

Description

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"

Environment

Operating System: All Platform: All

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

David Hustace March 17, 2020 at 3:20 PM

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.

jdetect --service ICMP --interface AAA.BBB.CCC.DDD
jdetect --class org.opennms.netmgt.provision.detector.simple.HttpsDetector --parameter port=8443 --interface AAA.BBB.CCC.DDD

jpoller --service SNMP --interface AAA.BBB.CCC.DDD
jpoller --package example1 --interface AAA.BBB.CCC.DDD
jpoller --class org.opennms.netmgt.poller.monitors.Win32ServiceMonitor --parameter ... --interface AAA.BBB.CCC.DDD

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created January 17, 2009 at 10:09 AM
Updated March 17, 2020 at 3:20 PM
Resolved March 17, 2020 at 3:20 PM