It would be convenient to have a command that looks up nodes by the various node criteria (ip address, nodelabel, nodeid, etc) as command options (e.g. --ipaddress, --nodelabel) and returns matching node data, to enable a workflow similar to:
1) look up node data via karaf command
2) plug the returned node info into opennms:collect, opennms:poll, opennms:show-measurements and friends.
3) profit
This removed the context-switch of having to look up the nodeid from the WebUI.
opennms:filter can be leveraged this way, but also requires knowledge of the filter dialect and filterable fields.
It would be convenient to have a command that looks up nodes by the various node criteria (ip address, nodelabel, nodeid, etc) as command options (e.g. --ipaddress, --nodelabel) and returns matching node data, to enable a workflow similar to:
1) look up node data via karaf command
2) plug the returned node info into opennms:collect, opennms:poll, opennms:show-measurements and friends.
3) profit
This removed the context-switch of having to look up the nodeid from the WebUI.
opennms:filter can be leveraged this way, but also requires knowledge of the filter dialect and filterable fields.