Your SlideShare is downloading. ×
monitoring_jboss
monitoring_jboss
monitoring_jboss
monitoring_jboss
monitoring_jboss
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

monitoring_jboss

1,088

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,088
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Monitoring JBoss Prerequisites In order to monitor a JBoss server, the SOASTA sBox must be able to establish a TCP/IP connection to the server. If you are not sure how to enable this, consult the JBoss documentation. Monitoring requires access to the following three TCP/IP ports: * The Naming service port (usually 1099) * The Naming service RMI port (usually 1098) * The JRMP Invoker service RMI port (usually 4444). If a firewall prevents TCP/IP access, see the topic Monitoring a Server Behind a Firewall. Supported versions SOASTA CloudTest can currently monitor JBoss 4.2. Steps 1. From the SOASTA CloudTest Repository screen, select "Monitoring Servers" under the "Server Resources" section in the Navigator. SOASTA © SOASTA, Inc. 2008. SOASTA and SOASTA CloudTest are trademarks of SOASTA, Inc. All other trademarks are the property of their respective owners.
  • 2. 2. After selecting "Monitoring Servers" from the Navigator, click the "New" icon. The Monitoring Server / Monitor wizard appears: 3. Select “Monitor Server” and click Next. The “Name and Connection” step is shown. 4. Type a name for the Monitoring Server and optionally provide a description. Finally type the hostname or IP address of the server into the “Host” field and click Next. 5. The “Resources” step is shown. Check "App Servers" and click Next. 6. Select JBoss, then enter the JBoss Naming Service port number, the user name, and password. The user name and password are not always required. Check with your network administrator. SOASTA © SOASTA, Inc. 2008. SOASTA and SOASTA CloudTest are trademarks of SOASTA, Inc. All other trademarks are the property of their respective owners.
  • 3. Click the Test Connection button to test the connection. If the connection is successful, you will see a pop-up containing some information about the JBoss server. If the connection fails, you will see an error message explaining what went wrong. 7. Click Next. Review the information to be sure it is correct, and then check the "Create a new Monitor for this Monitor Server" box and click Finish. 8. Enter a name for the Monitor and an optional description, then click Next. SOASTA © SOASTA, Inc. 2008. SOASTA and SOASTA CloudTest are trademarks of SOASTA, Inc. All other trademarks are the property of their respective owners.
  • 4. 9. Review the information to be sure it is correct, and then click Finish. 10.At this point you can choose which statistics you are interested in. For each statistic, you can choose a "sample rate" which determines how often that statistic will be collected. In addition to the standard statistics that are offered (for example, "JVM Heap Size"), you can track the value of any JMX MBean attribute. For example, to track the current number of messages in the JMS topic named "testTopic", check the "JMX Attribute" box, and in the "Arguments" column enter: jboss.mq.destination:name=testTopic, service=Topic:AllMessageCount You can use the "Add Custom Object" button to add as many JMX MBean attributes as you like. Some more examples: • To track the total amount of time spent processing HTTP requests since JBoss started, in the "Arguments" column enter: jboss.web:name=http-0.0.0.0-8080, type=GlobalRequestProcessor:processingTim e • To track the current number of threads in the HTTP thread pool, in the "Arguments" column enter: jboss.web:name=http-0.0.0.0-8080, type=ThreadPool:currentThreadCount SOASTA © SOASTA, Inc. 2008. SOASTA and SOASTA CloudTest are trademarks of SOASTA, Inc. All other trademarks are the property of their respective owners.
  • 5. • To track the current number of open database connections used by the data source named "myDataSource", in the "Arguments" column enter: jboss.jca:name=jdbc/myDataSource, service=ManagedConnectionPool:ConnectionC ount Next steps • To start or stop monitoring, see the topic "Starting and Stopping a Monitor" • To view the collected data, see the topic "The Monitor Analytic Dashboard". • To automatically monitor the Linux server every time a certain test starts, see the topic "Starting a Monitor Automatically When a Test Composition Runs" SOASTA © SOASTA, Inc. 2008. SOASTA and SOASTA CloudTest are trademarks of SOASTA, Inc. All other trademarks are the property of their respective owners.

×