Bug 536407 (RHQ-75) - add an 'Embedded: yes/no' Trait to the Agent resource
Summary: add an 'Embedded: yes/no' Trait to the Agent resource
Alias: RHQ-75
Product: RHQ Project
Classification: Other
Component: Agent
Version: 0.1
Hardware: All
OS: All
medium vote
Target Milestone: ---
: ---
Assignee: Corey Welton
QA Contact:
URL: http://jira.rhq-project.org/browse/RH...
Keywords: Improvement
Depends On:
TreeView+ depends on / blocked
Reported: 2008-03-12 21:20 UTC by Ian Springer
Modified: 2013-12-07 14:33 UTC (History)
5 users (show)

Clone Of:
Last Closed: 2013-12-07 14:33:59 UTC

Attachments (Terms of Use)

Description Ian Springer 2008-03-12 21:20:00 UTC
(5:08:39 PM) ips: mazz- that would be a handy Trait - Embedded: yes/no
(5:09:11 PM) mazz: assuming the agent knows that :)
(5:09:21 PM) mazz: which, off the top of my head, I don't think it does
(5:12:12 PM) ips: it could figure it out though. look at its own command line and see if it contains "org.rhq.enterprise.agent.AgentMain"

Comment 1 Red Hat Bugzilla 2009-11-10 21:16:23 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-75

Comment 2 Corey Welton 2010-08-12 19:58:21 UTC
mazz - is the info available at the layer it would need to be avail?  if not, we should close this one out

Comment 3 John Mazzitelli 2010-08-24 17:30:08 UTC
I'm sure there are a dozen ways we can figure out if the agent is running embedded in the server (e.g. look in the platform MBeanServer and see if there are any JBossAS related MBeans, use Sigar to see if our process' arguments contain AgentMain or jboss MBain, look at the agent home and see if it matches the standalone setup or the JBoss embedded setup, etc).

However, we don't support the embedded agent and this would be a lesser needed trait. Due to the optional nature of this request and the time it would take to code up for a feature we don't support, I say we close this as WILLNOTFIX. Assigning back to Corey to make the final determination on this one.

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