Bug 535345 (RHQ-2050)

Summary: add new CLI plugin
Product: [Other] RHQ Project Reporter: John Mazzitelli <mazz>
Component: PluginsAssignee: John Mazzitelli <mazz>
Status: CLOSED NEXTRELEASE QA Contact: Pavel Kralik <pkralik>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: mvecera
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-2050
Whiteboard:
Fixed In Version: 1.3 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Mazzitelli 2009-05-01 20:56:00 UTC
have a generic plugin that can execute any CLI executable.

You can configure what it means that a  CLI is available (if its exit code matches a value, or its output matches a value).
You can configure what a CLI's version is (have regex matching of output to pick out a version string) - same with description.
You can have generic operations by defining the arguments to pass and the results capture the exit code and output.
You can define metric definitions by defining the arguments to pass and the regex to pick out the values.

Comment 1 Jeff Weiss 2009-07-02 16:21:55 UTC
needsReproSteps

Comment 2 Pavel Kralik 2009-07-15 15:38:57 UTC
Verified. Repeated the steps from this demo: http://jopr.org/confluence/display/JOPR2/Demo-CLIPlugin r4383 

Comment 3 Red Hat Bugzilla 2009-11-10 20:56:43 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2050