monitoring open http sessions on a jboss server
by Attila Heidrich
Hi,
is there a way to monitor the open sessions of a jboss server?
I see I have some metrics for the http connector, and the requests per
second value is really useful, but we need some more detailed statistics.
It would be the best to have some browser to select the parameters... ;)
for webapp dveelopers it would be such a great benefit!
Afaik, there're some internal values in the jboss server, should I extend
the JBoss plugin to get a value, which isn't got now?
Attila
6 years, 3 months
RHQ Plugin to Zookeeper
by barry.barnett@wellsfargo.com
I am currently running RHQ server v4.13.1. We have installed ZooKeeper v3.4.6 and I am trying to have RHQ monitor my ZK instances with a plugin (trying to develop). Once I build the jar file, I load this into my 'plugins' RHQ directory, and perform a Scan via the RHQ GUI to load in the module. I then bounce my RHQ agent on the ZK server. I can see that the JMX server is being monitored, but when I add traits/metrics to the mix, I do not see these appearing in RHQ. The logs say the traits have been loaded, but again, I don't see them in the GUI. Can anyone advise on what I might be doing incorrectly in my Plugin code?
<?xml version="1.0" encoding="UTF-8" ?>
<plugin name="Apache-Zookeeper-RHQ-Plugin"
displayName="Apache Zookeeper RHQ Plugin"
description="Apache Zookeeper RHQ Plugin"
version="1.0"
xsi:schemaLocation="urn:xmlns:rhq-plugin http://git.fedorahosted.org/cgit/rhq/rhq.git/plain/modules/core/client-ap... urn:xmlns:rhq-configuration http://git.fedorahosted.org/cgit/rhq/rhq.git/plain/modules/core/client-ap..."
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:xmlns:rhq-plugin"
xmlns:c="urn:xmlns:rhq-configuration">
<depends plugin="JMX" useClasses="true"/>
<!-- ZooKeeperService -->
<service name="ZooKeeperService"
description="ZooKeeperService"
discovery="org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent"
class="org.rhq.plugins.jmx.MBeanResourceComponent">
<runs-inside>
<parent-resource-type name="JMX Server" plugin="JMX"/>
</runs-inside>
<plugin-configuration>
<!-- properties used by JMXDiscoveryComponent -->
<c:simple-property name="connectorAddress" required="false" type="string"
default="service:jmx:rmi:///jndi/rmi://localhost:20000/jmxrmi" description="JMX Service URL"/>
<c:simple-property name="principal" required="false" type="string"
default="admin" description="JMX login principal/username"/>
<c:simple-property name="credentials" required="false" type="password"
default="activemq" description="JMX login credentials/password"/>
<c:simple-property name="objectName" default="org.apache.ZooKeeperService:name0=%id%" readOnly="true"/>
</plugin-configuration>
<metric description="QuorumSize" displayName="QuorumSize" displayType="summary" dataType="trait" property="QuorumSize"/>
</service>
</plugin>
Regards,
Barry
8 years, 1 month