Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Select a server to monitor by providing a host name or IP address. Select the protocol for communication and any security credentials. Save this server definition by pressing Save.

Fill in the fields, and click Add. For example:

  1. Name=GeronimoServer
  2. IP/Hostname=localhost
  3. Wiki Markup
    Protocol=\[default=EJB\]
  4. Wiki Markup
    Port=\[default=4201\] If you change the default protocol from *EJB* to *JMX*, the default port will be 1099.
  5. Username=system
  6. Password=manager
  7. Password(verify)=manager
    Alternatively, it is possible to test the connection using the information provided via the Test these settings link on the right navigation pane.

After a server is successfully added, the browser will be redirected to the main monitoring console page, again listing all Views, Servers, and Graphs configured on the console.

If configuring monitoring on a freshly deployed instance of the monitoring agent, you need to click the Enable Query link associated with the added server. This will enable snapshot collection on the default duration of 5 minutes.

Adding a Graph

Select information to display by adding a graph. Select the server you are monitoring, and then choose an MBean that publishes server information by choosing an MBean from the MBean drop down control. Once you have selected an MBean, you can see what information is available by selecting data from the Data series drop down control. When you have described the data, save this graph by pressing Save.

Select more information to display by adding a second graph. As the two data series scroll in time, we will be able to detect any correlation between the data. Once again, choose a server and an MBean to monitor. Select data from the Data series drop down control. Since data sent increases over time, also select delta for the Data series, so we see the rise and fall of the data over time. Save this graph by pressing Save.

After the graph is added, the browser is redirected to the main monitoring console page, where selecting the name of the graph will open a window that displays the graph.

Adding a View

Now group one or more graphs into a view. Here we add a view for "JVM vs Bytes Sent" by selecting two of the graphs we created in earlier steps. Save the view by pressing Save.

...