%--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
--%>
Welcome to Monitoring Console
The Monitoring Console is designed to monitor a geronimo instance running in a separate JVM. For a quick demo we will look inside the Geronimo instance the Monitoring Console is running on.
- Click on 'Monitoring → Add Server'. Choose:
- name = localhost
- IP/Hostname = 127.0.0.1
- Port = 4201
- username = system
- password = manager
The Server 'localhost' will appear 'online' i.e. the monitoring console can talk to it.
- Enable data collection by clicking on 'Enable Query'.
- Click on 'localhost' to view live statistics for chosen MBeans. By default 4/5 Mbeans are chosen for statistics collection. Use 'x' to remove MBeans from 'Statistics Collected'. Use '+' in 'Statistics Available' to add an MBean to 'Statistics Collected' MBeans.
- To plot a graph for a statistics click on a link in 'Live Statistics'.
- As an example choose 'JMV Heap Size Current'. Choose the following values:
- Name : must be a unique name
- Description : something
- X label : The lable for the graph
- Y label : Y axis for the graph, e.g. JVM Heap - MB
- Data Series1 :' As is'
- Math Operation : /100000
- Save the graph using 'save'
- To plot a graph for bytes sent each interval click on 'BytesSent' for TomcatWebConnector. Use the following values:
- Name : must be a unique name
- Description : something
- X label : The lable for the graph
- Y label : Y axis for the graph, e.g. Bytes Sent/sec
- data series 1 : 'Change(delta)in', i.e. the bytes sent during 5 minutes (300 sec)
- Math Operation : /300
- Save the graph using 'save'
Hint : Try 'Request Count' for JettyWebConnector
Create a view using 'Add view'. Select all the graphs and save the view.
To see the graphs use 'Show this view'
To return to the main Monitoring panel select the "view" link
from the header of this portlet.