Bug 534396 (RHQ-1197) - let agent inventory the .sh/.bat/.conf scripts so we can configure them via UI
Summary: let agent inventory the .sh/.bat/.conf scripts so we can configure them via UI
Keywords:
Status: CLOSED NEXTRELEASE
Alias: RHQ-1197
Product: RHQ Project
Classification: Other
Component: Plugins
Version: unspecified
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: John Mazzitelli
QA Contact: Jeff Weiss
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: RHQ-110
TreeView+ depends on / blocked
 
Reported: 2008-12-01 02:56 UTC by John Mazzitelli
Modified: 2014-11-09 22:48 UTC (History)
1 user (show)

Fixed In Version: 1.2
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description John Mazzitelli 2008-12-01 02:56:00 UTC
To facilitate the ability for admins to fully configure, restart and update agents without having to log into the remote agent machine, it would be nice to add the ability of the agent plugin to inventory the rhq-agent[-wrapper].[sh, bat, conf] script files.  We should then be able to reconfigure those files or even push out new content.

The minimum we should be able to do is reconfigure rhq-agent-env.[sh,bat] and rhq-agent-wrapper.conf since they control the settings/options the agent uses to start up.

Comment 1 John Mazzitelli 2008-12-09 06:49:01 UTC
svn rev2248 now inventorys the rhq-agent-env.bat/sh and lets you view/edit its variables via the configuration tab.

still have to do the .conf file for when you run as a service on windows

Comment 2 John Mazzitelli 2008-12-09 22:04:49 UTC
rev2264 - can see the Java Service Wrapper in inventory now - can load config. can't update config yet

Comment 3 John Mazzitelli 2008-12-09 22:51:46 UTC
rev 2269 can now update jsw files

Comment 4 John Mazzitelli 2008-12-10 03:29:47 UTC
all changes are found at 2273 and before.

We can now inventory the rhq-agent-env.sh (if on UNIX) or rhq-agent-env.bat (if on windows). you will never have both - only one.

We also can inventory the RHQ Agent Java Service Wrapper service if on Windows (this is not on agents running in a UNIX environment).  This has three groups of config for the .conf, .env and .inc files used to configure the JSW.

Comment 5 Jeff Weiss 2008-12-19 20:10:35 UTC
rev2424, tested read-only JSW attrs, config changes to rhq-agent-env.bat, reverting. 

Comment 6 Red Hat Bugzilla 2009-11-10 20:27:52 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1197
This bug relates to RHQ-1108



Note You need to log in before you can comment on or make changes to this bug.