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, 2 months
Jboss AS7 agent
by Tordoya, Johnny
Hello,
I'm trying to configure agent for AS7 but have some errors.
I've setting hostname, port, user and password on "Connection settings".
User and password work if I try to connect to http://server:9990.
I need setting additional values?
RHQ version 4.13.1
Log file on debug mode shown the next:
2015-03-31 12:01:06,073 DEBUG [InventoryManager.discovery-1]
(rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Discovering child
Resources for Resource[id=10163,
uuid=bae6a334-61c6-4f21-a778-6ebc8251928a, type={JBossAS7}JBossAS7 Host
Controller, key=hostConfig:
/opt/jboss-as-7.1.0.Final/domain/configuration/host.xml, name=AS Domain
Controller (master31 xx.xx.xx.xx:9990), parent=srvuat03.domain.com,
version=7.1.0.Final]...
2015-03-31 12:01:06,074 INFO
[ResourceContainer.invoker.availCheck.daemon-49]
(rhq.modules.plugins.jbossas7.ASConnection)- JSON to send:
{"operation":"read-attribute","address":[{"host":"null"}],"name":"name"}
2015-03-31 12:01:06,077 INFO
[ResourceContainer.invoker.availCheck.daemon-49]
(rhq.modules.plugins.jbossas7.ASConnection)- Requested management resource
not found: host=null
2015-03-31 12:01:06,081 INFO
[ResourceContainer.invoker.availCheck.daemon-49]
(rhq.modules.plugins.jbossas7.ASConnection)- {
"outcome" : "failed",
"failure-description" : "JBAS014807: Management resource '[(\"host\" =>
\"null\")]' not found",
"rolled-back" : true
}
2015-03-31 12:01:06,081 WARN
[ResourceContainer.invoker.availCheck.daemon-49]
(rhq.modules.plugins.jbossas7.ASConnection)- ------ Detected
'failure-description' when communicating with
server.{"outcome":"failed","failure-description":"JBAS014807: Management
resource '[(\"host\" => \"null\")]' not found","rolled-back":true}
2015-03-31 12:01:06,081 WARN
[ResourceContainer.invoker.availCheck.daemon-49]
(rhq.modules.plugins.jbossas7.BaseServerComponent)- Domain host name seems
to be changed
2015-03-31 12:01:06,081 INFO
[ResourceContainer.invoker.availCheck.daemon-49]
(rhq.modules.plugins.jbossas7.ASConnection)- JSON to send:
{"operation":"read-attribute","address":[],"name":"local-host-name","inclu
de-defaults":true}
2015-03-31 12:01:06,124 INFO
[ResourceContainer.invoker.availCheck.daemon-49]
(rhq.modules.plugins.jbossas7.ASConnection)- Requested management resource
not found:
2015-03-31 12:01:06,129 INFO
[ResourceContainer.invoker.availCheck.daemon-49]
(rhq.modules.plugins.jbossas7.ASConnection)- {
"outcome" : "failed",
"failure-description" : "JBAS014792: Unknown attribute local-host-name",
"rolled-back" : true
}
2015-03-31 12:01:06,129 WARN
[ResourceContainer.invoker.availCheck.daemon-49]
(rhq.modules.plugins.jbossas7.ASConnection)- ------ Detected
'failure-description' when communicating with
server.{"outcome":"failed","failure-description":"JBAS014792: Unknown
attribute local-host-name","rolled-back":true}
2015-03-31 12:01:06,129 INFO
[ResourceContainer.invoker.availCheck.daemon-49]
(rhq.modules.plugins.jbossas7.BaseServerComponent)- Detected domain host
name [null]
2015-03-31 12:01:06,129 INFO
[ResourceContainer.invoker.availCheck.daemon-49]
(rhq.modules.plugins.jbossas7.ASConnection)- JSON to send:
{"operation":"read-attribute","address":[{"host":"null"}],"name":"name"}
2015-03-31 12:01:06,171 INFO
[ResourceContainer.invoker.availCheck.daemon-49]
(rhq.modules.plugins.jbossas7.ASConnection)- Requested management resource
not found: host=null
Thanks!!
Johnny Tordoya
NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies.
9 years