I'm running the jmx plugin and the RHQ monitor is show the JVM under the
jboss server. But how can I monitory my mbean that I see in:
Object Name Filter:
javax.slee.usage > myOperation
for example?
On Tue, Aug 24, 2010 at 6:07 PM, Cesar William <cesarwbr(a)gmail.com> wrote:
Yeah, that it! thanks!
Now how can I execute a jmx mbean operation?
On Tue, Aug 24, 2010 at 12:06 PM, Ian Springer <ian.springer(a)redhat.com>wrote:
> 2010-08-24 11:54:37,248 INFO [ResourceContainer.invoker.daemon-27]
> (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection
> [jnp://jboss:service=Naming
> Port:***CHANGE_ME***] with install path [/opt/
>
mobicents-jainslee-2.1.2.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA].<http://mobicents-jainslee-2.1.2.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA%5D.>
> ..
>
> It's trying to use [jnp://jboss:service=Naming Port:***CHANGE_ME***] as
> the JNP URL. This is obviously not correct. Go the Inventory>Connection tab
> for the server in the RHQ GUI and change the namingUrl connection property
> to the appropriate value for your app server (e.g. jnp://127.0.0.1:1099).
>
> On 08/24/2010 10:58 AM, Cesar William wrote:
>
> The Agent log only show this:
>
> 2010-08-24 11:49:56,975 INFO [InventoryManager.discovery-1]
> (rhq.core.pc.inventory.AutoDiscoveryExecutor)- Process scan auto-detected
> new server resource: scan=[ProcessScan:
> query=[process|basename|match=sshd,process|basename|nomatch|parent=sshd],
> name=[SSHD]], discovered-process=[process: pid=[1333],
> name=[/usr/sbin/sshd], ppid=[1]]
> 2010-08-24 11:49:56,987 INFO [InventoryManager.discovery-1]
> (rhq.core.pc.inventory.InventoryManager)- Sending [server] inventory report
> to Server...
> 2010-08-24 11:49:57,709 INFO [InventoryManager.discovery-1]
> (rhq.core.pc.inventory.InventoryManager)- Syncing local inventory with
> Server inventory...
> 2010-08-24 11:49:57,715 INFO [InventoryManager.discovery-1]
> (rhq.core.pc.inventory.AutoDiscoveryExecutor)- Found 9 servers.
> 2010-08-24 11:50:23,098 INFO [MeasurementManager.sender-1]
> (rhq.core.pc.measurement.MeasurementCollectorRunner)- Measurement collection
> for [8] metrics took 9ms - sending report to Server...
> 2010-08-24 11:51:23,098 INFO [MeasurementManager.sender-1]
> (rhq.core.pc.measurement.MeasurementCollectorRunner)- Measurement collection
> for [5] metrics took 3ms - sending report to Server...
> 2010-08-24 11:52:23,098 INFO [MeasurementManager.sender-1]
> (rhq.core.pc.measurement.MeasurementCollectorRunner)- Measurement collection
> for [8] metrics took 3ms - sending report to Server...
> 2010-08-24 11:53:23,098 INFO [MeasurementManager.sender-1]
> (rhq.core.pc.measurement.MeasurementCollectorRunner)- Measurement collection
> for [5] metrics took 3ms - sending report to Server...
> 2010-08-24 11:54:23,098 INFO [MeasurementManager.sender-1]
> (rhq.core.pc.measurement.MeasurementCollectorRunner)- Measurement collection
> for [8] metrics took 4ms - sending report to Server...
> 2010-08-24 11:54:37,135 INFO [ResourceContainer.invoker.daemon-27]
> (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy
> [client/jboss-common.jar] not found in directory: /opt/
> mobicents-jainslee-2.1.2.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA
> 2010-08-24 11:54:37,155 INFO [ResourceContainer.invoker.daemon-27]
> (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy
> [*/*/lib/jboss.jar] not found in directory: /opt/
> mobicents-jainslee-2.1.2.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA
> 2010-08-24 11:54:37,170 INFO [ResourceContainer.invoker.daemon-27]
> (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy
> [*/*/lib/jboss-transaction.jar] not found in directory: /opt/
> mobicents-jainslee-2.1.2.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA
> 2010-08-24 11:54:37,172 INFO [ResourceContainer.invoker.daemon-27]
> (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy
> [lib/xercesImpl.jar] not found in directory: /opt/
> mobicents-jainslee-2.1.2.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA
> 2010-08-24 11:54:37,173 INFO [ResourceContainer.invoker.daemon-27]
> (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy
> [lib/xml-apis.jar] not found in directory: /opt/
> mobicents-jainslee-2.1.2.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA
> 2010-08-24 11:54:37,177 INFO [ResourceContainer.invoker.daemon-27]
> (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy
> [client/jmx-rmi-connector-client.jar] not found in directory: /opt/
> mobicents-jainslee-2.1.2.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA
> 2010-08-24 11:54:37,179 INFO [ResourceContainer.invoker.daemon-27]
> (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy
> [client/jboss-j2ee.jar] not found in directory: /opt/
> mobicents-jainslee-2.1.2.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA
> 2010-08-24 11:54:37,190 INFO [ResourceContainer.invoker.daemon-27]
> (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy
> [*/*/lib/jboss-management.jar] not found in directory: /opt/
> mobicents-jainslee-2.1.2.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA
> 2010-08-24 11:54:37,205 INFO [ResourceContainer.invoker.daemon-27]
> (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy
> [*/*/lib/jbosssx.jar] not found in directory: /opt/
> mobicents-jainslee-2.1.2.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA
> 2010-08-24 11:54:37,209 INFO [ResourceContainer.invoker.daemon-27]
> (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy
> [lib/endorsed/xml-apis.jar] not found in directory: /opt/
> mobicents-jainslee-2.1.2.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA
> 2010-08-24 11:54:37,224 INFO [ResourceContainer.invoker.daemon-27]
> (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy
> [*/*/lib/hibernate3.jar] not found in directory: /opt/
> mobicents-jainslee-2.1.2.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA
> 2010-08-24 11:54:37,248 INFO [ResourceContainer.invoker.daemon-27]
> (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 115 ms
> 2010-08-24 11:54:37,248 INFO [ResourceContainer.invoker.daemon-27]
> (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection
> [jnp://jboss:service=Naming
> Port:***CHANGE_ME***] with install path [/opt/
>
mobicents-jainslee-2.1.2.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA].<http://mobicents-jainslee-2.1.2.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA%5D.>
> ..
> 2010-08-24 11:54:37,275 INFO [InventoryManager.availability-1]
> (rhq.core.pc.inventory.InventoryManager)- Sending availability report to
> Server...
> 2010-08-24 11:55:23,098 INFO [MeasurementManager.sender-1]
> (rhq.core.pc.measurement.MeasurementCollectorRunner)- Measurement collection
> for [5] metrics took 2ms - sending report to Server...
> 2010-08-24 11:56:23,099 WARN [MeasurementManager.sender-1]
> (rhq.core.pc.measurement.MeasurementCollectorRunner)- Numeric
> fileSystemUsage.diskQueue with id 23749 is invalid, value was 'NaN'
> 2010-08-24 11:56:23,099 INFO [MeasurementManager.sender-1]
> (rhq.core.pc.measurement.MeasurementCollectorRunner)- Measurement collection
> for [29] metrics took 12ms - sending report to Server...
>
> On Tue, Aug 24, 2010 at 11:28 AM, Ian Springer <ian.springer(a)redhat.com>wrote:
>
>> I can't say without more information.
>>
>> I would first go to the Inventory>Connection tab for the AS 5.1 Server
>> Resource in the JON GUI, and see if there is a yellow or red message box at
>> the top of the page with a connection error. If so, you'll need to make sure
>> the AS 5.1 instance and RHQ Agent on its box is up, and then make sure all
>> connection properties are correct and then save the connection properties.
>> If the RHQ Agent is able to successfully connect to the AS 5.1 instance, the
>> yellow box should go away, and the Resource should turn green in the RHQ GUI
>> within a few minutes. If this doesn't happen, you should check your Agent
>> log for errors.
>>
>>
>> On 08/24/2010 09:43 AM, Cesar William wrote:
>>
>> I made that changes but the JbossAS 5.1.0 is always down. why?
>>
>> On Thu, Aug 19, 2010 at 10:55 AM, Rafael Soares
<rafaelcba(a)gmail.com>wrote:
>>
>>> See this thread on jopr forum:
>>> *http://community.jboss.org/thread/147523?tstart=60*
>>>
>>> ____________________________
>>> Rafael Torres Coelho Soares
>>> rafaelcba(a)gmail.com
>>>
http://rafaeltuelho.wordpress.com
>>> Brasília - DF - Brasil
>>>
>>>
>>>
>>> On Thu, Aug 19, 2010 at 10:11, Cesar William
<cesarwbr(a)gmail.com>wrote:
>>>
>>>> I want use a MBean in the Jboss AS 5.1.0. Is there a way to do it?
>>>>
>>>>
>>>> On Thu, Aug 19, 2010 at 9:35 AM, Cesar William
<cesarwbr(a)gmail.com>wrote:
>>>>
>>>>> But I want to centralize all the monitoring. Is there a work around
to
>>>>> do it?
>>>>>
>>>>> On Wed, Aug 18, 2010 at 6:53 PM, Ian Springer <
>>>>> ian.springer(a)redhat.com> wrote:
>>>>>
>>>>>> Because there were some issues with the remote interface to the
>>>>>> Profile Service in that version. These issues have been fixed in
AS
>>>>>> 6.0.Mx and in EAP 5.0.
>>>>>>
>>>>>> However, you can use the admin-console, which is RHQ-based, to
manage
>>>>>> an AS 5.1 instance, because it only uses the local interface to
the Profile
>>>>>> Service.
>>>>>>
>>>>>>
>>>>>> On 08/18/2010 04:49 PM, Cesar William wrote:
>>>>>>
>>>>>> Hi,
>>>>>> why can't jopr monitor jboss AS 5.1.0?
>>>>>>
>>>>>> Att,
>>>>>> Cesar William
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> rhq-users mailing
listrhq-users@lists.fedorahosted.orghttps://fedorahosted.org/mailman/listinfo/rhq-users
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Ian Springer
>>>>>> Sr. Software Developer
>>>>>> JBoss Operations Network
>>>>>> Red Hatian.springer(a)redhat.com
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Att,
>>>>> Cesar William Alvarenga
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Att,
>>>> Cesar William Alvarenga
>>>>
>>>>
>>>> _______________________________________________
>>>> rhq-users mailing list
>>>> rhq-users(a)lists.fedorahosted.org
>>>>
https://fedorahosted.org/mailman/listinfo/rhq-users
>>>>
>>>>
>>>
>>> _______________________________________________
>>> rhq-users mailing list
>>> rhq-users(a)lists.fedorahosted.org
>>>
https://fedorahosted.org/mailman/listinfo/rhq-users
>>>
>>>
>>
>>
>> --
>> Att,
>> Cesar William Alvarenga
>>
>>
>> _______________________________________________
>> rhq-users mailing
listrhq-users@lists.fedorahosted.orghttps://fedorahosted.org/mailman/listinfo/rhq-users
>>
>>
>>
>> --
>> Ian Springer
>> Sr. Software Developer
>> JBoss Operations Network
>> Red Hatian.springer(a)redhat.com
>>
>>
>> _______________________________________________
>> rhq-users mailing list
>> rhq-users(a)lists.fedorahosted.org
>>
https://fedorahosted.org/mailman/listinfo/rhq-users
>>
>>
>
>
> --
> Att,
> Cesar William Alvarenga
>
>
> _______________________________________________
> rhq-users mailing
listrhq-users@lists.fedorahosted.orghttps://fedorahosted.org/mailman/listinfo/rhq-users
>
>
>
> --
> Ian Springer
> Sr. Software Developer
> JBoss Operations Network
> Red Hatian.springer(a)redhat.com
>
>
> _______________________________________________
> rhq-users mailing list
> rhq-users(a)lists.fedorahosted.org
>
https://fedorahosted.org/mailman/listinfo/rhq-users
>
>
--
Att,
Cesar William Alvarenga