RHQ-Server / Agent 3.0.0 Stable Release + MySQL 5.1.x not Discovered
by Prashant Nagaraja
Hi ALL,
I just installed rhq-server 3.0.0 and was able configure the server and the
agent successfully.
However all the applications are getting discovered except MySQL 5.1.x
percona builds. The MySQL I am using are :
Percona-Server-server-51-5.1.47-rel11.1.51.rhel5
and
MySQL-server-percona-5.1.34-5.rhel5
The output of discovery results in
-------------------------------------------------------
MySql.MySql Server: Starting discovery...
MySql.MySql Server: Process scan detected a server - scan=[ProcessScan:
query=[process|basename|match=^mysqld$,process|basename|nomatch|parent=^mysqld$],
name=[unix]], process=[process: pid=[3885], name=[/usr/sbin/mysqld],
ppid=[3602]]
MySql.MySql Server: Done.
-----------------------------------------------------------
However I am able to add the MySql Server Manually.
--
Thanks & Regards
Prashant N
13 years, 9 months
WG: how to change resource name programmatically
by SALEWSKI, Steffen
Hi All,
@Joseph:
Thank you very much for the instructions how to add a manual resource to RHQ. This helped me a lot!
@All:
Now, I also have the problem to rename my added resource. I found out that there is the possibility to change properties (e.g. the name of a resource) by calling the equivalent setter method:
var res = ResourceManager.getResource(subject, 10001)
res.setName("My Resource Name")
The question now is: How to commit this property change via CLI, so it is updated on the server?
I could not find an update method or something equal in the CLI API. Btw, another question: Where to find the most recent API description for the CLI interface? The one I currently use is: http://www.redhat.com/docs/en-US/JBoss_ON/2.3/api/remote-api/index.html But there the DiscoveryBoss is completely undescribed. Is there some?
Best regards,
Steffen
Von: rhq-users-bounces(a)lists.fedorahosted.org [mailto:rhq-users-bounces@lists.fedorahosted.org] Im Auftrag von Alexey Kamenchuk
Gesendet: Sonntag, 20. Juni 2010 17:33
An: rhq-users(a)lists.fedorahosted.org
Betreff: how to change resource name programmatically
Hi All
I need to rename my inventoried platforms and JBoss servers
Can this be done via CLI?
Regards
Alexey
13 years, 9 months
Re: jboss events started externally
by John Mazzitelli
[diverting this thread to the rhq-users list, taking it off the devel list]
Did it ever say it was green/up? If not, it sounds like you possibly
have secured the remote JNP endpoint and the agent doesn't know about
the credentials. Did you go to the JBossAS Server resource's Inventory
tab, Connections subtab and confirm its all correct (including the JNP
endpoint and credentials)? If that is wrong, the jboss plugin won't be
able to connect to your JBossAs instance and will report it down.
On 07/23/2010 11:47 AM, John Holland wrote:
> Sorry but I'm still not getting a reliable indication of the state of
> the server. Right now it's been up for 10 minutes, yet JON still says it
> is down. I've tried
>
> inventory
> discovery -f
>
> restarting the agent
> restarting the agent with --cleanconfig
>
>
> I can't seem to get it to tell JON the server is up!!!!
>
> I'm using JON 2.3.0 and rhq-agent 1.3.0.GA
>
> Any help would be great
>
> Thanks,
> John Holland
>
> On 07/23/2010 10:49 AM, John Mazzitelli wrote:
>> If your alert is on the "Operation" success (and the operation is
>> "restart" or "shutdown" - I think that's the op names) then yes.
>>
>> Alternatively, you can set alerts on "AVAILABILITY GOES UP" or
>> "AVAILABILITY GOES DOWN". When the agent detects the JBossAS server has
>> come up from being in a down state, the "Goes Up" alert is triggered.
>> And when the agent detects the JBossAS server goes down (when it
>> previously was seen as up), then the "Goes Down" alert is triggered.
>>
>> On 07/23/2010 10:37 AM, John Holland wrote:
>>> Hello,
>>> I have been experimenting with JON and RHQ and it seems to me that
>>> alerts set to go off when Jboss is restarted or shutdown only kick in
>>> when the action is triggered from JON. So if I do shutdown.sh -S on the
>>> box, the alert is not sent. Is that correct?
>>>
>>> Thanks,
>>> John Holland
>>> _______________________________________________
>>> rhq-devel mailing list
>>> rhq-devel(a)lists.fedorahosted.org
>>> https://fedorahosted.org/mailman/listinfo/rhq-devel
>> _______________________________________________
>> rhq-devel mailing list
>> rhq-devel(a)lists.fedorahosted.org
>> https://fedorahosted.org/mailman/listinfo/rhq-devel
>
13 years, 9 months