I'm a little confused.  With 4.9 using 'rhqctl install' should have given you Storage, Server and Agent.  You should not have had to install the agent separately and to start it you would also use 'rhqctl start'.  It should , as you expect, discover rhq storage, agent and server automatically.  And additionally discover your postgresm Tomcat, etc.

The 'rhqctl install ' of the server component does start up a vanilla EAP on (by default) 9999 and then customizes it.  It dos not run on 9999 once installed and then started.

Agents outside of the server install are not managed via rhqctl.

I'm not sure exactly the state you're in, you may want to try again, take another look at the RHQ installation wiki doc.


On 1/10/2014 9:51 PM, Biondo, Brandon A. wrote:

Hi guys,

 

I have multiple questions which I’ve put in bold, but primarily I need to know what am I missing to have my rhq agent find the resources running on my windows server 2008r2 system.

 

I’m trying to set up a local RHQ monitoring server on a self-contained test bed for my web server. The server hosts:

-          3 instances of Apache Tomcat 7.x

-          1 instance of JBoss EAP 6.1

-          1 instance of AWS

-          1 instance of PostgreSQL

 

I kept the JBoss service turned off to avoid port issues with RHQ-server (it would appear it has a hardcoded check for port 9999 use on install?)

 

After unzipping the rhq bundle and also the jboss native bundle for a properly working service (I assume this works since it works for base jboss? Or do I have to move to JSW?), I installed the RHQ server (java 1.7.25 and postgres 9.2.x backing), storage, and agent. I installed with the flag that does not allow auto-start of the agent so I could configure the first run. Here is the console output from the initial agent run:

 

C:\rhq-agent\bin>rhq-agent.bat -L -u
RHQ 4.9.0 [bb4fa70] (Tue Sep 10 16:05:44 EDT 2013)
Answer the following questions to setup this RHQ Agent instance.
- After each prompt, a default value will appear in square brackets.
  If you press the ENTER key without providing any value,
  the new preference value will be set to that default value.
- If you wish to rely on the system internal default value and
  not define any preference value, enter '!*'.
- If you wish to stop before finishing all the questions but still
  retain those preferences you already set, enter '!+'.
- If you wish to cancel before finishing all the questions and revert
  all preferences back to their original values, enter '!-'.
- If you need help for a particular preference, enter '!?'.

Agent Name [EA-APP.dhcp.saic.com] : EA-APP
Agent Hostname or IP Address [!*] : 127.0.0.1
Agent Port [16163] :
RHQ Server Hostname or IP Address [10.172.42.232] : 127.0.0.1
RHQ Server Port [7080] :
The setup has been completed for the preferences at node [/rhq-agent/default].

 

 

After all of that, I ran the command line ‘discovery’ function. It could only find 4 resources:

-          EA-APP (windows)

-          Cron (cron)

-          RHQ Agent (RHQAgent)

-          Samba Server (Samba)

 

 

I expected to also find everything I listed above plus the JBoss server backing the RHQ server. What am I doing wrong?

 

Regards,

brandon-

 



_______________________________________________
rhq-users mailing list
rhq-users@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/rhq-users