RHQ 4.9 initial install - discovery not discovering
by Biondo, Brandon A.
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-
10 years, 3 months
Deleting an Agent
by Attila Heidrich
Happy New Year Everyone,
may the new year be bugfree and prosperous for you all! (and me too)
Is there a way to rename an agent? I know I can set the name of the
platform, but the naming conventions has changed, so I would like to rename
the agent itself - possibly keeping the measurement data as well.
Until now I only discovered, that I can remove the agent, and rename it in
the agen-configuration.xml, remove the cached settings, and restart the
agent.
But:
If I want to delete an agent from the system, it complains two things:
1. I will lost all measurements (Ok, I knew it)
2. It is somehow related some storage node, so I have to undeploy it first.
What's this exactly? What shall I undeploy and from where? The messag is
below:
You are going to uninventory at least one resource that may be used by the
storage cluster. To avoid any errors in the future, you should run undeploy
the node prior to the this step. Do you really want to continue on your own
risk?
Regards,
Attila
10 years, 3 months
sending alerts from an RHQ cluster
by Attila Heidrich
Hi!
What is the expected e-mail alert sending behaviour of a two-server RHQ
cluster, if one of the servers lost the internet connection? Will the other
one send me the alerts?
Attila
10 years, 3 months
Adding Local JMX Server manually? A bug or a feature?
by Jaromir Hamala
Hi,
I'm trying to manually as JMX server resource using the local/java5se
connection and I'm getting an exception because of empty connection URL:
https://git.fedorahosted.org/cgit/rhq/rhq.git/tree/modules/plugins/jmx/sr...
Is is a bug or is it intentional? I believe the connection url actually
might be empty when local connection is being used, but I might
misunderstood the logic behind it.
Can someone confirm what the right behavior is, please?
Cheers,
Jaromir
--
“Perfection is achieved, not when there is nothing more to add, but when
there is nothing left to take away.”
Antoine de Saint Exupéry
10 years, 3 months
Upgrading from 4.4 > 4.8
by James Holder
I've currently got an RHQ Server / Agent running on RHQ 4.4 with an
Oracle 11gR2 DB. When trying to upgrade to 4.8 running the following
command, it gets to the server install and fails clamiming to be unable
to connect to RHQ App Server.
./rhqctl upgrade --from-agent-dir /opt/rhq-agent/rhq-agent/
--from-server-dir /opt/rhq/rhq-server-4.4.0/ --run-data-migrator do-it
10 years, 3 months