modules/cli-tests/pom.xml | 3 modules/core/dbutils/src/main/java/org/rhq/core/db/ant/dbupgrade/DBUpgrader.java | 30 modules/core/dbutils/src/main/java/org/rhq/core/db/setup/DBSetup.java | 30 modules/core/dbutils/src/main/scripts/dbsetup-build.xml | 11 modules/core/domain/src/main/java/org/rhq/core/domain/alert/Alert.java | 121 modules/core/domain/src/main/java/org/rhq/core/domain/alert/AlertConditionLog.java | 59 modules/core/domain/src/main/java/org/rhq/core/domain/alert/AlertDampening.java | 1 modules/core/domain/src/main/java/org/rhq/core/domain/alert/notification/AlertNotificationLog.java | 58 modules/core/domain/src/main/java/org/rhq/core/domain/auth/Subject.java | 4 modules/core/domain/src/main/java/org/rhq/core/domain/common/EntityContext.java | 33 modules/core/domain/src/main/java/org/rhq/core/domain/criteria/AlertCriteria.java | 34 modules/core/domain/src/main/java/org/rhq/core/domain/criteria/EventCriteria.java | 6 modules/core/domain/src/main/java/org/rhq/core/domain/resource/Resource.java | 10 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/CoreGUI.java | 11 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/Footer.java | 5 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/admin/roles/RolesDataSource.java | 2 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertDataSource.java | 156 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertDetailsView.java | 221 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertHistoryView.java | 231 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertPortletDataSource.java | 2 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertsView.java | 275 - modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/GroupAlertHistoryView.java | 41 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/ResourceAlertHistoryView.java | 40 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/ResourceAlertDefinitionsView.java | 12 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/tab/SubTabLayout.java | 2 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/Table.java | 76 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/TableSection.java | 5 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/TimestampCellFormatter.java | 12 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/dashboard/portlets/recent/alerts/RecentAlertsPortlet.java | 23 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/AlertDefinitionGWTService.java | 6 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/AlertGWTService.java | 50 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/GWTServiceLookup.java | 49 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/ResourceGWTService.java | 6 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/RoleGWTService.java | 2 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/event/EventCompositeHistoryView.java | 30 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/ResourceGroupDetailView.java | 41 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/ResourceDetailView.java | 52 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/alert/ResourceAlertHistoryView.java | 51 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/discovery/ResourceAutodiscoveryView.java | 9 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/report/ReportTopView.java | 8 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/RPCDataSource.java | 35 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/TableUtility.java | 10 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/message/MessageCenter.java | 18 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/AlertDefinitionGWTServiceImpl.java | 6 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/AlertGWTServiceImpl.java | 26 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/ResourceGWTServiceImpl.java | 13 modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/RoleGWTServiceImpl.java | 2 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/admin/role/RemoveAction.java | 5 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/alert/ListAlertDefinitionsUIBean.java | 18 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/alert/ListAlertHistoryUIBean.java | 24 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/alert/ListGroupAlertHistoryUIBean.java | 16 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/common/tag/FunctionTagLibrary.java | 10 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/content/ListReposUIBean.java | 20 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/content/RepoDetailsUIBean.java | 2 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/inventory/resource/ResourceOverviewUIBean.java | 11 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/AckAlertAction.java | 2 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/PortalAction.java | 17 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/ReenableAlertDefinitionAction.java | 21 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/RemoveAction.java | 3 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/ViewAlertAction.java | 8 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/visibility/IndicatorChartsAction.java | 6 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/portlet/criticalalerts/RSSAction.java | 14 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/portlet/criticalalerts/ViewAction.java | 22 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/measurement/graphs/AvailabilityUIBean.java | 6 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/measurement/graphs/IndicatorChartsUIBean.java | 24 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/measurement/tables/MetricsTableUIBean.java | 6 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/subsystem/SubsystemAlertDefinitionUIBean.java | 32 modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/subsystem/SubsystemAlertHistoryUIBean.java | 18 modules/enterprise/gui/portal-war/src/main/webapp/rhq/common/monitor/tables-plain.xhtml | 14 modules/enterprise/gui/portal-war/src/main/webapp/rhq/common/monitor/tables.xhtml | 14 modules/enterprise/remoting/cli/pom.xml | 4 modules/enterprise/remoting/cli/src/main/scripts/rhq-client.build.xml | 2 modules/enterprise/remoting/webservices/pom.xml | 2 modules/enterprise/remoting/webservices/src/test/java/org/rhq/enterprise/server/ws/WsAlertDefinitionManagerTest.java | 2 modules/enterprise/remoting/webservices/src/test/java/org/rhq/enterprise/server/ws/WsAlertManagerTest.java | 2 modules/enterprise/server/container/src/main/resources/etc/RHQ-mib.txt | 58 modules/enterprise/server/jar/pom.xml | 64 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertDefinitionManagerBean.java | 18 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertDefinitionManagerLocal.java | 6 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertDefinitionManagerRemote.java | 6 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerBean.java | 476 - modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerLocal.java | 43 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerRemote.java | 22 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertTemplateManagerBean.java | 16 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/GroupAlertDefinitionManagerBean.java | 26 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/authz/RoleManagerBean.java | 6 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/authz/RoleManagerLocal.java | 8 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/authz/RoleManagerRemote.java | 25 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/content/RepoManagerBean.java | 36 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/content/RepoManagerLocal.java | 2 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/content/RepoManagerRemote.java | 4 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/core/jaas/JDBCLoginModule.java | 7 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/core/jaas/JDBCPrincipalCheckLoginModule.java | 3 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/discovery/DiscoveryBossBean.java | 77 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/discovery/DiscoveryBossRemote.java | 6 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/event/EventManagerBean.java | 39 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/AvailabilityManagerBean.java | 16 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/CallTimeDataManagerBean.java | 6 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementChartsManagerBean.java | 18 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementDataManagerBean.java | 6 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementScheduleManagerBean.java | 36 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/util/MeasurementDataManagerUtility.java | 12 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/subsystem/AlertSubsystemManagerBean.java | 8 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/subsystem/AlertSubsystemManagerLocal.java | 2 modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/webservices/WebservicesManagerBean.java | 35 modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/alert/test/AlertManagerBeanTest.java | 3 modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/authz/test/RoleManagerBeanTest.java | 42 modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/content/test/RepoSyncingTest.java | 2 modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java | 101 modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java | 525 +- modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/EventsInsertPurgeTest.java | 170 modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/resource/group/test/RecursiveResourceGroupTest.java | 24 modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java | 108 modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3Test.java | 7 modules/enterprise/server/jar/src/test/resources/perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip |binary modules/helpers/perftest-data-gen/install_files.sh | 11 modules/helpers/perftest-data-gen/pom.xml | 43 modules/helpers/perftest-data-gen/src/main/java/org/rhq/etc/perftestDataGen/DataGen.java | 108 modules/helpers/perftest-support/data.sh | 3 modules/helpers/perftest-support/pom.xml | 119 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Exporter.java | 154 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/FileFormat.java | 164 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java | 71 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Input.java | 50 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Main.java | 205 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Output.java | 49 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Settings.java | 86 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Entity.java | 134 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/ExportConfiguration.java | 208 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Relationship.java | 77 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbsetup/DbSetup.java | 271 + modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/DbUnitUtil.java | 63 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipFilter.java | 457 + modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipTableIterator.java | 157 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/CsvInput.java | 68 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/FileInputStreamProvider.java | 44 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/InputStreamProvider.java | 39 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/SystemInProvider.java | 36 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/XmlInput.java | 62 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/ZipInputStreamProviderDecorator.java | 49 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/ZippedCsvInput.java | 123 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Annotations.java | 64 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ColumnValues.java | 205 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ConfigurableDependencyInclusionResolver.java | 115 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/DependencyInclusionResolver.java | 40 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/DependencyType.java | 52 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EagerMappingInclusionResolver.java | 74 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Edge.java | 116 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EntityDependencyGraph.java | 375 + modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/JPAUtil.java | 164 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Node.java | 298 + modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/ColumnValuesTableMap.java | 56 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/EntityTranslation.java | 47 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/MappingTranslator.java | 471 + modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/RelationshipTranslation.java | 83 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/CsvOutput.java | 58 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/XmlOutput.java | 60 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/ZippedCsvOutput.java | 118 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/ZippedXmlOutput.java | 50 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java | 314 + modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/PerformanceReportExporter.java | 39 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java | 201 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java | 63 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseStateStorage.java | 37 modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/PerformanceReporting.java | 35 modules/helpers/perftest-support/src/main/resources/db-data-combined.2.94.xml | 378 + modules/helpers/perftest-support/src/main/resources/db-schema-combined.2.94.xml | 2518 ++++++++++ modules/helpers/perftest-support/src/main/resources/log4j.properties | 5 modules/helpers/pom.xml | 2 modules/plugins/augeas/pom.xml | 3 modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlComponent.java | 206 modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlConnectionInfo.java | 92 modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlConnectionManager.java | 124 modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlDatabaseComponent.java | 167 modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlDatabaseDiscoveryComponent.java | 65 modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlDiscoveryComponent.java | 99 modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlPluginLifecycleListener.java | 28 modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlTableComponent.java | 129 modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlTableDiscoveryComponent.java | 85 modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlUserComponent.java | 128 modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlUserDiscoveryComponent.java | 76 modules/plugins/mysql/src/main/resources/META-INF/rhq-plugin.xml | 112 modules/test-utils/pom.xml | 3 pom.xml | 29 184 files changed, 12476 insertions(+), 2081 deletions(-)
New commits: commit 5a98621a7fc36c9940cf60dfe32bab71eae40c68 Merge: 079be6e... 81d68da... Author: Joseph Marques joseph@redhat.com Date: Tue Oct 19 11:30:16 2010 -0400
Merge branch 'master' into gwt-ldap
diff --cc modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertDataSource.java index 6fdc4f6,a14ba41..0a91d76 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertDataSource.java @@@ -18,12 -18,9 +18,10 @@@ */ package org.rhq.enterprise.gui.coregui.client.alert;
- import java.util.Arrays; import java.util.List; - import java.util.Map; import java.util.Set;
+import com.allen_sauer.gwt.log.client.Log; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.rpc.AsyncCallback; diff --cc modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertPortletDataSource.java index 28da47f,bad2073..d823c56 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertPortletDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertPortletDataSource.java @@@ -84,33 -83,25 +84,33 @@@ public class AlertPortletDataSource ext criteria.addFilterResourceIds(getAlertFilterResourceIds()); } if (getAlertPriorityIndex() > 0) {//add priority selection - criteria.addFilterPriority(AlertPriority.getByLegacyIndex(getAlertPriorityIndex())); + criteria.addFilterPriorities(AlertPriority.getByLegacyIndex(getAlertPriorityIndex())); }
- getAlertService().findAlertsByCriteria(criteria, new AsyncCallback<PageList<Alert>>() { + //check for still logged in before submitting server side request + if (userStillLoggedIn()) { + getAlertService().findAlertsByCriteria(criteria, new AsyncCallback<PageList<Alert>>() {
- public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError("Failed to fetch alerts data", caught); - response.setStatus(RPCResponse.STATUS_FAILURE); - processResponse(request.getRequestId(), response); - } + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError("Failed to fetch alerts data", caught); + response.setStatus(RPCResponse.STATUS_FAILURE); + processResponse(request.getRequestId(), response); + }
- public void onSuccess(PageList<Alert> result) { - long fetchTime = System.currentTimeMillis() - start; - com.allen_sauer.gwt.log.client.Log.info(result.size() + " alerts fetched in: " + fetchTime + "ms"); - response.setData(buildRecords(result)); - response.setTotalRows(result.size()); - processResponse(request.getRequestId(), response); - } - }); + public void onSuccess(PageList<Alert> result) { + long fetchTime = System.currentTimeMillis() - start; + Log.info(result.size() + " alerts fetched in: " + fetchTime + "ms"); + response.setData(buildRecords(result)); + response.setTotalRows(result.size()); + processResponse(request.getRequestId(), response); + } + }); + } else {//dump request + response.setTotalRows(0); + processResponse(request.getRequestId(), response); + //TODO: spinder 10/13/10: not sure if we should log anything here. Could be noisy in log with not a lot of gain. + Log.debug("user not logged in. Not fetching any alerts now."); + } }
public int getAlertRangeCompleted() {
commit 81d68daebaef5b91130f80ec70f759adcf5b7b6d Author: John Mazzitelli mazz@redhat.com Date: Tue Oct 19 11:25:27 2010 -0400
bz 644344 - if the user is attempting to log in as the user "admin", fail. without this patch, someone can create a user "admin" in LDAP and get overlord access.
diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/core/jaas/JDBCLoginModule.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/core/jaas/JDBCLoginModule.java index a77b183..c9cf6d0 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/core/jaas/JDBCLoginModule.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/core/jaas/JDBCLoginModule.java @@ -25,6 +25,7 @@ import java.sql.ResultSet; import java.sql.SQLException; import java.util.Map; import java.util.Properties; + import javax.naming.InitialContext; import javax.naming.NamingException; import javax.security.auth.Subject; @@ -32,10 +33,13 @@ import javax.security.auth.callback.CallbackHandler; import javax.security.auth.login.FailedLoginException; import javax.security.auth.login.LoginException; import javax.sql.DataSource; + import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; + import org.jboss.security.SimpleGroup; import org.jboss.security.auth.spi.UsernamePasswordLoginModule; + import org.rhq.enterprise.server.RHQConstants;
/** @@ -94,6 +98,9 @@ public class JDBCLoginModule extends UsernamePasswordLoginModule { @Override protected String getUsersPassword() throws LoginException { String username = getUsername(); + if ("admin".equals(username)) { + throw new FailedLoginException("Cannot log in as overlord"); + } String password = null; Connection conn = null; PreparedStatement ps = null; diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/core/jaas/JDBCPrincipalCheckLoginModule.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/core/jaas/JDBCPrincipalCheckLoginModule.java index f56747a..e862db9 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/core/jaas/JDBCPrincipalCheckLoginModule.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/core/jaas/JDBCPrincipalCheckLoginModule.java @@ -87,6 +87,9 @@ public class JDBCPrincipalCheckLoginModule extends UsernamePasswordLoginModule { @Override protected String getUsersPassword() throws LoginException { String username = getUsername(); + if ("admin".equals(username)) { + throw new FailedLoginException("Cannot log in as overlord"); + } String password = getUsernameAndPassword()[1]; // what did the user enter? Connection conn = null; PreparedStatement ps = null;
commit 06382be928175445b724f8d82259bacb842d1054 Author: Ian Springer ian.springer@redhat.com Date: Tue Oct 19 10:47:47 2010 -0400
fix so 'build-properties' profile is always active unless -P'!build-properties' is specified on the mvn command line
diff --git a/pom.xml b/pom.xml index 22f2544..f95c754 100644 --- a/pom.xml +++ b/pom.xml @@ -858,11 +858,11 @@ <profiles> <profile> <id>ojdbc-driver</id> - <activation> + <activation> <property> - <name>rhq.m2.repo.url.oracle</name> + <name>rhq.m2.repo.url.oracle</name> </property> - </activation> + </activation>
<dependencies> <!-- Oracle JDBC driver - required only if you want to run the tests, or dbsetup, against Oracle. @@ -939,7 +939,6 @@ <!-- Set the java6.home prop to a Java6 JRE dir to enforce that only Java6 APIs are used. --> <profile> <id>check-java-api</id> - <activation> <property> <name>java6.home</name> @@ -986,6 +985,7 @@ <exists>.svn</exists> </file> </activation> + <build> <plugins> <plugin> @@ -1013,11 +1013,14 @@ <profile> <id>build-properties</id> <activation> - <activeByDefault>true</activeByDefault> + <property> + <name>java.home</name> + </property> </activation> + <build> <plugins> - <plugin> + <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> @@ -1098,7 +1101,7 @@ </execution> </executions> </plugin> - </plugins> + </plugins> </build> </profile>
@@ -1149,8 +1152,7 @@ <version>1.0-alpha-2</version> <inherited>true</inherited> </plugin> ---> - +--> <plugin> <!-- must be last plugin in the list --> <groupId>org.codehaus.mojo</groupId> @@ -1166,6 +1168,7 @@ <url>http://gnu.org</url> </license> </licenses> + <developers> <developer> <name>Charles Crouch</name> @@ -1239,6 +1242,7 @@ <timezone>-5</timezone> </developer> </developers> + <contributors> <contributor> <name>Alex Kiefer</name> @@ -1249,6 +1253,7 @@ <timezone>-7</timezone> </contributor> </contributors> + <mailingLists> <mailingList> <name>User List</name>
commit 32cbe01b4a6fece20593a0dfa72264048c5f2842 Author: Joseph Marques joseph@redhat.com Date: Mon Oct 18 14:46:55 2010 -0400
fix facelets to use newly renamed inner class for EntityContext
diff --git a/modules/enterprise/gui/portal-war/src/main/webapp/rhq/common/monitor/tables-plain.xhtml b/modules/enterprise/gui/portal-war/src/main/webapp/rhq/common/monitor/tables-plain.xhtml index b6664e3..5ebdff3 100644 --- a/modules/enterprise/gui/portal-war/src/main/webapp/rhq/common/monitor/tables-plain.xhtml +++ b/modules/enterprise/gui/portal-war/src/main/webapp/rhq/common/monitor/tables-plain.xhtml @@ -44,7 +44,7 @@ onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'">
<rich:column - rendered="#{MetricsTableUIBean.context.category == 'Resource'}"> + rendered="#{MetricsTableUIBean.context.type == 'Resource'}"> <f:facet name="header"> <onc:allSelect target="selectedMetrics" /> </f:facet> @@ -54,7 +54,7 @@ </rich:column>
<rich:column - rendered="#{MetricsTableUIBean.context.category != 'Resource'}"> + rendered="#{MetricsTableUIBean.context.type != 'Resource'}"> <f:facet name="header"> <h:outputText value="Group Members Reporting" /> </f:facet> @@ -66,17 +66,17 @@ <h:outputText value="Name" /> </f:facet>
- <c:if test="#{MetricsTableUIBean.context.category == 'Resource'}"> + <c:if test="#{MetricsTableUIBean.context.type == 'Resource'}"> <h:outputText value="#{metric.label}" /> </c:if>
- <c:if test="#{MetricsTableUIBean.context.category == 'ResourceGroup'}"> + <c:if test="#{MetricsTableUIBean.context.type == 'ResourceGroup'}"> <h:outputLink value="/resource/common/monitor/Visibility.do?mode=chartSingleMetricMultiResource&groupId=#{MetricsTableUIBean.context.groupId}&m=#{metric.definitionId}"> <h:outputText value="#{metric.label}" /> </h:outputLink> </c:if>
- <c:if test="#{MetricsTableUIBean.context.category == 'AutoGroup'}"> + <c:if test="#{MetricsTableUIBean.context.type == 'AutoGroup'}"> <h:outputLink value="/resource/common/monitor/Visibility.do?mode=chartSingleMetricMultiResource&parent=#{MetricsTableUIBean.context.parentResourceId}&type=#{MetricsTableUIBean.context.resourceTypeId}&m=#{metric.definitionId}"> <h:outputText value="#{metric.label}" /> </h:outputLink> @@ -112,7 +112,7 @@ </rich:column>
<rich:column - rendered="#{MetricsTableUIBean.context.category == 'Resource'}"> + rendered="#{MetricsTableUIBean.context.type == 'Resource'}"> <f:facet name="header"> <h:outputText value="Last" /> </f:facet> @@ -121,7 +121,7 @@
<f:facet name="footer"> <rich:columnGroup - rendered="#{MetricsTableUIBean.context.category == 'Resource'}"> + rendered="#{MetricsTableUIBean.context.type == 'Resource'}"> <rich:column colspan="8" width="100%">
<onc:selectCommandButton diff --git a/modules/enterprise/gui/portal-war/src/main/webapp/rhq/common/monitor/tables.xhtml b/modules/enterprise/gui/portal-war/src/main/webapp/rhq/common/monitor/tables.xhtml index b75b9b2..f24c0d8 100644 --- a/modules/enterprise/gui/portal-war/src/main/webapp/rhq/common/monitor/tables.xhtml +++ b/modules/enterprise/gui/portal-war/src/main/webapp/rhq/common/monitor/tables.xhtml @@ -52,7 +52,7 @@ onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'">
<rich:column - rendered="#{MetricsTableUIBean.context.category == 'Resource'}"> + rendered="#{MetricsTableUIBean.context.type == 'Resource'}"> <f:facet name="header"> <onc:allSelect target="selectedMetrics" /> </f:facet> @@ -62,7 +62,7 @@ </rich:column>
<rich:column - rendered="#{MetricsTableUIBean.context.category != 'Resource'}"> + rendered="#{MetricsTableUIBean.context.type != 'Resource'}"> <f:facet name="header"> <h:outputText value="Group Members Reporting" /> </f:facet> @@ -74,17 +74,17 @@ <h:outputText value="Name" /> </f:facet>
- <c:if test="#{MetricsTableUIBean.context.category == 'Resource'}"> + <c:if test="#{MetricsTableUIBean.context.type == 'Resource'}"> <h:outputText value="#{metric.label}" /> </c:if>
- <c:if test="#{MetricsTableUIBean.context.category == 'ResourceGroup'}"> + <c:if test="#{MetricsTableUIBean.context.type == 'ResourceGroup'}"> <h:outputLink value="/resource/common/monitor/Visibility.do?mode=chartSingleMetricMultiResource&groupId=#{MetricsTableUIBean.context.groupId}&m=#{metric.definitionId}"> <h:outputText value="#{metric.label}" /> </h:outputLink> </c:if>
- <c:if test="#{MetricsTableUIBean.context.category == 'AutoGroup'}"> + <c:if test="#{MetricsTableUIBean.context.type == 'AutoGroup'}"> <h:outputLink value="/resource/common/monitor/Visibility.do?mode=chartSingleMetricMultiResource&parent=#{MetricsTableUIBean.context.parentResourceId}&type=#{MetricsTableUIBean.context.resourceTypeId}&m=#{metric.definitionId}"> <h:outputText value="#{metric.label}" /> </h:outputLink> @@ -120,7 +120,7 @@ </rich:column>
<rich:column - rendered="#{MetricsTableUIBean.context.category == 'Resource'}"> + rendered="#{MetricsTableUIBean.context.type == 'Resource'}"> <f:facet name="header"> <h:outputText value="Last" /> </f:facet> @@ -129,7 +129,7 @@
<f:facet name="footer"> <rich:columnGroup - rendered="#{MetricsTableUIBean.context.category == 'Resource'}"> + rendered="#{MetricsTableUIBean.context.type == 'Resource'}"> <rich:column colspan="8" width="100%">
<onc:selectCommandButton
commit 1a02cba03889bb07ea8aa6936a3aae39dad9bde7 Author: Joseph Marques joseph@redhat.com Date: Mon Oct 18 14:23:16 2010 -0400
fix parameter name issue for two named queries
diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerBean.java index d97da01..4a27685 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerBean.java @@ -226,11 +226,11 @@ public class AlertManagerBean implements AlertManagerLocal, AlertManagerRemote { } deleteConditionLogsQuery = entityManager .createNamedQuery(AlertConditionLog.QUERY_DELETE_BY_RESOURCE_GROUPS); - deleteConditionLogsQuery.setParameter("resourceIds", Arrays.asList(context.resourceId)); + deleteConditionLogsQuery.setParameter("groupIds", Arrays.asList(context.groupId));
deleteNotificationLogsQuery = entityManager .createNamedQuery(AlertNotificationLog.QUERY_DELETE_BY_RESOURCE_GROUPS); - deleteNotificationLogsQuery.setParameter("resourceIds", Arrays.asList(context.resourceId)); + deleteNotificationLogsQuery.setParameter("groupIds", Arrays.asList(context.groupId));
deleteAlertsQuery = entityManager.createNamedQuery(Alert.QUERY_DELETE_BY_RESOURCE_GROUPS); deleteAlertsQuery.setParameter("groupIds", Arrays.asList(context.groupId));
commit fd812d75b196600b5af4c16a5261a941dc9c3e39 Author: Joseph Marques joseph@redhat.com Date: Mon Oct 18 13:31:29 2010 -0400
no need to cache GWT.isScript return value, the GWT compiler ensures it's a boolean literal
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/CoreGUI.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/CoreGUI.java index 43fd4e5..6db7fc8 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/CoreGUI.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/CoreGUI.java @@ -88,8 +88,6 @@ public class CoreGUI implements EntryPoint, ValueChangeHandler<String> {
private static Messages messages;
- private static boolean debugMode = true; - public void onModuleLoad() { String hostPageBaseURL = GWT.getHostPageBaseURL(); if (hostPageBaseURL.indexOf("/coregui/") == -1) { @@ -104,8 +102,7 @@ public class CoreGUI implements EntryPoint, ValueChangeHandler<String> {
coreGUI = this;
- debugMode = !GWT.isScript(); - if (debugMode) { + if (isDebugMode()) { KeyIdentifier debugKey = new KeyIdentifier(); debugKey.setCtrlKey(true); debugKey.setKeyName("D"); @@ -335,6 +332,6 @@ public class CoreGUI implements EntryPoint, ValueChangeHandler<String> { }
public static boolean isDebugMode() { - return debugMode; + return !GWT.isScript(); } }
commit 6d06306ee29ecdce9f039469f9b0099b31ded65f Author: Joseph Marques joseph@redhat.com Date: Mon Oct 18 13:26:47 2010 -0400
fix WS tests to match AlertCriteria changes
diff --git a/modules/enterprise/remoting/webservices/src/test/java/org/rhq/enterprise/server/ws/WsAlertDefinitionManagerTest.java b/modules/enterprise/remoting/webservices/src/test/java/org/rhq/enterprise/server/ws/WsAlertDefinitionManagerTest.java index 5ba5ae3..d1ac1e6 100644 --- a/modules/enterprise/remoting/webservices/src/test/java/org/rhq/enterprise/server/ws/WsAlertDefinitionManagerTest.java +++ b/modules/enterprise/remoting/webservices/src/test/java/org/rhq/enterprise/server/ws/WsAlertDefinitionManagerTest.java @@ -254,7 +254,7 @@ public class WsAlertDefinitionManagerTest extends AssertJUnit implements alertCriteria.setFilterName(alertDef1Name); alertCriteria .setFilterDescription("Test alert definition 1 for service-alpha-0"); - alertCriteria.setFilterPriority(AlertPriority.MEDIUM); + alertCriteria.getFilterPriorities().add(AlertPriority.MEDIUM); alertCriteria.setFilterResourceTypeName("service-alpha");
List<Alert> alerts = WEBSERVICE_REMOTE.findAlertsByCriteria(subject, diff --git a/modules/enterprise/remoting/webservices/src/test/java/org/rhq/enterprise/server/ws/WsAlertManagerTest.java b/modules/enterprise/remoting/webservices/src/test/java/org/rhq/enterprise/server/ws/WsAlertManagerTest.java index fe32a97..82f4f2e 100644 --- a/modules/enterprise/remoting/webservices/src/test/java/org/rhq/enterprise/server/ws/WsAlertManagerTest.java +++ b/modules/enterprise/remoting/webservices/src/test/java/org/rhq/enterprise/server/ws/WsAlertManagerTest.java @@ -236,7 +236,7 @@ public class WsAlertManagerTest extends AssertJUnit implements alertCriteria.setFilterName(alertDef1Name); alertCriteria .setFilterDescription("Test alert definition 1 for service-alpha-0"); - alertCriteria.setFilterPriority(AlertPriority.MEDIUM); + alertCriteria.getFilterPriorities().add(AlertPriority.MEDIUM); alertCriteria.setFilterResourceTypeName("service-alpha"); alertCriteria.setFilterStartTime(startDate);
commit daf0195f702c8530f755d707c43d6e92d3810f18 Author: Joseph Marques joseph@redhat.com Date: Mon Oct 18 13:26:11 2010 -0400
rename EntityContext.Category inner class to Type to avoid WS naming conflicts with AlertDampening.Category
* an alternate method of resolving this conflict would have been to use @XmlType and specify the name and namespace, but that would have introduced WS dependencies in core/domain which would have broken GWT-compilation.
diff --git a/modules/core/domain/src/main/java/org/rhq/core/domain/alert/AlertDampening.java b/modules/core/domain/src/main/java/org/rhq/core/domain/alert/AlertDampening.java index f39fd69..17fa633 100644 --- a/modules/core/domain/src/main/java/org/rhq/core/domain/alert/AlertDampening.java +++ b/modules/core/domain/src/main/java/org/rhq/core/domain/alert/AlertDampening.java @@ -35,6 +35,7 @@ import javax.persistence.OneToMany;
@Embeddable public class AlertDampening implements java.io.Serializable { + public enum Category { NONE, // Each time condition set is true CONSECUTIVE_COUNT, // If condition set is true X times consecutively diff --git a/modules/core/domain/src/main/java/org/rhq/core/domain/common/EntityContext.java b/modules/core/domain/src/main/java/org/rhq/core/domain/common/EntityContext.java index b44c46b..a18aa5c 100644 --- a/modules/core/domain/src/main/java/org/rhq/core/domain/common/EntityContext.java +++ b/modules/core/domain/src/main/java/org/rhq/core/domain/common/EntityContext.java @@ -37,15 +37,16 @@ public class EntityContext implements Serializable {
private static final long serialVersionUID = 1L;
- public enum Category { + public enum Type { Resource, // ResourceTemplate, // ResourceGroup, // - AutoGroup, SubsystemView; + AutoGroup, // + SubsystemView; }
// can't make these fields final because need public no-arg ctor for GWT-compile - public Category category; + public Type type; public int resourceId; public int groupId; public int parentResourceId; @@ -54,8 +55,8 @@ public class EntityContext implements Serializable { public EntityContext() { }
- public Category getCategory() { - return category; + public Type getType() { + return type; }
public int getResourceId() { @@ -86,17 +87,17 @@ public class EntityContext implements Serializable { this.resourceTypeId = rtId;
if (this.groupId > 0) { - category = Category.ResourceGroup; + type = Type.ResourceGroup; } else if (this.resourceTypeId > 0) { if (this.parentResourceId > 0) { - category = Category.AutoGroup; + type = Type.AutoGroup; } else { - category = Category.ResourceTemplate; + type = Type.ResourceTemplate; } } else if (this.resourceId > 0) { - category = Category.Resource; + type = Type.Resource; } else { - category = Category.SubsystemView; + type = Type.SubsystemView; } }
@@ -131,7 +132,7 @@ public class EntityContext implements Serializable { public Map<String, String> toCriteriaMap() { Map<String, String> criteriaMap = new HashMap<String, String>();
- switch (category) { + switch (type) { case Resource: criteriaMap.put("resourceId", String.valueOf(resourceId)); break; @@ -151,7 +152,7 @@ public class EntityContext implements Serializable { }
public String getLegacyKey() { - switch (category) { + switch (type) { case Resource: return String.valueOf(resourceId); case ResourceGroup: @@ -169,12 +170,12 @@ public class EntityContext implements Serializable {
@Override public String toString() { - return "EntityContext[category=" + category + ",resourceId=" + resourceId + "," + "groupId=" + groupId + "," + return "EntityContext[category=" + type + ",resourceId=" + resourceId + "," + "groupId=" + groupId + "," + "parent=" + parentResourceId + "," + "type=" + resourceTypeId + "]"; }
public String toShortString() { - switch (category) { + switch (type) { case Resource: return "resource[id=" + resourceId + "]"; case ResourceGroup: diff --git a/modules/core/domain/src/main/java/org/rhq/core/domain/criteria/AlertCriteria.java b/modules/core/domain/src/main/java/org/rhq/core/domain/criteria/AlertCriteria.java index 097c860..86f31c3 100644 --- a/modules/core/domain/src/main/java/org/rhq/core/domain/criteria/AlertCriteria.java +++ b/modules/core/domain/src/main/java/org/rhq/core/domain/criteria/AlertCriteria.java @@ -143,9 +143,9 @@ public class AlertCriteria extends Criteria { }
public void addFilterEntityContext(EntityContext filterEntityContext) { - if (filterEntityContext.getCategory() == EntityContext.Category.Resource) { + if (filterEntityContext.getType() == EntityContext.Type.Resource) { addFilterResourceIds(filterEntityContext.getResourceId()); - } else if (filterEntityContext.getCategory() == EntityContext.Category.ResourceGroup) { + } else if (filterEntityContext.getType() == EntityContext.Type.ResourceGroup) { addFilterResourceGroupIds(filterEntityContext.getGroupId()); } else { // only add filters if category was resource or group diff --git a/modules/core/domain/src/main/java/org/rhq/core/domain/criteria/EventCriteria.java b/modules/core/domain/src/main/java/org/rhq/core/domain/criteria/EventCriteria.java index 9aa52fd..3967b2e 100644 --- a/modules/core/domain/src/main/java/org/rhq/core/domain/criteria/EventCriteria.java +++ b/modules/core/domain/src/main/java/org/rhq/core/domain/criteria/EventCriteria.java @@ -114,11 +114,11 @@ public class EventCriteria extends Criteria { }
public void addFilterEntityContext(EntityContext filterEntityContext) { - if (filterEntityContext.getCategory() == EntityContext.Category.Resource) { + if (filterEntityContext.getType() == EntityContext.Type.Resource) { addFilterResourceId(filterEntityContext.getResourceId()); - } else if (filterEntityContext.getCategory() == EntityContext.Category.ResourceGroup) { + } else if (filterEntityContext.getType() == EntityContext.Type.ResourceGroup) { addFilterResourceGroupId(filterEntityContext.getGroupId()); - } else if (filterEntityContext.getCategory() == EntityContext.Category.AutoGroup) { + } else if (filterEntityContext.getType() == EntityContext.Type.AutoGroup) { addFilterAutoGroupParentResourceId(filterEntityContext.getParentResourceId()); addFilterAutoGroupResourceTypeId(filterEntityContext.getResourceTypeId()); } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertHistoryView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertHistoryView.java index 48aa4c9..ba78b54 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertHistoryView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertHistoryView.java @@ -114,7 +114,7 @@ public class AlertHistoryView extends TableSection { } });
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { getListGrid().setFields(ctimeField, nameField, conditionTextField, priorityField, statusField); } else { getListGrid().setFields(ctimeField, nameField, conditionTextField, priorityField, statusField, diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/common/tag/FunctionTagLibrary.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/common/tag/FunctionTagLibrary.java index c7ad60c..fef118f 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/common/tag/FunctionTagLibrary.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/common/tag/FunctionTagLibrary.java @@ -210,7 +210,7 @@ public class FunctionTagLibrary extends AbstractTagLibrary {
public static String contextFragmentURL() { EntityContext context = WebUtility.getEntityContext(); - switch (context.category) { + switch (context.type) { case Resource: return ParamConstants.RESOURCE_ID_PARAM + "=" + String.valueOf(context.resourceId); case ResourceGroup: @@ -233,7 +233,7 @@ public class FunctionTagLibrary extends AbstractTagLibrary { */ public static String contextFragmentURLForIndicatorsChart() { EntityContext context = WebUtility.getEntityContext(); - switch (context.category) { + switch (context.type) { case AutoGroup: return ParamConstants.PARENT_RESOURCE_ID_PARAM + "=" + String.valueOf(context.parentResourceId) + "&" + ParamConstants.CHILD_RESOURCE_TYPE_ID_PARAM + "=" + String.valueOf(context.resourceTypeId); @@ -338,11 +338,11 @@ public class FunctionTagLibrary extends AbstractTagLibrary { }
public static String getDefaultContextTabURL(EntityContext context) { - if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { return getDefaultResourceTabURL(); - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { return "/rhq/group/monitor/graphs.xhtml"; - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { return "/rhq/autogroup/monitor/graphs.xhtml"; } else { throw new IllegalArgumentException("Do not support getting defaultTabURL for " + context); diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/visibility/IndicatorChartsAction.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/visibility/IndicatorChartsAction.java index df37899..2a13be2 100755 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/visibility/IndicatorChartsAction.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/visibility/IndicatorChartsAction.java @@ -157,13 +157,13 @@ public class IndicatorChartsAction extends DispatchAction { // The load from prefs / session and then get the MetricDisplaySummary stuff // can be reused for refresh()
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { metrics = chartsManager.getMetricDisplaySummariesForResource(user.getSubject(), context.resourceId, viewName); for (MetricDisplaySummary summary : metrics) { summary.setMetricToken(getContextKeyChart(summary)); } - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { metrics = chartsManager.getMetricDisplaySummariesForCompatibleGroup(user.getSubject(), context.groupId, viewName); // loop over the metrics, put the groupId in and format the provided value @@ -173,7 +173,7 @@ public class IndicatorChartsAction extends DispatchAction { }
request.setAttribute(AttrConstants.CHART_DATA_KEYS, metrics); // for the big charts and DashCharts.jsp - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { metrics = chartsManager.getMetricDisplaySummariesForAutoGroup(user.getSubject(), context.parentResourceId, context.resourceTypeId, viewName); for (MetricDisplaySummary summary : metrics) { diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/measurement/graphs/AvailabilityUIBean.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/measurement/graphs/AvailabilityUIBean.java index 3958d5d..8c07fab 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/measurement/graphs/AvailabilityUIBean.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/measurement/graphs/AvailabilityUIBean.java @@ -48,15 +48,15 @@ public class AvailabilityUIBean { // adjust down so the start time of the first point equals the begin time of the metric display range prefs long adjust = (rangePreferences.end - rangePreferences.begin) / DefaultConstants.DEFAULT_CHART_POINTS;
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { data = availabilityManager.findAvailabilitiesForResource(user.getSubject(), context.resourceId, rangePreferences.begin - adjust, rangePreferences.end - adjust, DefaultConstants.DEFAULT_CHART_POINTS, !rangePreferences.readOnly); - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { data = availabilityManager.findAvailabilitiesForResourceGroup(user.getSubject(), context.groupId, rangePreferences.begin - adjust, rangePreferences.end - adjust, DefaultConstants.DEFAULT_CHART_POINTS, !rangePreferences.readOnly); - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { data = availabilityManager.findAvailabilitiesForAutoGroup(user.getSubject(), context.parentResourceId, context.resourceTypeId, rangePreferences.begin - adjust, rangePreferences.end - adjust, DefaultConstants.DEFAULT_CHART_POINTS, !rangePreferences.readOnly); diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/measurement/graphs/IndicatorChartsUIBean.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/measurement/graphs/IndicatorChartsUIBean.java index 572cc88..ae5e6a7 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/measurement/graphs/IndicatorChartsUIBean.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/measurement/graphs/IndicatorChartsUIBean.java @@ -84,11 +84,11 @@ public class IndicatorChartsUIBean { view = viewManager.getSelectedView(subject, context); views = viewManager.getViewNames(subject, context);
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { data = chartsManager.getMetricDisplaySummariesForResource(subject, context.resourceId, view); - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { data = chartsManager.getMetricDisplaySummariesForCompatibleGroup(subject, context.groupId, view); - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { data = chartsManager.getMetricDisplaySummariesForAutoGroup(subject, context.parentResourceId, context.resourceTypeId, view); } @@ -147,13 +147,13 @@ public class IndicatorChartsUIBean { }
private String getContextKeyChart(EntityContext context, MetricDisplaySummary summary) { - if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { if (summary.getScheduleId() != null) return context.getResourceId() + "," + summary.getScheduleId().toString(); throw new IllegalStateException("MetricsDisplayMode was 'RESOURCE', but the scheduleId was null"); - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { return "cg," + context.getGroupId() + "," + summary.getDefinitionId(); - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { return "ag," + context.getParentResourceId() + "," + summary.getDefinitionId() + "," + context.getResourceTypeId(); } else { @@ -206,11 +206,11 @@ public class IndicatorChartsUIBean { context = WebUtility.getEntityContext(); }
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { metrics = chartsManager.getMetricDisplaySummariesForResource(subject, context.resourceId, viewName); - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { metrics = chartsManager.getMetricDisplaySummariesForCompatibleGroup(subject, context.groupId, viewName); - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { metrics = chartsManager.getMetricDisplaySummariesForAutoGroup(subject, context.parentResourceId, context.resourceTypeId, viewName); } else { @@ -265,14 +265,14 @@ public class IndicatorChartsUIBean { // The load from prefs / session and then get the MetricDisplaySummary stuff // can be reused for refresh()
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { metrics = chartsManager.getMetricDisplaySummariesForResource(user.getSubject(), context.resourceId, viewName); for (MetricDisplaySummary summary : metrics) { summary.setMetricToken(getContextKeyChart(summary)); MonitorUtils.formatSimpleMetrics(summary, null); } - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { metrics = chartsManager.getMetricDisplaySummariesForCompatibleGroup(user.getSubject(), context.groupId, viewName); // loop over the metrics, put the groupId in and format the provided value @@ -282,7 +282,7 @@ public class IndicatorChartsUIBean { }
request.setAttribute(AttrConstants.CHART_DATA_KEYS, metrics); // for the big charts and DashCharts.jsp - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { metrics = chartsManager.getMetricDisplaySummariesForAutoGroup(user.getSubject(), context.parentResourceId, context.resourceTypeId, viewName); for (MetricDisplaySummary summary : metrics) { diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/measurement/tables/MetricsTableUIBean.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/measurement/tables/MetricsTableUIBean.java index 0b46dc1..d01c422 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/measurement/tables/MetricsTableUIBean.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/measurement/tables/MetricsTableUIBean.java @@ -87,7 +87,7 @@ public class MetricsTableUIBean { MeasurementPreferences preferences = user.getMeasurementPreferences(); MetricRangePreferences range = preferences.getMetricRangePreferences();
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { //null -> don't filter, we want everything, false -> not only enabled List<MeasurementSchedule> measurementSchedules = scheduleManager.findSchedulesForResourceAndType( user.getSubject(), context.resourceId, DataType.MEASUREMENT, null, true); @@ -101,7 +101,7 @@ public class MetricsTableUIBean { metricSummaries = chartManager.getMetricDisplaySummariesForResource(user.getSubject(), context.resourceId, scheduleIds, range.begin, range.end);
- } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { List<MeasurementDefinition> measurementDefinitions = definitionManager .findMeasurementDefinitionsByResourceType(user.getSubject(), getResourceGroup(user).getResourceType() .getId(), DataType.MEASUREMENT, null); @@ -115,7 +115,7 @@ public class MetricsTableUIBean { metricSummaries = chartManager.getMetricDisplaySummariesForCompatibleGroup(user.getSubject(), context.groupId, defIds, range.begin, range.end, true);
- } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { List<MeasurementDefinition> measurementDefinitions = definitionManager .findMeasurementDefinitionsByResourceType(user.getSubject(), context.getResourceTypeId(), DataType.MEASUREMENT, null); diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerBean.java index fc9a03a..d97da01 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerBean.java @@ -204,7 +204,7 @@ public class AlertManagerBean implements AlertManagerLocal, AlertManagerRemote { Query deleteNotificationLogsQuery = null; Query deleteAlertsQuery = null;
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { if (!authorizationManager.hasResourcePermission(subject, Permission.MANAGE_ALERTS, context.resourceId)) { throw new PermissionException("Can not delete alerts - " + subject + " lacks " + Permission.MANAGE_ALERTS + " for resource[id=" + context.resourceId + "]"); @@ -219,7 +219,7 @@ public class AlertManagerBean implements AlertManagerLocal, AlertManagerRemote { deleteAlertsQuery = entityManager.createNamedQuery(Alert.QUERY_DELETE_BY_RESOURCES); deleteAlertsQuery.setParameter("resourceIds", Arrays.asList(context.resourceId));
- } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { if (!authorizationManager.hasGroupPermission(subject, Permission.MANAGE_ALERTS, context.groupId)) { throw new PermissionException("Can not delete alerts - " + subject + " lacks " + Permission.MANAGE_ALERTS + " for group[id=" + context.groupId + "]"); @@ -235,7 +235,7 @@ public class AlertManagerBean implements AlertManagerLocal, AlertManagerRemote { deleteAlertsQuery = entityManager.createNamedQuery(Alert.QUERY_DELETE_BY_RESOURCE_GROUPS); deleteAlertsQuery.setParameter("groupIds", Arrays.asList(context.groupId));
- } else if (context.category == EntityContext.Category.SubsystemView) { + } else if (context.type == EntityContext.Type.SubsystemView) { if (!authorizationManager.isInventoryManager(subject)) { throw new PermissionException("Can not delete alerts - " + subject + " lacks " + Permission.MANAGE_INVENTORY + " for global alerts history"); @@ -255,7 +255,7 @@ public class AlertManagerBean implements AlertManagerLocal, AlertManagerRemote {
public int acknowledgeAlertsByContext(Subject subject, EntityContext context) { Query query = null; - if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { if (!authorizationManager.hasResourcePermission(subject, Permission.MANAGE_ALERTS, context.resourceId)) { throw new PermissionException("Can not acknowledge alerts - " + subject + " lacks " + Permission.MANAGE_ALERTS + " for resource[id=" + context.resourceId + "]"); @@ -263,7 +263,7 @@ public class AlertManagerBean implements AlertManagerLocal, AlertManagerRemote { query = entityManager.createNamedQuery(Alert.QUERY_ACKNOWLEDGE_BY_RESOURCES); query.setParameter("resourceIds", Arrays.asList(context.resourceId));
- } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { if (!authorizationManager.hasGroupPermission(subject, Permission.MANAGE_ALERTS, context.groupId)) { throw new PermissionException("Can not acknowledge alerts - " + subject + " lacks " + Permission.MANAGE_ALERTS + " for group[id=" + context.groupId + "]"); @@ -271,7 +271,7 @@ public class AlertManagerBean implements AlertManagerLocal, AlertManagerRemote { query = entityManager.createNamedQuery(Alert.QUERY_ACKNOWLEDGE_BY_RESOURCE_GROUPS); query.setParameter("groupIds", Arrays.asList(context.groupId));
- } else if (context.category == EntityContext.Category.SubsystemView) { + } else if (context.type == EntityContext.Type.SubsystemView) { if (!authorizationManager.isInventoryManager(subject)) { throw new PermissionException("Can not acknowledge alerts - " + subject + " lacks " + Permission.MANAGE_INVENTORY + " for global alerts history"); diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/event/EventManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/event/EventManagerBean.java index 293c456..85df363 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/event/EventManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/event/EventManagerBean.java @@ -275,17 +275,17 @@ public class EventManagerBean implements EventManagerLocal, EventManagerRemote { return 0; // nothing to delete, thus 0 were deleted }
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { if (authorizationManager.hasResourcePermission(subject, Permission.MANAGE_EVENTS, context.resourceId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permissions to delete events for resource[id=" + context.resourceId + "]"); } - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { if (authorizationManager.hasGroupPermission(subject, Permission.MANAGE_EVENTS, context.groupId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permissions to delete events for resourceGroup[id=" + context.groupId + "]"); } - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { if (authorizationManager.canViewAutoGroup(subject, context.parentResourceId, context.resourceTypeId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permission to view event history for autoGroup[parentResourceId=" @@ -302,12 +302,12 @@ public class EventManagerBean implements EventManagerLocal, EventManagerRemote {
public int purgeEventsForContext(Subject subject, EntityContext context) {
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { if (authorizationManager.hasResourcePermission(subject, Permission.MANAGE_EVENTS, context.resourceId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permissions to purge events for resource[id=" + context.resourceId + "]"); } - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { if (authorizationManager.hasGroupPermission(subject, Permission.MANAGE_EVENTS, context.groupId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permissions to purge events for resourceGroup[id=" + context.groupId + "]"); @@ -317,10 +317,10 @@ public class EventManagerBean implements EventManagerLocal, EventManagerRemote { }
Query purgeQuery = null; - if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { purgeQuery = entityManager.createNamedQuery(Event.DELETE_ALL_BY_RESOURCE); purgeQuery.setParameter("resourceId", context.resourceId); - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { purgeQuery = entityManager.createNamedQuery(Event.DELETE_ALL_BY_RESOURCE_GROUP); purgeQuery.setParameter("groupId", context.groupId); } @@ -395,17 +395,17 @@ public class EventManagerBean implements EventManagerLocal, EventManagerRemote { public PageList<EventComposite> findEventComposites(Subject subject, EntityContext context, long begin, long end, EventSeverity[] severities, String source, String detail, PageControl pc) {
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { if (authorizationManager.canViewResource(subject, context.resourceId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permission to view event history for resource[id=" + context.resourceId + "]"); } - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { if (authorizationManager.canViewGroup(subject, context.groupId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permission to view event history for resourceGroup[id=" + context.groupId + "]"); } - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { if (authorizationManager.canViewAutoGroup(subject, context.parentResourceId, context.resourceTypeId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permission to view event history for autoGroup[parentResourceId=" @@ -426,11 +426,11 @@ public class EventManagerBean implements EventManagerLocal, EventManagerRemote {
criteria.setPageControl(pc);
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { criteria.addFilterResourceId(context.resourceId); - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { criteria.addFilterResourceGroupId(context.groupId); - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { criteria.addFilterAutoGroupParentResourceId(context.parentResourceId); criteria.addFilterAutoGroupResourceTypeId(context.resourceTypeId); } diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/AvailabilityManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/AvailabilityManagerBean.java index 0f75686..ad6a76f 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/AvailabilityManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/AvailabilityManagerBean.java @@ -165,12 +165,12 @@ public class AvailabilityManagerBean implements AvailabilityManagerLocal, Availa private List<AvailabilityPoint> getAvailabilitiesForContext(Subject subject, EntityContext context, long fullRangeBeginTime, long fullRangeEndTime, int numberOfPoints, boolean withCurrentAvailability) {
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { if (!authorizationManager.canViewResource(subject, context.resourceId)) { throw new PermissionException("User [" + subject.getName() + "] does not have permission to view " + context.toShortString()); } - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { if (!authorizationManager.canViewGroup(subject, context.groupId)) { throw new PermissionException("User [" + subject.getName() + "] does not have permission to view " + context.toShortString()); @@ -188,13 +188,13 @@ public class AvailabilityManagerBean implements AvailabilityManagerLocal, Availa Date fullRangeEndDate = new Date(fullRangeEndTime);
try { - if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { availabilities = findAvailabilityWithinInterval(context.resourceId, fullRangeBeginDate, fullRangeEndDate); - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { availabilities = findResourceGroupAvailabilityWithinInterval(context.groupId, fullRangeBeginDate, fullRangeEndDate); - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { availabilities = findAutoGroupAvailabilityWithinInterval(context.parentResourceId, context.resourceTypeId, fullRangeBeginDate, fullRangeEndDate); } else { @@ -230,7 +230,7 @@ public class AvailabilityManagerBean implements AvailabilityManagerLocal, Availa availabilities.add(0, surrogateAvailability); // add at the head of the list } } else { - Resource surrogateResource = context.category == EntityContext.Category.Resource ? entityManager.find( + Resource surrogateResource = context.type == EntityContext.Type.Resource ? entityManager.find( Resource.class, context.resourceId) : new Resource(-1); Availability surrogateAvailability = new Availability(surrogateResource, fullRangeBeginDate, null); surrogateAvailability.setEndTime(fullRangeEndDate); @@ -339,9 +339,9 @@ public class AvailabilityManagerBean implements AvailabilityManagerLocal, Availa if (withCurrentAvailability) { AvailabilityPoint oldFirstAvailabilityPoint = availabilityPoints.remove(availabilityPoints.size() - 1); AvailabilityType newFirstAvailabilityType = oldFirstAvailabilityPoint.getAvailabilityType(); - if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { newFirstAvailabilityType = getCurrentAvailabilityTypeForResource(subject, context.resourceId); - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { ResourceGroupComposite composite = resourceGroupManager.getResourceGroupComposite(subject, context.groupId); Double firstAvailability = composite.getExplicitAvail(); diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/CallTimeDataManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/CallTimeDataManagerBean.java index d052d88..df8fbd2 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/CallTimeDataManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/CallTimeDataManagerBean.java @@ -203,11 +203,11 @@ public class CallTimeDataManagerBean implements CallTimeDataManagerLocal, CallTi
//criteria.addSortAverage(PageOrdering.DESC);
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { criteria.addFilterResourceId(context.resourceId); - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { criteria.addFilterResourceGroupId(context.groupId); - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { criteria.addFilterAutoGroupParentResourceId(context.parentResourceId); criteria.addFilterAutoGroupResourceTypeId(context.resourceTypeId); } diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementChartsManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementChartsManagerBean.java index 59f76dc..7b4af94 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementChartsManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementChartsManagerBean.java @@ -427,19 +427,19 @@ public class MeasurementChartsManagerBean implements MeasurementChartsManagerLoc return data; }
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { if (authorizationManager.canViewResource(subject, context.resourceId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permission to view metric display summaries for resource[id=" + context.resourceId + "]"); } - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { if (authorizationManager.canViewGroup(subject, context.groupId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permission to view metric display summaries for resourceGroup[id=" + context.groupId + "]"); } - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { if (authorizationManager.canViewAutoGroup(subject, context.parentResourceId, context.resourceTypeId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permission to view metric display summaries for autoGroup[parentResourceId=" @@ -453,11 +453,11 @@ public class MeasurementChartsManagerBean implements MeasurementChartsManagerLoc for (int definitionId : measurementDefinitionIds) {
MeasurementScheduleCriteria criteria = new MeasurementScheduleCriteria(); - if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { criteria.addFilterResourceId(context.resourceId); - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { criteria.addFilterResourceGroupId(context.groupId); - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { criteria.addFilterAutoGroupParentResourceId(context.parentResourceId); criteria.addFilterAutoGroupResourceTypeId(context.resourceTypeId); } @@ -624,13 +624,13 @@ public class MeasurementChartsManagerBean implements MeasurementChartsManagerLoc }
private int getAlertCountForContext(int measurementDefinitionId, EntityContext context, long begin, long end) { - if (context.category == EntityContext.Category.AutoGroup) { + if (context.type == EntityContext.Type.AutoGroup) { return alertManager.getAlertCountByMeasurementDefinitionAndAutoGroup(measurementDefinitionId, context .getParentResourceId(), context.getResourceTypeId(), begin, end); - } else if (context.category == EntityContext.Category.Resource) { + } else if (context.type == EntityContext.Type.Resource) { return alertManager.getAlertCountByMeasurementDefinitionAndResource(measurementDefinitionId, context .getResourceId(), begin, end); - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { return alertManager.getAlertCountByMeasurementDefinitionAndResourceGroup(measurementDefinitionId, context .getGroupId(), begin, end); } diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementDataManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementDataManagerBean.java index df006e8..c4003a9 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementDataManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementDataManagerBean.java @@ -729,18 +729,18 @@ public class MeasurementDataManagerBean implements MeasurementDataManagerLocal, public List<List<MeasurementDataNumericHighLowComposite>> findDataForContext(Subject subject, EntityContext context, int definitionId, long beginTime, long endTime, int numDataPoints) {
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { if (authorizationManager.canViewResource(subject, context.resourceId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permission to view measurement data for resource[id=" + context.resourceId + "]"); } - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { if (authorizationManager.canViewGroup(subject, context.groupId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permission to view measurement data for resourceGroup[id=" + context.groupId + "]"); } - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { if (authorizationManager.canViewAutoGroup(subject, context.parentResourceId, context.resourceTypeId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permission to view measurement data for autoGroup[parentResourceId=" diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementScheduleManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementScheduleManagerBean.java index 1e0b353..4053a25 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementScheduleManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementScheduleManagerBean.java @@ -639,11 +639,11 @@ public class MeasurementScheduleManagerBean implements MeasurementScheduleManage
private void markResources(EntityContext context, int agentId) { ResourceCriteria criteria = new ResourceCriteria(); - if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { criteria.addFilterId(context.resourceId); - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { criteria.addFilterImplicitGroupIds(context.groupId); - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { criteria.addFilterParentResourceId(context.parentResourceId); criteria.addFilterResourceTypeId(context.resourceTypeId); } @@ -676,17 +676,17 @@ public class MeasurementScheduleManagerBean implements MeasurementScheduleManage
public String getMeasurementScheduleSubQueryForContext(Subject subject, EntityContext context, int[] measurementDefinitionIds) { - if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { if (authorizationManager.hasResourcePermission(subject, Permission.MANAGE_MEASUREMENTS, context.resourceId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permission to manage schedules for resource[id=" + context.resourceId + "]"); } - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { if (authorizationManager.hasGroupPermission(subject, Permission.MANAGE_MEASUREMENTS, context.groupId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permission to manage schedules for resourceGroup[id=" + context.groupId + "]"); } - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { if (authorizationManager.hasAutoGroupPermission(subject, Permission.MANAGE_MEASUREMENTS, context.parentResourceId, context.resourceTypeId) == false) { throw new PermissionException("User [" + subject.getName() @@ -696,11 +696,11 @@ public class MeasurementScheduleManagerBean implements MeasurementScheduleManage }
MeasurementScheduleCriteria criteria = new MeasurementScheduleCriteria(); - if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { criteria.addFilterResourceId(context.resourceId); - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { criteria.addFilterResourceGroupId(context.groupId); - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { criteria.addFilterAutoGroupParentResourceId(context.parentResourceId); criteria.addFilterAutoGroupResourceTypeId(context.resourceTypeId); } @@ -1179,19 +1179,19 @@ public class MeasurementScheduleManagerBean implements MeasurementScheduleManage pc.addDefaultOrderingField("definition.displayName");
// check authorization up front, so that criteria-based queries can run without authz checks - if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { if (authorizationManager.canViewResource(subject, context.resourceId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permission to view measurement schedules for resource[id=" + context.resourceId + "]"); } - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { if (authorizationManager.canViewGroup(subject, context.groupId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permission to view measurement schedules for resourceGroup[id=" + context.groupId + "]"); } - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { if (authorizationManager.canViewAutoGroup(subject, context.parentResourceId, context.resourceTypeId) == false) { throw new PermissionException("User [" + subject.getName() + "] does not have permission to view measurement schedules for autoGroup[parentResourceId=" @@ -1202,11 +1202,11 @@ public class MeasurementScheduleManagerBean implements MeasurementScheduleManage // general criteria setup MeasurementScheduleCriteria criteria = new MeasurementScheduleCriteria(); //criteria.addFilterDefinitionIds(measurementDefinitionIds); - if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { criteria.addFilterResourceId(context.resourceId); - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { criteria.addFilterResourceGroupId(context.groupId); - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { criteria.addFilterAutoGroupParentResourceId(context.parentResourceId); criteria.addFilterAutoGroupResourceTypeId(context.resourceTypeId); } @@ -1281,11 +1281,11 @@ public class MeasurementScheduleManagerBean implements MeasurementScheduleManage }
private int getResourceCount(EntityContext context) { - if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { return 1; - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { return resourceGroupManager.getExplicitGroupMemberCount(context.groupId); - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { ResourceCriteria criteria = new ResourceCriteria(); criteria.addFilterParentResourceId(context.parentResourceId); criteria.addFilterResourceTypeId(context.resourceTypeId); diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/util/MeasurementDataManagerUtility.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/util/MeasurementDataManagerUtility.java index 0e37e3d..7a82255 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/util/MeasurementDataManagerUtility.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/util/MeasurementDataManagerUtility.java @@ -212,14 +212,14 @@ public class MeasurementDataManagerUtility { private String getQueryConditionsByDefinitionAndContext(int definitionId, EntityContext context) { String scheduleSubQuery = null;
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { scheduleSubQuery = "" // + "SELECT innerSchedule.id \n" // + " FROM rhq_measurement_sched innerSchedule \n" // + " WHERE innerSchedule.definition = ? \n" // + " AND innerSchedule.resource_id = ? \n";
- } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { scheduleSubQuery = "" // + "SELECT innerSchedule.id \n" // + " FROM rhq_measurement_sched innerSchedule \n" // @@ -228,7 +228,7 @@ public class MeasurementDataManagerUtility { + " WHERE innerSchedule.definition = ? \n" // + " AND groupMap.resource_group_id = ? \n";
- } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { scheduleSubQuery = "" // + "SELECT innerSchedule.id \n" // + " FROM rhq_measurement_sched innerSchedule \n" // @@ -250,11 +250,11 @@ public class MeasurementDataManagerUtility { private Object[] getBindParamsByDefinitionAndContext(int definitionId, EntityContext context) { Object[] bindParams = null;
- if (context.category == EntityContext.Category.Resource) { + if (context.type == EntityContext.Type.Resource) { bindParams = new Object[] { definitionId, context.getResourceId() }; - } else if (context.category == EntityContext.Category.ResourceGroup) { + } else if (context.type == EntityContext.Type.ResourceGroup) { bindParams = new Object[] { definitionId, context.getGroupId() }; - } else if (context.category == EntityContext.Category.AutoGroup) { + } else if (context.type == EntityContext.Type.AutoGroup) { bindParams = new Object[] { definitionId, context.getParentResourceId(), context.getResourceTypeId() }; }
commit 75fdd45424d435c460571036361af0c6fab91680 Author: Joseph Marques joseph@redhat.com Date: Mon Oct 18 03:47:59 2010 -0400
various AlertsView classes, AlertManagerBean refactoring, Remote API refactoring
* alerts views for resource, group, and subsystem views * supports filtering by alert priority * supports actions: delete, delete all, ack, ack all * supports master/details view
* add methods to AlertManagerRemote/Local to mirror 4 available actions in AlertsView * removed any/all methods that could be replaced by one of those 4 methods * removed any/all methods that could be replaced by existing criteria-based finder * removed orphaned @NamedQuery definitions in Alert/AlertConditionLog/AlertNotificationLog
* update all methods exposed remotely to use int[] instead of Integer[] * update all calling paths to pass the correct array type
diff --git a/modules/core/domain/src/main/java/org/rhq/core/domain/alert/Alert.java b/modules/core/domain/src/main/java/org/rhq/core/domain/alert/Alert.java index 72d705d..737e1cf 100644 --- a/modules/core/domain/src/main/java/org/rhq/core/domain/alert/Alert.java +++ b/modules/core/domain/src/main/java/org/rhq/core/domain/alert/Alert.java @@ -50,29 +50,7 @@ import org.rhq.core.domain.alert.notification.AlertNotificationLog; * @author Joseph Marques */ @Entity -@NamedQueries( { - @NamedQuery(name = Alert.QUERY_DASHBOARD_ALL_ADMIN, query = "SELECT a " + " FROM Alert AS a " - + " WHERE a.ctime >= :startDate " + " AND ( :priority = a.alertDefinition.priority OR :priority IS NULL ) "), - @NamedQuery(name = Alert.QUERY_DASHBOARD_ALL, query = "SELECT a " - + " FROM Alert AS a JOIN a.alertDefinition ad JOIN ad.resource res " - + " WHERE a.ctime >= :startDate " - + " AND res.id IN ( SELECT ires FROM Resource ires JOIN ires.implicitGroups g JOIN g.roles r JOIN r.subjects s WHERE s.id = :subjectId ) " - + " AND ( :priority = a.alertDefinition.priority OR :priority IS NULL ) "), - @NamedQuery(name = Alert.QUERY_DASHBOARD_BY_RESOURCE_IDS_ADMIN, query = "SELECT a " + "FROM Alert AS a " - + "WHERE a.ctime >= :startDate " + "AND ( :priority = a.alertDefinition.priority OR :priority IS NULL ) " - + "AND a.alertDefinition.resource.id IN ( :resourceIds )"), - @NamedQuery(name = Alert.QUERY_DASHBOARD_BY_RESOURCE_IDS, query = "SELECT a " - + " FROM Alert AS a JOIN a.alertDefinition ad JOIN ad.resource res " - + " WHERE a.ctime >= :startDate " - + " AND res.id IN ( SELECT ires FROM Resource ires JOIN ires.implicitGroups g JOIN g.roles r JOIN r.subjects s WHERE s.id = :subjectId ) " - + " AND ( :priority = a.alertDefinition.priority OR :priority IS NULL ) " - + " AND res.id IN ( :resourceIds )"), - @NamedQuery(name = Alert.QUERY_FIND_BY_RESOURCE, // - query = "SELECT a " // - + " FROM Alert AS a " - + " WHERE a.alertDefinition.resource.id = :id " - + " AND (a.alertDefinition.id = :alertDefinitionId OR :alertDefinitionId IS NULL) " - + " AND (a.alertDefinition.priority = :priority OR :priority IS NULL) "), +@NamedQueries({ @NamedQuery(name = Alert.QUERY_FIND_BY_MEASUREMENT_DEFINITION_ID, query = "SELECT a " + " FROM Alert AS a " + " JOIN a.alertDefinition definition " + " JOIN definition.conditions condition " + " WHERE condition.measurementDefinition.id = :measurementDefinitionId " @@ -117,30 +95,71 @@ import org.rhq.core.domain.alert.notification.AlertNotificationLog; + " JOIN aDef.resource res JOIN condition.measurementDefinition mDef JOIN mDef.schedules sched" + " WHERE sched.definition = mDef.id AND sched.resource = res AND sched.id IN (:schedIds) " + " AND (a.ctime BETWEEN :startDate AND :endDate)" + "GROUP BY sched.id"), - @NamedQuery(name = Alert.QUERY_FIND_BY_RESOURCE_DATED, // - query = "SELECT a " // - + " FROM Alert AS a " - + " WHERE a.alertDefinition.resource.id = :id " - + " AND (a.alertDefinition.id = :alertDefinitionId OR :alertDefinitionId IS NULL) " - + " AND (a.alertDefinition.priority = :priority OR :priority IS NULL) " - + " AND (a.ctime > :startDate OR :startDate IS NULL) " - + " AND (a.ctime < :endDate OR :endDate IS NULL) "), - @NamedQuery(name = Alert.QUERY_FIND_ALL, query = "SELECT a FROM Alert AS a"), - @NamedQuery(name = Alert.QUERY_FIND_RESOURCES, query = "SELECT res FROM Alert AS a JOIN a.alertDefinition aDef " - + " JOIN aDef.resource res WHERE a.id in (:alertIds) AND res.id IS NOT NULL"), @NamedQuery(name = Alert.QUERY_DELETE_BY_CTIME, query = "" // + "DELETE FROM Alert AS a " // + " WHERE a.ctime BETWEEN :begin AND :end"),// - @NamedQuery(name = Alert.QUERY_DELETE_BY_RESOURCE, query = "" // + @NamedQuery(name = Alert.QUERY_RETURN_EXISTING_IDS, query = "" // + + " SELECT a.id " // + + " FROM Alert a " // + + " WHERE a.id IN ( :alertIds ) "), // + @NamedQuery(name = Alert.QUERY_CHECK_PERMISSION_BY_IDS, query = "" // + + " SELECT COUNT(a) " // + + " FROM Alert a " // + + " JOIN a.alertDefinition ad " // + + " JOIN ad.resource res " // + + " WHERE a.id IN ( :alertIds ) " // + + " AND res.id IN ( SELECT rr.id FROM Resource rr " // + + " JOIN rr.implicitGroups g JOIN g.roles r JOIN r.permissions p JOIN r.subjects s " // + + " WHERE s.id = :subjectId " // + + " AND p = :permission ) "), // + @NamedQuery(name = Alert.QUERY_DELETE_ALL, query = "" // + + "DELETE FROM Alert a "), // + @NamedQuery(name = Alert.QUERY_DELETE_BY_IDS, query = "" // + "DELETE Alert AS alert " // - + " WHERE alert.id IN ( SELECT ia.id " // - + " FROM Alert ia " // - + " WHERE ia.alertDefinition.resource.id = :resourceId )"), + + " WHERE alert.id IN ( :alertIds )"), // @NamedQuery(name = Alert.QUERY_DELETE_BY_RESOURCES, query = "" // - + "DELETE FROM Alert a " // - + " WHERE a.alertDefinition IN ( SELECT ad " // - + " FROM AlertDefinition ad " // - + " WHERE ad.resource.id IN ( :resourceIds ) )"), + + "DELETE FROM Alert alert " // + + " WHERE alert.id IN ( SELECT innerA.id " // + + " FROM AlertDefinition ad " // + + " JOIN ad.alerts innerA " // + + " WHERE ad.resource.id IN ( :resourceIds ) )"), + @NamedQuery(name = Alert.QUERY_DELETE_BY_RESOURCE_GROUPS, query = "" // + + "DELETE FROM Alert alert " // + + " WHERE alert.id IN ( SELECT innerA.id " // + + " FROM AlertDefinition ad " // + + " JOIN ad.alerts innerA " // + + " JOIN ad.resource.implicitGroups rg " // + + " WHERE rg.id IN ( :groupIds ) )"), + @NamedQuery(name = Alert.QUERY_ACKNOWLEDGE_ALL, query = "" // + + "UPDATE Alert AS alert " // + + " SET alert.acknowledgingSubject = :subjectName, " // + + " alert.acknowledgeTime = :ackTime " // + + " WHERE alert.acknowledgingSubject IS NULL "), // + @NamedQuery(name = Alert.QUERY_ACKNOWLEDGE_BY_IDS, query = "" // + + "UPDATE Alert AS alert " // + + " SET alert.acknowledgingSubject = :subjectName, " // + + " alert.acknowledgeTime = :ackTime " // + + " WHERE alert.id IN ( :alertIds ) " // + + " AND alert.acknowledgingSubject IS NULL "), // only ack what hasn't already been ack'ed + @NamedQuery(name = Alert.QUERY_ACKNOWLEDGE_BY_RESOURCES, query = "" // + + "UPDATE Alert AS alert " // + + " SET alert.acknowledgingSubject = :subjectName, " // + + " alert.acknowledgeTime = :ackTime " // + + " WHERE alert.id IN ( SELECT innerA.id " // + + " FROM AlertDefinition ad " // + + " JOIN ad.alerts innerA " // + + " WHERE ad.resource.id IN ( :resourceIds ) )" // + + " AND alert.acknowledgingSubject IS NULL "), + @NamedQuery(name = Alert.QUERY_ACKNOWLEDGE_BY_RESOURCE_GROUPS, query = "" // + + "UPDATE Alert AS alert " // + + " SET alert.acknowledgingSubject = :subjectName, " // + + " alert.acknowledgeTime = :ackTime " // + + " WHERE alert.id IN ( SELECT innerA.id " // + + " FROM AlertDefinition ad " // + + " JOIN ad.alerts innerA " // + + " JOIN ad.resource.implicitGroups rg " // + + " WHERE rg.id IN ( :groupIds ) )" // + + " AND alert.acknowledgingSubject IS NULL "), @NamedQuery(name = Alert.QUERY_FIND_ALL_COMPOSITES_ADMIN, query = "" // + " SELECT new org.rhq.core.domain.alert.composite.AlertHistoryComposite" // + " ( a, parent.id, parent.name ) " // @@ -191,23 +210,23 @@ import org.rhq.core.domain.alert.notification.AlertNotificationLog; @SequenceGenerator(name = "RHQ_ALERT_ID_SEQ", sequenceName = "RHQ_ALERT_ID_SEQ", allocationSize = 100) @Table(name = "RHQ_ALERT") public class Alert implements Serializable { - public static final String QUERY_DASHBOARD_ALL = "Alert.DashboardAll"; - public static final String QUERY_DASHBOARD_ALL_ADMIN = "Alert.DashboardAll_admin"; - public static final String QUERY_DASHBOARD_BY_RESOURCE_IDS = "Alert.DashboardByResourceIds"; - public static final String QUERY_DASHBOARD_BY_RESOURCE_IDS_ADMIN = "Alert.DashboardByResourceIds_admin"; - public static final String QUERY_FIND_ALL = "Alert.findAll"; - public static final String QUERY_FIND_BY_RESOURCE = "Alert.findByResource"; public static final String QUERY_FIND_BY_MEASUREMENT_DEFINITION_ID = "Alert.findByMeasurementDefinitionId"; - public static final String QUERY_FIND_BY_RESOURCE_DATED = "Alert.findByResourceDated"; public static final String QUERY_DELETE_BY_CTIME = "Alert.deleteByCTime"; - public static final String QUERY_DELETE_BY_RESOURCE = "Alert.deleteByResource"; + public static final String QUERY_RETURN_EXISTING_IDS = "Alert.returnExistingIds"; + public static final String QUERY_CHECK_PERMISSION_BY_IDS = "Alert.checkPermissionByIds"; + public static final String QUERY_DELETE_ALL = "Alert.deleteByAll"; + public static final String QUERY_DELETE_BY_IDS = "Alert.deleteByIds"; public static final String QUERY_DELETE_BY_RESOURCES = "Alert.deleteByResources"; + public static final String QUERY_DELETE_BY_RESOURCE_GROUPS = "Alert.deleteByResourceGroups"; + public static final String QUERY_ACKNOWLEDGE_ALL = "Alert.acknowledgeByAll"; + public static final String QUERY_ACKNOWLEDGE_BY_IDS = "Alert.acknowledgeByIds"; + public static final String QUERY_ACKNOWLEDGE_BY_RESOURCES = "Alert.acknowledgeByResources"; + public static final String QUERY_ACKNOWLEDGE_BY_RESOURCE_GROUPS = "Alert.acknowledgeByResourceGroups"; public static final String QUERY_FIND_BY_MEAS_DEF_ID_AND_RESOURCES = "Alert.findByMeasDefIdAndResources"; public static final String QUERY_FIND_BY_MEAS_DEF_ID_AND_RESOURCEGROUP = "Alert.findByMeasDefIdAndResourceGroup"; public static final String QUERY_FIND_BY_MEAS_DEF_ID_AND_AUTOGROUP = "Alert.findByMeasDefIdAndAutoGroup"; public static final String QUERY_FIND_BY_MEAS_DEF_ID_AND_RESOURCE = "Alert.findByMeasDefIdAndResource"; public static final String QUERY_GET_ALERT_COUNT_FOR_SCHEDULES = "Alert.QUERY_GET_ALERT_COUNT_FOR_SCHEDULES"; - public static final String QUERY_FIND_RESOURCES = "Alert.findResources";
public static final String QUERY_NATIVE_TRUNCATE_SQL = "TRUNCATE TABLE RHQ_ALERT";
diff --git a/modules/core/domain/src/main/java/org/rhq/core/domain/alert/AlertConditionLog.java b/modules/core/domain/src/main/java/org/rhq/core/domain/alert/AlertConditionLog.java index 2979bc2..8108605 100644 --- a/modules/core/domain/src/main/java/org/rhq/core/domain/alert/AlertConditionLog.java +++ b/modules/core/domain/src/main/java/org/rhq/core/domain/alert/AlertConditionLog.java @@ -42,20 +42,46 @@ import javax.persistence.Table; * @author Joseph Marques */ @Entity -@NamedQueries( { - @NamedQuery(name = "AlertConditinLog.findAll", query = "SELECT acl " + "FROM AlertConditionLog AS acl"), - @NamedQuery(name = AlertConditionLog.QUERY_FIND_UNMATCHED_LOG_BY_ALERT_CONDITION_ID, query = "SELECT acl " - + "FROM AlertConditionLog AS acl " + "WHERE acl.condition.id = :alertConditionId " + "AND acl.alert IS NULL"), - @NamedQuery(name = AlertConditionLog.QUERY_FIND_UNMATCHED_LOGS_BY_ALERT_DEFINITION_ID, query = "SELECT acl " - + "FROM AlertConditionLog AS acl " + "WHERE acl.condition.alertDefinition.id = :alertDefinitionId " - + "AND acl.alert IS NULL"), - @NamedQuery(name = AlertConditionLog.QUERY_DELETE_BY_RESOURCE, query = "DELETE AlertConditionLog acl " - + "WHERE acl.id IN " + "( SELECT iacl.id " + "FROM AlertConditionLog iacl " - + "WHERE iacl.condition.alertDefinition.resource.id = :resourceId " + ")"), - @NamedQuery(name = AlertConditionLog.QUERY_DELETE_BY_ALERT_CTIME, query = "DELETE AlertConditionLog acl " - + "WHERE acl.id IN " + "( SELECT iacl.id " + "FROM AlertConditionLog iacl " - + "WHERE iacl.alert.ctime BETWEEN :begin AND :end " + ")"), - @NamedQuery(name = AlertConditionLog.QUERY_DELETE_BY_RESOURCES, query = "DELETE AlertConditionLog acl WHERE acl.condition IN ( SELECT ac FROM AlertCondition ac WHERE ac.alertDefinition IN ( SELECT ad FROM AlertDefinition ad WHERE ad.resource.id IN ( :resourceIds ) ))"), +@NamedQueries({ + @NamedQuery(name = AlertConditionLog.QUERY_FIND_UNMATCHED_LOG_BY_ALERT_CONDITION_ID, // + query = "SELECT acl " // + + " FROM AlertConditionLog AS acl " // + + " WHERE acl.condition.id = :alertConditionId " // + + " AND acl.alert IS NULL"), + @NamedQuery(name = AlertConditionLog.QUERY_FIND_UNMATCHED_LOGS_BY_ALERT_DEFINITION_ID, // + query = "SELECT acl " // + + " FROM AlertConditionLog AS acl " // + + " WHERE acl.condition.alertDefinition.id = :alertDefinitionId " // + + " AND acl.alert IS NULL"), // + @NamedQuery(name = AlertConditionLog.QUERY_DELETE_ALL, // + query = "DELETE AlertConditionLog acl " // + + " WHERE acl.alert.id IN ( SELECT alert.id " // + + " FROM Alert alert )"), + @NamedQuery(name = AlertConditionLog.QUERY_DELETE_BY_ALERT_IDS, // + query = "DELETE AlertConditionLog acl " // + + " WHERE acl.id IN ( SELECT ac.id " // + + " FROM Alert a " // + + " JOIN a.conditionLogs ac" // + + " WHERE a.id IN ( :alertIds ) )"), + @NamedQuery(name = AlertConditionLog.QUERY_DELETE_BY_RESOURCES, // + query = "DELETE AlertConditionLog acl " // + + " WHERE acl.alert.id IN ( SELECT alert.id " // + + " FROM AlertDefinition ad " // + + " JOIN ad.alerts alert " // + + " WHERE ad.resource.id IN ( :resourceIds ) ))"), + @NamedQuery(name = AlertConditionLog.QUERY_DELETE_BY_RESOURCE_GROUPS, // + query = "DELETE AlertConditionLog acl " // + + " WHERE acl.alert.id IN ( SELECT alert.id " // + + " FROM AlertDefinition ad " // + + " JOIN ad.alerts alert " // + + " JOIN ad.resource res " // + + " JOIN res.implicitGroups rg " // + + " WHERE rg.id IN ( :groupIds ) ))"), + @NamedQuery(name = AlertConditionLog.QUERY_DELETE_BY_ALERT_CTIME, // + query = "DELETE AlertConditionLog acl " // + + " WHERE acl.id IN ( SELECT iacl.id " // + + " FROM AlertConditionLog iacl " // + + " WHERE iacl.alert.ctime BETWEEN :begin AND :end )"), @NamedQuery(name = AlertConditionLog.QUERY_DELETE_UNMATCHED_BY_ALERT_DEFINITION_ID, // query = "DELETE AlertConditionLog acl" // + " WHERE acl.id IN ( SELECT iacl.id " // @@ -67,8 +93,11 @@ import javax.persistence.Table; public class AlertConditionLog implements Serializable { public static final String QUERY_FIND_UNMATCHED_LOG_BY_ALERT_CONDITION_ID = "AlertConditinLog.findUnmatchedLogByAlertConditionId"; public static final String QUERY_FIND_UNMATCHED_LOGS_BY_ALERT_DEFINITION_ID = "AlertConditinLog.findUnmatchedLogsByAlertDefinitionId"; - public static final String QUERY_DELETE_BY_RESOURCE = "AlertConditionLog.deleteByResource"; + + public static final String QUERY_DELETE_ALL = "AlertConditionLog.deleteByAll"; + public static final String QUERY_DELETE_BY_ALERT_IDS = "AlertConditionLog.deleteByAlertIds"; public static final String QUERY_DELETE_BY_RESOURCES = "AlertConditionLog.deleteByResources"; + public static final String QUERY_DELETE_BY_RESOURCE_GROUPS = "AlertConditionLog.deleteByResourceGroups"; public static final String QUERY_DELETE_BY_ALERT_CTIME = "AlertConditionLog.deleteByAlertCTime"; public static final String QUERY_DELETE_UNMATCHED_BY_ALERT_DEFINITION_ID = "AlertConditionLog.deleteUnmatchedByAlertDefinitionId";
diff --git a/modules/core/domain/src/main/java/org/rhq/core/domain/alert/notification/AlertNotificationLog.java b/modules/core/domain/src/main/java/org/rhq/core/domain/alert/notification/AlertNotificationLog.java index de07675..9408ce2 100644 --- a/modules/core/domain/src/main/java/org/rhq/core/domain/alert/notification/AlertNotificationLog.java +++ b/modules/core/domain/src/main/java/org/rhq/core/domain/alert/notification/AlertNotificationLog.java @@ -45,29 +45,54 @@ import javax.xml.bind.annotation.XmlTransient;
import org.rhq.core.domain.alert.Alert;
+/** + * A log record for a triggered action and/or notification taken for a fired alert. + * + * @author Joseph Marques + */ @Entity -@NamedQueries( { @NamedQuery(name = AlertNotificationLog.QUERY_DELETE_BY_ALERT_CTIME, // - query = "DELETE AlertNotificationLog anl WHERE anl.id IN (" - + "SELECT an.id FROM Alert a JOIN a.alertNotificationLogs an WHERE a.ctime BETWEEN :begin AND :end)"), - - @NamedQuery(name = AlertNotificationLog.QUERY_DELETE_BY_RESOURCE, // - query = "DELETE AlertNotificationLog anl WHERE anl.id IN (" - + "SELECT an.id FROM Alert a JOIN a.alertNotificationLogs an JOIN a.alertDefinition def " - + "WHERE def.resource.id = :resourceId)"), - +@NamedQueries({ + @NamedQuery(name = AlertNotificationLog.QUERY_DELETE_ALL, // + query = "DELETE AlertNotificationLog anl " // + + " WHERE anl.alert.id IN ( SELECT alert.id " // + + " FROM Alert alert )"), + @NamedQuery(name = AlertNotificationLog.QUERY_DELETE_BY_ALERT_IDS, // + query = "DELETE AlertNotificationLog anl " // + + " WHERE anl.id IN ( SELECT an.id " // + + " FROM Alert a " // + + " JOIN a.alertNotificationLogs an" // + + " WHERE a.id IN ( :alertIds ) )"), @NamedQuery(name = AlertNotificationLog.QUERY_DELETE_BY_RESOURCES, // - query = "DELETE AlertNotificationLog anl WHERE anl.id IN (" - + "SELECT an.id FROM Alert a JOIN a.alertNotificationLogs an JOIN a.alertDefinition def " - + "WHERE def.resource.id IN ( :resourceIds ) )") }) + query = "DELETE AlertNotificationLog anl " // + + " WHERE anl.alert.id IN ( SELECT alert.id " // + + " FROM AlertDefinition ad " // + + " JOIN ad.alerts alert " // + + " WHERE ad.resource.id IN ( :resourceIds ) ))"), + @NamedQuery(name = AlertNotificationLog.QUERY_DELETE_BY_RESOURCE_GROUPS, // + query = "DELETE AlertNotificationLog anl " // + + " WHERE anl.alert.id IN ( SELECT alert.id " // + + " FROM AlertDefinition ad " // + + " JOIN ad.alerts alert " // + + " JOIN ad.resource res" // + + " JOIN res.implicitGroups rg " // + + " WHERE rg.id IN ( :groupIds ) ))"), + @NamedQuery(name = AlertNotificationLog.QUERY_DELETE_BY_ALERT_CTIME, // + query = "DELETE AlertNotificationLog anl " // + + " WHERE anl.id IN ( SELECT an.id " // + + " FROM Alert a " // + + " JOIN a.alertNotificationLogs an " // + + " WHERE a.ctime BETWEEN :begin AND :end )") }) @SequenceGenerator(name = "RHQ_ALERT_NOTIF_LOG_ID_SEQ", sequenceName = "RHQ_ALERT_NOTIF_LOG_ID_SEQ") @Table(name = "RHQ_ALERT_NOTIF_LOG") @XmlAccessorType(XmlAccessType.FIELD) public class AlertNotificationLog implements Serializable { private static final long serialVersionUID = 1L;
- public static final String QUERY_DELETE_BY_RESOURCE = "AlertNotificationLog.deleteByResource"; - public static final String QUERY_DELETE_BY_ALERT_CTIME = "AlertNotificationLog.deleteByAlertCtime"; + public static final String QUERY_DELETE_ALL = "AlertNotificationLog.deleteByAll"; + public static final String QUERY_DELETE_BY_ALERT_IDS = "AlertNotificationLog.deleteByAlertIds"; public static final String QUERY_DELETE_BY_RESOURCES = "AlertNotificationLog.deleteByResources"; + public static final String QUERY_DELETE_BY_RESOURCE_GROUPS = "AlertNotificationLog.deleteByResourceGroups"; + public static final String QUERY_DELETE_BY_ALERT_CTIME = "AlertNotificationLog.deleteByAlertCtime";
public static final String QUERY_NATIVE_TRUNCATE_SQL = "TRUNCATE TABLE RHQ_ALERT_NOTIF_LOG";
@@ -76,11 +101,6 @@ public class AlertNotificationLog implements Serializable { @Id private int id;
- /* - * note, currently there is no distinction between successful and failed notifications, but there should be in the - * future - */ - @JoinColumn(name = "ALERT_ID", referencedColumnName = "ID") @ManyToOne @XmlTransient diff --git a/modules/core/domain/src/main/java/org/rhq/core/domain/auth/Subject.java b/modules/core/domain/src/main/java/org/rhq/core/domain/auth/Subject.java index ff8ef88..25bab8b 100644 --- a/modules/core/domain/src/main/java/org/rhq/core/domain/auth/Subject.java +++ b/modules/core/domain/src/main/java/org/rhq/core/domain/auth/Subject.java @@ -57,7 +57,7 @@ import org.rhq.core.domain.util.Recordizable; * @author Greg Hinkle */ @Entity -@NamedQueries( { +@NamedQueries({ @NamedQuery(name = Subject.QUERY_FIND_BY_IDS, query = "" // + "SELECT s " // + " FROM Subject s " // @@ -466,7 +466,7 @@ public class Subject implements Serializable, Recordizable {
@Override public String toString() { - return "org.rhq.core.domain.auth.Subject[id=" + id + ",name=" + name + "]"; + return "Subject[id=" + id + ",name=" + name + "]"; }
@Override diff --git a/modules/core/domain/src/main/java/org/rhq/core/domain/common/EntityContext.java b/modules/core/domain/src/main/java/org/rhq/core/domain/common/EntityContext.java index 493c4d6..b44c46b 100644 --- a/modules/core/domain/src/main/java/org/rhq/core/domain/common/EntityContext.java +++ b/modules/core/domain/src/main/java/org/rhq/core/domain/common/EntityContext.java @@ -41,7 +41,7 @@ public class EntityContext implements Serializable { Resource, // ResourceTemplate, // ResourceGroup, // - AutoGroup; + AutoGroup, SubsystemView; }
// can't make these fields final because need public no-arg ctor for GWT-compile @@ -96,7 +96,7 @@ public class EntityContext implements Serializable { } else if (this.resourceId > 0) { category = Category.Resource; } else { - throw new IllegalArgumentException(getUnknownContextMessage()); + category = Category.SubsystemView; } }
@@ -116,6 +116,10 @@ public class EntityContext implements Serializable { return new EntityContext(null, null, null, resourceTypeId); }
+ public static EntityContext forSubsystemView() { + return new EntityContext(null, null, null, null); + } + public static EntityContext fromCriteriaMap(Map<String, Object> criteriaMap) { return new EntityContext(// Integer.valueOf((String) criteriaMap.get("resourceId")), // diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/CoreGUI.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/CoreGUI.java index 5bce6ba..43fd4e5 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/CoreGUI.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/CoreGUI.java @@ -37,7 +37,7 @@ import com.smartgwt.client.widgets.Canvas; import com.smartgwt.client.widgets.layout.VLayout;
import org.rhq.enterprise.gui.coregui.client.admin.AdministrationView; -import org.rhq.enterprise.gui.coregui.client.alert.AlertsView; +import org.rhq.enterprise.gui.coregui.client.alert.AlertHistoryView; import org.rhq.enterprise.gui.coregui.client.bundle.BundleTopView; import org.rhq.enterprise.gui.coregui.client.dashboard.DashboardsView; import org.rhq.enterprise.gui.coregui.client.inventory.groups.detail.ResourceGroupDetailView; @@ -215,7 +215,7 @@ public class CoreGUI implements EntryPoint, ValueChangeHandler<String> { } else if (breadcrumbName.equals(TaggedView.VIEW_ID)) { canvas = new TaggedView("Tag"); } else if (breadcrumbName.equals("Subsystems")) { - canvas = new AlertsView("Alert"); + canvas = new AlertHistoryView("Alert"); } else if (breadcrumbName.equals(ReportTopView.VIEW_ID)) { canvas = new ReportTopView("Report"); } else if (breadcrumbName.equals(TestConfigurationView.VIEW_ID)) { diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/admin/roles/RolesDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/admin/roles/RolesDataSource.java index a12bec5..fc58023 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/admin/roles/RolesDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/admin/roles/RolesDataSource.java @@ -160,7 +160,7 @@ public class RolesDataSource extends RPCDataSource<Role> { final ListGridRecord rec = new ListGridRecord(data); final Role newRole = copyValues(rec);
- roleService.removeRoles(new Integer[] { newRole.getId() }, new AsyncCallback<Void>() { + roleService.removeRoles(new int[] { newRole.getId() }, new AsyncCallback<Void>() { public void onFailure(Throwable caught) { CoreGUI.getErrorHandler().handleError("Failed to delete role", caught); } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertDataSource.java index aaee63f..a14ba41 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertDataSource.java @@ -18,30 +18,28 @@ */ package org.rhq.enterprise.gui.coregui.client.alert;
-import java.util.Arrays; import java.util.List; -import java.util.Map; import java.util.Set;
import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.core.DataClass; -import com.smartgwt.client.data.Criteria; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; import com.smartgwt.client.data.DataSourceField; -import com.smartgwt.client.data.fields.DataSourceBooleanField; +import com.smartgwt.client.data.fields.DataSourceDateField; import com.smartgwt.client.data.fields.DataSourceIntegerField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.rpc.RPCResponse; -import com.smartgwt.client.widgets.grid.ListGrid; import com.smartgwt.client.widgets.grid.ListGridRecord;
import org.rhq.core.domain.alert.Alert; import org.rhq.core.domain.alert.AlertCondition; import org.rhq.core.domain.alert.AlertConditionLog; +import org.rhq.core.domain.alert.AlertPriority; import org.rhq.core.domain.alert.notification.AlertNotificationLog; +import org.rhq.core.domain.common.EntityContext; import org.rhq.core.domain.criteria.AlertCriteria; import org.rhq.core.domain.measurement.MeasurementConverterClient; import org.rhq.core.domain.util.PageList; @@ -49,95 +47,61 @@ import org.rhq.enterprise.gui.coregui.client.CoreGUI; import org.rhq.enterprise.gui.coregui.client.gwt.AlertGWTServiceAsync; import org.rhq.enterprise.gui.coregui.client.gwt.GWTServiceLookup; import org.rhq.enterprise.gui.coregui.client.util.RPCDataSource; -import org.rhq.enterprise.gui.coregui.client.util.message.Message;
/** - * A server-side SmartGWT DataSource for CRUD of {@link Alert}s. - * * @author Ian Springer + * @author Joseph Marques */ public class AlertDataSource extends RPCDataSource<Alert> { private AlertGWTServiceAsync alertService = GWTServiceLookup.getAlertService();
+ private EntityContext entityContext; + public AlertDataSource() { + this(EntityContext.forSubsystemView()); + } + + public AlertDataSource(EntityContext context) { super(); + this.entityContext = context;
- setCanMultiSort(true); + // TODO: when these fields are added, AlertHistoryView breaks -- why?
- List<DataSourceField> fields = addDataSourceFields(); - addFields(fields); + //List<DataSourceField> fields = addDataSourceFields(); + //addFields(fields); }
@Override protected List<DataSourceField> addDataSourceFields() { List<DataSourceField> fields = super.addDataSourceFields();
- DataSourceField idField = new DataSourceIntegerField("id", "Id"); - idField.setPrimaryKey(true); - idField.setHidden(true); - fields.add(idField); + DataSourceDateField ctimeField = new DataSourceDateField(AlertCriteria.SORT_FIELD_CTIME, "Creation Time"); + addField(ctimeField); + + DataSourceIntegerField ackTimeField = new DataSourceIntegerField("acknowledgeTime", "Ack Time"); + addField(ackTimeField); + + DataSourceTextField ackSubjectField = new DataSourceTextField("acknowledgingSubject", "Ack Subject"); + addField(ackSubjectField);
DataSourceTextField nameField = new DataSourceTextField(AlertCriteria.SORT_FIELD_NAME, "Name"); - fields.add(nameField); + addField(nameField);
DataSourceTextField conditionTextField = new DataSourceTextField("conditionText", "Condition Text"); - conditionTextField.setCanSortClientOnly(true); - fields.add(conditionTextField); + addField(conditionTextField);
DataSourceTextField conditionValueField = new DataSourceTextField("conditionValue", "Condition Value"); - conditionValueField.setCanSortClientOnly(true); - fields.add(conditionValueField); + addField(conditionValueField);
- DataSourceTextField resourceName = new DataSourceTextField("resourceName", "Resource"); - resourceName.setCanSortClientOnly(true); - fields.add(resourceName); + DataSourceTextField resourceNameField = new DataSourceTextField("resourceName", "Resource"); + addField(resourceNameField);
- // DataSourceTextField recoveryInfoField = new DataSourceTextField("recoveryInfo", "Recovery Info"); - // recoveryInfoField.setCanSortClientOnly(true); - // fields.add(recoveryInfoField); - - // TODO: Will using DataSourceEnumField here allow us to do - // record.setAttribute("priority", alert.getAlertDefinition().getPriority()), rather than - // record.setAttribute("priority", alert.getAlertDefinition().getPriority().name()) in - // createRecord() below? DataSourceTextField priorityField = new DataSourceTextField(AlertCriteria.SORT_FIELD_PRIORITY, "Priority", 15); - fields.add(priorityField); - - DataSourceIntegerField ctimeField = new DataSourceIntegerField(AlertCriteria.SORT_FIELD_CTIME, "Creation Time"); - fields.add(ctimeField); - - DataSourceBooleanField boolField = new DataSourceBooleanField("ack", "Ack'd"); - boolField.setCanSortClientOnly(true); - fields.add(boolField); + addField(priorityField);
return fields; }
- void deleteAlerts(final AlertsView alertsView) { - ListGrid listGrid = alertsView.getListGrid(); - ListGridRecord[] records = listGrid.getSelection(); - - final Integer[] alertIds = new Integer[records.length]; - for (int i = 0, selectionLength = records.length; i < selectionLength; i++) { - ListGridRecord record = records[i]; - Integer alertId = record.getAttributeAsInt("id"); - alertIds[i] = alertId; - } - - this.alertService.deleteResourceAlerts(alertIds, new AsyncCallback<Void>() { - public void onSuccess(Void blah) { - CoreGUI.getMessageCenter().notify( - new Message("Deleted [" + alertIds.length + "] alerts", Message.Severity.Info)); - alertsView.refresh(); - } - - public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError( - "Failed to delete alerts with id's: " + Arrays.toString(alertIds), caught); - } - }); - } - protected void executeFetch(final DSRequest request, final DSResponse response) { final long start = System.currentTimeMillis();
@@ -164,25 +128,11 @@ public class AlertDataSource extends RPCDataSource<Alert> {
protected AlertCriteria getCriteria(DSRequest request) { AlertCriteria criteria = new AlertCriteria(); - criteria.fetchAlertDefinition(true); - criteria.fetchRecoveryAlertDefinition(true); - // TODO: Uncomment the below once the bad performance of it has been fixed. - //criteria.fetchConditionLogs(true); - - Criteria requestCriteria = request.getCriteria(); - if (requestCriteria != null) { - Map values = requestCriteria.getValues(); - for (Object key : values.keySet()) { - String fieldName = (String) key; - if (fieldName.equals(AlertCriteria.SORT_FIELD_RESOURCE_ID)) { - Integer resourceId = (Integer) values.get(fieldName); - criteria.addFilterResourceIds(resourceId); - } - // TODO: Add support for other fields we need to filter by (e.g. resourceGroupId). - } - } - criteria.setPageControl(getPageControl(request)); + + criteria.addFilterPriorities(getArrayFilter(request, "severities", AlertPriority.class)); + criteria.addFilterEntityContext(entityContext); + return criteria; }
@@ -193,16 +143,20 @@ public class AlertDataSource extends RPCDataSource<Alert> {
@Override public ListGridRecord copyValues(Alert from) { + return convert(from); + } + + public static ListGridRecord convert(Alert from) { ListGridRecord record = new ListGridRecord(); record.setAttribute("id", from.getId()); + record.setAttribute("ctime", from.getCtime()); + record.setAttribute("acknowledgeTime", from.getAcknowledgeTime()); + record.setAttribute("acknowledgingSubject", from.getAcknowledgingSubject()); + record.setAttribute("resourceId", from.getAlertDefinition().getResource().getId()); record.setAttribute("resourceName", from.getAlertDefinition().getResource().getName()); record.setAttribute("name", from.getAlertDefinition().getName()); record.setAttribute("priority", from.getAlertDefinition().getPriority().name()); - record.setAttribute("ctime", from.getCtime()); - if (from.getAcknowledgeTime() > 0) { - record.setAttribute("ack", "true"); - }
Set<AlertConditionLog> conditionLogs = from.getConditionLogs(); String conditionText; @@ -268,36 +222,6 @@ public class AlertDataSource extends RPCDataSource<Alert> { Window.alert(String.valueOf(record.getAttributeAsInt("id"))); }
- public void acknowledgeAlerts(final AlertsView alertsView) { - ListGrid listGrid = alertsView.getListGrid(); - ListGridRecord[] records = listGrid.getSelection(); - - final Integer[] alertIds = new Integer[records.length]; - for (int i = 0, selectionLength = records.length; i < selectionLength; i++) { - ListGridRecord record = records[i]; - Integer alertId = record.getAttributeAsInt("id"); - alertIds[i] = alertId; - } - - this.alertService.acknowledgeResourceAlerts(alertIds, new AsyncCallback<Void>() { - public void onSuccess(Void blah) { - CoreGUI.getMessageCenter().notify( - new Message("Acknowledged [" + alertIds.length + "] alerts", Message.Severity.Info)); - - com.allen_sauer.gwt.log.client.Log.info("Acknowledged Alerts with id's: " + Arrays.toString(alertIds) - + "."); - alertsView.refresh(); - } - - public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError( - "Failed to acknowledge Alerts with id's: " + Arrays.toString(alertIds), caught); - System.err.println("Failed to acknowledge Alerts with id's " + Arrays.toString(alertIds) + " - cause: " - + caught); - } - }); - } - public AlertGWTServiceAsync getAlertService() { return alertService; } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertDetailsView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertDetailsView.java new file mode 100644 index 0000000..5cf3937 --- /dev/null +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertDetailsView.java @@ -0,0 +1,221 @@ +/* + * RHQ Management Platform + * Copyright 2010, Red Hat Middleware LLC, and individual contributors + * as indicated by the @author tags. See the copyright.txt file in the + * distribution for a full listing of individual contributors. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ +package org.rhq.enterprise.gui.coregui.client.alert; + +import java.util.ArrayList; +import java.util.List; + +import com.allen_sauer.gwt.log.client.Log; +import com.google.gwt.user.client.rpc.AsyncCallback; +import com.smartgwt.client.core.DataClass; +import com.smartgwt.client.data.Record; +import com.smartgwt.client.types.Alignment; +import com.smartgwt.client.widgets.Canvas; +import com.smartgwt.client.widgets.form.DynamicForm; +import com.smartgwt.client.widgets.form.fields.FormItem; +import com.smartgwt.client.widgets.form.fields.StaticTextItem; +import com.smartgwt.client.widgets.grid.ListGrid; +import com.smartgwt.client.widgets.grid.ListGridField; +import com.smartgwt.client.widgets.grid.ListGridRecord; +import com.smartgwt.client.widgets.layout.VLayout; +import com.smartgwt.client.widgets.tab.Tab; +import com.smartgwt.client.widgets.tab.TabSet; + +import org.rhq.core.domain.alert.Alert; +import org.rhq.core.domain.criteria.AlertCriteria; +import org.rhq.core.domain.util.PageList; +import org.rhq.enterprise.gui.coregui.client.BookmarkableView; +import org.rhq.enterprise.gui.coregui.client.CoreGUI; +import org.rhq.enterprise.gui.coregui.client.ViewId; +import org.rhq.enterprise.gui.coregui.client.ViewPath; +import org.rhq.enterprise.gui.coregui.client.components.table.Table; +import org.rhq.enterprise.gui.coregui.client.gwt.GWTServiceLookup; + +/** + * @author Joseph Marques + */ +public class AlertDetailsView extends VLayout implements BookmarkableView { + + private int alertId; + private ViewId viewId; + + private static AlertDetailsView INSTANCE = new AlertDetailsView(); + + public static AlertDetailsView getInstance() { + return INSTANCE; + } + + private AlertDetailsView() { + // access through the static singleton only + } + + private void show(int alertId) { + AlertCriteria criteria = new AlertCriteria(); + criteria.addFilterId(alertId); + GWTServiceLookup.getAlertService().findAlertsByCriteria(criteria, new AsyncCallback<PageList<Alert>>() { + @Override + public void onSuccess(PageList<Alert> result) { + Alert alert = result.get(0); + show(alert); + } + + @Override + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError("Failure loading event details", caught); + } + }); + } + + private void show(Alert alert) { + for (Canvas child : getMembers()) { + removeChild(child); + } + + if (this.viewId != null) { + viewId.getBreadcrumbs().get(0).setDisplayName("Details"); + CoreGUI.refreshBreadCrumbTrail(); + } + + Log.info("AlertDetailsView-Alert: " + alert); + ListGridRecord record = AlertDataSource.convert(alert); + Log.info("AlertDetailsView-ListGridRecord: " + record); + addMember(getDetailsTabSet(record)); + } + + private TabSet getDetailsTabSet(Record record) { + TabSet tabset = new TabSet(); + + Tab generalTab = new Tab("General"); + generalTab.setPane(getDetailsTableForAlert(record)); + + Tab conditionsTab = new Tab("Conditions"); + conditionsTab.setPane(getConditionsForAlert(record)); + + Tab notificationsTab = new Tab("Notifications"); + notificationsTab.setPane(getNotificationsForAlert(record)); + + tabset.addTab(generalTab); + tabset.addTab(conditionsTab); + tabset.addTab(notificationsTab); + + return tabset; + } + + private DynamicForm getDetailsTableForAlert(Record record) { + DynamicForm form = new DynamicForm(); + form.setNumCols(4); + form.setHeight("15%"); + form.setWrapItemTitles(false); + form.setAlign(Alignment.LEFT); + + List<FormItem> items = new ArrayList<FormItem>(); + + StaticTextItem nameTextItem = new StaticTextItem("name", "Name"); + nameTextItem.setValue(record.getAttribute("name")); + nameTextItem.setTooltip("Id = " + record.getAttribute("id")); + items.add(nameTextItem); + + StaticTextItem descriptionTextItem = new StaticTextItem("description", "Description"); + descriptionTextItem.setValue(record.getAttribute("description")); + items.add(descriptionTextItem); + + StaticTextItem prioTextItem = new StaticTextItem("priority", "Priority"); + prioTextItem.setValue(record.getAttribute("priority")); + items.add(prioTextItem); + + StaticTextItem createdTextItem = new StaticTextItem("ctime", "Created at"); + createdTextItem.setValue(record.getAttribute("ctime")); + items.add(createdTextItem); + + StaticTextItem ackByItem = new StaticTextItem("ack_by", "Acknowledged by"); + if (record.getAttribute("ack_by") != null) { + ackByItem.setValue(record.getAttribute("ack_by")); + } + items.add(ackByItem); + + StaticTextItem ackTimeItem = new StaticTextItem("ack_time", "Acknowledged at"); + if (record.getAttribute("ack_time") != null) { + ackTimeItem.setValue(record.getAttribute("ack_time")); + } + items.add(ackTimeItem); + + StaticTextItem recoveryItem = new StaticTextItem("recovery", "Recovery Info"); + recoveryItem.setValue(record.getAttribute("recoveryInfo")); + items.add(recoveryItem); + + form.setItems(items.toArray(new FormItem[items.size()])); + + return form; + } + + private Table getNotificationsForAlert(Record record) { + DataClass[] input = record.getAttributeAsRecordArray("notificationLogs"); + + //Table notifTable = new Table(extendLocatorId("Notifications"), "Notifications", false); + Table notifTable = new Table("AlertDetailsNotifications", "Notifications", false); + notifTable.setHeight("35%"); + notifTable.setWidth100(); + ListGrid grid = notifTable.getListGrid(); + grid.setData((Record[]) input); + + ListGridField sender = new ListGridField("sender", "Sender"); + sender.setWidth("10%"); + ListGridField status = new ListGridField("status", "Result"); + status.setWidth("8%"); + ListGridField message = new ListGridField("message", "Message"); + message.setWidth("32%"); + ListGridField allEmails = new ListGridField("allEmails", "All Emails"); + allEmails.setWidth("25%"); + ListGridField badEmails = new ListGridField("badEmails", "Bad Emails"); + badEmails.setWidth("25%"); + + grid.setFields(sender, status, message, allEmails, badEmails); + + return notifTable; + } + + private Table getConditionsForAlert(Record record) { + DataClass[] input = record.getAttributeAsRecordArray("conditionLogs"); + String mode = record.getAttribute("conditionExpression"); + + //Table table = new Table(extendLocatorId("ConditionLog"), "Conditions: match = " + mode, false); + Table table = new Table("AlertDetailsConditionLog", "Conditions: match = " + mode, false); + table.setHeight("35%"); + table.setWidth100(); + ListGrid grid = table.getListGrid(); + grid.setData((Record[]) input); + + ListGridField condition = new ListGridField("text", "Matching condition"); + condition.setWidth("60%"); + ListGridField value = new ListGridField("value", "Value"); + + grid.setFields(condition, value); + + return table; + } + + @Override + public void renderView(ViewPath viewPath) { + alertId = viewPath.getCurrentAsInt(); + viewId = viewPath.getCurrent(); + + show(alertId); + } +} diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertHistoryView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertHistoryView.java new file mode 100644 index 0000000..48aa4c9 --- /dev/null +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertHistoryView.java @@ -0,0 +1,231 @@ +/* + * RHQ Management Platform + * Copyright 2010, Red Hat Middleware LLC, and individual contributors + * as indicated by the @author tags. See the copyright.txt file in the + * distribution for a full listing of individual contributors. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ +package org.rhq.enterprise.gui.coregui.client.alert; + +import java.util.Arrays; +import java.util.Date; + +import com.google.gwt.user.client.rpc.AsyncCallback; +import com.smartgwt.client.data.SortSpecifier; +import com.smartgwt.client.types.SortDirection; +import com.smartgwt.client.widgets.Canvas; +import com.smartgwt.client.widgets.grid.CellFormatter; +import com.smartgwt.client.widgets.grid.ListGridField; +import com.smartgwt.client.widgets.grid.ListGridRecord; + +import org.rhq.core.domain.alert.AlertPriority; +import org.rhq.core.domain.common.EntityContext; +import org.rhq.core.domain.criteria.AlertCriteria; +import org.rhq.enterprise.gui.coregui.client.CoreGUI; +import org.rhq.enterprise.gui.coregui.client.LinkManager; +import org.rhq.enterprise.gui.coregui.client.components.form.EnumSelectItem; +import org.rhq.enterprise.gui.coregui.client.components.table.TableAction; +import org.rhq.enterprise.gui.coregui.client.components.table.TableSection; +import org.rhq.enterprise.gui.coregui.client.components.table.TimestampCellFormatter; +import org.rhq.enterprise.gui.coregui.client.gwt.GWTServiceLookup; +import org.rhq.enterprise.gui.coregui.client.util.message.Message; + +/** + * A view that displays a paginated table of fired {@link org.rhq.core.domain.alert.Alert alert}s, along with the + * ability to filter those alerts, sort those alerts, double-click a row to view full details an alert, and perform + * various operations on the the alerts: delete selected, delete all from source, ack selected, ack all from source. + * This view full respects the user's authorization, and will not allow operations on the alerts unless the user is + * either the inventory manager or has MANAGE_ALERTS permission on every resource corresponding to the alerts being + * operated on. + * + * @author Joseph Marques + * @author Ian Springer + * @author Heiko W. Rupp + */ +public class AlertHistoryView extends TableSection { + public static final String VIEW_ID = "RecentAlerts"; + + private static SortSpecifier DEFAULT_SORT_SPECIFIER = new SortSpecifier(AlertCriteria.SORT_FIELD_CTIME, + SortDirection.DESCENDING); + EntityContext context; + boolean hasWriteAccess; + + // for subsystem views + public AlertHistoryView(String locatorId) { + this(locatorId, EntityContext.forSubsystemView(), false); + } + + protected AlertHistoryView(String tableTitle, EntityContext context, boolean hasWriteAccess) { + super("AlertsView", tableTitle, new SortSpecifier[] { DEFAULT_SORT_SPECIFIER }); + this.context = context; + this.hasWriteAccess = hasWriteAccess; + + setDataSource(new AlertDataSource(context)); + } + + @Override + protected void configureTableFilters() { + final EnumSelectItem priorityFilter = new EnumSelectItem("severities", "Priority Filter", AlertPriority.class); + + setFilterFormItems(priorityFilter); + } + + @Override + protected void configureTable() { + ListGridField ctimeField = new ListGridField("ctime", "Creation Time", 100); + ctimeField.setCellFormatter(new TimestampCellFormatter()); + + ListGridField nameField = new ListGridField("name", "Name", 100); + ListGridField conditionTextField = new ListGridField("conditionText", "Details"); + ListGridField priorityField = new ListGridField("priority", "Priority", 50); + + ListGridField statusField = new ListGridField("status", "Status", 175); + statusField.setCellFormatter(new CellFormatter() { + public String format(Object o, ListGridRecord listGridRecord, int i, int i1) { + String ackTime = listGridRecord.getAttribute("acknowledgeTime"); + String ackSubject = listGridRecord.getAttribute("acknowledgingSubject"); + if (ackSubject == null) { + return "Not Yet Acknowledged"; + } else { + String formattedTime = TimestampCellFormatter.DATE_TIME_FORMAT.format(new Date(Long + .parseLong((String) ackTime))); + return " Acknowledged on " + formattedTime + "<br/>by " + ackSubject; + } + } + }); + + ListGridField resourceNameField = new ListGridField("resourceName", "Resource", 125); + resourceNameField.setCellFormatter(new CellFormatter() { + public String format(Object o, ListGridRecord listGridRecord, int i, int i1) { + Integer resourceId = listGridRecord.getAttributeAsInt("resourceId"); + return "<a href="" + LinkManager.getResourceLink(resourceId) + "">" + o + "</a>"; + } + }); + + if (context.category == EntityContext.Category.Resource) { + getListGrid().setFields(ctimeField, nameField, conditionTextField, priorityField, statusField); + } else { + getListGrid().setFields(ctimeField, nameField, conditionTextField, priorityField, statusField, + resourceNameField); + } + + setupTableInteractions(); + } + + private void setupTableInteractions() { + addTableAction("DeleteAlert", "Delete", hasWriteAccess ? SelectionEnablement.ANY : SelectionEnablement.NEVER, + "Delete the selected alert(s)?", new TableAction() { + public void executeAction(ListGridRecord[] selection) { + delete(selection); + } + }); + addTableAction("DeleteAll", "Delete All", hasWriteAccess ? SelectionEnablement.ALWAYS + : SelectionEnablement.NEVER, "Delete all alerts from this source?", new TableAction() { + public void executeAction(ListGridRecord[] selection) { + deleteAll(); + } + }); + addTableAction("AcknowledgeAlert", "Ack", hasWriteAccess ? SelectionEnablement.ANY : SelectionEnablement.NEVER, + "Ack the selected alert(s)?", new TableAction() { + public void executeAction(ListGridRecord[] selection) { + acknowledge(selection); + } + }); + addTableAction("AcknowledgeAll", "Ack All", hasWriteAccess ? SelectionEnablement.ALWAYS + : SelectionEnablement.NEVER, "Ack all alerts from this source?", new TableAction() { + public void executeAction(ListGridRecord[] selection) { + acknowledgeAll(); + } + }); + } + + void delete(ListGridRecord[] records) { + final int[] alertIds = new int[records.length]; + for (int i = 0, selectionLength = records.length; i < selectionLength; i++) { + ListGridRecord record = records[i]; + Integer alertId = record.getAttributeAsInt("id"); + alertIds[i] = alertId; + } + + GWTServiceLookup.getAlertService().deleteAlerts(alertIds, new AsyncCallback<Integer>() { + public void onSuccess(Integer resultCount) { + CoreGUI.getMessageCenter().notify( + new Message("Deleted [" + resultCount + "] alerts", Message.Severity.Info)); + refresh(); + } + + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError( + "Failed to delete alerts with id's: " + Arrays.toString(alertIds), caught); + } + }); + } + + void deleteAll() { + GWTServiceLookup.getAlertService().deleteAlertsByContext(context, new AsyncCallback<Integer>() { + public void onSuccess(Integer resultCount) { + CoreGUI.getMessageCenter().notify( + new Message("Deleted [" + resultCount + "] alerts", Message.Severity.Info)); + refresh(); + } + + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError("Failed to delete all alerts from this source", caught); + } + }); + } + + public void acknowledge(ListGridRecord[] records) { + final int[] alertIds = new int[records.length]; + for (int i = 0, selectionLength = records.length; i < selectionLength; i++) { + ListGridRecord record = records[i]; + Integer alertId = record.getAttributeAsInt("id"); + alertIds[i] = alertId; + } + + GWTServiceLookup.getAlertService().acknowledgeAlerts(alertIds, new AsyncCallback<Integer>() { + public void onSuccess(Integer resultCount) { + CoreGUI.getMessageCenter().notify( + new Message("Acknowledged [" + resultCount + "] alerts", Message.Severity.Info)); + refresh(); + } + + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError( + "Failed to acknowledge Alerts with id's: " + Arrays.toString(alertIds), caught); + } + }); + } + + void acknowledgeAll() { + GWTServiceLookup.getAlertService().acknowledgeAlertsByContext(context, new AsyncCallback<Integer>() { + public void onSuccess(Integer resultCount) { + CoreGUI.getMessageCenter().notify( + new Message("Acknowledged [" + resultCount + "] alerts", Message.Severity.Info)); + refresh(); + } + + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError("Failed to acknowledged all alerts from this source", caught); + } + }); + } + + @Override + public Canvas getDetailsView(int alertId) { + return AlertDetailsView.getInstance(); + } + +} diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertPortletDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertPortletDataSource.java index ad825a9..bad2073 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertPortletDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertPortletDataSource.java @@ -83,7 +83,7 @@ public class AlertPortletDataSource extends AlertDataSource { criteria.addFilterResourceIds(getAlertFilterResourceIds()); } if (getAlertPriorityIndex() > 0) {//add priority selection - criteria.addFilterPriority(AlertPriority.getByLegacyIndex(getAlertPriorityIndex())); + criteria.addFilterPriorities(AlertPriority.getByLegacyIndex(getAlertPriorityIndex())); }
getAlertService().findAlertsByCriteria(criteria, new AsyncCallback<PageList<Alert>>() { diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertsView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertsView.java deleted file mode 100644 index 8d2a36c..0000000 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertsView.java +++ /dev/null @@ -1,275 +0,0 @@ -/* - * RHQ Management Platform - * Copyright 2010, Red Hat Middleware LLC, and individual contributors - * as indicated by the @author tags. See the copyright.txt file in the - * distribution for a full listing of individual contributors. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ -package org.rhq.enterprise.gui.coregui.client.alert; - -import java.util.ArrayList; -import java.util.List; - -import com.smartgwt.client.core.DataClass; -import com.smartgwt.client.data.Criteria; -import com.smartgwt.client.data.Record; -import com.smartgwt.client.data.SortSpecifier; -import com.smartgwt.client.types.Alignment; -import com.smartgwt.client.types.SortDirection; -import com.smartgwt.client.widgets.HTMLFlow; -import com.smartgwt.client.widgets.form.DynamicForm; -import com.smartgwt.client.widgets.form.fields.FormItem; -import com.smartgwt.client.widgets.form.fields.StaticTextItem; -import com.smartgwt.client.widgets.grid.CellFormatter; -import com.smartgwt.client.widgets.grid.ListGrid; -import com.smartgwt.client.widgets.grid.ListGridField; -import com.smartgwt.client.widgets.grid.ListGridRecord; -import com.smartgwt.client.widgets.grid.events.SelectionChangedHandler; -import com.smartgwt.client.widgets.grid.events.SelectionEvent; -import com.smartgwt.client.widgets.tab.Tab; -import com.smartgwt.client.widgets.tab.TabSet; - -import org.rhq.core.domain.criteria.AlertCriteria; -import org.rhq.enterprise.gui.coregui.client.LinkManager; -import org.rhq.enterprise.gui.coregui.client.components.table.Table; -import org.rhq.enterprise.gui.coregui.client.components.table.TableAction; -import org.rhq.enterprise.gui.coregui.client.components.table.TimestampCellFormatter; - -/** - * A view that displays a paginated table of fired {@link org.rhq.core.domain.alert.Alert alert}s, along with the - * ability to filter or sort those alerts, click on an alert to view details about that alert's definition, or delete - * selected alerts. - * - * @author Ian Springer - * @author Heiko W. Rupp - */ -public class AlertsView extends Table { - public static final String VIEW_ID = "RecentAlerts"; - - private static final String TITLE = "Alerts"; - - private static final SortSpecifier[] SORT_SPECIFIERS = new SortSpecifier[] { - new SortSpecifier(AlertCriteria.SORT_FIELD_CTIME, SortDirection.DESCENDING), - new SortSpecifier(AlertCriteria.SORT_FIELD_NAME, SortDirection.ASCENDING) }; - - private static final String DELETE_CONFIRM_MESSAGE = "Are you sure you want to delete the selected alert(s)?"; - - private AlertDataSource dataSource; - private static final String SENDER = "sender"; - - Criteria criteria; - String[] excludedFieldNames; - boolean showDetails; - - public AlertsView(String locatorId) { - this(locatorId, null, null); - showDetails = false; - - } - - public AlertsView(String locatorId, Criteria criteria, String[] excludedFieldNames) { - super(locatorId, TITLE, criteria, SORT_SPECIFIERS, excludedFieldNames); - - this.dataSource = new AlertDataSource(); - - setDataSource(this.dataSource); - this.criteria = criteria; - this.excludedFieldNames = excludedFieldNames; - showDetails = false; - } - - @Override - protected void configureTable() { - - // Add the list table as the top half of the view. - //Criteria criteria = new Criteria(AlertCriteria.); - ListGrid listGrid = getListGrid(); - listGrid.getField("name").setWidth("15%"); - listGrid.getField("conditionText").setWidth("30%"); - listGrid.getField("conditionValue").setWidth("10%"); - listGrid.getField("resourceName").setWidth("20%"); - // listGrid.getField("recoveryInfo").setWidth("20%"); - listGrid.getField("priority").setWidth("7%"); - ListGridField ctimeField = listGrid.getField("ctime"); - ctimeField.setWidth("13%"); - ctimeField.setCellFormatter(new TimestampCellFormatter()); - listGrid.getField("ack").setWidth("5%"); - - listGrid.getField("resourceName").setCellFormatter(new CellFormatter() { - public String format(Object o, ListGridRecord listGridRecord, int i, int i1) { - return "<a href="" + LinkManager.getResourceLink(listGridRecord.getAttributeAsInt("resourceId")) - + "">" + o + "</a>"; - } - }); - - addTableAction("DeleteAlert", "Delete", Table.SelectionEnablement.ANY, DELETE_CONFIRM_MESSAGE, - new TableAction() { - public void executeAction(ListGridRecord[] selection) { - AlertsView.this.dataSource.deleteAlerts(AlertsView.this); - } - }); - addTableAction("AcknowledgeAlert", "Acknowledge", Table.SelectionEnablement.ANY, null, new TableAction() { - public void executeAction(ListGridRecord[] selection) { - AlertsView.this.dataSource.acknowledgeAlerts(AlertsView.this); - } - }); - - if (showDetails) { - listGrid.addSelectionChangedHandler(new SelectionChangedHandler() { - public void onSelectionChanged(SelectionEvent event) { - ListGridRecord[] selectedRecords = AlertsView.this.getListGrid().getSelection(); - if (selectedRecords.length == 1) { - ListGridRecord record = selectedRecords[0]; - - // Clean out existing details and provide new ones - for (int i = 1; i <= getChildren().length; i++) - getChildren()[1].destroy(); - - addMember(getDetailsTabSet(record)); - - } else { - // Clean out existing details and show the "nothing selected message" - for (int i = 1; i <= getChildren().length; i++) - getChildren()[1].destroy(); - addMember(getNoAlertSelectedMessage()); - } - } - }); - } - - // // Add the details panel as the bottom half of the view. - // // Default is the "nothing selected" message - // addMember(getNoAlertSelectedMessage()); - - } - - private TabSet getDetailsTabSet(Record record) { - TabSet tabset = new TabSet(); - Tab generalTab = new Tab("General"); - generalTab.setPane(getDetailsTableForAlert(record)); - Tab conditionsTab = new Tab("Conditions"); - conditionsTab.setPane(getConditionsForAlert(record)); - Tab notificationsTab = new Tab("Notifications"); - notificationsTab.setPane(getNotificationsForAlert(record)); - - tabset.addTab(generalTab); - tabset.addTab(conditionsTab); - tabset.addTab(notificationsTab); - - return tabset; - } - - private HTMLFlow getNoAlertSelectedMessage() { - HTMLFlow f = new HTMLFlow("<h3>Select a single alert above to display its details here.</h3>"); - f.setHeight("50%"); - return f; - } - - private DynamicForm getDetailsTableForAlert(Record record) { - - DynamicForm form = new DynamicForm(); - form.setNumCols(4); - form.setHeight("15%"); - form.setWrapItemTitles(false); - form.setAlign(Alignment.LEFT); - - List<FormItem> items = new ArrayList<FormItem>(); - - StaticTextItem nameTextItem = new StaticTextItem("name", "Name"); - nameTextItem.setValue(record.getAttribute("name")); - nameTextItem.setTooltip("Id = " + record.getAttribute("id")); - items.add(nameTextItem); - - StaticTextItem descriptionTextItem = new StaticTextItem("description", "Description"); - descriptionTextItem.setValue(record.getAttribute("description")); - items.add(descriptionTextItem); - - StaticTextItem prioTextItem = new StaticTextItem("priority", "Priority"); - prioTextItem.setValue(record.getAttribute("priority")); - items.add(prioTextItem); - - StaticTextItem createdTextItem = new StaticTextItem("ctime", "Created at"); - createdTextItem.setValue(record.getAttribute("ctime")); - items.add(createdTextItem); - - StaticTextItem ackByItem = new StaticTextItem("ack_by", "Acknowledged by"); - if (record.getAttribute("ack_by") != null) { - ackByItem.setValue(record.getAttribute("ack_by")); - } - items.add(ackByItem); - - StaticTextItem ackTimeItem = new StaticTextItem("ack_time", "Acknowledged at"); - if (record.getAttribute("ack_time") != null) { - ackTimeItem.setValue(record.getAttribute("ack_time")); - } - items.add(ackTimeItem); - - StaticTextItem recoveryItem = new StaticTextItem("recovery", "Recovery Info"); - recoveryItem.setValue(record.getAttribute("recoveryInfo")); - items.add(recoveryItem); - - form.setItems(items.toArray(new FormItem[items.size()])); - - return form; - } - - private Table getNotificationsForAlert(Record record) { - - DataClass[] input = record.getAttributeAsRecordArray("notificationLogs"); - - Table notifTable = new Table(extendLocatorId("Notifications"), "Notifications", false); - notifTable.setHeight("35%"); - notifTable.setWidth100(); - ListGrid grid = notifTable.getListGrid(); - grid.setData((Record[]) input); - - ListGridField sender = new ListGridField(SENDER, "Sender"); - sender.setWidth("10%"); - ListGridField status = new ListGridField("status", "Result"); - status.setWidth("8%"); - ListGridField message = new ListGridField("message", "Message"); - message.setWidth("32%"); - ListGridField allEmails = new ListGridField("allEmails", "All Emails"); - allEmails.setWidth("25%"); - ListGridField badEmails = new ListGridField("badEmails", "Bad Emails"); - badEmails.setWidth("25%"); - - grid.setFields(sender, status, message, allEmails, badEmails); - - return notifTable; - } - - private Table getConditionsForAlert(Record record) { - - DataClass[] input = record.getAttributeAsRecordArray("conditionLogs"); - String mode = record.getAttribute("conditionExpression"); - - Table table = new Table(extendLocatorId("ConditionLog"), "Conditions: match = " + mode, false); - table.setHeight("35%"); - table.setWidth100(); - ListGrid grid = table.getListGrid(); - grid.setData((Record[]) input); - - ListGridField condition = new ListGridField("text", "Matching condition"); - condition.setWidth("60%"); - ListGridField value = new ListGridField("value", "Value"); - - grid.setFields(condition, value); - - return table; - - } - -} diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/GroupAlertHistoryView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/GroupAlertHistoryView.java new file mode 100644 index 0000000..b65ad1b --- /dev/null +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/GroupAlertHistoryView.java @@ -0,0 +1,41 @@ +/* + * RHQ Management Platform + * Copyright 2010, Red Hat Middleware LLC, and individual contributors + * as indicated by the @author tags. See the copyright.txt file in the + * distribution for a full listing of individual contributors. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ +package org.rhq.enterprise.gui.coregui.client.alert; + +import org.rhq.core.domain.common.EntityContext; +import org.rhq.core.domain.resource.group.composite.ResourceGroupComposite; + +/** + * @author Joseph Marques + */ +public class GroupAlertHistoryView extends AlertHistoryView { + + public static GroupAlertHistoryView get(ResourceGroupComposite composite) { + String tableTitle = "Group Alert History"; + EntityContext context = EntityContext.forGroup(composite.getResourceGroup().getId()); + boolean hasWriteAccess = composite.getResourcePermission().isAlert(); + + return new GroupAlertHistoryView(tableTitle, context, hasWriteAccess); + } + + private GroupAlertHistoryView(String tableTitle, EntityContext context, boolean hasWriteAccess) { + super(tableTitle, context, hasWriteAccess); + } +} diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/ResourceAlertHistoryView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/ResourceAlertHistoryView.java new file mode 100644 index 0000000..e47f5b0 --- /dev/null +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/ResourceAlertHistoryView.java @@ -0,0 +1,40 @@ +/* + * RHQ Management Platform + * Copyright 2010, Red Hat Middleware LLC, and individual contributors + * as indicated by the @author tags. See the copyright.txt file in the + * distribution for a full listing of individual contributors. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ +package org.rhq.enterprise.gui.coregui.client.alert; + +import org.rhq.core.domain.common.EntityContext; +import org.rhq.core.domain.resource.composite.ResourceComposite; + +/** + * @author Joseph Marques + */ +public class ResourceAlertHistoryView extends AlertHistoryView { + + public static ResourceAlertHistoryView get(ResourceComposite composite) { + String tableTitle = "Resource Alert History"; + EntityContext context = EntityContext.forResource(composite.getResource().getId()); + boolean hasWriteAccess = composite.getResourcePermission().isAlert(); + return new ResourceAlertHistoryView(tableTitle, context, hasWriteAccess); + } + + private ResourceAlertHistoryView(String tableTitle, EntityContext context, boolean hasWriteAccess) { + super(tableTitle, context, hasWriteAccess); + } +} diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/ResourceAlertDefinitionsView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/ResourceAlertDefinitionsView.java index 9aaa0e9..d7d499c 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/ResourceAlertDefinitionsView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/ResourceAlertDefinitionsView.java @@ -119,7 +119,7 @@ public class ResourceAlertDefinitionsView extends AbstractAlertDefinitionsView { return; }
- Integer[] alertDefIds = new Integer[selection.length]; + int[] alertDefIds = new int[selection.length]; int i = 0; for (ListGridRecord record : selection) { Integer id = record.getAttributeAsInt(AbstractAlertDefinitionsDataSource.FIELD_ID); @@ -146,7 +146,7 @@ public class ResourceAlertDefinitionsView extends AbstractAlertDefinitionsView { return; }
- Integer[] alertDefIds = new Integer[selection.length]; + int[] alertDefIds = new int[selection.length]; int i = 0; for (ListGridRecord record : selection) { Integer id = record.getAttributeAsInt(AbstractAlertDefinitionsDataSource.FIELD_ID); @@ -173,7 +173,7 @@ public class ResourceAlertDefinitionsView extends AbstractAlertDefinitionsView { return; }
- Integer[] alertDefIds = new Integer[selection.length]; + int[] alertDefIds = new int[selection.length]; int i = 0; for (ListGridRecord record : selection) { Integer id = record.getAttributeAsInt(AbstractAlertDefinitionsDataSource.FIELD_ID); @@ -201,8 +201,7 @@ public class ResourceAlertDefinitionsView extends AbstractAlertDefinitionsView { Integer.valueOf(resource.getId()), new AsyncCallback<Integer>() { @Override public void onSuccess(Integer result) { - CoreGUI.getMessageCenter().notify( - new Message("Alert definition is created", Severity.Info)); + CoreGUI.getMessageCenter().notify(new Message("Alert definition is created", Severity.Info)); alertDefinition.setId(result.intValue()); }
@@ -216,8 +215,7 @@ public class ResourceAlertDefinitionsView extends AbstractAlertDefinitionsView { alertDefinition, true, new AsyncCallback<AlertDefinition>() { @Override public void onSuccess(AlertDefinition result) { - CoreGUI.getMessageCenter().notify( - new Message("Alert definition is updated.", Severity.Info)); + CoreGUI.getMessageCenter().notify(new Message("Alert definition is updated.", Severity.Info)); }
@Override diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/dashboard/portlets/recent/alerts/RecentAlertsPortlet.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/dashboard/portlets/recent/alerts/RecentAlertsPortlet.java index 18d262c..0340675 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/dashboard/portlets/recent/alerts/RecentAlertsPortlet.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/dashboard/portlets/recent/alerts/RecentAlertsPortlet.java @@ -18,11 +18,9 @@ */ package org.rhq.enterprise.gui.coregui.client.dashboard.portlets.recent.alerts;
-import com.smartgwt.client.data.Criteria; import com.smartgwt.client.data.Record; import com.smartgwt.client.data.RecordList; import com.smartgwt.client.types.ListGridFieldType; -import com.smartgwt.client.types.Overflow; import com.smartgwt.client.widgets.Canvas; import com.smartgwt.client.widgets.HTMLFlow; import com.smartgwt.client.widgets.Label; @@ -44,7 +42,7 @@ import org.rhq.core.domain.configuration.PropertySimple; import org.rhq.core.domain.dashboard.DashboardPortlet; import org.rhq.core.domain.resource.ResourceType; import org.rhq.enterprise.gui.coregui.client.alert.AlertPortletDataSource; -import org.rhq.enterprise.gui.coregui.client.alert.AlertsView; +import org.rhq.enterprise.gui.coregui.client.alert.AlertHistoryView; import org.rhq.enterprise.gui.coregui.client.dashboard.CustomSettingsPortlet; import org.rhq.enterprise.gui.coregui.client.dashboard.Portlet; import org.rhq.enterprise.gui.coregui.client.dashboard.PortletViewFactory; @@ -59,7 +57,7 @@ import org.rhq.enterprise.gui.coregui.client.util.selenium.LocatableLabel; * @author Simeon Pinder * @author Greg Hinkle */ -public class RecentAlertsPortlet extends AlertsView implements CustomSettingsPortlet { +public class RecentAlertsPortlet extends AlertHistoryView implements CustomSettingsPortlet {
public static final String KEY = "Recent Alerts"; public static final String TITLE = KEY; @@ -102,22 +100,15 @@ public class RecentAlertsPortlet extends AlertsView implements CustomSettingsPor private LocatableHLayout resourceSelectionLabelRow;
public RecentAlertsPortlet(String locatorId) { - this(locatorId, null, null); - - setShowHeader(false); - setShowFooter(true); - //disable footer refresh - setShowFooterRefresh(false); - - setOverflow(Overflow.HIDDEN); - } - - public RecentAlertsPortlet(String locatorId, Criteria criteria, String[] excludedFieldNames) { - super(locatorId, criteria, excludedFieldNames); + super(locatorId);
//override the shared datasource this.dataSource = new AlertPortletDataSource(); setDataSource(this.dataSource); + + setShowHeader(false); + setShowFooter(true); + setShowFooterRefresh(false); //disable footer refresh }
public void configure(PortletWindow portletWindow, DashboardPortlet storedPortlet) { diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/AlertDefinitionGWTService.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/AlertDefinitionGWTService.java index ceb427e..05b813f 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/AlertDefinitionGWTService.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/AlertDefinitionGWTService.java @@ -35,11 +35,11 @@ public interface AlertDefinitionGWTService extends RemoteService { AlertDefinition updateAlertDefinition(int alertDefinitionId, AlertDefinition alertDefinition, boolean updateInternals) throws Exception;
- int enableAlertDefinitions(Integer[] alertDefinitionIds) throws Exception; + int enableAlertDefinitions(int[] alertDefinitionIds) throws Exception;
- int disableAlertDefinitions(Integer[] alertDefinitionIds) throws Exception; + int disableAlertDefinitions(int[] alertDefinitionIds) throws Exception;
- int removeAlertDefinitions(Integer[] alertDefinitionIds) throws Exception; + int removeAlertDefinitions(int[] alertDefinitionIds) throws Exception;
String[] getAlertNotificationConfigurationPreview(AlertNotification[] notifs) throws Exception;
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/AlertGWTService.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/AlertGWTService.java index aac13a3..a8fd51a 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/AlertGWTService.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/AlertGWTService.java @@ -21,12 +21,13 @@ package org.rhq.enterprise.gui.coregui.client.gwt; import com.google.gwt.user.client.rpc.RemoteService;
import org.rhq.core.domain.alert.Alert; +import org.rhq.core.domain.common.EntityContext; import org.rhq.core.domain.criteria.AlertCriteria; import org.rhq.core.domain.util.PageList;
/** + * @author Joseph Marques * @author Ian Springer - * @author Heiko W. Rupp */ public interface AlertGWTService extends RemoteService { /** @@ -39,19 +40,52 @@ public interface AlertGWTService extends RemoteService { PageList<Alert> findAlertsByCriteria(AlertCriteria criteria);
/** - * Delete the Resource alerts with the specified id's if the current user has permission to do so (i.e. either - * the MANAGE_INVENTORY global permission, or the MANAGE_ALERTS Resource permission for all associated Resources). + * Delete the alerts with the specified ids if the current user has permission to do so (i.e. either + * the MANAGE_INVENTORY global permission, or the MANAGE_ALERTS permission for all corresponding resources). * If the user does not have permission for all of the specified alerts, then none of the alerts will be deleted * and a PermissionException will be thrown. * - * @param alertIds the id's of the Resource alerts to be deleted + * If any of the ids do not correspond to alert entities that exist, those ids will be gracefully ignored. + * + * @param alertIds the ids of the alerts to be deleted + * @return the number of alerts deleted + */ + int deleteAlerts(int[] alertIds); + + /** + * Deletes all alerts for the given context if the current user has permission to do so (i.e., either + * the MANAGE_INVENTORY global permission, or the MANAGE_ALERTS permission for all corresponding resources). + * If the user does not have permission for all of the specified alerts, then non of the laerts will be deleted + * and a PermissionException will be thrown. + * + * @param context represents a specific resource, all resource members of some group, or all resources visible to + * the user + * @return the number of alerts deleted */ - void deleteResourceAlerts(Integer[] alertIds); + int deleteAlertsByContext(EntityContext context);
/** - * Acknowledge the Resource alerts with the specified ids if the current uer has permission to do so. + * Acknowledges the alerts with the specified ids if the current user has permission to do so (i.e., either + * the MANAGE_INVENTORY global permission, or the MANAGE_ALERTS permission for all corresponding resources). + * If the user does not have permission for all of the specified alerts, then non of the laerts will be deleted + * and a PermissionException will be thrown. + * + * If any of the ids do not correspond to alert entities that exist, those ids will be gracefully ignored. * - * @param alertIds the ids of the Resource alerts to be acknowledged + * @param alertIds the ids of the alerts to be acknowledged + * @return the number of alerts acknowledged + */ + int acknowledgeAlerts(int[] alertIds); + + /** + * Acknowledges all alerts for the given context if the current user has permission to do so (i.e., either + * the MANAGE_INVENTORY global permission, or the MANAGE_ALERTS permission for all corresponding resources). + * If the user does not have permission for all of the specified alerts, then non of the laerts will be deleted + * and a PermissionException will be thrown. + * + * @param context represents a specific resource, all resource members of some group, or all resources visible to + * the user + * @return the number of alerts acknowledged */ - void acknowledgeResourceAlerts(Integer[] alertIds); + int acknowledgeAlertsByContext(EntityContext context); } \ No newline at end of file diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/GWTServiceLookup.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/GWTServiceLookup.java index adc839d..bdb1160 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/GWTServiceLookup.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/GWTServiceLookup.java @@ -19,10 +19,12 @@ package org.rhq.enterprise.gui.coregui.client.gwt;
import com.allen_sauer.gwt.log.client.Log; +import com.google.gwt.core.client.GWT; import com.google.gwt.http.client.RequestBuilder; import com.google.gwt.user.client.rpc.RpcRequestBuilder; import com.google.gwt.user.client.rpc.ServiceDefTarget;
+import org.rhq.enterprise.gui.coregui.client.CoreGUI; import org.rhq.enterprise.gui.coregui.client.UserSessionManager; import org.rhq.enterprise.gui.coregui.client.util.rpc.MonitoringRequestCallback;
@@ -143,17 +145,23 @@ public class GWTServiceLookup {
public static class SessionRpcRequestBuilder extends RpcRequestBuilder {
- private static int RPC_TIMEOUT = 60000; + private static int DEBUG_RPC_TIMEOUT = 60000; + private static int RPC_TIMEOUT = 15000;
@Override protected RequestBuilder doCreate(String serviceEntryPoint) { RequestBuilder rb = super.doCreate(serviceEntryPoint);
- // TODO: alter callback handlers to capture timeout failure and retry (at least once) - // to add resilience to gwt service calls - rb.setTimeoutMillis(RPC_TIMEOUT); + if (CoreGUI.isDebugMode()) { + // debug mode is slow, so give requests more time to complete otherwise you'll get + // weird exceptions whose messages are extremely unhelpful in finding root cause + rb.setTimeoutMillis(DEBUG_RPC_TIMEOUT); + } else { + rb.setTimeoutMillis(RPC_TIMEOUT); + }
- // TODO Don't use the expensive determineName except in dev mode + // TODO: alter callback handlers to capture timeout failure and retry (at least once) + // to add resilience to GWT service calls rb.setCallback(new MonitoringRequestCallback(determineName(), rb.getCallback()));
String sessionId = UserSessionManager.getSessionId(); @@ -161,28 +169,31 @@ public class GWTServiceLookup { Log.info("SessionRpcRequestBuilder is adding sessionId to request: " + sessionId); rb.setHeader(UserSessionManager.SESSION_NAME, sessionId); } else { - Log - .error("SessionRpcRequestBuilder constructed without a value for " - + UserSessionManager.SESSION_NAME); + Log.error("SessionRpcRequestBuilder constructed without a value for " + UserSessionManager.SESSION_NAME); }
return rb; }
public String determineName() { - Exception e = new Exception(); - - StackTraceElement[] stack = e.getStackTrace(); - // Skip the first two stack elements to get to the proxy calling - for (int i = 2; i < stack.length; i++) { - StackTraceElement ste = stack[i]; - // e.g. "org.rhq.enterprise.gui.coregui.client.gwt.ResourceGWTService_Proxy.findResourcesByCriteria(ResourceGWTService_Proxy.java:36)" - if (ste.getClassName().startsWith("org.rhq.enterprise.gui.coregui.client.gwt")) { - return ste.getClassName().substring(ste.getClassName().lastIndexOf(".") + 1) + "." - + ste.getMethodName(); + if (!GWT.isScript()) { + // expensive name calculation only in dev-mode + Exception e = new Exception(); + + StackTraceElement[] stack = e.getStackTrace(); + // Skip the first two stack elements to get to the proxy calling + for (int i = 2; i < stack.length; i++) { + StackTraceElement ste = stack[i]; + // e.g. "org.rhq.enterprise.gui.coregui.client.gwt.ResourceGWTService_Proxy.findResourcesByCriteria(ResourceGWTService_Proxy.java:36)" + if (ste.getClassName().startsWith("org.rhq.enterprise.gui.coregui.client.gwt")) { + return ste.getClassName().substring(ste.getClassName().lastIndexOf(".") + 1) + "." + + ste.getMethodName(); + } } + return "unknown"; + } else { + return "production"; } - return "unknown"; } }
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/ResourceGWTService.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/ResourceGWTService.java index ab4ae27..4fe0b94 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/ResourceGWTService.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/ResourceGWTService.java @@ -63,11 +63,11 @@ public interface ResourceGWTService extends RemoteService {
Map<Resource, List<Resource>> getQueuedPlatformsAndServers(HashSet<InventoryStatus> statuses, PageControl pc);
- void importResources(Integer[] resourceIds); + void importResources(int[] resourceIds);
- void ignoreResources(Integer[] resourceIds); + void ignoreResources(int[] resourceIds);
- void unignoreResources(Integer[] resourceIds); + void unignoreResources(int[] resourceIds);
List<ResourceError> findResourceErrors(int resourceId);
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/RoleGWTService.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/RoleGWTService.java index 41d7204..1502c16 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/RoleGWTService.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/gwt/RoleGWTService.java @@ -35,7 +35,7 @@ public interface RoleGWTService extends RemoteService {
Role updateRole(Role role);
- void removeRoles(Integer[] roleIds); + void removeRoles(int[] roleIds);
void setAssignedResourceGroups(int roleId, int[] resourceGroupIds);
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/ResourceGroupDetailView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/ResourceGroupDetailView.java index 225de69..0295877 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/ResourceGroupDetailView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/ResourceGroupDetailView.java @@ -40,6 +40,7 @@ import org.rhq.core.domain.resource.group.composite.ResourceGroupComposite; import org.rhq.core.domain.util.PageList; import org.rhq.enterprise.gui.coregui.client.CoreGUI; import org.rhq.enterprise.gui.coregui.client.ViewPath; +import org.rhq.enterprise.gui.coregui.client.alert.GroupAlertHistoryView; import org.rhq.enterprise.gui.coregui.client.alert.definitions.GroupAlertDefinitionsView; import org.rhq.enterprise.gui.coregui.client.components.FullHTMLPane; import org.rhq.enterprise.gui.coregui.client.components.tab.SubTab; @@ -201,8 +202,8 @@ public class ResourceGroupDetailView extends AbstractTwoLevelTabSetView<Resource // summaryTab.updateSubTab("Overview", new DashboardView(resource)); // summaryTab.updateSubTab("Timeline", timelinePane); // Summary tab is always visible and enabled. - updateSubTab(this.summaryTab, this.summaryOverview, new OverviewView(this.summaryTab - .extendLocatorId("OverviewView"), this.groupComposite), true, true); + updateSubTab(this.summaryTab, this.summaryOverview, + new OverviewView(this.summaryTab.extendLocatorId("OverviewView"), this.groupComposite), true, true);
if (updateTab(this.monitoringTab, groupCategory == GroupCategory.COMPATIBLE, true)) { visible = hasMetricsOfType(this.groupComposite, DataType.MEASUREMENT); @@ -224,8 +225,8 @@ public class ResourceGroupDetailView extends AbstractTwoLevelTabSetView<Resource }
// Inventory tab is always visible and enabled. - updateSubTab(this.inventoryTab, this.inventoryMembers, ResourceSearchView.getMembersOf(this.inventoryTab - .extendLocatorId("MembersView"), groupId), true, true); + updateSubTab(this.inventoryTab, this.inventoryMembers, + ResourceSearchView.getMembersOf(this.inventoryTab.extendLocatorId("MembersView"), groupId), true, true); // TODO: Uncomment this once the group config component is done. //updateSubTab(this.inventoryTab, this.inventoryConn, // new GroupPluginConfigurationEditView(this.group.getId(), this.group.getResourceType().getId(), ConfigurationEditor.ConfigType.plugin), @@ -235,19 +236,22 @@ public class ResourceGroupDetailView extends AbstractTwoLevelTabSetView<Resource groupId) : null; updateSubTab(this.inventoryTab, this.inventoryMembership, canvas, true, enabled);
- if (updateTab(this.operationsTab, groupCategory == GroupCategory.COMPATIBLE - && facets.contains(ResourceTypeFacet.OPERATION), true)) { + if (updateTab(this.operationsTab, + groupCategory == GroupCategory.COMPATIBLE && facets.contains(ResourceTypeFacet.OPERATION), true)) { updateSubTab(this.operationsTab, this.opHistory, new FullHTMLPane( "/rhq/group/operation/groupOperationHistory-plain.xhtml?groupId=" + groupId), true, true); updateSubTab(this.operationsTab, this.opSched, new FullHTMLPane( "/rhq/group/operation/groupOperationSchedules-plain.xhtml?groupId=" + groupId), true, true); }
- if (updateTab(this.operationsTab, groupCategory == GroupCategory.COMPATIBLE, true)) { - updateSubTab(this.alertsTab, this.alertHistory, new FullHTMLPane( - "/rhq/group/alert/listGroupAlertHistory-plain.xhtml?groupId=" + groupId), true, true); - updateSubTab(this.alertsTab, this.alertDef, new FullHTMLPane( - "/rhq/group/alert/listGroupAlertDefinitions-plain.xhtml?groupId=" + groupId), true, true); + // alerts tab is always visible, even for mixed groups + if (updateTab(this.alertsTab, true, true)) { + // alert history is always available + updateSubTab(this.alertsTab, this.alertHistory, GroupAlertHistoryView.get(groupComposite), true, true); + // but alert definitions can only be created on compatible groups + updateSubTab(this.alertsTab, this.alertDef, + new GroupAlertDefinitionsView(alertsTab.extendLocatorId("AlertDefView"), this.groupComposite), + groupCategory == GroupCategory.COMPATIBLE, true); }
visible = groupCategory == GroupCategory.COMPATIBLE && facets.contains(ResourceTypeFacet.CONFIGURATION); @@ -260,17 +264,14 @@ public class ResourceGroupDetailView extends AbstractTwoLevelTabSetView<Resource "/rhq/group/configuration/history-plain.xhtml?groupId=" + groupId), true, true); }
- if (updateTab(this.eventsTab, groupCategory == GroupCategory.COMPATIBLE - && facets.contains(ResourceTypeFacet.EVENT), true)) { - updateSubTab(this.eventsTab, this.eventHistory, EventCompositeHistoryView.get(this.eventsTab - .extendLocatorId("CompositeHistView"), groupComposite), true, true); + visible = groupCategory == GroupCategory.MIXED || // allow mixed groups to show events from supporting resources + (groupCategory == GroupCategory.COMPATIBLE && facets.contains(ResourceTypeFacet.EVENT)); + if (updateTab(this.eventsTab, visible, true)) { + updateSubTab(this.eventsTab, this.eventHistory, + EventCompositeHistoryView.get(this.eventsTab.extendLocatorId("CompositeHistView"), groupComposite), + true, true); }
- // alerts tab is always visible - // TODO what about history subtab? - updateSubTab(this.alertsTab, this.alertDef, new GroupAlertDefinitionsView(alertsTab - .extendLocatorId("AlertDefView"), this.groupComposite), true, true); - this.show(); markForRedraw(); } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/ResourceDetailView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/ResourceDetailView.java index 0e22ac2..3b1d107 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/ResourceDetailView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/ResourceDetailView.java @@ -39,6 +39,7 @@ import org.rhq.core.domain.resource.composite.ResourcePermission; import org.rhq.core.domain.util.PageList; import org.rhq.enterprise.gui.coregui.client.CoreGUI; import org.rhq.enterprise.gui.coregui.client.ViewPath; +import org.rhq.enterprise.gui.coregui.client.alert.ResourceAlertHistoryView; import org.rhq.enterprise.gui.coregui.client.alert.definitions.ResourceAlertDefinitionsView; import org.rhq.enterprise.gui.coregui.client.components.FullHTMLPane; import org.rhq.enterprise.gui.coregui.client.components.tab.SubTab; @@ -203,8 +204,8 @@ public class ResourceDetailView extends AbstractTwoLevelTabSetView<ResourceCompo ResourcePermission resourcePermissions = this.resourceComposite.getResourcePermission(); Set<ResourceTypeFacet> facets = this.resourceComposite.getResourceFacets().getFacets();
- updateSubTab(this.summaryTab, this.summaryOverview, new OverviewView(this.summaryTab - .extendLocatorId("OverviewView"), this.resourceComposite), true, true); + updateSubTab(this.summaryTab, this.summaryOverview, + new OverviewView(this.summaryTab.extendLocatorId("OverviewView"), this.resourceComposite), true, true); updateSubTab(this.summaryTab, this.summaryDashboard, new DashboardView(this.resourceComposite), true, true); updateSubTab(this.summaryTab, this.summaryTimeline, new FullHTMLPane( "/rhq/resource/summary/timeline-plain.xhtml?id=" + resource.getId()), true, true); @@ -222,8 +223,9 @@ public class ResourceDetailView extends AbstractTwoLevelTabSetView<ResourceCompo
updateSubTab(this.monitoringTab, this.monitorAvail, new FullHTMLPane( "/rhq/resource/monitor/availabilityHistory-plain.xhtml?id=" + resource.getId()), true, true); - updateSubTab(this.monitoringTab, this.monitorSched, new SchedulesView(monitoringTab - .extendLocatorId("SchedulesView"), resource.getId()), hasMetricsOfType(this.resourceComposite, null), true); + updateSubTab(this.monitoringTab, this.monitorSched, + new SchedulesView(monitoringTab.extendLocatorId("SchedulesView"), resource.getId()), + hasMetricsOfType(this.resourceComposite, null), true); visible = facets.contains(ResourceTypeFacet.CALL_TIME); canvas = (visible) ? new FullHTMLPane("/rhq/resource/monitor/response-plain.xhtml?id=" + resource.getId()) : null; @@ -238,8 +240,9 @@ public class ResourceDetailView extends AbstractTwoLevelTabSetView<ResourceCompo canvas = (visible) ? new PluginConfigurationEditView(this.inventoryTab.extendLocatorId("PluginConfigView"), resourceComposite) : null; updateSubTab(this.inventoryTab, this.inventoryConn, canvas, visible, true); - updateSubTab(this.inventoryTab, this.inventoryGroups, ResourceGroupListView.getGroupsOf(this.inventoryTab - .extendLocatorId("GroupsView"), resource.getId()), true, true); + updateSubTab(this.inventoryTab, this.inventoryGroups, + ResourceGroupListView.getGroupsOf(this.inventoryTab.extendLocatorId("GroupsView"), resource.getId()), true, + true); enabled = globalPermissions.contains(Permission.MANAGE_INVENTORY); canvas = (enabled) ? new ResourceResourceGroupsView(this.inventoryTab.extendLocatorId("GroupMembershipView"), resourceId) : null; @@ -252,33 +255,30 @@ public class ResourceDetailView extends AbstractTwoLevelTabSetView<ResourceCompo // 3) operation arguments/results become read-only configuration data in the history details pop-up // 4) user can navigate to the group operation that spawned this resource operation history, if appropriate // note: enabled operation execution/schedules from left-nav, if it doesn't already exist - updateSubTab(this.operationsTab, this.opHistory, OperationHistoryView.getResourceHistoryView(operationsTab - .extendLocatorId("HistoryView"), this.resourceComposite), true, true); + updateSubTab(this.operationsTab, this.opHistory, OperationHistoryView.getResourceHistoryView( + operationsTab.extendLocatorId("HistoryView"), this.resourceComposite), true, true); updateSubTab(this.operationsTab, this.opSched, new FullHTMLPane( "/rhq/resource/operation/resourceOperationSchedules-plain.xhtml?id=" + resource.getId()), true, true); }
- // comment out GWT-based alert definitions/history views until... - // 1) new workflow is implement for alert definition creation, with particular attention to interaction model for alert notifications - // 2) user can delete/ack/purgeAll alerts if they possess the appropriate permissions - // 3) user can enable/disable/delete alert definitions if they possess the appropriate permissions - // 4) user can search alert history by: date alert was fired, alert priority, or alert definition - updateSubTab(this.alertsTab, this.alertHistory, new FullHTMLPane( - "/rhq/resource/alert/listAlertHistory-plain.xhtml?id=" + resource.getId()), true, true); - updateSubTab(this.alertsTab, this.alertDef, new ResourceAlertDefinitionsView(alertsTab - .extendLocatorId("AlertDefView"), this.resourceComposite), true, true); - - if (updateTab(this.configurationTab, facets.contains(ResourceTypeFacet.CONFIGURATION), resourcePermissions - .isConfigureRead())) { - updateSubTab(this.configurationTab, this.configCurrent, new ResourceConfigurationEditView(this - .extendLocatorId("ResourceConfigView"), resourceComposite), true, true); - updateSubTab(this.configurationTab, this.configHistory, ConfigurationHistoryView.getHistoryOf(this - .extendLocatorId("ConfigHistView"), resource.getId()), true, true); + updateSubTab(this.alertsTab, this.alertHistory, ResourceAlertHistoryView.get(resourceComposite), true, true); + updateSubTab(this.alertsTab, this.alertDef, + new ResourceAlertDefinitionsView(alertsTab.extendLocatorId("AlertDefView"), this.resourceComposite), true, + true); + + if (updateTab(this.configurationTab, facets.contains(ResourceTypeFacet.CONFIGURATION), + resourcePermissions.isConfigureRead())) { + updateSubTab(this.configurationTab, this.configCurrent, + new ResourceConfigurationEditView(this.extendLocatorId("ResourceConfigView"), resourceComposite), true, + true); + updateSubTab(this.configurationTab, this.configHistory, + ConfigurationHistoryView.getHistoryOf(this.extendLocatorId("ConfigHistView"), resource.getId()), true, + true); }
if (updateTab(this.eventsTab, facets.contains(ResourceTypeFacet.EVENT), true)) { - updateSubTab(this.eventsTab, this.eventHistory, EventCompositeHistoryView.get(this.eventsTab - .extendLocatorId("CompositeHistoryView"), resourceComposite), true, true); + updateSubTab(this.eventsTab, this.eventHistory, EventCompositeHistoryView.get( + this.eventsTab.extendLocatorId("CompositeHistoryView"), resourceComposite), true, true); }
if (updateTab(this.contentTab, facets.contains(ResourceTypeFacet.CONTENT), true)) { diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/alert/ResourceAlertHistoryView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/alert/ResourceAlertHistoryView.java deleted file mode 100644 index 6143c6d..0000000 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/alert/ResourceAlertHistoryView.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * RHQ Management Platform - * Copyright (C) 2010 Red Hat, Inc. - * All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License, version 2, as - * published by the Free Software Foundation, and/or the GNU Lesser - * General Public License, version 2.1, also as published by the Free - * Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License and the GNU Lesser General Public License - * for more details. - * - * You should have received a copy of the GNU General Public License - * and the GNU Lesser General Public License along with this program; - * if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -package org.rhq.enterprise.gui.coregui.client.inventory.resource.detail.alert; - -import com.smartgwt.client.data.Criteria; - -import org.rhq.core.domain.criteria.AlertCriteria; -import org.rhq.core.domain.resource.composite.ResourceComposite; -import org.rhq.enterprise.gui.coregui.client.alert.AlertsView; -import org.rhq.enterprise.gui.coregui.client.inventory.resource.ResourceSelectListener; - -/** - * @author Ian Springer - */ -public class ResourceAlertHistoryView extends AlertsView implements ResourceSelectListener { - private static final String[] EXCLUDED_FIELD_NAMES = new String[] { AlertCriteria.SORT_FIELD_RESOURCE_ID }; - - public ResourceAlertHistoryView(String locatorId, int resourceId) { - super(locatorId, createCriteria(resourceId), EXCLUDED_FIELD_NAMES); - } - - public void onResourceSelected(ResourceComposite resourceComposite) { - refresh(createCriteria(resourceComposite.getResource().getId())); - } - - private static Criteria createCriteria(int resourceId) { - Criteria criteria = new Criteria(); - criteria.addCriteria(AlertCriteria.SORT_FIELD_RESOURCE_ID, resourceId); - return criteria; - } -} diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/discovery/ResourceAutodiscoveryView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/discovery/ResourceAutodiscoveryView.java index e1ea25e..70126e3 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/discovery/ResourceAutodiscoveryView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/discovery/ResourceAutodiscoveryView.java @@ -19,6 +19,7 @@ package org.rhq.enterprise.gui.coregui.client.inventory.resource.discovery;
import java.util.ArrayList; +import java.util.List;
import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.Criteria; @@ -47,6 +48,7 @@ import org.rhq.core.domain.resource.InventoryStatus; import org.rhq.enterprise.gui.coregui.client.CoreGUI; import org.rhq.enterprise.gui.coregui.client.gwt.GWTServiceLookup; import org.rhq.enterprise.gui.coregui.client.gwt.ResourceGWTServiceAsync; +import org.rhq.enterprise.gui.coregui.client.util.TableUtility; import org.rhq.enterprise.gui.coregui.client.util.message.Message; import org.rhq.enterprise.gui.coregui.client.util.selenium.LocatableDynamicForm; import org.rhq.enterprise.gui.coregui.client.util.selenium.LocatableIButton; @@ -224,14 +226,15 @@ public class ResourceAutodiscoveryView extends LocatableVLayout {
}
- private Integer[] getSelectedIds() { - ArrayList<Integer> selected = new ArrayList<Integer>(); + private int[] getSelectedIds() { + List<Integer> selected = new ArrayList<Integer>(); for (ListGridRecord node : treeGrid.getSelection()) { if (!InventoryStatus.COMMITTED.name().equals(node.getAttributeAsString("status"))) { selected.add(Integer.parseInt(node.getAttributeAsString("id"))); } } - return selected.toArray(new Integer[selected.size()]); + + return TableUtility.getIds(selected); }
/** Custom refresh operation as we cannot directly extend Table because it diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/report/ReportTopView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/report/ReportTopView.java index 4970242..1f5a37b 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/report/ReportTopView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/report/ReportTopView.java @@ -42,7 +42,7 @@ import org.rhq.enterprise.gui.coregui.client.BookmarkableView; import org.rhq.enterprise.gui.coregui.client.CoreGUI; import org.rhq.enterprise.gui.coregui.client.ViewId; import org.rhq.enterprise.gui.coregui.client.ViewPath; -import org.rhq.enterprise.gui.coregui.client.alert.AlertsView; +import org.rhq.enterprise.gui.coregui.client.alert.AlertHistoryView; import org.rhq.enterprise.gui.coregui.client.components.FullHTMLPane; import org.rhq.enterprise.gui.coregui.client.components.tree.EnhancedTreeNode; import org.rhq.enterprise.gui.coregui.client.dashboard.portlets.platform.PlatformPortletView; @@ -150,7 +150,7 @@ public class ReportTopView extends LocatableHLayout implements BookmarkableView final TreeNode recentOperations = new EnhancedTreeNode(OperationHistoryView.VIEW_ID); recentOperations.setIcon("subsystems/control/Operation_16.png");
- final TreeNode recentAlerts = new EnhancedTreeNode(AlertsView.VIEW_ID); + final TreeNode recentAlerts = new EnhancedTreeNode(AlertHistoryView.VIEW_ID); recentAlerts.setIcon("subsystems/alert/Alert_LOW_16.png");
final TreeNode alertDefinitions = new EnhancedTreeNode("Alert Definitions"); @@ -219,8 +219,8 @@ public class ReportTopView extends LocatableHLayout implements BookmarkableView content = new ConfigurationHistoryView(this.extendLocatorId("ConfigHistory")); } else if (OperationHistoryView.VIEW_ID.equals(pageName)) { content = new OperationHistoryView(this.extendLocatorId("RecentOps")); - } else if (AlertsView.VIEW_ID.equals(pageName)) { - content = new AlertsView(this.extendLocatorId("RecentAlerts")); + } else if (AlertHistoryView.VIEW_ID.equals(pageName)) { + content = new AlertHistoryView(this.extendLocatorId("RecentAlerts")); } else if ("Alert Definitions".equals(pageName)) { // TODO (mazz) } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/AlertDefinitionGWTServiceImpl.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/AlertDefinitionGWTServiceImpl.java index ada48ab..c704b49 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/AlertDefinitionGWTServiceImpl.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/AlertDefinitionGWTServiceImpl.java @@ -72,7 +72,7 @@ public class AlertDefinitionGWTServiceImpl extends AbstractGWTServiceImpl implem }
@Override - public int enableAlertDefinitions(Integer[] alertDefinitionIds) throws Exception { + public int enableAlertDefinitions(int[] alertDefinitionIds) throws Exception { try { int results = alertDefManager.enableAlertDefinitions(getSessionSubject(), alertDefinitionIds); return results; @@ -82,7 +82,7 @@ public class AlertDefinitionGWTServiceImpl extends AbstractGWTServiceImpl implem }
@Override - public int disableAlertDefinitions(Integer[] alertDefinitionIds) throws Exception { + public int disableAlertDefinitions(int[] alertDefinitionIds) throws Exception { try { int results = alertDefManager.disableAlertDefinitions(getSessionSubject(), alertDefinitionIds); return results; @@ -92,7 +92,7 @@ public class AlertDefinitionGWTServiceImpl extends AbstractGWTServiceImpl implem }
@Override - public int removeAlertDefinitions(Integer[] alertDefinitionIds) throws Exception { + public int removeAlertDefinitions(int[] alertDefinitionIds) throws Exception { try { int results = alertDefManager.removeAlertDefinitions(getSessionSubject(), alertDefinitionIds); return results; diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/AlertGWTServiceImpl.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/AlertGWTServiceImpl.java index dc7497f..9f66d19 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/AlertGWTServiceImpl.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/AlertGWTServiceImpl.java @@ -19,6 +19,7 @@ package org.rhq.enterprise.gui.coregui.server.gwt;
import org.rhq.core.domain.alert.Alert; +import org.rhq.core.domain.common.EntityContext; import org.rhq.core.domain.criteria.AlertCriteria; import org.rhq.core.domain.util.PageList; import org.rhq.core.util.exception.ThrowableUtil; @@ -29,6 +30,7 @@ import org.rhq.enterprise.server.util.LookupUtil;
/** * @author Ian Springer + * @author Joseph Marques */ public class AlertGWTServiceImpl extends AbstractGWTServiceImpl implements AlertGWTService { private static final long serialVersionUID = 1L; @@ -44,17 +46,33 @@ public class AlertGWTServiceImpl extends AbstractGWTServiceImpl implements Alert } }
- public void deleteResourceAlerts(Integer[] alertIds) { + public int deleteAlerts(int[] alertIds) { try { - this.alertManager.deleteResourceAlerts(getSessionSubject(), alertIds); + return this.alertManager.deleteAlerts(getSessionSubject(), alertIds); } catch (Exception e) { throw new RuntimeException(ThrowableUtil.getAllMessages(e)); } }
- public void acknowledgeResourceAlerts(Integer[] alertIds) { + public int deleteAlertsByContext(EntityContext context) { try { - this.alertManager.acknowledgeAlerts(getSessionSubject(), alertIds); + return this.alertManager.deleteAlertsByContext(getSessionSubject(), context); + } catch (Exception e) { + throw new RuntimeException(ThrowableUtil.getAllMessages(e)); + } + } + + public int acknowledgeAlerts(int[] alertIds) { + try { + return this.alertManager.acknowledgeAlerts(getSessionSubject(), alertIds); + } catch (Exception e) { + throw new RuntimeException(ThrowableUtil.getAllMessages(e)); + } + } + + public int acknowledgeAlertsByContext(EntityContext context) { + try { + return this.alertManager.acknowledgeAlertsByContext(getSessionSubject(), context); } catch (Exception e) { throw new RuntimeException(ThrowableUtil.getAllMessages(e)); } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/ResourceGWTServiceImpl.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/ResourceGWTServiceImpl.java index 861fe72..350f7e1 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/ResourceGWTServiceImpl.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/ResourceGWTServiceImpl.java @@ -66,7 +66,7 @@ public class ResourceGWTServiceImpl extends AbstractGWTServiceImpl implements Re private DiscoveryBossLocal discoveryBoss = LookupUtil.getDiscoveryBoss();
private static String[] importantFields = { "serialVersionUID", - // "ROOT \n" + + // "ROOT \n" + // "ROOT_ID \n" + "id",
@@ -252,14 +252,15 @@ public class ResourceGWTServiceImpl extends AbstractGWTServiceImpl implements Re
public Map<Resource, List<Resource>> getQueuedPlatformsAndServers(HashSet<InventoryStatus> statuses, PageControl pc) { try { - return SerialUtility.prepare(discoveryBoss.getQueuedPlatformsAndServers(getSessionSubject(), EnumSet - .copyOf(statuses), pc), "ResourceService.getQueuedPlatformsAndServers"); + return SerialUtility.prepare( + discoveryBoss.getQueuedPlatformsAndServers(getSessionSubject(), EnumSet.copyOf(statuses), pc), + "ResourceService.getQueuedPlatformsAndServers"); } catch (Exception e) { throw new RuntimeException(ThrowableUtil.getAllMessages(e)); } }
- public void importResources(Integer[] resourceIds) { + public void importResources(int[] resourceIds) { try { discoveryBoss.importResources(getSessionSubject(), resourceIds); } catch (Exception e) { @@ -267,7 +268,7 @@ public class ResourceGWTServiceImpl extends AbstractGWTServiceImpl implements Re } }
- public void ignoreResources(Integer[] resourceIds) { + public void ignoreResources(int[] resourceIds) { try { discoveryBoss.ignoreResources(getSessionSubject(), resourceIds); } catch (Exception e) { @@ -275,7 +276,7 @@ public class ResourceGWTServiceImpl extends AbstractGWTServiceImpl implements Re } }
- public void unignoreResources(Integer[] resourceIds) { + public void unignoreResources(int[] resourceIds) { try { discoveryBoss.unignoreResources(getSessionSubject(), resourceIds); } catch (Exception e) { diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/RoleGWTServiceImpl.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/RoleGWTServiceImpl.java index ed7e50d..2f1dcbc 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/RoleGWTServiceImpl.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/RoleGWTServiceImpl.java @@ -61,7 +61,7 @@ public class RoleGWTServiceImpl extends AbstractGWTServiceImpl implements RoleGW } }
- public void removeRoles(Integer[] roleIds) { + public void removeRoles(int[] roleIds) { try { roleManager.deleteRoles(getSessionSubject(), roleIds); } catch (Exception e) { diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/admin/role/RemoveAction.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/admin/role/RemoveAction.java index b18628c..96de2b4 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/admin/role/RemoveAction.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/admin/role/RemoveAction.java @@ -20,12 +20,15 @@ package org.rhq.enterprise.gui.admin.role;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; + import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; + import org.rhq.core.domain.auth.Subject; +import org.rhq.core.util.collection.ArrayUtils; import org.rhq.enterprise.gui.legacy.action.BaseAction; import org.rhq.enterprise.gui.legacy.util.RequestUtils; import org.rhq.enterprise.server.authz.RoleManagerLocal; @@ -58,7 +61,7 @@ public class RemoveAction extends BaseAction {
try { RoleManagerLocal roleManager = LookupUtil.getRoleManager(); - roleManager.deleteRoles(whoami, roles); + roleManager.deleteRoles(whoami, ArrayUtils.unwrapArray(roles)); } catch (Exception e) { log.trace("failed to remove roles"); RequestUtils.setError(request, "admin.role.error.RemoveRolePermission"); diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/alert/ListAlertDefinitionsUIBean.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/alert/ListAlertDefinitionsUIBean.java index 4ef1963..abafd44 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/alert/ListAlertDefinitionsUIBean.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/alert/ListAlertDefinitionsUIBean.java @@ -26,6 +26,7 @@ import org.rhq.core.domain.auth.Subject; import org.rhq.core.domain.util.PageControl; import org.rhq.core.domain.util.PageList; import org.rhq.core.gui.util.FacesContextUtility; +import org.rhq.core.gui.util.StringUtility; import org.rhq.enterprise.gui.common.framework.PagedDataTableUIBean; import org.rhq.enterprise.gui.common.paging.PageControlView; import org.rhq.enterprise.gui.common.paging.PagedListDataModel; @@ -52,7 +53,7 @@ public class ListAlertDefinitionsUIBean extends PagedDataTableUIBean { public String deleteSelectedAlertDefinitions() { Subject subject = EnterpriseFacesContextUtility.getSubject(); String[] selectedAlertDefinitions = getSelectedAlertDefinitions(); - Integer[] alertDefinitionIds = getIntegerArray(selectedAlertDefinitions); + int[] alertDefinitionIds = StringUtility.getIntArray(selectedAlertDefinitions);
try { int deleted = alertDefinitionManager.removeAlertDefinitions(subject, alertDefinitionIds); @@ -67,7 +68,7 @@ public class ListAlertDefinitionsUIBean extends PagedDataTableUIBean { public String enableSelectedAlertDefinitions() { Subject subject = EnterpriseFacesContextUtility.getSubject(); String[] selectedAlertDefinitions = getSelectedAlertDefinitions(); - Integer[] alertDefinitionIds = getIntegerArray(selectedAlertDefinitions); + int[] alertDefinitionIds = StringUtility.getIntArray(selectedAlertDefinitions);
try { int enabled = alertDefinitionManager.enableAlertDefinitions(subject, alertDefinitionIds); @@ -82,7 +83,7 @@ public class ListAlertDefinitionsUIBean extends PagedDataTableUIBean { public String disableSelectedAlertDefinitions() { Subject subject = EnterpriseFacesContextUtility.getSubject(); String[] selectedAlertDefinitions = getSelectedAlertDefinitions(); - Integer[] alertDefinitionIds = getIntegerArray(selectedAlertDefinitions); + int[] alertDefinitionIds = StringUtility.getIntArray(selectedAlertDefinitions);
try { int disabled = alertDefinitionManager.disableAlertDefinitions(subject, alertDefinitionIds); @@ -97,7 +98,7 @@ public class ListAlertDefinitionsUIBean extends PagedDataTableUIBean { public String copySelectedAlertDefinitions() { Subject subject = EnterpriseFacesContextUtility.getSubject(); String[] selectedAlertDefinitions = getSelectedAlertDefinitions(); - Integer[] alertDefinitionIds = getIntegerArray(selectedAlertDefinitions); + Integer[] alertDefinitionIds = StringUtility.getIntegerArray(selectedAlertDefinitions);
try { alertDefinitionManager.copyAlertDefinitions(subject, alertDefinitionIds); @@ -135,13 +136,4 @@ public class ListAlertDefinitionsUIBean extends PagedDataTableUIBean { private String[] getSelectedAlertDefinitions() { return FacesContextUtility.getRequest().getParameterValues("selectedAlertDefinitions"); } - - private Integer[] getIntegerArray(String[] input) { - Integer[] output = new Integer[input.length]; - for (int i = 0; i < output.length; i++) { - output[i] = Integer.valueOf(input[i]); - } - - return output; - } } \ No newline at end of file diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/alert/ListAlertHistoryUIBean.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/alert/ListAlertHistoryUIBean.java index 47ccf52..1e0affc 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/alert/ListAlertHistoryUIBean.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/alert/ListAlertHistoryUIBean.java @@ -39,7 +39,9 @@ import org.rhq.core.domain.alert.AlertConditionLog; import org.rhq.core.domain.alert.AlertPriority; import org.rhq.core.domain.alert.composite.AlertWithLatestConditionLog; import org.rhq.core.domain.auth.Subject; +import org.rhq.core.domain.common.EntityContext; import org.rhq.core.domain.common.composite.IntegerOptionItem; +import org.rhq.core.domain.criteria.AlertCriteria; import org.rhq.core.domain.measurement.DataType; import org.rhq.core.domain.resource.Resource; import org.rhq.core.domain.util.PageControl; @@ -155,13 +157,12 @@ public class ListAlertHistoryUIBean extends PagedDataTableUIBean {
public String deleteSelectedAlerts() { Subject subject = EnterpriseFacesContextUtility.getSubject(); - Resource resource = EnterpriseFacesContextUtility.getResource();
String[] selectedAlerts = getSelectedAlerts(); - Integer[] alertDefinitionIds = StringUtility.getIntegerArray(selectedAlerts); + int[] alertDefinitionIds = StringUtility.getIntArray(selectedAlerts);
try { - alertManager.deleteAlerts(subject, resource.getId(), alertDefinitionIds); + alertManager.deleteAlerts(subject, alertDefinitionIds); FacesContextUtility.addMessage(FacesMessage.SEVERITY_INFO, "Deleted " + alertDefinitionIds.length + " alerts."); } catch (Exception e) { @@ -174,10 +175,9 @@ public class ListAlertHistoryUIBean extends PagedDataTableUIBean { public String acknowledgeSelectedAlerts() {
Subject subject = EnterpriseFacesContextUtility.getSubject(); - Resource resource = EnterpriseFacesContextUtility.getResource();
String[] selectedAlerts = getSelectedAlerts(); - Integer[] alertIds = StringUtility.getIntegerArray(selectedAlerts); + int[] alertIds = StringUtility.getIntArray(selectedAlerts);
try { int num = alertManager.acknowledgeAlerts(subject, alertIds); @@ -198,7 +198,7 @@ public class ListAlertHistoryUIBean extends PagedDataTableUIBean { Resource resource = EnterpriseFacesContextUtility.getResource();
try { - int numDeleted = alertManager.deleteAlerts(subject, resource.getId()); + int numDeleted = alertManager.deleteAlertsByContext(subject, EntityContext.forResource(resource.getId())); FacesContextUtility.addMessage(FacesMessage.SEVERITY_INFO, "Deleted " + numDeleted + " alerts on this resource"); } catch (Exception e) { @@ -251,8 +251,16 @@ public class ListAlertHistoryUIBean extends PagedDataTableUIBean { endTime = new Date(beginTime + MILLIS_IN_DAY).getTime(); } Resource resource = getResource(); - PageList<Alert> alerts = alertManager.findAlerts(resource.getId(), alertDefinitionId, alertPriority, - beginTime, endTime, pc); + + AlertCriteria criteria = new AlertCriteria(); + criteria.addFilterResourceIds(resource.getId()); + criteria.addFilterAlertDefinitionIds(alertDefinitionId); + criteria.addFilterPriorities(alertPriority); + criteria.addFilterStartTime(beginTime); + criteria.addFilterEndTime(endTime); + criteria.setPageControl(pc); + + PageList<Alert> alerts = alertManager.findAlertsByCriteria(getSubject(), criteria);
List<AlertWithLatestConditionLog> results = new ArrayList<AlertWithLatestConditionLog>(alerts.size());
diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/alert/ListGroupAlertHistoryUIBean.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/alert/ListGroupAlertHistoryUIBean.java index 2c169cf..23768da 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/alert/ListGroupAlertHistoryUIBean.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/alert/ListGroupAlertHistoryUIBean.java @@ -39,6 +39,7 @@ import org.rhq.core.domain.alert.AlertConditionLog; import org.rhq.core.domain.alert.AlertPriority; import org.rhq.core.domain.alert.composite.AlertWithLatestConditionLog; import org.rhq.core.domain.auth.Subject; +import org.rhq.core.domain.common.EntityContext; import org.rhq.core.domain.common.composite.IntegerOptionItem; import org.rhq.core.domain.criteria.AlertCriteria; import org.rhq.core.domain.resource.Resource; @@ -158,15 +159,13 @@ public class ListGroupAlertHistoryUIBean extends PagedDataTableUIBean {
public String deleteSelectedAlerts() { Subject subject = EnterpriseFacesContextUtility.getSubject(); - ResourceGroup resourceGroup = EnterpriseFacesContextUtility.getResourceGroup();
String[] selectedAlerts = getSelectedAlerts(); - Integer[] alertDefinitionIds = StringUtility.getIntegerArray(selectedAlerts); + int[] alertIds = StringUtility.getIntArray(selectedAlerts);
try { - alertManager.deleteAlertsForResourceGroup(subject, resourceGroup.getId(), alertDefinitionIds); - FacesContextUtility.addMessage(FacesMessage.SEVERITY_INFO, "Deleted " + alertDefinitionIds.length - + " alerts."); + alertManager.deleteAlerts(subject, alertIds); + FacesContextUtility.addMessage(FacesMessage.SEVERITY_INFO, "Deleted " + alertIds.length + " alerts."); } catch (Exception e) { FacesContextUtility.addMessage(FacesMessage.SEVERITY_ERROR, "Failed to delete selected alerts.", e); } @@ -179,10 +178,7 @@ public class ListGroupAlertHistoryUIBean extends PagedDataTableUIBean { ResourceGroup resourceGroup = EnterpriseFacesContextUtility.getResourceGroup();
try { - int numDeleted = 0; - for (Integer resourceId : resourceManager.findImplicitResourceIdsByResourceGroup(resourceGroup.getId())) { - numDeleted += alertManager.deleteAlerts(subject, resourceId); - } + int numDeleted = alertManager.deleteAlertsByContext(subject, EntityContext.forGroup(resourceGroup.getId())); FacesContextUtility.addMessage(FacesMessage.SEVERITY_INFO, "Deleted " + numDeleted + " alerts on this group"); } catch (Exception e) { @@ -244,7 +240,7 @@ public class ListGroupAlertHistoryUIBean extends PagedDataTableUIBean { // show alerts for any resource in the group, not just those attached to the group alert definitions List<Integer> resourceIds = resourceManager.findImplicitResourceIdsByResourceGroup(resourceGroupId); searchCriteria.addFilterResourceIds(resourceIds.toArray(new Integer[resourceIds.size()])); - searchCriteria.addFilterPriority(alertPriority); + searchCriteria.addFilterPriorities(alertPriority); searchCriteria.addFilterStartTime(beginTime); searchCriteria.addFilterEndTime(endTime); searchCriteria.setPageControl(pc); diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/content/ListReposUIBean.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/content/ListReposUIBean.java index fc0988e..b2b2ed7 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/content/ListReposUIBean.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/content/ListReposUIBean.java @@ -29,6 +29,7 @@ import org.rhq.core.domain.content.Repo; import org.rhq.core.domain.util.PageControl; import org.rhq.core.domain.util.PageList; import org.rhq.core.gui.util.FacesContextUtility; +import org.rhq.core.gui.util.StringUtility; import org.rhq.enterprise.gui.common.framework.PagedDataTableUIBean; import org.rhq.enterprise.gui.common.paging.PageControlView; import org.rhq.enterprise.gui.common.paging.PagedListDataModel; @@ -60,14 +61,13 @@ public class ListReposUIBean extends PagedDataTableUIBean { public String syncSelectedRepos() { Subject subject = EnterpriseFacesContextUtility.getSubject(); String[] selected = getSelectedRepos(); - Integer[] repoIds = getIntegerArray(selected); + int[] repoIds = StringUtility.getIntArray(selected);
if (repoIds.length > 0) { int syncCount = 0; try { syncCount = repoManager.synchronizeRepos(subject, repoIds); - } - catch (Exception e) { + } catch (Exception e) { FacesContextUtility.addMessage(FacesMessage.SEVERITY_ERROR, "Failed to delete repositories.", e); } if (syncCount > 0) { @@ -85,7 +85,7 @@ public class ListReposUIBean extends PagedDataTableUIBean { public String deleteSelectedRepos() { Subject subject = EnterpriseFacesContextUtility.getSubject(); String[] selected = getSelectedRepos(); - Integer[] ids = getIntegerArray(selected); + int[] ids = StringUtility.getIntArray(selected);
if (ids.length > 0) { try { @@ -134,16 +134,4 @@ public class ListReposUIBean extends PagedDataTableUIBean { return FacesContextUtility.getRequest().getParameterValues("selectedRepos"); }
- private Integer[] getIntegerArray(String[] input) { - if (input == null) { - return new Integer[0]; - } - - Integer[] output = new Integer[input.length]; - for (int i = 0; i < output.length; i++) { - output[i] = Integer.valueOf(input[i]); - } - - return output; - } } \ No newline at end of file diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/content/RepoDetailsUIBean.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/content/RepoDetailsUIBean.java index dea6e98..d77b5fc 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/content/RepoDetailsUIBean.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/content/RepoDetailsUIBean.java @@ -89,7 +89,7 @@ public class RepoDetailsUIBean {
public String sync() { Subject subject = EnterpriseFacesContextUtility.getSubject(); - Integer[] repoIds = { FacesContextUtility.getRequiredRequestParameter("id", Integer.class) }; + int[] repoIds = { FacesContextUtility.getRequiredRequestParameter("id", Integer.class) }; int syncCount = 0; try { syncCount = LookupUtil.getRepoManagerLocal().synchronizeRepos(subject, repoIds); diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/inventory/resource/ResourceOverviewUIBean.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/inventory/resource/ResourceOverviewUIBean.java index f607421..d39eae9 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/inventory/resource/ResourceOverviewUIBean.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/inventory/resource/ResourceOverviewUIBean.java @@ -8,6 +8,7 @@ import org.rhq.core.domain.alert.Alert; import org.rhq.core.domain.auth.Subject; import org.rhq.core.domain.configuration.ResourceConfigurationUpdate; import org.rhq.core.domain.content.InstalledPackageHistory; +import org.rhq.core.domain.criteria.AlertCriteria; import org.rhq.core.domain.event.EventSeverity; import org.rhq.core.domain.measurement.composite.MeasurementOOBComposite; import org.rhq.core.domain.operation.composite.ResourceOperationLastCompletedComposite; @@ -15,6 +16,7 @@ import org.rhq.core.domain.util.PageControl; import org.rhq.core.domain.util.PageOrdering; import org.rhq.core.gui.util.FacesContextUtility; import org.rhq.enterprise.gui.util.EnterpriseFacesContextUtility; +import org.rhq.enterprise.server.alert.AlertManagerLocal; import org.rhq.enterprise.server.alert.engine.internal.Tuple; import org.rhq.enterprise.server.util.LookupUtil;
@@ -38,7 +40,14 @@ public class ResourceOverviewUIBean { private List<Alert> getAlerts(Subject subject, int resourceId, int count) { PageControl lastFive = new PageControl(0, count); lastFive.initDefaultOrderingField("a.ctime", PageOrdering.DESC); - return LookupUtil.getAlertManager().findAlerts(resourceId, null, null, null, null, lastFive); + + AlertCriteria criteria = new AlertCriteria(); + criteria.addFilterResourceIds(resourceId); + criteria.setPageControl(lastFive); + + AlertManagerLocal alertManager = LookupUtil.getAlertManager(); + List<Alert> results = alertManager.findAlertsByCriteria(subject, criteria); + return results; }
private List<ResourceOperationLastCompletedComposite> getOperations(Subject subject, int resourceId, int count) { diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/AckAlertAction.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/AckAlertAction.java index a202c5b..19e01a2 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/AckAlertAction.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/AckAlertAction.java @@ -65,7 +65,7 @@ public class AckAlertAction extends BaseAction { request.setAttribute("mode", mode); params.put("mode", mode);
- alertManager.acknowledgeAlerts(subject, new Integer[] { alertId }); + alertManager.acknowledgeAlerts(subject, new int[] { alertId });
log.debug("Acknowledged Alert with id " + alertId + " and user " + subject.getName());
diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/PortalAction.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/PortalAction.java index cf455dc..cb1e04e 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/PortalAction.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/PortalAction.java @@ -18,6 +18,7 @@ */ package org.rhq.enterprise.gui.legacy.action.resource.common.monitor.alerts;
+import java.util.List; import java.util.Properties;
import javax.servlet.http.HttpServletRequest; @@ -32,6 +33,8 @@ import org.apache.struts.action.ActionMapping; import org.rhq.core.clientapi.util.StringUtil; import org.rhq.core.domain.alert.Alert; import org.rhq.core.domain.alert.AlertDefinition; +import org.rhq.core.domain.auth.Subject; +import org.rhq.core.domain.criteria.AlertCriteria; import org.rhq.core.domain.resource.Resource; import org.rhq.core.domain.resource.ResourceCategory; import org.rhq.core.domain.resource.ResourceType; @@ -100,14 +103,20 @@ public class PortalAction extends ResourceController { // Get alert definition name Integer alertId = new Integer(request.getParameter("a"));
+ Subject subject = RequestUtils.getSubject(request); + AlertManagerLocal alertManager = LookupUtil.getAlertManager(); - Alert alert = alertManager.getById(alertId); - if (alert != null) { + AlertCriteria criteria = new AlertCriteria(); + criteria.addFilterId(alertId); + List<Alert> results = alertManager.findAlertsByCriteria(subject, criteria); + + if (results.size() == 0) { + request.setAttribute(AttrConstants.TITLE_PARAM2_ATTR, "! Alert not found !"); + } else { + Alert alert = results.get(0); AlertDefinition alertDefinition = alert.getAlertDefinition();
request.setAttribute(AttrConstants.TITLE_PARAM2_ATTR, alertDefinition.getName()); - } else { - request.setAttribute(AttrConstants.TITLE_PARAM2_ATTR, "! Alert not found !"); }
return null; diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/ReenableAlertDefinitionAction.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/ReenableAlertDefinitionAction.java index 265db09..76958eb 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/ReenableAlertDefinitionAction.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/ReenableAlertDefinitionAction.java @@ -34,7 +34,6 @@ import org.rhq.core.domain.auth.Subject; import org.rhq.enterprise.gui.legacy.action.BaseAction; import org.rhq.enterprise.gui.legacy.util.RequestUtils; import org.rhq.enterprise.server.alert.AlertDefinitionManagerLocal; -import org.rhq.enterprise.server.alert.AlertManagerLocal; import org.rhq.enterprise.server.util.LookupUtil;
/** @@ -48,33 +47,33 @@ public class ReenableAlertDefinitionAction extends BaseAction { private final Log log = LogFactory.getLog(ReenableAlertDefinitionAction.class);
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, - HttpServletResponse response) throws Exception { + HttpServletResponse response) throws Exception {
Subject subject = RequestUtils.getSubject(request); AlertDefinitionManagerLocal alertDefinitionManager = LookupUtil.getAlertDefinitionManager();
- Map<String,Object> params = new HashMap<String,Object>(4); + Map<String, Object> params = new HashMap<String, Object>(4); // pass-through the alertId and resource id Integer alertId = new Integer(request.getParameter("a")); request.setAttribute("a", alertId); - params.put("a",alertId); + params.put("a", alertId);
Integer alertDefId = new Integer(request.getParameter("ad")); request.setAttribute("ad", alertDefId); - params.put("ad",alertDefId); + params.put("ad", alertDefId);
Integer resourceId = new Integer(request.getParameter("id")); - request.setAttribute("id",resourceId); - params.put("id",resourceId); + request.setAttribute("id", resourceId); + params.put("id", resourceId);
String mode = request.getParameter("mode"); - request.setAttribute("mode",mode); - params.put("mode",mode); + request.setAttribute("mode", mode); + params.put("mode", mode);
- alertDefinitionManager.enableAlertDefinitions(subject, new Integer[]{alertDefId}); + alertDefinitionManager.enableAlertDefinitions(subject, new int[] { alertDefId });
log.debug("Reenabled Alert definition with id " + alertId + " and user " + subject.getName());
- return returnSuccess(request,mapping,params); + return returnSuccess(request, mapping, params); } } diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/RemoveAction.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/RemoveAction.java index a8ce97f..ec7d4bb 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/RemoveAction.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/RemoveAction.java @@ -31,6 +31,7 @@ import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping;
+import org.rhq.core.util.collection.ArrayUtils; import org.rhq.enterprise.gui.legacy.ParamConstants; import org.rhq.enterprise.gui.legacy.RetCodeConstants; import org.rhq.enterprise.gui.legacy.action.BaseAction; @@ -87,7 +88,7 @@ public class RemoveAction extends BaseAction { return returnNoResource(request, mapping);
AlertManagerLocal alertManager = LookupUtil.getAlertManager(); - alertManager.deleteAlerts(WebUtility.getSubject(request), resourceId, alertIds); + alertManager.deleteAlerts(WebUtility.getSubject(request), ArrayUtils.unwrapArray(alertIds));
if (log.isDebugEnabled()) log.debug("!!!!!!!!!!!!!!!! removing alerts!!!!!!!!!!!!"); diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/ViewAlertAction.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/ViewAlertAction.java index 01d4bc3..2432c51 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/ViewAlertAction.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/action/resource/common/monitor/alerts/ViewAlertAction.java @@ -44,6 +44,7 @@ import org.rhq.core.domain.alert.AlertConditionLog; import org.rhq.core.domain.alert.AlertDefinition; import org.rhq.core.domain.alert.notification.AlertNotificationLog; import org.rhq.core.domain.auth.Subject; +import org.rhq.core.domain.criteria.AlertCriteria; import org.rhq.core.domain.measurement.DataType; import org.rhq.core.domain.measurement.MeasurementDefinition; import org.rhq.core.server.MeasurementConverter; @@ -74,12 +75,15 @@ public class ViewAlertAction extends TilesAction { request.setAttribute("a", alertId);
// properties - Alert av = alertManager.getById(alertId); + AlertCriteria criteria = new AlertCriteria(); + criteria.addFilterId(alertId); + List<Alert> results = alertManager.findAlertsByCriteria(subject, criteria);
- if (av == null) { + if (results.size() == 0) { throw new IllegalArgumentException("Alert with id " + alertId + " was not found"); }
+ Alert av = results.get(0); AlertDefinition adv = av.getAlertDefinition(); request.setAttribute("alert", av); request.setAttribute(AttrConstants.ALERT_DEFINITION_ATTR, adv); diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/portlet/criticalalerts/RSSAction.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/portlet/criticalalerts/RSSAction.java index 99d7373..8bbaf73 100755 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/portlet/criticalalerts/RSSAction.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/portlet/criticalalerts/RSSAction.java @@ -29,14 +29,15 @@ import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.apache.struts.util.MessageResources;
+import org.rhq.core.clientapi.util.units.DateFormatter.DateSpecifics; import org.rhq.core.clientapi.util.units.FormattedNumber; import org.rhq.core.clientapi.util.units.ScaleConstants; import org.rhq.core.clientapi.util.units.UnitNumber; import org.rhq.core.clientapi.util.units.UnitsConstants; import org.rhq.core.clientapi.util.units.UnitsFormat; -import org.rhq.core.clientapi.util.units.DateFormatter.DateSpecifics; import org.rhq.core.domain.alert.Alert; import org.rhq.core.domain.alert.AlertPriority; +import org.rhq.core.domain.criteria.AlertCriteria; import org.rhq.core.domain.util.PageControl; import org.rhq.core.domain.util.PageList; import org.rhq.core.util.collection.ArrayUtils; @@ -68,9 +69,14 @@ public class RSSAction extends BaseRSSAction {
PageControl pageControl = new PageControl(0, prefs.count);
- PageList<Alert> alerts = alertManager.findAlerts(user.getSubject(), ("all".equals(prefs.displayAll) ? null - : ArrayUtils.wrapInArray(prefs.asArray())), AlertPriority.getByLegacyIndex(prefs.priority), - prefs.timeRange, pageControl); + AlertCriteria criteria = new AlertCriteria(); + criteria.addFilterPriorities(AlertPriority.getByLegacyIndex(prefs.priority)); + criteria.addFilterStartTime(prefs.timeRange); + criteria.addFilterResourceIds(("all".equals(prefs.displayAll) ? null : ArrayUtils.wrapInArray(prefs + .asArray()))); + criteria.setPageControl(pageControl); + + PageList<Alert> alerts = alertManager.findAlertsByCriteria(user.getSubject(), criteria);
if ((alerts != null) && (alerts.size() > 0)) { for (Alert alert : alerts) { diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/portlet/criticalalerts/ViewAction.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/portlet/criticalalerts/ViewAction.java index 1d9b37b..7bdf53c 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/portlet/criticalalerts/ViewAction.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/legacy/portlet/criticalalerts/ViewAction.java @@ -31,6 +31,7 @@ import org.apache.struts.tiles.actions.TilesAction;
import org.rhq.core.domain.alert.Alert; import org.rhq.core.domain.alert.AlertPriority; +import org.rhq.core.domain.criteria.AlertCriteria; import org.rhq.core.domain.resource.composite.DisambiguationReport; import org.rhq.core.domain.util.PageControl; import org.rhq.core.domain.util.PageList; @@ -53,8 +54,8 @@ public class ViewAction extends TilesAction { public int extract(Alert object) { return object.getAlertDefinition().getResource().getId(); } - }; - + }; + @Override public ActionForward execute(ComponentContext context, ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { @@ -75,11 +76,18 @@ public class ViewAction extends TilesAction { PageControl pageControl = new PageControl(0, alertPrefs.count); AlertManagerLocal alertManager = LookupUtil.getAlertManager(); ResourceManagerLocal resourceManager = LookupUtil.getResourceManager(); - PageList<Alert> alerts = alertManager.findAlerts(user.getSubject(), ("all".equals(alertPrefs.displayAll) ? null - : ArrayUtils.wrapInArray(alertPrefs.asArray())), AlertPriority.getByLegacyIndex(alertPrefs.priority), - alertPrefs.timeRange, pageControl); - - disambiguatedAlerts = DisambiguatedResourceListUtil.disambiguate(resourceManager, alerts, RESOURCE_ID_EXTRACTOR); + + AlertCriteria criteria = new AlertCriteria(); + criteria.addFilterPriorities(AlertPriority.getByLegacyIndex(alertPrefs.priority)); + criteria.addFilterStartTime(alertPrefs.timeRange); + criteria.addFilterResourceIds(("all".equals(alertPrefs.displayAll) ? null : ArrayUtils + .wrapInArray(alertPrefs.asArray()))); + criteria.setPageControl(pageControl); + + PageList<Alert> alerts = alertManager.findAlertsByCriteria(user.getSubject(), criteria); + + disambiguatedAlerts = DisambiguatedResourceListUtil.disambiguate(resourceManager, alerts, + RESOURCE_ID_EXTRACTOR); } catch (Exception e) { if (log.isDebugEnabled()) { log.debug("Dashboard Portlet [CriticalAlerts] experienced an error: " + e.getMessage(), e); diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/subsystem/SubsystemAlertDefinitionUIBean.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/subsystem/SubsystemAlertDefinitionUIBean.java index 41cc2fa..16f87ab 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/subsystem/SubsystemAlertDefinitionUIBean.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/subsystem/SubsystemAlertDefinitionUIBean.java @@ -39,9 +39,9 @@ import org.rhq.core.domain.util.PageControl; import org.rhq.core.domain.util.PageList; import org.rhq.core.gui.util.FacesContextUtility; import org.rhq.core.util.IntExtractor; +import org.rhq.core.util.collection.ArrayUtils; import org.rhq.enterprise.gui.common.converter.SelectItemUtils; import org.rhq.enterprise.gui.common.paging.PageControlView; -import org.rhq.enterprise.gui.common.paging.PagedListDataModel; import org.rhq.enterprise.gui.common.paging.ResourceNameDisambiguatingPagedListDataModel; import org.rhq.enterprise.gui.legacy.action.resource.common.monitor.alerts.AlertDefUtil; import org.rhq.enterprise.gui.util.EnterpriseFacesContextUtility; @@ -160,14 +160,13 @@ public class SubsystemAlertDefinitionUIBean extends SubsystemView { }
// delete resources first - alertDefinitionManager.removeAlertDefinitions(subject, resourceDefinitions - .toArray(new Integer[resourceDefinitions.size()])); + alertDefinitionManager.removeAlertDefinitions(subject, ArrayUtils.unwrapCollection(resourceDefinitions));
// then delete templates and group alert defs, which are both tolerant of missing child definitions - groupAlertDefinitionManager.removeGroupAlertDefinitions(subject, groupDefinitions - .toArray(new Integer[groupDefinitions.size()])); - alertTemplateManager.removeAlertTemplates(subject, typeDefinitions.toArray(new Integer[typeDefinitions - .size()])); + groupAlertDefinitionManager.removeGroupAlertDefinitions(subject, + groupDefinitions.toArray(new Integer[groupDefinitions.size()])); + alertTemplateManager.removeAlertTemplates(subject, + typeDefinitions.toArray(new Integer[typeDefinitions.size()]));
FacesContextUtility.addMessage(FacesMessage.SEVERITY_INFO, "Deleted selected alert definitions."); } catch (Exception e) { @@ -199,17 +198,17 @@ public class SubsystemAlertDefinitionUIBean extends SubsystemView { }
// delete resources first - alertDefinitionManager.disableAlertDefinitions(subject, resourceDefinitions - .toArray(new Integer[resourceDefinitions.size()])); + alertDefinitionManager.disableAlertDefinitions(subject, ArrayUtils.unwrapCollection(resourceDefinitions)); + //resourceDefinitions.toArray(new int[resourceDefinitions.size()]));
// then delete templates and group alert defs, which are both tolerant of missing child definitions - groupAlertDefinitionManager.disableGroupAlertDefinitions(subject, groupDefinitions - .toArray(new Integer[groupDefinitions.size()])); + groupAlertDefinitionManager.disableGroupAlertDefinitions(subject, + groupDefinitions.toArray(new Integer[groupDefinitions.size()]));
FacesContextUtility.addMessage(FacesMessage.SEVERITY_INFO, "Disable selected alert definitions."); } catch (Exception e) { - FacesContextUtility.addMessage(FacesMessage.SEVERITY_ERROR, "Failed to disable selected alert definitions.", - e); + FacesContextUtility.addMessage(FacesMessage.SEVERITY_ERROR, + "Failed to disable selected alert definitions.", e); }
return "success"; @@ -236,12 +235,11 @@ public class SubsystemAlertDefinitionUIBean extends SubsystemView { }
// delete resources first - alertDefinitionManager.enableAlertDefinitions(subject, resourceDefinitions - .toArray(new Integer[resourceDefinitions.size()])); + alertDefinitionManager.enableAlertDefinitions(subject, ArrayUtils.unwrapCollection(resourceDefinitions));
// then delete templates and group alert defs, which are both tolerant of missing child definitions - groupAlertDefinitionManager.enableGroupAlertDefinitions(subject, groupDefinitions - .toArray(new Integer[groupDefinitions.size()])); + groupAlertDefinitionManager.enableGroupAlertDefinitions(subject, + groupDefinitions.toArray(new Integer[groupDefinitions.size()]));
FacesContextUtility.addMessage(FacesMessage.SEVERITY_INFO, "Enable selected alert definitions."); } catch (Exception e) { diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/subsystem/SubsystemAlertHistoryUIBean.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/subsystem/SubsystemAlertHistoryUIBean.java index ca1cd5a..0987796 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/subsystem/SubsystemAlertHistoryUIBean.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/subsystem/SubsystemAlertHistoryUIBean.java @@ -28,19 +28,18 @@ import javax.faces.model.DataModel; import javax.faces.model.SelectItem; import javax.servlet.http.HttpServletRequest;
-import org.rhq.core.db.DatabaseType; import org.rhq.core.domain.alert.AlertCondition; import org.rhq.core.domain.alert.AlertConditionCategory; import org.rhq.core.domain.alert.AlertConditionLog; import org.rhq.core.domain.alert.composite.AlertHistoryComposite; import org.rhq.core.domain.auth.Subject; import org.rhq.core.domain.measurement.DataType; -import org.rhq.core.domain.resource.Resource; import org.rhq.core.domain.util.PageControl; import org.rhq.core.domain.util.PageList; import org.rhq.core.gui.util.FacesContextUtility; import org.rhq.core.server.MeasurementConverter; import org.rhq.core.util.IntExtractor; +import org.rhq.core.util.collection.ArrayUtils; import org.rhq.enterprise.gui.common.converter.SelectItemUtils; import org.rhq.enterprise.gui.common.paging.PageControlView; import org.rhq.enterprise.gui.common.paging.ResourceNameDisambiguatingPagedListDataModel; @@ -138,8 +137,8 @@ public class SubsystemAlertHistoryUIBean extends SubsystemView { Integer[] selected = getSelectedItems();
try { - int numDeleted = manager.deleteAlertHistories(getSubject(), selected); - FacesContextUtility.addMessage(FacesMessage.SEVERITY_INFO, "Deleted " + numDeleted + " alerts."); + manager.deleteAlertHistories(getSubject(), selected); + FacesContextUtility.addMessage(FacesMessage.SEVERITY_INFO, "Deleted " + selected.length + " alerts."); } catch (Exception e) { FacesContextUtility.addMessage(FacesMessage.SEVERITY_ERROR, "Failed to delete selected alerts.", e); } @@ -157,6 +156,7 @@ public class SubsystemAlertHistoryUIBean extends SubsystemView {
return "success"; } + public String acknowledgeSelectedAlerts() {
Subject subject = EnterpriseFacesContextUtility.getSubject(); @@ -164,11 +164,11 @@ public class SubsystemAlertHistoryUIBean extends SubsystemView {
try { Integer[] selectedItems = getSelectedItems(); - int num = alertManager.acknowledgeAlerts(subject, selectedItems); - if (num==-1) - FacesContextUtility.addMessage(FacesMessage.SEVERITY_WARN,"No Alerts passed to ack"); + int num = alertManager.acknowledgeAlerts(subject, ArrayUtils.unwrapArray(selectedItems)); + if (num == -1) + FacesContextUtility.addMessage(FacesMessage.SEVERITY_WARN, "No Alerts passed to ack"); else - FacesContextUtility.addMessage(FacesMessage.SEVERITY_INFO,"Acknowledged " + num + " alerts"); + FacesContextUtility.addMessage(FacesMessage.SEVERITY_INFO, "Acknowledged " + num + " alerts"); } catch (Exception e) { FacesContextUtility.addMessage(FacesMessage.SEVERITY_ERROR, "Failed to acknowledge selected alerts.", e); } @@ -177,8 +177,6 @@ public class SubsystemAlertHistoryUIBean extends SubsystemView {
}
- - @Override public DataModel getDataModel() { if (dataModel == null) { diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertDefinitionManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertDefinitionManagerBean.java index a221d96..2ceaa88 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertDefinitionManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertDefinitionManagerBean.java @@ -243,8 +243,8 @@ public class AlertDefinitionManagerBean implements AlertDefinitionManagerLocal, if (alertDefinition.getRecoveryId() != 0) { // only add to the cache if the to-be-recovered definition is disabled, and thus needs recovering // use entityManager direct to bypass security checks, we already know this user is authorized - AlertDefinition toBeRecoveredDefinition = entityManager.find(AlertDefinition.class, alertDefinition - .getRecoveryId()); + AlertDefinition toBeRecoveredDefinition = entityManager.find(AlertDefinition.class, + alertDefinition.getRecoveryId()); if (toBeRecoveredDefinition.getEnabled() == false) { addToCache = true; } @@ -294,7 +294,7 @@ public class AlertDefinitionManagerBean implements AlertDefinitionManagerLocal, } }
- public int removeAlertDefinitions(Subject subject, Integer[] alertDefinitionIds) { + public int removeAlertDefinitions(Subject subject, int[] alertDefinitionIds) { int modifiedCount = 0; boolean isResourceLevel = false;
@@ -321,7 +321,7 @@ public class AlertDefinitionManagerBean implements AlertDefinitionManagerLocal, return modifiedCount; }
- public int enableAlertDefinitions(Subject subject, Integer[] alertDefinitionIds) { + public int enableAlertDefinitions(Subject subject, int[] alertDefinitionIds) { int modifiedCount = 0; boolean isResourceLevel = false; for (int alertDefId : alertDefinitionIds) { @@ -379,7 +379,7 @@ public class AlertDefinitionManagerBean implements AlertDefinitionManagerLocal, return (resultIds.size() == 1); }
- public int disableAlertDefinitions(Subject subject, Integer[] alertDefinitionIds) { + public int disableAlertDefinitions(Subject subject, int[] alertDefinitionIds) { int modifiedCount = 0; boolean isResourceLevel; for (int alertDefId : alertDefinitionIds) { @@ -540,8 +540,8 @@ public class AlertDefinitionManagerBean implements AlertDefinitionManagerLocal, // if this was a recovery alert, or was recently turned into one if (newAlertDefinition.getRecoveryId() != 0) { // only add to the cache if the to-be-recovered definition is disabled, and thus needs recovering - AlertDefinition toBeRecoveredDefinition = getAlertDefinitionById(subject, newAlertDefinition - .getRecoveryId()); + AlertDefinition toBeRecoveredDefinition = getAlertDefinitionById(subject, + newAlertDefinition.getRecoveryId()); if (toBeRecoveredDefinition.getEnabled() == false) { addToCache = true; } @@ -696,8 +696,8 @@ public class AlertDefinitionManagerBean implements AlertDefinitionManagerLocal, public PageList<AlertDefinition> findAlertDefinitionsByCriteria(Subject subject, AlertDefinitionCriteria criteria) { CriteriaQueryGenerator generator = new CriteriaQueryGenerator(subject, criteria); if (authorizationManager.isInventoryManager(subject) == false) { - generator.setAuthorizationResourceFragment(CriteriaQueryGenerator.AuthorizationTokenType.RESOURCE, subject - .getId()); + generator.setAuthorizationResourceFragment(CriteriaQueryGenerator.AuthorizationTokenType.RESOURCE, + subject.getId()); }
CriteriaQueryRunner<AlertDefinition> queryRunner = new CriteriaQueryRunner(criteria, generator, entityManager); diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertDefinitionManagerLocal.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertDefinitionManagerLocal.java index cca307f..e380f73 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertDefinitionManagerLocal.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertDefinitionManagerLocal.java @@ -77,11 +77,11 @@ public interface AlertDefinitionManagerLocal {
PageList<AlertDefinition> findAlertDefinitionsByCriteria(Subject subject, AlertDefinitionCriteria criteria);
- int enableAlertDefinitions(Subject subject, Integer[] alertDefinitionIds); + int enableAlertDefinitions(Subject subject, int[] alertDefinitionIds);
- int disableAlertDefinitions(Subject subject, Integer[] alertDefinitionIds); + int disableAlertDefinitions(Subject subject, int[] alertDefinitionIds);
- int removeAlertDefinitions(Subject subject, Integer[] alertDefinitionIds); + int removeAlertDefinitions(Subject subject, int[] alertDefinitionIds);
String[] getAlertNotificationConfigurationPreview(Subject sessionSubject, AlertNotification[] notifications); } \ No newline at end of file diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertDefinitionManagerRemote.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertDefinitionManagerRemote.java index 3280d70..f7a4063 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertDefinitionManagerRemote.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertDefinitionManagerRemote.java @@ -48,17 +48,17 @@ public interface AlertDefinitionManagerRemote { @WebMethod int enableAlertDefinitions(// @WebParam(name = "subject") Subject subject, // - @WebParam(name = "alertDefinitionIds") Integer[] alertDefinitionIds); + @WebParam(name = "alertDefinitionIds") int[] alertDefinitionIds);
@WebMethod int disableAlertDefinitions(// @WebParam(name = "subject") Subject subject, // - @WebParam(name = "alertDefinitionIds") Integer[] alertDefinitionIds); + @WebParam(name = "alertDefinitionIds") int[] alertDefinitionIds);
@WebMethod int removeAlertDefinitions(// @WebParam(name = "subject") Subject subject, // - @WebParam(name = "alertDefinitionIds") Integer[] alertDefinitionIds); + @WebParam(name = "alertDefinitionIds") int[] alertDefinitionIds);
@WebMethod String[] getAlertNotificationConfigurationPreview(// diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerBean.java index b4454ed..fc9a03a 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerBean.java @@ -52,21 +52,19 @@ import org.rhq.core.domain.alert.AlertCondition; import org.rhq.core.domain.alert.AlertConditionCategory; import org.rhq.core.domain.alert.AlertConditionLog; import org.rhq.core.domain.alert.AlertDefinition; -import org.rhq.core.domain.alert.AlertPriority; import org.rhq.core.domain.alert.notification.AlertNotification; import org.rhq.core.domain.alert.notification.AlertNotificationLog; import org.rhq.core.domain.alert.notification.ResultState; import org.rhq.core.domain.alert.notification.SenderResult; import org.rhq.core.domain.auth.Subject; import org.rhq.core.domain.authz.Permission; +import org.rhq.core.domain.common.EntityContext; import org.rhq.core.domain.criteria.AlertCriteria; import org.rhq.core.domain.measurement.MeasurementSchedule; import org.rhq.core.domain.measurement.MeasurementUnits; import org.rhq.core.domain.operation.OperationDefinition; import org.rhq.core.domain.resource.Resource; -import org.rhq.core.domain.util.PageControl; import org.rhq.core.domain.util.PageList; -import org.rhq.core.domain.util.PageOrdering; import org.rhq.core.server.MeasurementConverter; import org.rhq.core.server.PersistenceUtility; import org.rhq.core.util.collection.ArrayUtils; @@ -136,124 +134,278 @@ public class AlertManagerBean implements AlertManagerLocal, AlertManagerRemote { return alert; }
- public Alert updateAlert(Alert alert) { - return entityManager.merge(alert); + // TODO: iterate in batches of 1000 elements at a time + public int deleteAlerts(Subject user, int[] alertIds) { + if (alertIds == null || alertIds.length == 0) { + return 0; + } + + List<Integer> alertIdList = ArrayUtils.wrapInList(alertIds); + + checkAlertsPermission(user, alertIdList); + + Query deleteConditionLogsQuery = entityManager.createNamedQuery(AlertConditionLog.QUERY_DELETE_BY_ALERT_IDS); + Query deleteNotifLogsQuery = entityManager.createNamedQuery(AlertNotificationLog.QUERY_DELETE_BY_ALERT_IDS); + Query deleteAlertsQuery = entityManager.createNamedQuery(Alert.QUERY_DELETE_BY_IDS); + + int updated = 0; + BatchIterator<Integer> batchIter = new BatchIterator<Integer>(alertIdList); + while (batchIter.hasMoreBatches()) { + List<Integer> nextBatch = batchIter.getNextBatch(); + + // need to delete related objects before deleting alerts + deleteConditionLogsQuery.setParameter("alertIds", nextBatch); + deleteConditionLogsQuery.executeUpdate(); + deleteNotifLogsQuery.setParameter("alertIds", nextBatch); + deleteNotifLogsQuery.executeUpdate(); + + // now we can delete alerts + deleteAlertsQuery.setParameter("alertIds", nextBatch); + updated += deleteAlertsQuery.executeUpdate(); + } + return updated; }
+ // TODO: iterate in batches of 1000 elements at a time /** - * Remove the alerts with the specified id's. - * @param user caller - * @param alertIds primary keys of the alerts to delete - * @return number of alerts deleted + * Acknowledge alert(s) so that administrators know who is working on remedying the underlying + * condition(s) that caused the alert(s) in the first place. + * + * @param user calling user + * @param alertIds PKs of the alerts to acknowledge + * @return number of alerts acknowledged */ - public int deleteAlerts(Subject user, Integer[] alertIds) { - int count = 0; - for (Integer nextAlertId : alertIds) { - Alert alert = entityManager.find(Alert.class, nextAlertId); - if (alert != null) { - // AlertNotificationLog anl = alert.getAlertNotificationLog(); TODO is that all? - // entityManager.remove(anl); - Resource resource = alert.getAlertDefinition().getResource(); - if (!authorizationManager.hasResourcePermission(user, Permission.MANAGE_ALERTS, resource.getId())) { - throw new PermissionException("User [" + user.getName() - + "] does not have permissions to delete alerts: " + Arrays.asList(alertIds)); - } + public int acknowledgeAlerts(Subject subject, int[] alertIds) { + if (alertIds == null || alertIds.length == 0) { + return 0; + }
- entityManager.remove(alert); // condition logs will be removed with entity cascading - } - count++; + List<Integer> alertIdList = ArrayUtils.wrapInList(alertIds); + + checkAlertsPermission(subject, alertIdList); + + Query ackAlertsQuery = entityManager.createNamedQuery(Alert.QUERY_ACKNOWLEDGE_BY_IDS); + ackAlertsQuery.setParameter("subjectName", subject.getName()); + ackAlertsQuery.setParameter("ackTime", System.currentTimeMillis()); + + int modified = 0; + BatchIterator<Integer> batchIter = new BatchIterator<Integer>(alertIdList); + while (batchIter.hasMoreBatches()) { + List<Integer> nextBatch = batchIter.getNextBatch(); + ackAlertsQuery.setParameter("alertIds", nextBatch); + modified += ackAlertsQuery.executeUpdate(); } - return count; + + return modified; }
- @SuppressWarnings("unchecked") - private void checkAlertsPermission(Subject user, Integer[] alertIds) { - Query q = entityManager.createNamedQuery(Alert.QUERY_FIND_RESOURCES); - q.setParameter("alertIds", Arrays.asList(alertIds)); - List<Resource> resources = q.getResultList(); - - List<Resource> forbiddenResources = new ArrayList<Resource>(); - for (Resource resource : resources) { - if (!authorizationManager.hasResourcePermission(user, Permission.MANAGE_ALERTS, resource.getId())) { - forbiddenResources.add(resource); + public int deleteAlertsByContext(Subject subject, EntityContext context) { + Query deleteConditionLogsQuery = null; + Query deleteNotificationLogsQuery = null; + Query deleteAlertsQuery = null; + + if (context.category == EntityContext.Category.Resource) { + if (!authorizationManager.hasResourcePermission(subject, Permission.MANAGE_ALERTS, context.resourceId)) { + throw new PermissionException("Can not delete alerts - " + subject + " lacks " + + Permission.MANAGE_ALERTS + " for resource[id=" + context.resourceId + "]"); } + deleteConditionLogsQuery = entityManager.createNamedQuery(AlertConditionLog.QUERY_DELETE_BY_RESOURCES); + deleteConditionLogsQuery.setParameter("resourceIds", Arrays.asList(context.resourceId)); + + deleteNotificationLogsQuery = entityManager + .createNamedQuery(AlertNotificationLog.QUERY_DELETE_BY_RESOURCES); + deleteNotificationLogsQuery.setParameter("resourceIds", Arrays.asList(context.resourceId)); + + deleteAlertsQuery = entityManager.createNamedQuery(Alert.QUERY_DELETE_BY_RESOURCES); + deleteAlertsQuery.setParameter("resourceIds", Arrays.asList(context.resourceId)); + + } else if (context.category == EntityContext.Category.ResourceGroup) { + if (!authorizationManager.hasGroupPermission(subject, Permission.MANAGE_ALERTS, context.groupId)) { + throw new PermissionException("Can not delete alerts - " + subject + " lacks " + + Permission.MANAGE_ALERTS + " for group[id=" + context.groupId + "]"); + } + deleteConditionLogsQuery = entityManager + .createNamedQuery(AlertConditionLog.QUERY_DELETE_BY_RESOURCE_GROUPS); + deleteConditionLogsQuery.setParameter("resourceIds", Arrays.asList(context.resourceId)); + + deleteNotificationLogsQuery = entityManager + .createNamedQuery(AlertNotificationLog.QUERY_DELETE_BY_RESOURCE_GROUPS); + deleteNotificationLogsQuery.setParameter("resourceIds", Arrays.asList(context.resourceId)); + + deleteAlertsQuery = entityManager.createNamedQuery(Alert.QUERY_DELETE_BY_RESOURCE_GROUPS); + deleteAlertsQuery.setParameter("groupIds", Arrays.asList(context.groupId)); + + } else if (context.category == EntityContext.Category.SubsystemView) { + if (!authorizationManager.isInventoryManager(subject)) { + throw new PermissionException("Can not delete alerts - " + subject + " lacks " + + Permission.MANAGE_INVENTORY + " for global alerts history"); + } + deleteConditionLogsQuery = entityManager.createNamedQuery(AlertConditionLog.QUERY_DELETE_ALL); + deleteNotificationLogsQuery = entityManager.createNamedQuery(AlertNotificationLog.QUERY_DELETE_ALL); + deleteAlertsQuery = entityManager.createNamedQuery(Alert.QUERY_DELETE_ALL); + } else { + throw new IllegalArgumentException("No support for deleting alerts for " + context); } - if (!forbiddenResources.isEmpty()) { - throw new PermissionException("User [" + user.getName() + "] does not have permissions to manage alerts " - + "for the following Resource(s): " + forbiddenResources); - } + + deleteConditionLogsQuery.executeUpdate(); + deleteNotificationLogsQuery.executeUpdate(); + int affectedRows = deleteAlertsQuery.executeUpdate(); + return affectedRows; }
- public void deleteResourceAlerts(Subject user, Integer[] alertIds) { - checkAlertsPermission(user, alertIds); + public int acknowledgeAlertsByContext(Subject subject, EntityContext context) { + Query query = null; + if (context.category == EntityContext.Category.Resource) { + if (!authorizationManager.hasResourcePermission(subject, Permission.MANAGE_ALERTS, context.resourceId)) { + throw new PermissionException("Can not acknowledge alerts - " + subject + " lacks " + + Permission.MANAGE_ALERTS + " for resource[id=" + context.resourceId + "]"); + } + query = entityManager.createNamedQuery(Alert.QUERY_ACKNOWLEDGE_BY_RESOURCES); + query.setParameter("resourceIds", Arrays.asList(context.resourceId));
- deleteAlerts(user, alertIds); - } + } else if (context.category == EntityContext.Category.ResourceGroup) { + if (!authorizationManager.hasGroupPermission(subject, Permission.MANAGE_ALERTS, context.groupId)) { + throw new PermissionException("Can not acknowledge alerts - " + subject + " lacks " + + Permission.MANAGE_ALERTS + " for group[id=" + context.groupId + "]"); + } + query = entityManager.createNamedQuery(Alert.QUERY_ACKNOWLEDGE_BY_RESOURCE_GROUPS); + query.setParameter("groupIds", Arrays.asList(context.groupId));
- public void deleteAlerts(Subject user, int resourceId, Integer[] ids) { - if (!authorizationManager.hasResourcePermission(user, Permission.MANAGE_ALERTS, resourceId)) { - throw new PermissionException("User [" + user.getName() + "] does not have permissions to delete alerts " - + "for resourceId=" + resourceId); + } else if (context.category == EntityContext.Category.SubsystemView) { + if (!authorizationManager.isInventoryManager(subject)) { + throw new PermissionException("Can not acknowledge alerts - " + subject + " lacks " + + Permission.MANAGE_INVENTORY + " for global alerts history"); + } + query = entityManager.createNamedQuery(Alert.QUERY_ACKNOWLEDGE_ALL); + } else { + throw new IllegalArgumentException("No support for acknowledging alerts for " + context); }
- deleteAlerts(user, ids); + query.setParameter("subjectName", subject.getName()); + query.setParameter("ackTime", System.currentTimeMillis()); + + int affectedRows = query.executeUpdate(); + return affectedRows; }
- public void deleteAlertsForResourceGroup(Subject user, int resourceGroupId, Integer[] ids) { - if (!authorizationManager.hasGroupPermission(user, Permission.MANAGE_ALERTS, resourceGroupId)) { - throw new PermissionException("User [" + user.getName() + "] does not have permissions to delete alerts " - + "for groupId=" + resourceGroupId); + // TODO: if user passes an alertId that doesn't exist, it will generate a permission exception + // because the query will think the user does not have access to the corresponding resource. + // we need another check that ensures all alertIds exist first, or perhaps code that removes + // and/or gracefully ignores the ones that don't exist + // + // TODO: need to break up this query and iterate in blocks of 1000 ids at a time, to avoid oracle + // in-clause issues + private void checkAlertsPermission(Subject subject, List<Integer> alertIds) { + if (authorizationManager.isInventoryManager(subject)) { + return; // inventory manager }
- deleteAlerts(user, ids); + long canModifyCount = checkAuthz(subject, alertIds); + long canNotModifyCount = alertIds.size() - canModifyCount; + + if (canNotModifyCount != 0) { + /* + * implies one of two things: + * 1) user does not have permission to modify alerts for some of the corresponding resources + * 2) some of the passed alertIds do not exist + * + * to remedy this, let's remove alertIds that no longer exist. if the new list is smaller than the + * original list, we know that the list DID contain non-existent entries and we should perform the authz + * check again. however, if all of the elements in the original list existed, then we know that the + * original authz check was valid, and we should throw the necessary PermissionException + */ + + List<Integer> validAlertIds = removeNonExistent(alertIds); + if (validAlertIds.size() == alertIds.size()) { + throw new PermissionException(subject + " does not have permission to delete " + canNotModifyCount + + " of the " + alertIds.size() + " passsed alertIds"); + } else { + canModifyCount = checkAuthz(subject, alertIds); + canNotModifyCount = alertIds.size() - canModifyCount; + if (canNotModifyCount != 0) { + throw new PermissionException(subject + " does not have permission to delete " + canNotModifyCount + + " of the " + alertIds.size() + " passsed alertIds"); + } + } + + } }
- // gonna use bulk delete, make sure we are in new tx to not screw up caller's hibernate session - @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) - @TransactionTimeout(30 * 60) - public int deleteAlerts(Subject user, int resourceId) { - if (!authorizationManager.hasResourcePermission(user, Permission.MANAGE_ALERTS, resourceId)) { - throw new PermissionException("User [" + user.getName() + "] does not have permissions to delete alerts " - + "for resourceId=" + resourceId); + class BatchIterator<T> { + public static final int DEFAULT_BATCH_SIZE = 1000; + + private int batchSize; + private int index; + private List<T> data; + + public BatchIterator(List<T> data) { + this(data, DEFAULT_BATCH_SIZE); }
- /* - * Since BULK delete JPQL doesn't enforce cascade options, we need to delete the logs first and then the - * corresponding Alerts + public BatchIterator(List<T> data, int batchSize) { + this.batchSize = batchSize; + this.index = 0; + this.data = data; + } + + public boolean hasMoreBatches() { + return index < data.size(); + } + + public List<T> getNextBatch() { + List<T> batch = null; + + if (index + batchSize < data.size()) { + batch = data.subList(index, index + batchSize); + index += batchSize; + } else { + batch = data.subList(index, data.size()); + index = data.size(); + } + + return batch; + } + } + + private long checkAuthz(Subject subject, List<Integer> alertIds) { + /* + * get the count of the number of these alerts for which user + * has MANAGE_ALERTS permission on the corresponding resource */ - long totalTime = 0L; + Query authzQuery = entityManager.createNamedQuery(Alert.QUERY_CHECK_PERMISSION_BY_IDS); + authzQuery.setParameter("subjectId", subject.getId()); + authzQuery.setParameter("permission", Permission.MANAGE_ALERTS);
- long start = System.currentTimeMillis(); - Query query = entityManager.createNamedQuery(AlertConditionLog.QUERY_DELETE_BY_RESOURCE); - query.setParameter("resourceId", resourceId); - int deletedConditionLogs = query.executeUpdate(); - long end = System.currentTimeMillis(); - totalTime += (end - start); - log.debug("Performance: Deleted [" + deletedConditionLogs + "] AlertConditionLogs in [" + (end - start) - + "]ms for resourceId[" + resourceId + "]"); + long canModifyCount = 0; + BatchIterator<Integer> batchIter = new BatchIterator<Integer>(alertIds); + while (batchIter.hasMoreBatches()) { + List<Integer> nextBatch = batchIter.getNextBatch();
- start = System.currentTimeMillis(); - query = entityManager.createNamedQuery(AlertNotificationLog.QUERY_DELETE_BY_RESOURCE); - query.setParameter("resourceId", resourceId); - int deletedNotifications = query.executeUpdate(); - end = System.currentTimeMillis(); - totalTime += (end - start); - log.debug("Performance: Deleted [" + deletedNotifications + "] AlertNotificationLogs in [" + (end - start) - + "]ms for resourceId[" + resourceId + "]"); + authzQuery.setParameter("alertIds", nextBatch); + canModifyCount += (Long) authzQuery.getSingleResult(); + }
- start = System.currentTimeMillis(); - query = entityManager.createNamedQuery(Alert.QUERY_DELETE_BY_RESOURCE); - query.setParameter("resourceId", resourceId); - int deletedAlerts = query.executeUpdate(); - end = System.currentTimeMillis(); - totalTime += (end - start); - log.debug("Performance: Deleted [" + deletedAlerts + "] Alerts in [" + (end - start) + "]ms for resourceId[" - + resourceId + "]"); + return canModifyCount; + }
- log.debug("Performance: Deleted [" + (deletedConditionLogs + deletedNotifications + deletedAlerts) - + "] alert audit entities in [" + (totalTime) + "]ms for resourceId[" + resourceId + "]"); + @SuppressWarnings("unchecked") + private List<Integer> removeNonExistent(List<Integer> alertIds) { + /* + * get the count of the number of these alerts for which user + * has MANAGE_ALERTS permission on the corresponding resource + */ + Query authzQuery = entityManager.createNamedQuery(Alert.QUERY_RETURN_EXISTING_IDS);
- return deletedAlerts; + List<Integer> existingAlertIds = new ArrayList<Integer>(); + BatchIterator<Integer> batchIter = new BatchIterator<Integer>(alertIds); + while (batchIter.hasMoreBatches()) { + List<Integer> nextBatch = batchIter.getNextBatch(); + + authzQuery.setParameter("alertIds", nextBatch); + existingAlertIds.addAll((List<Integer>) authzQuery.getResultList()); + } + + return existingAlertIds; }
/** @@ -355,18 +507,6 @@ public class AlertManagerBean implements AlertManagerLocal, AlertManagerRemote { } }
- /** - * Get the alert with the specified id. - */ - public Alert getById(int alertId) { - Alert alert = entityManager.find(Alert.class, alertId); - if (alert == null) - return null; - - fetchCollectionFields(alert); - return alert; - } - public int getAlertCountByMeasurementDefinitionId(Integer measurementDefinitionId, long begin, long end) { Query query = PersistenceUtility.createCountQuery(entityManager, Alert.QUERY_FIND_BY_MEASUREMENT_DEFINITION_ID); query.setParameter("measurementDefinitionId", measurementDefinitionId); @@ -471,88 +611,6 @@ public class AlertManagerBean implements AlertManagerLocal, AlertManagerRemote { return resMap; }
- @SuppressWarnings("unchecked") - public PageList<Alert> findAlerts(Subject subject, Integer[] resourceIds, AlertPriority priority, long timeRange, - PageControl pageControl) { - pageControl.initDefaultOrderingField("a.ctime", PageOrdering.DESC); - - if ((resourceIds != null) && (resourceIds.length == 0)) { - return new PageList<Alert>(pageControl); - } - - String queryStr; - if (authorizationManager.isInventoryManager(subject)) { - queryStr = ((resourceIds == null) ? Alert.QUERY_DASHBOARD_ALL_ADMIN - : Alert.QUERY_DASHBOARD_BY_RESOURCE_IDS_ADMIN); - } else { - queryStr = ((resourceIds == null) ? Alert.QUERY_DASHBOARD_ALL : Alert.QUERY_DASHBOARD_BY_RESOURCE_IDS); - } - - Query query = PersistenceUtility.createQueryWithOrderBy(entityManager, queryStr, pageControl); - Query queryCount = PersistenceUtility.createCountQuery(entityManager, queryStr); - - if (!authorizationManager.isInventoryManager(subject)) { - query.setParameter("subjectId", subject.getId()); - queryCount.setParameter("subjectId", subject.getId()); - } - - if (resourceIds != null) { - List<Integer> resourceIdList = Arrays.asList(resourceIds); - queryCount.setParameter("resourceIds", resourceIdList); - query.setParameter("resourceIds", resourceIdList); - } - - long startTime = System.currentTimeMillis() - timeRange; - - queryCount.setParameter("startDate", startTime); - queryCount.setParameter("priority", priority); - - query.setParameter("startDate", startTime); - query.setParameter("priority", priority); - - long totalCount = (Long) queryCount.getSingleResult(); - - List<Alert> alerts = query.getResultList(); - - fetchCollectionFields(alerts); - - return new PageList<Alert>(alerts, (int) totalCount, pageControl); - } - - @SuppressWarnings("unchecked") - public PageList<Alert> findAlerts(int resourceId, Integer alertDefinitionId, AlertPriority priority, - Long beginDate, Long endDate, PageControl pageControl) { - pageControl.initDefaultOrderingField("a.ctime", PageOrdering.DESC); - - String queryStr = Alert.QUERY_FIND_BY_RESOURCE_DATED; - - Query queryCount = PersistenceUtility.createCountQuery(entityManager, queryStr); - Query query = PersistenceUtility.createQueryWithOrderBy(entityManager, queryStr, pageControl); - - queryCount.setParameter("id", resourceId); - query.setParameter("id", resourceId); - - queryCount.setParameter("startDate", beginDate); - query.setParameter("startDate", beginDate); - - queryCount.setParameter("endDate", endDate); - query.setParameter("endDate", endDate); - - queryCount.setParameter("alertDefinitionId", alertDefinitionId); - query.setParameter("alertDefinitionId", alertDefinitionId); - - queryCount.setParameter("priority", priority); - query.setParameter("priority", priority); - - long totalCount = (Long) queryCount.getSingleResult(); - - List<Alert> alerts = query.getResultList(); - - fetchCollectionFields(alerts); - - return new PageList<Alert>(alerts, (int) totalCount, pageControl); - } - private void fetchCollectionFields(Alert alert) { alert.getConditionLogs().size(); for (AlertConditionLog log : alert.getConditionLogs()) { @@ -570,36 +628,6 @@ public class AlertManagerBean implements AlertManagerLocal, AlertManagerRemote { } }
- /** - * Acknowledge the alerts (that got fired) so that admins know who is working on fixing the situation. - * - * @param user calling user - * @param alertIds PKs of the alerts to acknowledge - * @return number of alerts acknowledged - */ - public int acknowledgeAlerts(Subject user, Integer[] alertIds) { - if (alertIds == null || alertIds.length == 0) { - log.debug("acknowledgeAlerts: no alertIds passed"); - return 0; - } - - checkAlertsPermission(user, alertIds); - - int count = 0; - final long NOW = System.currentTimeMillis(); - for (int nextAlertId : alertIds) { - Alert alert = entityManager.find(Alert.class, nextAlertId); - if (alert == null) { - continue; - } else { - count++; - } - alert.setAcknowledgingSubject(user.getName()); - alert.setAcknowledgeTime(NOW); - } - return count; - } - public void fireAlert(int alertDefinitionId) { log.debug("Firing an alert for alertDefinition with id=" + alertDefinitionId + "...");
@@ -828,8 +856,9 @@ public class AlertManagerBean implements AlertManagerLocal, AlertManagerRemote { dateFormat = new SimpleDateFormat("yy/MM/dd HH:mm:ss z"); else dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss z"); - builder.append(AlertI18NFactory.getMessage(format, conditionCounter, prettyPrintAlertCondition(aLog - .getCondition(), shortVersion), dateFormat.format(new Date(aLog.getCtime())), formattedValue)); + builder.append(AlertI18NFactory.getMessage(format, conditionCounter, + prettyPrintAlertCondition(aLog.getCondition(), shortVersion), + dateFormat.format(new Date(aLog.getCtime())), formattedValue)); conditionCounter++; }
@@ -953,16 +982,14 @@ public class AlertManagerBean implements AlertManagerLocal, AlertManagerRemote { recoveryDefinitionId); boolean wasEnabled = toBeRecoveredDefinition.getEnabled();
- log - .debug(firedDefinition + (wasEnabled ? "does not need to recover " : "needs to recover ") - + toBeRecoveredDefinition - + (wasEnabled ? ", it was already enabled " : ", it was currently disabled ")); + log.debug(firedDefinition + (wasEnabled ? "does not need to recover " : "needs to recover ") + + toBeRecoveredDefinition + (wasEnabled ? ", it was already enabled " : ", it was currently disabled "));
if (!wasEnabled) { /* * recover the other alert, go through the manager layer so as to update the alert cache */ - alertDefinitionManager.enableAlertDefinitions(overlord, new Integer[] { recoveryDefinitionId }); + alertDefinitionManager.enableAlertDefinitions(overlord, new int[] { recoveryDefinitionId }); }
/* @@ -979,7 +1006,7 @@ public class AlertManagerBean implements AlertManagerLocal, AlertManagerRemote { * * go through the manager layer so as to update the alert cache */ - alertDefinitionManager.disableAlertDefinitions(overlord, new Integer[] { firedDefinition.getId() }); + alertDefinitionManager.disableAlertDefinitions(overlord, new int[] { firedDefinition.getId() });
/* * there's no reason to update the cache directly anymore. even though this direct type of update is safe @@ -1013,7 +1040,6 @@ public class AlertManagerBean implements AlertManagerLocal, AlertManagerRemote { return false; // Default is not to disable the definition }
- @SuppressWarnings("unchecked") public PageList<Alert> findAlertsByCriteria(Subject subject, AlertCriteria criteria) { CriteriaQueryGenerator generator = new CriteriaQueryGenerator(subject, criteria); if (!authorizationManager.isInventoryManager(subject)) { @@ -1021,7 +1047,7 @@ public class AlertManagerBean implements AlertManagerLocal, AlertManagerRemote { "alertDefinition.resource", subject.getId()); }
- CriteriaQueryRunner<Alert> queryRunner = new CriteriaQueryRunner(criteria, generator, entityManager); + CriteriaQueryRunner<Alert> queryRunner = new CriteriaQueryRunner<Alert>(criteria, generator, entityManager); PageList<Alert> alerts = queryRunner.execute();
fetchCollectionFields(alerts); diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerLocal.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerLocal.java index 528fdf5..4c7e609 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerLocal.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerLocal.java @@ -25,10 +25,9 @@ import java.util.Map; import javax.ejb.Local;
import org.rhq.core.domain.alert.Alert; -import org.rhq.core.domain.alert.AlertPriority; import org.rhq.core.domain.auth.Subject; +import org.rhq.core.domain.common.EntityContext; import org.rhq.core.domain.criteria.AlertCriteria; -import org.rhq.core.domain.util.PageControl; import org.rhq.core.domain.util.PageList; import org.rhq.enterprise.server.plugin.pc.alert.AlertSenderPluginManager;
@@ -39,29 +38,8 @@ import org.rhq.enterprise.server.plugin.pc.alert.AlertSenderPluginManager; public interface AlertManagerLocal { Alert createAlert(Alert alert);
- Alert updateAlert(Alert alert); - - /** - * Delete the Resource alerts with the specified id's if the specified user has permission to do so (i.e. either - * the MANAGE_INVENTORY global permission, or the MANAGE_ALERTS Resource permission for all associated Resources). - * If the user does not have permission for all of the specified alerts, then none of the alerts will be deleted - * and a PermissionException will be thrown. - * - * @param user the user requesting the deletion - * @param alertIds the id's of the Resource alerts to be deleted - */ - void deleteResourceAlerts(Subject user, Integer[] alertIds); - - void deleteAlerts(Subject user, int resourceId, Integer[] ids); - - void deleteAlertsForResourceGroup(Subject user, int resourceGroupId, Integer[] ids); - - int deleteAlerts(Subject user, int resourceId); - int deleteAlerts(long beginTime, long endTime);
- Alert getById(int alertId); - int getAlertCountByMeasurementDefinitionId(Integer measurementDefinitionId, long begin, long end);
int getAlertCountByMeasurementDefinitionAndResourceGroup(int measurementDefinitionId, int groupId, long beginDate, @@ -73,13 +51,6 @@ public interface AlertManagerLocal { int getAlertCountByMeasurementDefinitionAndResource(int measurementDefinitionId, int resourceId, long beginDate, long endDate);
- // resourceIds is nullable - PageList<Alert> findAlerts(Subject subject, Integer[] resourceIds, AlertPriority priority, long timeRange, - PageControl pageControl); - - PageList<Alert> findAlerts(int resourceId, Integer alertDefinitionId, AlertPriority priority, Long beginDate, - Long endDate, PageControl pageControl); - void fireAlert(int alertDefinitionId);
void sendAlertNotifications(Alert alert); @@ -112,6 +83,8 @@ public interface AlertManagerLocal {
Collection<String> sendAlertNotificationEmails(Alert alert, Collection<String> emailAddresses);
+ String prettyPrintAlertURL(Alert alert); + // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // // The following are shared with the Remote Interface @@ -120,8 +93,6 @@ public interface AlertManagerLocal {
PageList<Alert> findAlertsByCriteria(Subject subject, AlertCriteria criteria);
- String prettyPrintAlertURL(Alert alert); - /** * Acknowledge the alerts (that got fired) so that admins know who is working * on fixing the situation. @@ -129,7 +100,7 @@ public interface AlertManagerLocal { * @param alertIds PKs of the alerts to ack * @return number of alerts acknowledged */ - int acknowledgeAlerts(Subject user, Integer[] alertIds); + int acknowledgeAlerts(Subject user, int[] alertIds);
/** * Remove the alerts with the specified id's. @@ -137,5 +108,9 @@ public interface AlertManagerLocal { * @param ids primary keys of the alerts to delete * @return number of alerts deleted */ - int deleteAlerts(Subject user, Integer[] ids); + int deleteAlerts(Subject user, int[] ids); + + int deleteAlertsByContext(Subject subject, EntityContext context); + + int acknowledgeAlertsByContext(Subject subject, EntityContext context); } \ No newline at end of file diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerRemote.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerRemote.java index 358402e..85fe1af 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerRemote.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerRemote.java @@ -26,6 +26,7 @@ import javax.jws.soap.SOAPBinding;
import org.rhq.core.domain.alert.Alert; import org.rhq.core.domain.auth.Subject; +import org.rhq.core.domain.common.EntityContext; import org.rhq.core.domain.criteria.AlertCriteria; import org.rhq.core.domain.util.PageList; import org.rhq.enterprise.server.system.ServerVersion; @@ -39,4 +40,25 @@ public interface AlertManagerRemote { PageList<Alert> findAlertsByCriteria( // @WebParam(name = "subject") Subject subject, // @WebParam(name = "criteria") AlertCriteria criteria); + + @WebMethod + int deleteAlerts( // + @WebParam(name = "subject") Subject subject, // + @WebParam(name = "alertIds") int[] alertIds); + + @WebMethod + int deleteAlertsByContext( // + @WebParam(name = "subject") Subject subject, // + @WebParam(name = "context") EntityContext context); + + @WebMethod + int acknowledgeAlerts( // + @WebParam(name = "subject") Subject subject, // + @WebParam(name = "alertIds") int[] alertIds); + + @WebMethod + int acknowledgeAlertsByContext( // + @WebParam(name = "subject") Subject subject, // + @WebParam(name = "context") EntityContext context); + } diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertTemplateManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertTemplateManagerBean.java index d9ed9ee..76c196c 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertTemplateManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertTemplateManagerBean.java @@ -41,6 +41,7 @@ import org.rhq.core.domain.util.PageControl; import org.rhq.core.domain.util.PageList; import org.rhq.core.domain.util.PageOrdering; import org.rhq.core.server.PersistenceUtility; +import org.rhq.core.util.collection.ArrayUtils; import org.rhq.enterprise.server.RHQConstants; import org.rhq.enterprise.server.auth.SubjectManagerLocal; import org.rhq.enterprise.server.authz.AuthorizationManagerLocal; @@ -201,9 +202,8 @@ public class AlertTemplateManagerBean implements AlertTemplateManagerLocal { for (Integer alertTemplateId : alertTemplateIds) { List<Integer> alertDefinitions = getChildrenAlertDefinitionIds(user, alertTemplateId);
- alertDefinitionManager.removeAlertDefinitions(user, new Integer[] { alertTemplateId }); - alertDefinitionManager.removeAlertDefinitions(overlord, alertDefinitions - .toArray(new Integer[alertDefinitions.size()])); + alertDefinitionManager.removeAlertDefinitions(user, new int[] { alertTemplateId }); + alertDefinitionManager.removeAlertDefinitions(overlord, ArrayUtils.unwrapCollection(alertDefinitions)); } }
@@ -213,9 +213,8 @@ public class AlertTemplateManagerBean implements AlertTemplateManagerLocal { for (Integer alertTemplateId : alertTemplateIds) { List<Integer> alertDefinitions = getChildrenAlertDefinitionIds(user, alertTemplateId);
- alertDefinitionManager.enableAlertDefinitions(user, new Integer[] { alertTemplateId }); - alertDefinitionManager.enableAlertDefinitions(overlord, alertDefinitions - .toArray(new Integer[alertDefinitions.size()])); + alertDefinitionManager.enableAlertDefinitions(user, new int[] { alertTemplateId }); + alertDefinitionManager.enableAlertDefinitions(overlord, ArrayUtils.unwrapCollection(alertDefinitions)); } }
@@ -225,9 +224,8 @@ public class AlertTemplateManagerBean implements AlertTemplateManagerLocal { for (Integer alertTemplateId : alertTemplateIds) { List<Integer> alertDefinitions = getChildrenAlertDefinitionIds(user, alertTemplateId);
- alertDefinitionManager.disableAlertDefinitions(user, new Integer[] { alertTemplateId }); - alertDefinitionManager.disableAlertDefinitions(overlord, alertDefinitions - .toArray(new Integer[alertDefinitions.size()])); + alertDefinitionManager.disableAlertDefinitions(user, new int[] { alertTemplateId }); + alertDefinitionManager.disableAlertDefinitions(overlord, ArrayUtils.unwrapCollection(alertDefinitions)); } }
diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/GroupAlertDefinitionManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/GroupAlertDefinitionManagerBean.java index a2eb45e..79bdec2 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/GroupAlertDefinitionManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/GroupAlertDefinitionManagerBean.java @@ -43,6 +43,7 @@ import org.rhq.core.domain.util.PageControl; import org.rhq.core.domain.util.PageList; import org.rhq.core.domain.util.PageOrdering; import org.rhq.core.server.PersistenceUtility; +import org.rhq.core.util.collection.ArrayUtils; import org.rhq.enterprise.server.RHQConstants; import org.rhq.enterprise.server.auth.SubjectManagerLocal; import org.rhq.enterprise.server.resource.group.ResourceGroupManagerLocal; @@ -107,10 +108,8 @@ public class GroupAlertDefinitionManagerBean implements GroupAlertDefinitionMana for (Integer groupAlertDefinitionId : groupAlertDefinitionIds) { List<Integer> childDefinitions = getChildrenAlertDefinitionIds(subject, groupAlertDefinitionId); allChildDefinitionIds.addAll(childDefinitions); - modified += alertDefinitionManager - .removeAlertDefinitions(subject, new Integer[] { groupAlertDefinitionId }); - alertDefinitionManager.removeAlertDefinitions(overlord, childDefinitions - .toArray(new Integer[childDefinitions.size()])); + modified += alertDefinitionManager.removeAlertDefinitions(subject, new int[] { groupAlertDefinitionId }); + alertDefinitionManager.removeAlertDefinitions(overlord, ArrayUtils.unwrapCollection(childDefinitions)); }
/* @@ -193,10 +192,8 @@ public class GroupAlertDefinitionManagerBean implements GroupAlertDefinitionMana for (Integer groupAlertDefinitionId : groupAlertDefinitionIds) { List<Integer> alertDefinitions = getChildrenAlertDefinitionIds(subject, groupAlertDefinitionId);
- modified += alertDefinitionManager.disableAlertDefinitions(subject, - new Integer[] { groupAlertDefinitionId }); - alertDefinitionManager.disableAlertDefinitions(overlord, alertDefinitions - .toArray(new Integer[alertDefinitions.size()])); + modified += alertDefinitionManager.disableAlertDefinitions(subject, new int[] { groupAlertDefinitionId }); + alertDefinitionManager.disableAlertDefinitions(overlord, ArrayUtils.unwrapCollection(alertDefinitions)); } return modified; } @@ -211,10 +208,8 @@ public class GroupAlertDefinitionManagerBean implements GroupAlertDefinitionMana for (Integer groupAlertDefinitionId : groupAlertDefinitionIds) { List<Integer> alertDefinitions = getChildrenAlertDefinitionIds(subject, groupAlertDefinitionId);
- modified += alertDefinitionManager - .enableAlertDefinitions(subject, new Integer[] { groupAlertDefinitionId }); - alertDefinitionManager.enableAlertDefinitions(overlord, alertDefinitions - .toArray(new Integer[alertDefinitions.size()])); + modified += alertDefinitionManager.enableAlertDefinitions(subject, new int[] { groupAlertDefinitionId }); + alertDefinitionManager.enableAlertDefinitions(overlord, ArrayUtils.unwrapCollection(alertDefinitions)); } return modified; } @@ -302,8 +297,8 @@ public class GroupAlertDefinitionManagerBean implements GroupAlertDefinitionMana Subject overlord = subjectManager.getOverlord(); Throwable firstThrowable = null;
- List<AlertDefinition> groupAlertDefinitions = findGroupAlertDefinitions(subject, resourceGroupId, PageControl - .getUnlimitedInstance()); + List<AlertDefinition> groupAlertDefinitions = findGroupAlertDefinitions(subject, resourceGroupId, + PageControl.getUnlimitedInstance()); List<Integer> resourceIdsInError = new ArrayList<Integer>(); for (AlertDefinition groupAlertDefinition : groupAlertDefinitions) { for (Integer resourceId : resourcesIdsToAdd) { @@ -363,8 +358,7 @@ public class GroupAlertDefinitionManagerBean implements GroupAlertDefinitionMana for (Integer nextGroupAlertDefinitionId : groupAlertDefinitionIdsForResourceGroup) { List<Integer> childDefinitions = getChildrenAlertDefinitionIds(subject, nextGroupAlertDefinitionId); allChildrenDefinitionIds.addAll(childDefinitions); - alertDefinitionManager.removeAlertDefinitions(overlord, childDefinitions - .toArray(new Integer[childDefinitions.size()])); + alertDefinitionManager.removeAlertDefinitions(overlord, ArrayUtils.unwrapCollection(childDefinitions)); }
/* diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/authz/RoleManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/authz/RoleManagerBean.java index aeac399..a6dafc6 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/authz/RoleManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/authz/RoleManagerBean.java @@ -136,12 +136,12 @@ public class RoleManagerBean implements RoleManagerLocal, RoleManagerRemote { }
/** - * @see org.rhq.enterprise.server.authz.RoleManagerLocal#deleteRoles(Subject, Integer[]) + * @see org.rhq.enterprise.server.authz.RoleManagerLocal#deleteRoles(Subject, int[]) */ @RequiredPermission(Permission.MANAGE_SECURITY) - public void deleteRoles(Subject subject, Integer[] doomedRoleIds) { + public void deleteRoles(Subject subject, int[] doomedRoleIds) { if (doomedRoleIds != null) { - for (Integer roleId : doomedRoleIds) { + for (int roleId : doomedRoleIds) { Role doomedRole = entityManager.find(Role.class, roleId);
Set<Subject> subjectsToUnhook = new HashSet<Subject>(doomedRole.getSubjects()); // avoid concurrent mod exception diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/authz/RoleManagerLocal.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/authz/RoleManagerLocal.java index 496d607..5c2e1cb 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/authz/RoleManagerLocal.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/authz/RoleManagerLocal.java @@ -21,7 +21,6 @@ package org.rhq.enterprise.server.authz; import java.util.Set;
import javax.ejb.Local; -import javax.jws.WebParam;
import org.rhq.core.domain.auth.Subject; import org.rhq.core.domain.authz.Permission; @@ -75,7 +74,7 @@ public interface RoleManagerLocal { * @param subject the user attempting to delete the role * @param doomedRoleIds the IDs of the roles to delete */ - void deleteRoles(Subject subject, Integer[] doomedRoleIds); + void deleteRoles(Subject subject, int[] doomedRoleIds);
/** * Sets the permissions for the specified role. Any currently existing role permissions are overwritten - that is, @@ -184,8 +183,7 @@ public interface RoleManagerLocal { */ void removeRolesFromSubject(Subject subject, int subjectId, int[] roleIds);
- void setAssignedSubjectRoles(Subject subject, int subjectId, int[] roleIds); - + void setAssignedSubjectRoles(Subject subject, int subjectId, int[] roleIds);
void addSubjectsToRole(Subject subject, int roleId, int[] subjectIds);
@@ -206,8 +204,6 @@ public interface RoleManagerLocal {
void setAssignedResourceGroups(Subject subject, int roleId, int[] groupIds);
- - /** * Removes the given resource groups from the given role. * diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/authz/RoleManagerRemote.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/authz/RoleManagerRemote.java index 4755b36..73e053d 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/authz/RoleManagerRemote.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/authz/RoleManagerRemote.java @@ -63,8 +63,8 @@ public interface RoleManagerRemote { * @return The persisted role with the primary key populated */ @WebMethod - Role createRole( - @WebParam(name = "subject") Subject subject, + Role createRole( // + @WebParam(name = "subject") Subject subject, // @WebParam(name = "newRole") Role newRole);
/** @@ -75,9 +75,9 @@ public interface RoleManagerRemote { * @param roleIds The IDs of the roles to delete */ @WebMethod - void deleteRoles( - @WebParam(name = "subject") Subject subject, - @WebParam(name = "roleIds") Integer[] roleIds); + void deleteRoles( // + @WebParam(name = "subject") Subject subject, // + @WebParam(name = "roleIds") int[] roleIds);
/** * Updates the given role, excluding the subjects and groups. This updates permissions, name, description, etc. @@ -87,10 +87,9 @@ public interface RoleManagerRemote { * @return The updated role */ @WebMethod - Role updateRole( - @WebParam(name = "subject") Subject subject, - @WebParam(name = "role") Role role - ); + Role updateRole( // + @WebParam(name = "subject") Subject subject, // + @WebParam(name = "role") Role role);
/** * Get all roles assigned for a certain subject @@ -172,7 +171,10 @@ public interface RoleManagerRemote { * @param roleIds */ @WebMethod - void setAssignedSubjectRoles(Subject subject, int subjectId, int[] roleIds); + void setAssignedSubjectRoles( // + @WebParam(name = "subject") Subject subject, // + @WebParam(name = "subjectId") int subjectId, // + @WebParam(name = "roleIds") int[] roleIds);
/** * Adds the given resource groups to the given role. @@ -193,8 +195,7 @@ public interface RoleManagerRemote { @WebParam(name = "groupId") int groupId, // @WebParam(name = "roleIds") int[] roleIds);
- void setAssignedResourceGroups( - @WebParam(name = "subject") Subject subject, // + void setAssignedResourceGroups(@WebParam(name = "subject") Subject subject, // @WebParam(name = "roleId") int roleId, // @WebParam(name = "groupIds") int[] groupIds);
diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/content/RepoManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/content/RepoManagerBean.java index 7492655..e7f2527 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/content/RepoManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/content/RepoManagerBean.java @@ -411,8 +411,8 @@ public class RepoManagerBean implements RepoManagerLocal, RepoManagerRemote { result.append("Skipping existing repository group [").append(name).append("]").append('\n'); } else { log.error("Error adding repository group [" + name + "]", e); - result.append("Could not add repository group [").append(name).append( - "]. See log for more information.").append('\n'); + result.append("Could not add repository group [").append(name) + .append("]. See log for more information.").append('\n'); } } } @@ -422,8 +422,8 @@ public class RepoManagerBean implements RepoManagerLocal, RepoManagerRemote { result .append("There are no new repository groups since the last time this content source was synchronized.\n"); } else { - result.append("Imported the following [").append(importedRepoGroups.size()).append( - "] repository group(s): ").append(importedRepoGroups).append('\n'); + result.append("Imported the following [").append(importedRepoGroups.size()) + .append("] repository group(s): ").append(importedRepoGroups).append('\n'); }
// Hold on to all current candidate repos for the content source. If any were not present in this @@ -451,12 +451,12 @@ public class RepoManagerBean implements RepoManagerLocal, RepoManagerRemote { } catch (Exception e) { if (e instanceof RepoException && ((RepoException) e).getType() == RepoException.RepoExceptionType.NAME_ALREADY_EXISTS) { - result.append("Skipping addition of existing repository [").append(createMe.getName()).append( - "]").append('\n'); + result.append("Skipping addition of existing repository [").append(createMe.getName()) + .append("]").append('\n'); } else { log.error("Error processing repository [" + createMe + "]", e); - result.append("Could not add repository [").append(createMe.getName()).append( - "]. See log for more information.").append('\n'); + result.append("Could not add repository [").append(createMe.getName()) + .append("]. See log for more information.").append('\n'); } } } @@ -473,8 +473,8 @@ public class RepoManagerBean implements RepoManagerLocal, RepoManagerRemote { removeRepoFromList(createMe.getName(), candidatesForThisProvider); } catch (Exception e) { log.error("Error processing repository [" + createMe + "]", e); - result.append("Could not add repository [").append(createMe.getName()).append( - "]. See log for more information.").append('\n'); + result.append("Could not add repository [").append(createMe.getName()) + .append("]. See log for more information.").append('\n'); } } } @@ -482,8 +482,8 @@ public class RepoManagerBean implements RepoManagerLocal, RepoManagerRemote { if (importedRepos.isEmpty()) { result.append("There are no new repositories since the last time this content source was synchronized.\n"); } else { - result.append("Imported the following ").append(importedRepos.size()).append(" repository(s): ").append( - importedRepos).append('\n'); + result.append("Imported the following ").append(importedRepos.size()).append(" repository(s): ") + .append(importedRepos).append('\n'); }
// Any repos that haven't been removed from candidatesForThisProvider were not returned in this @@ -492,8 +492,8 @@ public class RepoManagerBean implements RepoManagerLocal, RepoManagerRemote { for (Repo deleteMe : candidatesForThisProvider) { deleteRepo(subject, deleteMe.getId()); } - result.append("Deleted the following ").append(candidatesForThisProvider.size()).append( - " obsolete repository(s): ").append(candidatesForThisProvider).append('\n'); + result.append("Deleted the following ").append(candidatesForThisProvider.size()) + .append(" obsolete repository(s): ").append(candidatesForThisProvider).append('\n'); } }
@@ -589,8 +589,8 @@ public class RepoManagerBean implements RepoManagerLocal, RepoManagerRemote { RepoContentSource repoContentSourceMapping = repo.addContentSource(contentSource); entityManager.persist(repoContentSourceMapping); } - Set<PackageVersion> alreadyAssociatedPackageVersions = new HashSet<PackageVersion>(repo - .getPackageVersions()); + Set<PackageVersion> alreadyAssociatedPackageVersions = new HashSet<PackageVersion>( + repo.getPackageVersions());
// Automatically associate all of the content source's package versions with this repo, // but *skip* over the ones that are already linked to this repo from a previous association. @@ -1031,12 +1031,12 @@ public class RepoManagerBean implements RepoManagerLocal, RepoManagerRemote { }
@RequiredPermission(Permission.MANAGE_INVENTORY) - public int synchronizeRepos(Subject subject, Integer[] repoIds) throws Exception { + public int synchronizeRepos(Subject subject, int[] repoIds) throws Exception { int syncCount = 0;
ContentServerPluginContainer pc = ContentManagerHelper.getPluginContainer();
- for (Integer id : repoIds) { + for (int id : repoIds) { try { Repo repo = getRepo(subject, id); pc.syncRepoNow(repo); diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/content/RepoManagerLocal.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/content/RepoManagerLocal.java index 88bb16e..ac9e890 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/content/RepoManagerLocal.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/content/RepoManagerLocal.java @@ -316,7 +316,7 @@ public interface RepoManagerLocal { * @return count of the number of repositories synced. * @throws Exception if there is an error connecting with the plugin container */ - int synchronizeRepos(Subject subject, Integer[] repoIds) throws Exception; + int synchronizeRepos(Subject subject, int[] repoIds) throws Exception;
/** * Performs the actual synchronization of the given repos. diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/content/RepoManagerRemote.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/content/RepoManagerRemote.java index 0aa295c..4337203 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/content/RepoManagerRemote.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/content/RepoManagerRemote.java @@ -218,6 +218,8 @@ public interface RepoManagerRemote { @WebParam(name = "repoIds") int[] repoIds);
@WebMethod - int synchronizeRepos(@WebParam(name = "subject") Subject subject, @WebParam(name = "repoIds") Integer[] repoIds) + int synchronizeRepos( // + @WebParam(name = "subject") Subject subject, // + @WebParam(name = "repoIds") int[] repoIds) // throws Exception; } \ No newline at end of file diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/discovery/DiscoveryBossBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/discovery/DiscoveryBossBean.java index e4cbf03..c593d62 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/discovery/DiscoveryBossBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/discovery/DiscoveryBossBean.java @@ -19,7 +19,6 @@ package org.rhq.enterprise.server.discovery;
import java.util.ArrayList; -import java.util.Arrays; import java.util.EnumSet; import java.util.HashMap; import java.util.HashSet; @@ -61,7 +60,6 @@ import org.rhq.core.domain.resource.ResourceCategory; import org.rhq.core.domain.resource.ResourceError; import org.rhq.core.domain.resource.ResourceErrorType; import org.rhq.core.domain.resource.ResourceType; -import org.rhq.core.domain.resource.ResourceUpgradeReport; import org.rhq.core.domain.util.PageControl; import org.rhq.core.domain.util.PageList; import org.rhq.core.domain.util.PageOrdering; @@ -164,13 +162,14 @@ public class DiscoveryBossBean implements DiscoveryBossLocal, DiscoveryBossRemot
// Prepare the ResourceSyncInfo tree which contains all the info the PC needs to sync itself up with us. Resource platform = this.resourceManager.getPlatform(knownAgent); - + //the platform can be null in only one scenario.. a brand new agent has connected to the server //and that agent is currently trying to upgrade its resources. For that it asks us to send down //the current inventory on the server side. But at this point there isn't any since that very //agent just registered and is starting up for the very first time and therefore hasn't had //a chance yet to send us its full inventory report. - ResourceSyncInfo syncInfo = platform != null ? this.entityManager.find(ResourceSyncInfo.class, platform.getId()) : null; + ResourceSyncInfo syncInfo = platform != null ? this.entityManager + .find(ResourceSyncInfo.class, platform.getId()) : null;
if (log.isDebugEnabled()) { log.debug("Inventory merge completed in (" + (System.currentTimeMillis() - start) + ")ms"); @@ -417,13 +416,15 @@ public class DiscoveryBossBean implements DiscoveryBossLocal, DiscoveryBossRemot
public Set<ResourceUpgradeResponse> upgradeResources(Set<ResourceUpgradeRequest> upgradeRequests) { Set<ResourceUpgradeResponse> result = new HashSet<ResourceUpgradeResponse>(); - - boolean allowGenericPropertiesUpgrade = Boolean.parseBoolean(systemManager.getSystemConfiguration().getProperty(RHQConstants.AllowResourceGenericPropertiesUpgrade, "false")); - + + boolean allowGenericPropertiesUpgrade = Boolean.parseBoolean(systemManager.getSystemConfiguration() + .getProperty(RHQConstants.AllowResourceGenericPropertiesUpgrade, "false")); + for (ResourceUpgradeRequest request : upgradeRequests) { Resource existingResource = this.entityManager.find(Resource.class, request.getResourceId()); if (existingResource != null) { - ResourceUpgradeResponse upgradedData = upgradeResource(existingResource, request, allowGenericPropertiesUpgrade); + ResourceUpgradeResponse upgradedData = upgradeResource(existingResource, request, + allowGenericPropertiesUpgrade); if (upgradedData != null) { result.add(upgradedData); } @@ -431,7 +432,7 @@ public class DiscoveryBossBean implements DiscoveryBossLocal, DiscoveryBossRemot } return result; } - + /** * Convienence method that looks at <code>resource</code> and if its version is not * the same as <code>newVersion</code>, its version string will be set to it. If @@ -483,57 +484,61 @@ public class DiscoveryBossBean implements DiscoveryBossLocal, DiscoveryBossRemot * @param allowGenericPropertiesUpgrade name and description are only upgraded if this is true * @return response to the upgrade request detailing what has been accepted on the server side */ - private ResourceUpgradeResponse upgradeResource(@NotNull Resource resource, ResourceUpgradeRequest upgradeRequest, boolean allowGenericPropertiesUpgrade) { + private ResourceUpgradeResponse upgradeResource(@NotNull Resource resource, ResourceUpgradeRequest upgradeRequest, + boolean allowGenericPropertiesUpgrade) { if (upgradeRequest.getUpgradeErrorMessage() != null) { - ResourceError error = new ResourceError(resource, ResourceErrorType.UPGRADE, upgradeRequest.getUpgradeErrorMessage(), upgradeRequest.getUpgradeErrorStackTrace(), upgradeRequest.getTimestamp()); + ResourceError error = new ResourceError(resource, ResourceErrorType.UPGRADE, + upgradeRequest.getUpgradeErrorMessage(), upgradeRequest.getUpgradeErrorStackTrace(), + upgradeRequest.getTimestamp()); resourceManager.addResourceError(error); return null; } - + ResourceUpgradeResponse ret = new ResourceUpgradeResponse(); ret.setResourceId(resource.getId()); - + String resourceKey = upgradeRequest.getNewResourceKey(); String name = upgradeRequest.getNewName(); String description = upgradeRequest.getNewDescription(); - + if (resourceKey != null || name != null || description != null) { - StringBuilder logMessage = new StringBuilder("Resource [") - .append(resource.toString()).append("] upgraded its "); - + StringBuilder logMessage = new StringBuilder("Resource [").append(resource.toString()).append( + "] upgraded its "); + if (needsUpgrade(resource.getResourceKey(), resourceKey)) { resource.setResourceKey(resourceKey); logMessage.append("resourceKey, "); } ret.setUpgradedResourceKey(resource.getResourceKey()); - + if (allowGenericPropertiesUpgrade && needsUpgrade(resource.getName(), name)) { resource.setName(name); logMessage.append("name, "); } ret.setUpgradedResourceName(resource.getName()); - + if (allowGenericPropertiesUpgrade && needsUpgrade(resource.getDescription(), description)) { resource.setDescription(description); logMessage.append("description, "); } ret.setUpgradedResourceDescription(resource.getDescription()); - + //finally let's remove the potential previous upgrade error. we've now successfully //upgraded the resource. - List<ResourceError> upgradeErrors = resourceManager.findResourceErrors(subjectManager.getOverlord(), resource.getId(), ResourceErrorType.UPGRADE); - for(ResourceError error : upgradeErrors) { + List<ResourceError> upgradeErrors = resourceManager.findResourceErrors(subjectManager.getOverlord(), + resource.getId(), ResourceErrorType.UPGRADE); + for (ResourceError error : upgradeErrors) { entityManager.remove(error); } - - logMessage.replace(logMessage.length() - 1, logMessage.length(), - "to become [").append(resource.toString()).append("]"); - + + logMessage.replace(logMessage.length() - 1, logMessage.length(), "to become [").append(resource.toString()) + .append("]"); + log.info(logMessage.toString()); } return ret; } - + private void validateInventoryReport(InventoryReport report) throws InvalidInventoryReportException { for (Resource root : report.getAddedRoots()) { validateResource(root); @@ -662,7 +667,7 @@ public class DiscoveryBossBean implements DiscoveryBossLocal, DiscoveryBossRemot continue; } } - existingResource = resourceManager.getResourceByParentAndKey(overlord, existingParent, + existingResource = resourceManager.getResourceByParentAndKey(overlord, existingParent, resource.getResourceKey(), resourceType.getPlugin(), resourceType.getName()); }
@@ -853,21 +858,21 @@ public class DiscoveryBossBean implements DiscoveryBossLocal, DiscoveryBossRemot } }
- public void importResources(Subject subject, Integer[] resourceIds) { + public void importResources(Subject subject, int[] resourceIds) { if (resourceIds == null || resourceIds.length == 0) { return; } checkStatus(subject, resourceIds, InventoryStatus.COMMITTED, EnumSet.of(InventoryStatus.NEW)); }
- public void ignoreResources(Subject subject, Integer[] resourceIds) { + public void ignoreResources(Subject subject, int[] resourceIds) { if (resourceIds == null || resourceIds.length == 0) { return; } checkStatus(subject, resourceIds, InventoryStatus.IGNORED, EnumSet.of(InventoryStatus.NEW)); }
- public void unignoreResources(Subject subject, Integer[] resourceIds) { + public void unignoreResources(Subject subject, int[] resourceIds) { if (resourceIds == null || resourceIds.length == 0) { return; } @@ -875,14 +880,14 @@ public class DiscoveryBossBean implements DiscoveryBossLocal, DiscoveryBossRemot }
@SuppressWarnings("unchecked") - private void checkStatus(Subject subject, Integer[] resourceIds, InventoryStatus target, + private void checkStatus(Subject subject, int[] resourceIds, InventoryStatus target, EnumSet<InventoryStatus> validStatuses) { Query query = entityManager.createQuery("" // + " SELECT res.inventoryStatus " // + " FROM Resource res " // + " WHERE res.id IN ( :resourceIds ) " // + "GROUP BY res.inventoryStatus "); - query.setParameter("resourceIds", Arrays.asList(resourceIds)); + query.setParameter("resourceIds", ArrayUtils.wrapInList(resourceIds)); List<InventoryStatus> results = query.getResultList();
for (InventoryStatus expected : validStatuses) { @@ -892,8 +897,8 @@ public class DiscoveryBossBean implements DiscoveryBossLocal, DiscoveryBossRemot throw new IllegalArgumentException("Can only commit resources with status: " + results); }
- PageList<Resource> resources = resourceManager.findResourceByIds(subject, ArrayUtils.unwrapArray(resourceIds), - false, PageControl.getUnlimitedInstance()); + PageList<Resource> resources = resourceManager.findResourceByIds(subject, resourceIds, false, + PageControl.getUnlimitedInstance()); List<Resource> platforms = new ArrayList<Resource>(); List<Resource> servers = new ArrayList<Resource>(); for (Resource res : resources) { @@ -909,7 +914,7 @@ public class DiscoveryBossBean implements DiscoveryBossLocal, DiscoveryBossRemot
updateInventoryStatus(subject, platforms, servers, target); } - + private static <T> boolean needsUpgrade(T oldValue, T newValue) { return newValue != null && (oldValue == null || !newValue.equals(oldValue)); } diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/discovery/DiscoveryBossRemote.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/discovery/DiscoveryBossRemote.java index fee8c5d..b77c025 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/discovery/DiscoveryBossRemote.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/discovery/DiscoveryBossRemote.java @@ -47,7 +47,7 @@ public interface DiscoveryBossRemote { */ void importResources( // @WebParam(name = "subject") Subject subject, // - @WebParam(name = "resourceIds") Integer[] resourceIds); + @WebParam(name = "resourceIds") int[] resourceIds);
/** * Analogous to the GUI feature Ignore Resources in the auto discovery queue. Note, to query for @@ -58,7 +58,7 @@ public interface DiscoveryBossRemote { */ void ignoreResources( // @WebParam(name = "subject") Subject subject, // - @WebParam(name = "resourceIds") Integer[] resourceIds); + @WebParam(name = "resourceIds") int[] resourceIds);
/** * Analogous to the GUI feature Unignore Resources in the auto discovery queue. Note, to query for @@ -69,7 +69,7 @@ public interface DiscoveryBossRemote { */ void unignoreResources( // @WebParam(name = "subject") Subject subject, // - @WebParam(name = "resourceIds") Integer[] resourceIds); + @WebParam(name = "resourceIds") int[] resourceIds);
/** * Manually Add the resource of the specified type to inventory using the specified plugin configuration (i.e. diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/subsystem/AlertSubsystemManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/subsystem/AlertSubsystemManagerBean.java index 8334ea1..6adb7e2 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/subsystem/AlertSubsystemManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/subsystem/AlertSubsystemManagerBean.java @@ -41,6 +41,7 @@ import org.rhq.core.domain.util.PageControl; import org.rhq.core.domain.util.PageList; import org.rhq.core.domain.util.PageOrdering; import org.rhq.core.server.PersistenceUtility; +import org.rhq.core.util.collection.ArrayUtils; import org.rhq.enterprise.server.RHQConstants; import org.rhq.enterprise.server.alert.AlertManagerLocal; import org.rhq.enterprise.server.authz.AuthorizationManagerLocal; @@ -91,7 +92,7 @@ public class AlertSubsystemManagerBean implements AlertSubsystemManagerLocal { queryCount.setParameter("parentFilter", parentFilter); query.setParameter("parentFilter", parentFilter); queryCount.setParameter("escapeChar", QueryUtility.getEscapeCharacter()); - query.setParameter("escapeChar", QueryUtility.getEscapeCharacter()); + query.setParameter("escapeChar", QueryUtility.getEscapeCharacter()); queryCount.setParameter("startTime", startTime); query.setParameter("startTime", startTime); queryCount.setParameter("endTime", endTime); @@ -177,9 +178,8 @@ public class AlertSubsystemManagerBean implements AlertSubsystemManagerLocal { } }
- public int deleteAlertHistories(Subject subject, Integer[] historyIds) { - int removed = alertManager.deleteAlerts(subject,historyIds); - return removed; + public void deleteAlertHistories(Subject subject, Integer[] historyIds) { + alertManager.deleteAlerts(subject, ArrayUtils.unwrapArray(historyIds)); }
public int purgeAllAlertHistories(Subject subject) { diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/subsystem/AlertSubsystemManagerLocal.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/subsystem/AlertSubsystemManagerLocal.java index 6f495da..997966d 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/subsystem/AlertSubsystemManagerLocal.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/subsystem/AlertSubsystemManagerLocal.java @@ -39,7 +39,7 @@ public interface AlertSubsystemManagerLocal { PageList<AlertDefinitionComposite> getAlertDefinitions(Subject subject, String resourceFilter, String parentFilter, Long startTime, Long endTime, AlertConditionCategory category, PageControl pc);
- int deleteAlertHistories(Subject subject, Integer[] historyIds); + void deleteAlertHistories(Subject subject, Integer[] historyIds);
int purgeAllAlertHistories(Subject subject); } diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/webservices/WebservicesManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/webservices/WebservicesManagerBean.java index a91a832..e0a791b 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/webservices/WebservicesManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/webservices/WebservicesManagerBean.java @@ -48,6 +48,7 @@ import org.rhq.core.domain.bundle.BundleResourceDeployment; import org.rhq.core.domain.bundle.BundleType; import org.rhq.core.domain.bundle.BundleVersion; import org.rhq.core.domain.bundle.composite.BundleWithLatestVersionComposite; +import org.rhq.core.domain.common.EntityContext; import org.rhq.core.domain.common.ProductInfo; import org.rhq.core.domain.configuration.Configuration; import org.rhq.core.domain.configuration.PluginConfigurationUpdate; @@ -164,7 +165,7 @@ import org.rhq.enterprise.server.util.LookupUtil; */ @Stateless @WebService(endpointInterface = "org.rhq.enterprise.server.webservices.WebservicesRemote", targetNamespace = ServerVersion.namespace) -@XmlSeeAlso( { PropertyDefinition.class, PropertyDefinitionSimple.class, PropertyDefinitionList.class, +@XmlSeeAlso({ PropertyDefinition.class, PropertyDefinitionSimple.class, PropertyDefinitionList.class, PropertyDefinitionMap.class }) public class WebservicesManagerBean implements WebservicesRemote {
@@ -202,6 +203,22 @@ public class WebservicesManagerBean implements WebservicesRemote { return alertManager.findAlertsByCriteria(subject, criteria); }
+ public int deleteAlerts(Subject subject, int[] alertIds) { + return alertManager.deleteAlerts(subject, alertIds); + } + + public int deleteAlertsByContext(Subject subject, EntityContext context) { + return alertManager.deleteAlertsByContext(subject, context); + } + + public int acknowledgeAlerts(Subject subject, int[] alertIds) { + return alertManager.acknowledgeAlerts(subject, alertIds); + } + + public int acknowledgeAlertsByContext(Subject subject, EntityContext context) { + return alertManager.acknowledgeAlertsByContext(subject, context); + } + //ALERTMANAGER: END --------------------------------------------
//ALERTDEFINITIONMANAGER: BEGIN -------------------------------- @@ -215,15 +232,15 @@ public class WebservicesManagerBean implements WebservicesRemote { return alertDefinitionManager.findAlertDefinitionsByCriteria(subject, criteria); }
- public int enableAlertDefinitions(Subject subject, Integer[] alertDefinitionIds) { + public int enableAlertDefinitions(Subject subject, int[] alertDefinitionIds) { return alertDefinitionManager.enableAlertDefinitions(subject, alertDefinitionIds); }
- public int disableAlertDefinitions(Subject subject, Integer[] alertDefinitionIds) { + public int disableAlertDefinitions(Subject subject, int[] alertDefinitionIds) { return alertDefinitionManager.disableAlertDefinitions(subject, alertDefinitionIds); }
- public int removeAlertDefinitions(Subject subject, Integer[] alertDefinitionIds) { + public int removeAlertDefinitions(Subject subject, int[] alertDefinitionIds) { return alertDefinitionManager.removeAlertDefinitions(subject, alertDefinitionIds); }
@@ -502,15 +519,15 @@ public class WebservicesManagerBean implements WebservicesRemote { //DATAACCESSMANAGER: END ----------------------------------
//DISCOVERYBOSS: BEGIN ------------------------------------ - public void ignoreResources(Subject subject, Integer[] resourceIds) { + public void ignoreResources(Subject subject, int[] resourceIds) { discoveryBoss.ignoreResources(subject, resourceIds); }
- public void importResources(Subject subject, Integer[] resourceIds) { + public void importResources(Subject subject, int[] resourceIds) { discoveryBoss.importResources(subject, resourceIds); }
- public void unignoreResources(Subject subject, Integer[] resourceIds) { + public void unignoreResources(Subject subject, int[] resourceIds) { discoveryBoss.unignoreResources(subject, resourceIds); }
@@ -779,7 +796,7 @@ public class WebservicesManagerBean implements WebservicesRemote { return repoManager.findPackageVersionsInRepoByCriteria(subject, criteria); }
- public int synchronizeRepos(Subject subject, Integer[] repoIds) throws Exception { + public int synchronizeRepos(Subject subject, int[] repoIds) throws Exception { return repoManager.synchronizeRepos(subject, repoIds); }
@@ -953,7 +970,7 @@ public class WebservicesManagerBean implements WebservicesRemote { return roleManager.createRole(subject, newRole); }
- public void deleteRoles(Subject subject, Integer[] roleIds) { + public void deleteRoles(Subject subject, int[] roleIds) { roleManager.deleteRoles(subject, roleIds); }
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/alert/test/AlertManagerBeanTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/alert/test/AlertManagerBeanTest.java index 95897e3..e0cb447 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/alert/test/AlertManagerBeanTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/alert/test/AlertManagerBeanTest.java @@ -37,6 +37,7 @@ import org.rhq.core.domain.alert.BooleanExpression; import org.rhq.core.domain.alert.notification.AlertNotificationLog; import org.rhq.core.domain.alert.notification.ResultState; import org.rhq.core.domain.auth.Subject; +import org.rhq.core.domain.common.EntityContext; import org.rhq.core.domain.resource.Agent; import org.rhq.core.domain.resource.Resource; import org.rhq.core.domain.resource.ResourceCategory; @@ -67,7 +68,7 @@ public class AlertManagerBeanTest extends AbstractEJB3Test { }
public void testAlertDelete() { - assert 1 == alertManager.deleteAlerts(superuser, newResource.getId()); + assert 1 == alertManager.deleteAlertsByContext(superuser, EntityContext.forResource(newResource.getId())); }
public void testAlertDeleteInRange() { diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/authz/test/RoleManagerBeanTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/authz/test/RoleManagerBeanTest.java index c0ae4d9..03f1b9f 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/authz/test/RoleManagerBeanTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/authz/test/RoleManagerBeanTest.java @@ -72,8 +72,8 @@ public class RoleManagerBeanTest extends AbstractEJB3Test { getTransactionManager().begin();
try { - PageList<Role> roles = roleManager.findRolesBySubject(subjectManager.getOverlord().getId(), PageControl - .getUnlimitedInstance()); + PageList<Role> roles = roleManager.findRolesBySubject(subjectManager.getOverlord().getId(), + PageControl.getUnlimitedInstance()); assert roles.size() == 1;
Role role = roles.get(0); @@ -95,12 +95,12 @@ public class RoleManagerBeanTest extends AbstractEJB3Test { getTransactionManager().begin();
try { - PageList<Role> roles = roleManager.findRolesBySubject(subjectManager.getOverlord().getId(), PageControl - .getUnlimitedInstance()); + PageList<Role> roles = roleManager.findRolesBySubject(subjectManager.getOverlord().getId(), + PageControl.getUnlimitedInstance());
for (Role role : roles) { - PageList<Subject> subjects = roleManager.findSubjectsByRole(role.getId(), PageControl - .getUnlimitedInstance()); + PageList<Subject> subjects = roleManager.findSubjectsByRole(role.getId(), + PageControl.getUnlimitedInstance()); if (role.getName().equals("Super User Role")) { assert subjects.size() >= 1 : "At least rhqadmin must have super user role: " + subjects;
@@ -130,8 +130,8 @@ public class RoleManagerBeanTest extends AbstractEJB3Test { role_id_list.add(role.getId()); }
- PageList<Role> roles = roleManager.findRolesByIds(role_id_list.toArray(new Integer[0]), PageControl - .getUnlimitedInstance()); + PageList<Role> roles = roleManager.findRolesByIds(role_id_list.toArray(new Integer[0]), + PageControl.getUnlimitedInstance()); assert roles.size() == all_roles.size(); assert roles.containsAll(all_roles); } finally { @@ -165,39 +165,39 @@ public class RoleManagerBeanTest extends AbstractEJB3Test {
PageList<Role> roles;
- roles = roleManager.findAvailableRolesForSubject(superuser, subject.getId(), new Integer[0], PageControl - .getUnlimitedInstance()); + roles = roleManager.findAvailableRolesForSubject(superuser, subject.getId(), new Integer[0], + PageControl.getUnlimitedInstance());
assert roles.size() == all_roles.size() : "All roles should be available for this subject"; assert roles.containsAll(all_roles);
- roles = roleManager.findAvailableRolesForSubject(superuser, subject.getId(), new Integer[] { new_role - .getId() }, PageControl.getUnlimitedInstance()); + roles = roleManager.findAvailableRolesForSubject(superuser, subject.getId(), + new Integer[] { new_role.getId() }, PageControl.getUnlimitedInstance()); assert (roles.size() + 1) == all_roles.size() : "All roles but one should be available for this subject"; assert !roles.contains(new_role);
- roles = roleManager.findAvailableRolesForSubject(superuser, subject.getId(), new Integer[] { - new_role.getId(), new_role2.getId() }, PageControl.getUnlimitedInstance()); + roles = roleManager.findAvailableRolesForSubject(superuser, subject.getId(), + new Integer[] { new_role.getId(), new_role2.getId() }, PageControl.getUnlimitedInstance()); assert (roles.size() + 2) == all_roles.size() : "All roles but two should be available for this subject"; assert !roles.contains(new_role); assert !roles.contains(new_role2);
roleManager.addRolesToSubject(superuser, subject.getId(), new int[] { new_role.getId() }); - roles = roleManager.findAvailableRolesForSubject(superuser, subject.getId(), new Integer[0], PageControl - .getUnlimitedInstance()); + roles = roleManager.findAvailableRolesForSubject(superuser, subject.getId(), new Integer[0], + PageControl.getUnlimitedInstance()); assert (roles.size() + 1) == all_roles.size() : "All but one role should be available for this subject"; assert !roles.contains(new_role) : "We already assigned this new role to the subject - it isn't available";
- roles = roleManager.findAvailableRolesForSubject(superuser, subject.getId(), new Integer[] { new_role2 - .getId() }, PageControl.getUnlimitedInstance()); + roles = roleManager.findAvailableRolesForSubject(superuser, subject.getId(), + new Integer[] { new_role2.getId() }, PageControl.getUnlimitedInstance()); assert (roles.size() + 2) == all_roles.size() : "One is already assigned and one is excluded so all but two roles should be available for this subject"; assert !roles.contains(new_role) : "We already assigned this new role to the subject - it isn't available"; assert !roles.contains(new_role2) : "We excluded this new role - it isn't available";
try { // dummy user doesn't have the permission for this - roles = roleManager.findAvailableRolesForSubject(subject, subject.getId(), new Integer[0], PageControl - .getUnlimitedInstance()); + roles = roleManager.findAvailableRolesForSubject(subject, subject.getId(), new Integer[0], + PageControl.getUnlimitedInstance()); } catch (PermissionException s) { // to be expected, this rolls the transaction back for us } @@ -241,7 +241,7 @@ public class RoleManagerBeanTest extends AbstractEJB3Test { roleManager.removeRolesFromSubject(superuser, new_subject.getId(), new int[] { role.getId() }); assert roleManager.findRolesBySubject(new_subject.getId(), PageControl.getUnlimitedInstance()).size() == 0 : "Role should have been unassigned";
- roleManager.deleteRoles(superuser, new Integer[] { role.getId() }); + roleManager.deleteRoles(superuser, new int[] { role.getId() }); assert !roleManager.findRoles(PageControl.getUnlimitedInstance()).contains(role) : "Role should have been deleted"; } finally { getTransactionManager().rollback(); diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/content/test/RepoSyncingTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/content/test/RepoSyncingTest.java index 180f6e5..cf4006f 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/content/test/RepoSyncingTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/content/test/RepoSyncingTest.java @@ -147,7 +147,7 @@ public class RepoSyncingTest extends AbstractEJB3Test { @Test(enabled = ENABLED) public void testSyncCount() throws Exception {
- Integer[] ids = { repo.getId() }; + int[] ids = { repo.getId() }; Subject overlord = LookupUtil.getSubjectManager().getOverlord(); getTransactionManager().commit(); int syncCount = LookupUtil.getRepoManagerLocal().synchronizeRepos(overlord, ids); diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/resource/group/test/RecursiveResourceGroupTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/resource/group/test/RecursiveResourceGroupTest.java index e4d60e4..793a976 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/resource/group/test/RecursiveResourceGroupTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/resource/group/test/RecursiveResourceGroupTest.java @@ -51,7 +51,7 @@ public class RecursiveResourceGroupTest extends AbstractEJB3Test { private SubjectManagerLocal subjectManager;
@BeforeSuite - @SuppressWarnings( { "unused" }) + @SuppressWarnings({ "unused" }) private void init() { resourceGroupManager = LookupUtil.getResourceGroupManager(); resourceManager = LookupUtil.getResourceManager(); @@ -279,8 +279,8 @@ public class RecursiveResourceGroupTest extends AbstractEJB3Test { implicitGroupMembershipRemoveHelper(subject, recursiveGroup, nodeThree, expectedImplicit);
// removing a root node should remove all descendants that aren't still in the explicit list - implicitGroupMembershipRemoveHelper(subject, recursiveGroup, nodeBigA, ResourceTreeHelper - .getSubtree(nodeLittleA)); + implicitGroupMembershipRemoveHelper(subject, recursiveGroup, nodeBigA, + ResourceTreeHelper.getSubtree(nodeLittleA)); } catch (Throwable t) { t.printStackTrace(); throw t; @@ -293,8 +293,8 @@ public class RecursiveResourceGroupTest extends AbstractEJB3Test { // remove a node that wasn't in the group - negative testing try { // passing the "real" expected list for the results; this way, if the exception doesn't happen, the helper returns true - implicitGroupMembershipRemoveHelper(subject, recursiveGroup, nodeBigA, ResourceTreeHelper - .getSubtree(nodeLittleA)); + implicitGroupMembershipRemoveHelper(subject, recursiveGroup, nodeBigA, + ResourceTreeHelper.getSubtree(nodeLittleA)); assert false : "Failed: removed non-existent successfully: node = " + nodeBigA.getName(); } catch (Throwable t) { // expected @@ -325,8 +325,8 @@ public class RecursiveResourceGroupTest extends AbstractEJB3Test { try { // passing the "real" expected list for the results; this way, if the exception doesn't happen, the helper returns true Resource nodeBigB = ResourceTreeHelper.findNode(fullTree, "B"); - implicitGroupMembershipRemoveHelper(subject, recursiveGroup, nodeBigB, ResourceTreeHelper - .getSubtree(nodeBigA)); + implicitGroupMembershipRemoveHelper(subject, recursiveGroup, nodeBigB, + ResourceTreeHelper.getSubtree(nodeBigA)); assert false : "Failed: removed non-existent successfully: node = " + nodeBigB.getName(); } catch (Throwable t) { // expected @@ -364,7 +364,7 @@ public class RecursiveResourceGroupTest extends AbstractEJB3Test { subjectManager.deleteUsers(overlord, new int[] { subject.getId() }); } if (null != role) { - roleManager.deleteRoles(overlord, new Integer[] { role.getId() }); + roleManager.deleteRoles(overlord, new int[] { role.getId() }); } if (null != recursiveGroup) { resourceGroupManager.deleteResourceGroup(overlord, recursiveGroup.getId()); @@ -384,10 +384,10 @@ public class RecursiveResourceGroupTest extends AbstractEJB3Test { }
private void printGroup(String prefix, Subject subject, ResourceGroup group) { - print(prefix + ": exp", resourceManager.findExplicitResourcesByResourceGroup(subject, group, PageControl - .getUnlimitedInstance())); - print(prefix + ": imp", resourceManager.findImplicitResourcesByResourceGroup(subject, group, PageControl - .getUnlimitedInstance())); + print(prefix + ": exp", + resourceManager.findExplicitResourcesByResourceGroup(subject, group, PageControl.getUnlimitedInstance())); + print(prefix + ": imp", + resourceManager.findImplicitResourcesByResourceGroup(subject, group, PageControl.getUnlimitedInstance())); }
private void print(String prefix, List<Resource> resources) {
commit f0aaf2b827ea7b023fd525244b3c6350ff3a61f2 Author: Joseph Marques joseph@redhat.com Date: Mon Oct 18 03:46:53 2010 -0400
remove stale code from EventCompositeHistoryView
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/event/EventCompositeHistoryView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/event/EventCompositeHistoryView.java index 4ddfa54..5f4ec73 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/event/EventCompositeHistoryView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/event/EventCompositeHistoryView.java @@ -31,7 +31,6 @@ import com.smartgwt.client.types.SortDirection; import com.smartgwt.client.widgets.Canvas; import com.smartgwt.client.widgets.form.fields.TextItem; import com.smartgwt.client.widgets.grid.CellFormatter; -import com.smartgwt.client.widgets.grid.ListGrid; import com.smartgwt.client.widgets.grid.ListGridField; import com.smartgwt.client.widgets.grid.ListGridRecord;
@@ -96,11 +95,7 @@ public class EventCompositeHistoryView extends TableSection {
@Override protected void configureTable() { - ListGrid grid = getListGrid(); - - // getListGrid().getField("id").setWidth(60); - - ListGridField timestampField = new ListGridField("timestamp", "ID", 125); + ListGridField timestampField = new ListGridField("timestamp", "Timestamp", 125); ListGridField severityField = new ListGridField("severity", "Severity", 75); severityField.setCellFormatter(new CellFormatter() { public String format(Object o, ListGridRecord listGridRecord, int i, int i1) { @@ -122,29 +117,6 @@ public class EventCompositeHistoryView extends TableSection {
setListGridFields(timestampField, severityField, detailsField, sourceField);
- /* - grid.getField("timestamp").setWidth(125); - - grid.getField("severity").setWidth(75); - grid.getField("severity").setCellFormatter(new CellFormatter() { - public String format(Object o, ListGridRecord listGridRecord, int i, int i1) { - return Canvas.imgHTML("subsystems/event/" + o + "_16.png", 16, 16) + o; - } - }); - - grid.getField("source").setWidth(275); - grid.getField("source").setCellFormatter(new CellFormatter() { - public String format(Object o, ListGridRecord listGridRecord, int i, int i1) { - String sourceLocation = (String) o; - int length = sourceLocation.length(); - if (length > 40) { - return "..." + sourceLocation.substring(length - 40); // the last 40 chars - } - return sourceLocation; - } - }); - */ - setupTableInteractions(); }
commit 5cc27e39118087fe20560a4fc0cb5a8204dea053 Author: Joseph Marques joseph@redhat.com Date: Mon Oct 18 02:55:42 2010 -0400
new utility method in TableUtility
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/TableUtility.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/TableUtility.java index 1cb0b2c..602595d 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/TableUtility.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/TableUtility.java @@ -18,6 +18,8 @@ */ package org.rhq.enterprise.gui.coregui.client.util;
+import java.util.List; + import com.smartgwt.client.widgets.grid.ListGridRecord;
import org.rhq.enterprise.gui.coregui.client.components.table.Table; @@ -41,4 +43,12 @@ public class TableUtility { return ids; }
+ public static int[] getIds(List<Integer> input) { + int[] ids = new int[input.size()]; + int index = 0; + for (Integer next : input) { + ids[index++] = next; + } + return ids; + } }
commit 10a048f06413168d8b2eaf5c564ca7b4dd8cf7f8 Author: Joseph Marques joseph@redhat.com Date: Mon Oct 18 02:53:51 2010 -0400
fix RPCDataSource to correctly handle varargs enum-based criteria filters
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/RPCDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/RPCDataSource.java index 38a9386..3314eeb 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/RPCDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/RPCDataSource.java @@ -36,6 +36,8 @@ import com.smartgwt.client.types.DSProtocol; import com.smartgwt.client.util.JSOHelper; import com.smartgwt.client.widgets.grid.ListGridRecord;
+import org.rhq.core.domain.alert.AlertPriority; +import org.rhq.core.domain.event.EventSeverity; import org.rhq.core.domain.util.PageControl; import org.rhq.core.domain.util.PageOrdering; import org.rhq.enterprise.gui.coregui.client.CoreGUI; @@ -127,8 +129,8 @@ public abstract class RPCDataSource<T> extends DataSource { if (request.getStartRow() == null || request.getEndRow() == null) { pageControl = new PageControl(); } else { - pageControl = PageControl.getExplicitPageControl(request.getStartRow(), request.getEndRow() - - request.getStartRow()); + pageControl = PageControl.getExplicitPageControl(request.getStartRow(), + request.getEndRow() - request.getStartRow()); }
// Initialize sorting. @@ -265,8 +267,12 @@ public abstract class RPCDataSource<T> extends DataSource { return newRecord; }
- @SuppressWarnings("unchecked") public static <S> S[] getArrayFilter(DSRequest request, String paramName, Class<S> type) { + return getArrayFilter(request, paramName, type, null); + } + + @SuppressWarnings("unchecked") + public static <S> S[] getArrayFilter(DSRequest request, String paramName, Class<S> type, S[] dummy) { com.allen_sauer.gwt.log.client.Log.debug("Fetching array " + paramName + " (" + type + ")"); Criteria criteria = request.getCriteria(); Map<String, Object> criteriaMap = criteria.getValues(); @@ -290,6 +296,13 @@ public abstract class RPCDataSource<T> extends DataSource { for (String next : intermediates) { resultArray[index++] = (S) next; } + } else if (type.isEnum()) { + String[] intermediates = criteria.getAttributeAsStringArray(paramName); + List<S> buffer = new ArrayList<S>(); + for (String next : intermediates) { + buffer.add((S) Enum.valueOf((Class<? extends Enum>) type, next)); + } + resultArray = buffer.toArray((S[]) getEnumArray(type, buffer.size())); } else { throw new IllegalArgumentException("No support for passing array filters of type " + type); } @@ -300,6 +313,20 @@ public abstract class RPCDataSource<T> extends DataSource { }
@SuppressWarnings("unchecked") + private static <S> S[] getEnumArray(Class<S> genericEnumType, int size) { + // workaround until GWT implements reflection APIs, so we can do: + // array=(S[])Array.newInstance(Class<S>,capacity); + if (genericEnumType == AlertPriority.class) { + return (S[]) new AlertPriority[size]; + } else if (genericEnumType == EventSeverity.class) { + return (S[]) new EventSeverity[size]; + } else { + throw new IllegalArgumentException("Please add an appropriate code block for enum " + genericEnumType + + " to RPCDataSource.getEnumArray(Class)"); + } + } + + @SuppressWarnings("unchecked") public static <S> S getFilter(DSRequest request, String paramName, Class<S> type) { com.allen_sauer.gwt.log.client.Log.debug("Fetching " + paramName + " (" + type + ")"); Criteria criteria = request.getCriteria(); @@ -317,7 +344,7 @@ public abstract class RPCDataSource<T> extends DataSource { } else if (type == Integer.class) { result = (S) Integer.valueOf(strValue); } else if (type.isEnum()) { - result = (S) Enum.valueOf((Class<? extends Enum>) type, strValue.toUpperCase()); + result = (S) Enum.valueOf((Class<? extends Enum>) type, strValue); } else { result = (S) value; // otherwise presume the object is already that type, and just cast it }
commit 1da210df65a2140fa2890fab6646044afbe63f31 Author: Joseph Marques joseph@redhat.com Date: Mon Oct 18 02:53:10 2010 -0400
improve client-side logging for MessageCenter
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/message/MessageCenter.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/message/MessageCenter.java index a9070b1..a464b5e 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/message/MessageCenter.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/message/MessageCenter.java @@ -22,6 +22,8 @@ import java.util.ArrayList; import java.util.LinkedList; import java.util.List;
+import com.allen_sauer.gwt.log.client.Log; + /** * @author Greg Hinkle */ @@ -32,6 +34,7 @@ public class MessageCenter { private static final int MAX_MESSAGES = 50;
public void notify(Message message) { + log(message); if (!message.isTransient()) { this.messages.add(message); if (messages.size() > MAX_MESSAGES) { @@ -59,4 +62,19 @@ public class MessageCenter { public interface MessageListener { void onMessage(Message message); } + + private void log(Message message) { + String formattedMessage = "On " + message.getFired() + " MessageCenter received " + message.getConciseMessage(); + if (message.severity == Message.Severity.Info) { + Log.info(formattedMessage); + } else if (message.severity == Message.Severity.Warning) { + Log.warn(formattedMessage); + } else if (message.severity == Message.Severity.Error) { + Log.error(formattedMessage); + } else if (message.severity == Message.Severity.Fatal) { + Log.fatal(formattedMessage); + } else { + Log.debug(formattedMessage); + } + } }
commit e0d239c5f54ada714c8ac8532e656eb8a44ac54f Author: Joseph Marques joseph@redhat.com Date: Mon Oct 18 02:52:55 2010 -0400
add new filters for AlertCriteria:
* filter by varargs of AlertPriority * filter by acknowledgingSubject * use CriteriaUtils.getListIgnoringNulls instead of Arrays.asList for varargs
diff --git a/modules/core/domain/src/main/java/org/rhq/core/domain/criteria/AlertCriteria.java b/modules/core/domain/src/main/java/org/rhq/core/domain/criteria/AlertCriteria.java index 9470937..097c860 100644 --- a/modules/core/domain/src/main/java/org/rhq/core/domain/criteria/AlertCriteria.java +++ b/modules/core/domain/src/main/java/org/rhq/core/domain/criteria/AlertCriteria.java @@ -22,7 +22,6 @@ */ package org.rhq.core.domain.criteria;
-import java.util.Arrays; import java.util.List;
import javax.xml.bind.annotation.XmlAccessType; @@ -31,6 +30,8 @@ import javax.xml.bind.annotation.XmlRootElement;
import org.rhq.core.domain.alert.Alert; import org.rhq.core.domain.alert.AlertPriority; +import org.rhq.core.domain.common.EntityContext; +import org.rhq.core.domain.util.CriteriaUtils; import org.rhq.core.domain.util.PageOrdering;
/** @@ -56,13 +57,14 @@ public class AlertCriteria extends Criteria { private Long filterEndTime; // requires overrides private String filterName; // requires overrides private String filterDescription; // requires overrides - private AlertPriority filterPriority; // requires overrides + private List<AlertPriority> filterPriorities; // requires overrides private String filterResourceTypeId; // requires overrides private String filterResourceTypeName; // requires overrides private List<Integer> filterResourceIds; // requires overrides private List<Integer> filterResourceGroupIds; // requires overrides private List<Integer> filterAlertDefinitionIds; // requires overrides private List<Integer> filterGroupAlertDefinitionIds; // requires overrides + private String filterAcknowledgingSubject;
private boolean fetchAlertDefinition; private boolean fetchConditionLogs; @@ -82,7 +84,7 @@ public class AlertCriteria extends Criteria { filterOverrides.put("endTime", "ctime <= ?"); filterOverrides.put("name", "alertDefinition.name like ?"); filterOverrides.put("description", "alertDefinition.description like ?"); - filterOverrides.put("priority", "alertDefinition.priority = ?"); + filterOverrides.put("priorities", "alertDefinition.priority IN ( ? )"); filterOverrides.put("resourceTypeId", "alertDefinition.resource.resourceType.id = ?"); filterOverrides.put("resourceTypeName", "alertDefinition.resource.resourceType.name like ?"); filterOverrides.put("resourceIds", "alertDefinition.resource.id IN ( ? )"); @@ -128,8 +130,8 @@ public class AlertCriteria extends Criteria { this.filterDescription = filterDescription; }
- public void addFilterPriority(AlertPriority filterPriority) { - this.filterPriority = filterPriority; + public void addFilterPriorities(AlertPriority... filterPriorities) { + this.filterPriorities = CriteriaUtils.getListIgnoringNulls(filterPriorities); }
public void addFilterResourceTypeId(String filterResourceTypeId) { @@ -140,20 +142,34 @@ public class AlertCriteria extends Criteria { this.filterResourceTypeName = filterResourceTypeName; }
+ public void addFilterEntityContext(EntityContext filterEntityContext) { + if (filterEntityContext.getCategory() == EntityContext.Category.Resource) { + addFilterResourceIds(filterEntityContext.getResourceId()); + } else if (filterEntityContext.getCategory() == EntityContext.Category.ResourceGroup) { + addFilterResourceGroupIds(filterEntityContext.getGroupId()); + } else { + // only add filters if category was resource or group + } + } + public void addFilterResourceIds(Integer... filterResourceIds) { - this.filterResourceIds = Arrays.asList(filterResourceIds); + this.filterResourceIds = CriteriaUtils.getListIgnoringNulls(filterResourceIds); }
public void addFilterResourceGroupIds(Integer... filterResourceGroupIds) { - this.filterResourceGroupIds = Arrays.asList(filterResourceGroupIds); + this.filterResourceGroupIds = CriteriaUtils.getListIgnoringNulls(filterResourceGroupIds); }
public void addFilterAlertDefinitionIds(Integer... filterAlertDefinitionIds) { - this.filterAlertDefinitionIds = Arrays.asList(filterAlertDefinitionIds); + this.filterAlertDefinitionIds = CriteriaUtils.getListIgnoringNulls(filterAlertDefinitionIds); }
public void addFilterGroupAlertDefinitionIds(Integer... filterGroupAlertDefinitionIds) { - this.filterGroupAlertDefinitionIds = Arrays.asList(filterGroupAlertDefinitionIds); + this.filterGroupAlertDefinitionIds = CriteriaUtils.getListIgnoringNulls(filterGroupAlertDefinitionIds); + } + + public void addFilterAcknowledgingSubject(String acknowledgingSubject) { + this.filterAcknowledgingSubject = acknowledgingSubject; }
public void fetchAlertDefinition(boolean fetchAlertDefinition) {
commit bebf5192514b46535c9b8d62844855b14870ee75 Author: Joseph Marques joseph@redhat.com Date: Mon Oct 18 02:51:04 2010 -0400
improved comments for Resource.QUERY_MARK_RESOURCES_FOR_ASYNC_DELETION_QUICK
diff --git a/modules/core/domain/src/main/java/org/rhq/core/domain/resource/Resource.java b/modules/core/domain/src/main/java/org/rhq/core/domain/resource/Resource.java index 71ccd30..2683561 100644 --- a/modules/core/domain/src/main/java/org/rhq/core/domain/resource/Resource.java +++ b/modules/core/domain/src/main/java/org/rhq/core/domain/resource/Resource.java @@ -81,7 +81,7 @@ import org.rhq.core.domain.util.Summary; * Represents a JON managed resource (i.e. a platform, server, or service). */ @Entity -@NamedQueries( { +@NamedQueries({ @NamedQuery(name = Resource.QUERY_FIND_PROBLEM_RESOURCES_ALERT_ADMIN, query = "" // + " SELECT DISTINCT new org.rhq.core.domain.resource.composite.ProblemResourceComposite" + " ( " @@ -705,10 +705,10 @@ import org.rhq.core.domain.util.Summary; + " "), @NamedQuery(name = Resource.QUERY_MARK_RESOURCES_FOR_ASYNC_DELETION_QUICK, query = "" // + "UPDATE Resource r " // - + " SET r.inventoryStatus = :status, " // - + " r.agent = NULL, " // - + " r.parentResource = NULL, " // takes resources out of the hierarchy, so we don't have to change ResourceSyncInfo logic - + " r.resourceKey = 'deleted' " // + + " SET r.inventoryStatus = :status, " // change to UNINVENTORIED status will remove it from inventory browser + + " r.agent = NULL, " // don't have to change ResourceSyncInfo logic + + " r.parentResource = NULL, " // resources without hierarchy can be deleted in any order + + " r.resourceKey = 'deleted' " // prevents collision with future discovery reports + " WHERE r.id IN (:resourceIds ) "), // @NamedQuery(name = Resource.QUERY_FIND_RESOURCES_MARKED_FOR_ASYNC_DELETION, query = "" // + "SELECT r.id FROM Resource AS r WHERE r.agent IS NULL"),
commit 37c035f2a77b2d5c6ed04b52edeb12e4452b1515 Author: Joseph Marques joseph@redhat.com Date: Mon Oct 18 02:50:33 2010 -0400
fix issue with recent alerts footer - we want the 1st page not the 2nd
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/Footer.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/Footer.java index d7121e3..9bbcb56 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/Footer.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/Footer.java @@ -145,7 +145,10 @@ public class Footer extends LocatableToolStrip {
public void refreshLoggedIn() { AlertCriteria alertCriteria = new AlertCriteria(); - alertCriteria.setPaging(1, 1); + + // only get one record from the first page, we only really care about the count + alertCriteria.setPaging(0, 1); + // last eight hours alertCriteria.addFilterStartTime(System.currentTimeMillis() - (1000L * 60 * 60 * 8));
commit 896bfbdbee6cb8ec8266bdbfcd0a8d6f08354887 Author: Joseph Marques joseph@redhat.com Date: Mon Oct 18 02:48:21 2010 -0400
make date/time format for TimestampCellFormatter public
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/TimestampCellFormatter.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/TimestampCellFormatter.java index 9d0952b..613b2c7 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/TimestampCellFormatter.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/TimestampCellFormatter.java @@ -1,18 +1,18 @@ package org.rhq.enterprise.gui.coregui.client.components.table;
+import java.util.Date; + import com.google.gwt.i18n.client.DateTimeFormat; import com.smartgwt.client.widgets.grid.CellFormatter; import com.smartgwt.client.widgets.grid.ListGridRecord;
-import java.util.Date; - /** * Formats a timestamp (i.e. milliseconds since Epoch). * * @author Ian Springer */ public class TimestampCellFormatter implements CellFormatter { - private static final DateTimeFormat DATE_TIME_FORMAT = DateTimeFormat.getMediumDateTimeFormat(); + public static final DateTimeFormat DATE_TIME_FORMAT = DateTimeFormat.getMediumDateTimeFormat();
public String format(Object value, ListGridRecord record, int rowNum, int colNum) { if (value == null) { @@ -20,11 +20,11 @@ public class TimestampCellFormatter implements CellFormatter { } long longValue; if (value instanceof Long) { - longValue = (Long)value; + longValue = (Long) value; } else if (value instanceof Integer) { - longValue = (Integer)value; + longValue = (Integer) value; } else if (value instanceof String) { - longValue = Long.parseLong((String)value); + longValue = Long.parseLong((String) value); } else { throw new IllegalArgumentException("value parameter is not a Long, an Integer, or a String."); }
commit b832c42b1dbed7667973cb82d415c5ec02f58b4b Author: Joseph Marques joseph@redhat.com Date: Mon Oct 18 02:47:53 2010 -0400
add new constructors to Table/TableSection
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/Table.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/Table.java index f69a8c4..dab49e6 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/Table.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/Table.java @@ -155,6 +155,10 @@ public class Table extends LocatableHLayout implements RefreshableView { this(locatorId, tableTitle, null, null, null, autoFetchData); }
+ public Table(String locatorId, String tableTitle, SortSpecifier[] sortSpecifiers, String[] excludedFieldNames) { + this(locatorId, tableTitle, null, sortSpecifiers, excludedFieldNames, true); + } + public Table(String locatorId, String tableTitle, Criteria criteria, SortSpecifier[] sortSpecifiers, String[] excludedFieldNames) { this(locatorId, tableTitle, criteria, sortSpecifiers, excludedFieldNames, true); @@ -323,8 +327,8 @@ public class Table extends LocatableHLayout implements RefreshableView { public void onClick(ClickEvent clickEvent) { if (tableAction.confirmMessage != null) {
- String message = tableAction.confirmMessage.replaceAll("\#", String.valueOf(listGrid - .getSelection().length)); + String message = tableAction.confirmMessage.replaceAll("\#", + String.valueOf(listGrid.getSelection().length));
SC.ask(message, new BooleanCallback() { public void execute(Boolean confirmed) { diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/TableSection.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/TableSection.java index f5118f7..c585915 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/TableSection.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/TableSection.java @@ -64,6 +64,11 @@ public abstract class TableSection extends Table implements BookmarkableView { super(locatorId, tableTitle, autoFetchData); }
+ protected TableSection(String locatorId, String tableTitle, SortSpecifier[] sortSpecifiers, + String[] excludedFieldNames) { + super(locatorId, tableTitle, null, sortSpecifiers, excludedFieldNames); + } + protected TableSection(String locatorId, String tableTitle, Criteria criteria, SortSpecifier[] sortSpecifiers, String[] excludedFieldNames) { super(locatorId, tableTitle, criteria, sortSpecifiers, excludedFieldNames);
commit 3f13e43ae4edf04f973c860cd674d7aaf89db044 Author: Joseph Marques joseph@redhat.com Date: Mon Oct 18 02:46:16 2010 -0400
fix minor issue with SubTabLayout redraw
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/tab/SubTabLayout.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/tab/SubTabLayout.java index ff78476..a22e09a 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/tab/SubTabLayout.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/tab/SubTabLayout.java @@ -139,7 +139,7 @@ public class SubTabLayout extends LocatableVLayout { public void onClick(ClickEvent clickEvent) { SubTabLayout.this.currentlySelected = subTab.getLocatorId(); fireSubTabSelection(); - draw(); + markForRedraw(); } });
commit c915c388933bb2634ea42cd33f2b6f1c93b159f6 Merge: 210e2a6... ca97312... Author: Heiko W. Rupp hwr@redhat.com Date: Mon Oct 18 20:20:23 2010 +0200
Merge branch 'master' of ssh://git.fedorahosted.org/git/rhq/rhq
commit 210e2a682aba3ba4ad0d5ef4ddf2cd8de645469d Author: Heiko W. Rupp hwr@redhat.com Date: Mon Oct 18 20:19:54 2010 +0200
Disable for the moment
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index 17520c3..44e61f5 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -57,7 +57,7 @@ import org.testng.annotations.Test; * @author Heiko W. Rupp * @author Lukas Krejci */ -@Test(groups = "PERF") +@Test(groups = "PERF" , enabled = false) @Listeners({ DatabaseSetupInterceptor.class }) @PerformanceReporting(exporter=ExcelExporter.class) @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/EventsInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/EventsInsertPurgeTest.java index 0332905..3df95dd 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/EventsInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/EventsInsertPurgeTest.java @@ -57,7 +57,7 @@ import java.util.Set; * * @author Heiko W. Rupp */ -@Test(groups = "PERF") +@Test(groups = "PERF", enabled = false) @Listeners({ DatabaseSetupInterceptor.class }) @PerformanceReporting(exporter=ExcelExporter.class) @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94")
commit ca97312349880a67522b0fc8554a75f7c1ce77d8 Merge: b1fcd05... 414c793... Author: Jay Shaughnessy jshaughn@redhat.com Date: Mon Oct 18 13:05:26 2010 -0400
Merge branch 'master' of ssh://git.fedorahosted.org/git/rhq/rhq
commit b1fcd058c963e7d0f925e90ca4bb51606df04b4f Author: Jay Shaughnessy jshaughn@redhat.com Date: Mon Oct 18 12:50:27 2010 -0400
More robust handling of the "id" column. In general, shown in debug and not shown otherwise. But now allowing overrides and optional definition in the datasource fields.
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/Table.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/Table.java index 7e2604e..f69a8c4 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/Table.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/Table.java @@ -22,6 +22,7 @@ import java.util.ArrayList; import java.util.List;
import com.smartgwt.client.data.Criteria; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.SortSpecifier; import com.smartgwt.client.types.Alignment; import com.smartgwt.client.types.Autofit; @@ -488,28 +489,67 @@ public class Table extends LocatableHLayout implements RefreshableView { }
/** - * Wraps ListGrid.setFields(...) but takes care of "id" field display handling + * Wraps ListGrid.setFields(...) but takes care of "id" field display handling. Equivalent to calling: + * <pre> + * + * setFields( false, fields ); + * </pre> + * * @param fields */ public void setListGridFields(ListGridField... fields) { - if (null == this.dataSource.getField("id")) { - return; + setListGridFields(false, fields); + } + + /** + * Wraps ListGrid.setFields(...) but takes care of "id" field display handling + * @param forceIdField if true, and "id" is a defined field, then display it. If false it is displayed + * only in debug mode. + * @param fields + */ + public void setListGridFields(boolean forceIdField, ListGridField... fields) { + + DataSourceField dsIdField = this.dataSource.getField("id"); + ListGridField lsIdField = null; + for (int i = 0; (null == lsIdField) && (i < fields.length); ++i) { + if ("id".equals(fields[i].getName())) { + lsIdField = fields[i]; + } }
- if (CoreGUI.isDebugMode()) { - ListGridField idField = new ListGridField("id", "Id", 55); - idField.setType(ListGridFieldType.INTEGER); - idField.setCanEdit(false); - idField.setAlign(Alignment.LEFT); + // if we don't have to worry about the "id" field just set the fields and continue + if ((null == dsIdField) && (null == lsIdField)) { + this.listGrid.setFields(fields); + return; + }
- ListGridField[] newFields = new ListGridField[fields.length + 1]; - newFields[0] = idField; - for (int i = 0; i < fields.length; ++i) { - newFields[i + 1] = fields[i]; + // otherwise, make sure "id" is shown or hidden depending on mode and flags + if (CoreGUI.isDebugMode() || forceIdField) { + if (null != lsIdField) { + lsIdField.setHidden(false); + this.listGrid.setFields(fields); + } else { + // override the ds id field for better handling + ListGridField idField = new ListGridField("id", "Id", 55); + idField.setType(ListGridFieldType.INTEGER); + idField.setAlign(Alignment.LEFT); + idField.setCanEdit(false); + + ListGridField[] newFields = new ListGridField[fields.length + 1]; + newFields[0] = idField; + for (int i = 0; i < fields.length; ++i) { + newFields[i + 1] = fields[i]; + } + this.listGrid.setFields(newFields); } - this.listGrid.setFields(newFields); } else { - getListGrid().hideField("id"); + if (null != dsIdField) { + // setHidden will not work on the ds field, use the hideField method + this.listGrid.hideField("id"); + } + if (null != lsIdField) { + lsIdField.setHidden(true); + } this.listGrid.setFields(fields); } }
commit 414c79341bef50565825f85fc9201b205fb972b9 Author: Heiko W. Rupp hwr@redhat.com Date: Mon Oct 18 17:22:40 2010 +0200
BZ 614300 - Add a notification type for the trap itself
diff --git a/modules/enterprise/server/container/src/main/resources/etc/RHQ-mib.txt b/modules/enterprise/server/container/src/main/resources/etc/RHQ-mib.txt index e6853df..61fdb09 100644 --- a/modules/enterprise/server/container/src/main/resources/etc/RHQ-mib.txt +++ b/modules/enterprise/server/container/src/main/resources/etc/RHQ-mib.txt @@ -1,28 +1,32 @@ RHQ-MIB DEFINITIONS ::= BEGIN
IMPORTS - MODULE-IDENTITY, OBJECT-TYPE, snmpModules, enterprises + MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, snmpModules, enterprises FROM SNMPv2-SMI - OBJECT-GROUP, MODULE-COMPLIANCE + coldStart + FROM SNMPv2-MIB + OBJECT-GROUP, NOTIFICATION-GROUP, MODULE-COMPLIANCE FROM SNMPv2-CONF DisplayString FROM SNMPv2-TC; - + rhqMIB MODULE-IDENTITY - LAST-UPDATED "200807110000Z" + LAST-UPDATED "201010180000Z" ORGANIZATION "RHQ-Project" CONTACT-INFO "http://www.rhq-project.org/" - DESCRIPTION + DESCRIPTION "The MIB module for RHQ alerts. - + This file is part of the RHQ management platform - Copyright (C) 2005-2008 Red Hat, Inc. + Copyright (C) 2005-2010 Red Hat, Inc. All rights reserved. " - + REVISION "200807110000Z" DESCRIPTION "Initial version" - ::= { snmpModules 1 } + REVISION "201010180000Z" + DESCRIPTION "Better trap support" + ::= { snmpModules 1 }
jboss OBJECT IDENTIFIER ::= {enterprises 18016 }
@@ -35,15 +39,15 @@ alertName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-only STATUS current - DESCRIPTION + DESCRIPTION "The name of the alert definition for this alert" ::= { alert 1 } - + alertResourceName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-only STATUS current - DESCRIPTION + DESCRIPTION "The name of the resource that triggered the alert" ::= { alert 2 }
@@ -52,7 +56,7 @@ alertPlatformName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-only STATUS current - DESCRIPTION + DESCRIPTION "The name of the platform hosting the resource" ::= { alert 3 }
@@ -61,27 +65,26 @@ alertCondition OBJECT-TYPE SYNTAX DisplayString (SIZE (0..4096)) MAX-ACCESS read-only STATUS current - DESCRIPTION + DESCRIPTION "The conditions leading to the alert" ::= { alert 4 } - + alertSeverity OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-only STATUS current - DESCRIPTION - "Severity of the alert." + DESCRIPTION + "Severity of the alert." ::= { alert 5 } - + alertUrl OBJECT-TYPE SYNTAX DisplayString (SIZE (0..1024)) MAX-ACCESS read-only STATUS current - DESCRIPTION + DESCRIPTION "The url of the individual alert" ::= { alert 6 } - - + -- conformance information
snmpMIBConformance @@ -97,8 +100,8 @@ snmpBasicCompliance MODULE-COMPLIANCE STATUS current DESCRIPTION "TODO" MODULE - MANDATORY-GROUPS { alertGroup } - + MANDATORY-GROUPS { alertGroup, trapGroup } + ::= { snmpMIBCompliances 2 }
alertGroup OBJECT-GROUP @@ -111,4 +114,11 @@ alertGroup OBJECT-GROUP STATUS current DESCRIPTION "A collection of objects providing information about an alert" ::= { snmpMIBGroups 1 } -END \ No newline at end of file + +trapGroup NOTIFICATION-GROUP + NOTIFICATIONS { coldStart } + STATUS current + DESCRIPTION "A collection of notifications for alerts" + ::= { snmpMIBGroups 2 } + +END
commit a07d67fc4f26d8a59c3ed01341e81830b0706fc6 Merge: 58c4c2c... a6d0d0b... Author: Heiko W. Rupp hwr@redhat.com Date: Mon Oct 18 12:05:37 2010 +0200
Merge branch 'master' into perftest
commit a6d0d0b482e537e103bd117429227780e2e08522 Author: Heiko W. Rupp hwr@redhat.com Date: Mon Oct 18 11:20:09 2010 +0200
Smallish import cleanup.
diff --git a/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlComponent.java b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlComponent.java index f38b944..b57c65b 100644 --- a/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlComponent.java +++ b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlComponent.java @@ -18,13 +18,6 @@ */ package org.rhq.plugins.mysql;
-import java.io.File; -import java.io.FileNotFoundException; -import java.io.FileReader; -import java.io.IOException; -import java.util.logging.Level; -import java.util.logging.Logger; -import org.rhq.core.domain.event.Event; import org.rhq.core.domain.measurement.AvailabilityType; import org.rhq.core.domain.measurement.DataType; import org.rhq.core.domain.measurement.MeasurementDataNumeric; @@ -36,6 +29,8 @@ import org.rhq.core.pluginapi.inventory.ResourceContext; import org.rhq.core.pluginapi.measurement.MeasurementFacet; import org.rhq.plugins.database.DatabaseComponent;
+import java.io.File; +import java.io.FileReader; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; @@ -44,9 +39,9 @@ import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; + import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; -import org.rhq.core.pluginapi.event.EventPoller; import org.rhq.core.system.AggregateProcessInfo; import org.rhq.core.system.ProcessInfo; import org.rhq.plugins.database.DatabaseQueryUtility;
commit 28ae734397d49586094f973c0db81f06fc394791 Author: Steve Millidge smillidge@c2b2.co.uk Date: Mon Oct 18 11:13:29 2010 +0200
Huge Improvement of the MySQL plugin.
This included autodiscovery of MySQL, databases and users.
diff --git a/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlComponent.java b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlComponent.java index 737634b..f38b944 100644 --- a/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlComponent.java +++ b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlComponent.java @@ -16,11 +16,15 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ - package org.rhq.plugins.mysql;
-import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; +import java.io.File; +import java.io.FileNotFoundException; +import java.io.FileReader; +import java.io.IOException; +import java.util.logging.Level; +import java.util.logging.Logger; +import org.rhq.core.domain.event.Event; import org.rhq.core.domain.measurement.AvailabilityType; import org.rhq.core.domain.measurement.DataType; import org.rhq.core.domain.measurement.MeasurementDataNumeric; @@ -33,129 +37,184 @@ import org.rhq.core.pluginapi.measurement.MeasurementFacet; import org.rhq.plugins.database.DatabaseComponent;
import java.sql.Connection; -import java.sql.DatabaseMetaData; -import java.sql.DriverManager; import java.sql.ResultSet; -import java.sql.ResultSetMetaData; import java.sql.SQLException; +import java.sql.Statement; import java.util.HashMap; +import java.util.List; import java.util.Map; import java.util.Set; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.rhq.core.pluginapi.event.EventPoller; +import org.rhq.core.system.AggregateProcessInfo; +import org.rhq.core.system.ProcessInfo; +import org.rhq.plugins.database.DatabaseQueryUtility;
/** * @author Greg Hinkle + * @author Steve Millidge */ public class MySqlComponent implements DatabaseComponent, ResourceComponent, MeasurementFacet {
private ResourceContext resourceContext; - private Connection connection; - private static final Log log = LogFactory.getLog(MySqlComponent.class); + private AggregateProcessInfo aggregateProcessInfo; + private MySqlConnectionInfo info; + private Log log = LogFactory.getLog(this.getClass()); + private Map<String, String> globalStatusValues = new HashMap<String, String>(); + private Map<String, String> globalVariables = new HashMap<String, String>();
public void start(ResourceContext resourceContext) throws InvalidPluginConfigurationException, Exception { this.resourceContext = resourceContext; - getConnection(); + info = MySqlDiscoveryComponent.buildConnectionInfo(resourceContext.getPluginConfiguration()); + ProcessInfo processInfo = resourceContext.getNativeProcess(); + if (processInfo != null) { + aggregateProcessInfo = processInfo.getAggregateProcessTree(); + } else { + //findProcessInfo(); + //log.debug("Unable to locate native process information. Process level statistics will be unavailable."); + } }
public void stop() { - try { - this.connection.close(); - } catch (SQLException e) { - log.warn(e); - } + MySqlConnectionManager.getConnectionManager().closeConnection(info); }
public AvailabilityType getAvailability() { + if (log.isDebugEnabled()) { + log.debug("Doing an availability check on " + info.buildURL()); + }
- try { - getConnection().createStatement().executeQuery("select 1"); - return AvailabilityType.UP; - } catch (SQLException e) { - if (log.isDebugEnabled()) { - log.debug("getAvail failed: " + e.getMessage()); - } - return AvailabilityType.DOWN; + Connection conn = getConnection(); + AvailabilityType result = AvailabilityType.DOWN; + if (conn != null) { + // the connection must be OK as the validity check will have worked + result = AvailabilityType.UP; + } + if (log.isDebugEnabled()) { + log.debug("Availability check on " + info.buildURL() + " gives " + result); } + return result; + }
public void getValues(MeasurementReport report, Set<MeasurementScheduleRequest> metrics) throws Exception { + Connection conn = getConnection(); + if (conn != null) { + ResultSet rs = null; + Statement stmt = null; + try { + stmt = conn.createStatement(); + rs = stmt.executeQuery("SHOW GLOBAL STATUS"); + while (rs.next()) { + globalStatusValues.put(rs.getString(1), rs.getString(2)); + }
- ResultSet rs = getConnection().createStatement().executeQuery("SHOW /*!50002 GLOBAL */ STATUS"); - - Map<String, String> values = new HashMap<String, String>(); - while (rs.next()) { - values.put(rs.getString(1), rs.getString(2)); + rs.close(); + rs = stmt.executeQuery("select * from information_schema.global_variables"); + while (rs.next()) { + globalVariables.put(rs.getString(1), rs.getString(2)); + } + } catch (SQLException sqle) { + } finally { + DatabaseQueryUtility.close(stmt, rs); + } }
- + // get process information + aggregateProcessInfo = findProcessInfo(); for (MeasurementScheduleRequest request : metrics) { - if (!request.getName().startsWith("Process")) { - + String requestName = request.getName(); + if (requestName.startsWith("Process") && aggregateProcessInfo != null) { + aggregateProcessInfo.refresh(); + if ("Process.aggregateMemory.resident".equals(requestName)) { + long mem = aggregateProcessInfo.getAggregateMemory().getResident(); + report.addData(new MeasurementDataNumeric(request, new Double((double) mem))); + } else if ("Process.aggregateMemory.size".equals(requestName)) { + long value = aggregateProcessInfo.getAggregateMemory().getSize(); + report.addData(new MeasurementDataNumeric(request, new Double((double) value))); + }else if ("Process.aggregateMemory.pageFaults".equals(requestName)) { + long value = aggregateProcessInfo.getAggregateMemory().getPageFaults(); + report.addData(new MeasurementDataNumeric(request, new Double((double) value))); + } else if ("Process.aggregateCpu.user".equals(requestName)) { + long value = aggregateProcessInfo.getAggregateCpu().getUser(); + report.addData(new MeasurementDataNumeric(request, new Double((double) value))); + } else if ("Process.aggregateCpu.sys".equals(requestName)) { + long value = aggregateProcessInfo.getAggregateCpu().getSys(); + report.addData(new MeasurementDataNumeric(request, new Double((double) value))); + } else if ("Process.aggregateCpu.percent".equals(requestName)) { + double value = aggregateProcessInfo.getAggregateCpu().getPercent(); + report.addData(new MeasurementDataNumeric(request, new Double(value))); + } else if ("Process.aggregateCpu.total".equals(requestName)) { + long value = aggregateProcessInfo.getAggregateCpu().getTotal(); + report.addData(new MeasurementDataNumeric(request, new Double((double)value))); + }else if ("Process.aggregateFileDescriptor.total".equals(requestName)) { + long value = aggregateProcessInfo.getAggregateFileDescriptor().getTotal(); + report.addData(new MeasurementDataNumeric(request, new Double((double)value))); + } + } else { if (request.getDataType() == DataType.MEASUREMENT) { try { - String strVal = values.get(request.getName()); + String strVal = globalStatusValues.get(request.getName()); double val = Double.parseDouble(strVal); report.addData(new MeasurementDataNumeric(request, val)); - } catch (Exception e) { } + } catch (Exception e) { + } } } } }
- - - - public Connection getConnection() { try { - this.connection = MySqlDiscoveryComponent.buildConnection(resourceContext.getPluginConfiguration()); - - } catch (SQLException e) { - if (log.isDebugEnabled()) { - log.debug("getAvail failed: " + e.getMessage()); - } + return MySqlConnectionManager.getConnectionManager().getConnection(info); + } catch (SQLException ex) { + log.warn("Unable to obtain database connection ", ex); + return null; } - return connection; }
+ @Override public void removeConnection() { - this.connection = null; + MySqlConnectionManager.getConnectionManager().closeConnection(info); }
- public static void main(String[] args) throws ClassNotFoundException, IllegalAccessException, InstantiationException { - - try { - Class.forName("com.mysql.jdbc.Driver").newInstance(); - - Connection conn = - DriverManager.getConnection("jdbc:mysql://192.168.1.5?user=rhqadmin&password=rhqadmin"); - - DatabaseMetaData dmd = conn.getMetaData(); - System.out.println("Version: " + dmd.getDatabaseProductVersion()); - System.out.println("Product: " + dmd.getDatabaseProductName()); - - - - // The default changed in 5.0.2... the following gets globabl data for all versions -// ResultSet rs = conn.createStatement().executeQuery("SHOW /*!50002 GLOBAL *//* STATUS"); - ResultSet rs = conn.createStatement().executeQuery("SHOW TABLE STATUS FROM mysql"); -// ResultSet rs = dmd.getTables(null, null, null, null);//Catalogs();//Schemas(); - ResultSetMetaData md = rs.getMetaData(); - for (int i = 1; i <= md.getColumnCount();i++) { - System.out.print(md.getColumnName(i) + " "); + private AggregateProcessInfo findProcessInfo() { + AggregateProcessInfo result = null; + // is still running reuse + if (aggregateProcessInfo != null && aggregateProcessInfo.isRunning()) { + result = aggregateProcessInfo; + } else { + long pid = findPID(); + if (pid != -1) { + List<ProcessInfo> processes = resourceContext.getSystemInformation().getAllProcesses(); + for (ProcessInfo pi : processes) { + if (pid == pi.getPid()) { + result = pi.getAggregateProcessTree(); + break; + } + } } - System.out.println(""); - while (rs.next()) { + } + return result; + }
- for (int i = 1; i <= md.getColumnCount();i++) { - System.out.print(rs.getObject(i) + " "); - } - System.out.println(""); + private long findPID() { + long result = -1; + String pidFile = globalVariables.get("PID_FILE"); + File file = new File(pidFile); + if (file.canRead()) { + try { + FileReader pidFileReader = new FileReader(file); + char pidData[] = new char[(int)file.length()]; + pidFileReader.read(pidData); + String pidString = new String(pidData); + pidString = pidString.trim(); + result = Long.valueOf(pidString); + } catch (Exception ex) { + log.warn("Unable to read MySQL pid file " + pidFile); } - } catch (SQLException ex) { - // handle any errors - log.info("SQLException: " + ex.getMessage()); - log.info("SQLState: " + ex.getSQLState()); - log.info("VendorError: " + ex.getErrorCode()); } + return result; } } diff --git a/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlConnectionInfo.java b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlConnectionInfo.java new file mode 100644 index 0000000..4fa0a4f --- /dev/null +++ b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlConnectionInfo.java @@ -0,0 +1,92 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2008 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.plugins.mysql; + +/** + * A class to act as a key to a specific MySQL connection + * @author Steve Millidge (C2B2 Consulting Limited) + */ +class MySqlConnectionInfo { + + private String host; + private String port; + private String db; + private String user; + private String password; + private int hashCode; + + MySqlConnectionInfo(String host, String port, String db, String user, String password ) { + this.host = host; + this.port = port; + this.db = db; + this.user = user; + this.password = password; + this.hashCode = new StringBuilder().append(host). + append(port). + append(db). + append(user). + append(password).toString().hashCode(); + + } + + public String getDb() { + return db; + } + + @Override + public int hashCode() { + return hashCode; + } + + public String getHost() { + return host; + } + + public String getPassword() { + return password; + } + + public String getPort() { + return port; + } + + public String getUser() { + return user; + } + + public String buildURL() { + return new StringBuilder().append("jdbc:mysql://") + .append(host) + .append(":") + .append(port) + .append("/") + .append(db).toString(); + } + + @Override + public boolean equals(Object other) { + boolean result = false; + if ((other instanceof MySqlConnectionInfo) && (other.hashCode() == this.hashCode())) { + result = true; + } + return result; + } + +} diff --git a/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlConnectionManager.java b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlConnectionManager.java new file mode 100644 index 0000000..9dd60ee --- /dev/null +++ b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlConnectionManager.java @@ -0,0 +1,124 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2008 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.plugins.mysql; + +import java.sql.Connection; +import java.sql.Driver; +import java.sql.DriverManager; +import java.sql.SQLException; +import java.util.HashMap; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; + +/** + * A class to manage the connections to MySQL + * This class keeps a cache of connections to MySQL and reuses them on demand + * We assume single threaded access to the Connection in the agent + * this will need to be reworked if that assumption is not correct + * @author Steve Millidge (C2B2 Consulting Limited) + */ +class MySqlConnectionManager { + + private HashMap<MySqlConnectionInfo, Connection> connections; + private static MySqlConnectionManager singleton; + private Log logger = LogFactory.getLog(MySqlConnectionManager.class); + + private MySqlConnectionManager() { + connections = new HashMap<MySqlConnectionInfo,Connection>(); + try { + Class.forName("com.mysql.jdbc.Driver").newInstance(); + } catch (Exception ex) { + logger.error("Unable to find com.mysql.jdbc.Driver"); + } + } + + static MySqlConnectionManager getConnectionManager() { + if (singleton == null) { + singleton = new MySqlConnectionManager(); + } + return singleton; + } + + public void shutdown() { + Driver driver = null; + for (Connection conn : connections.values()) { + try { + if (driver == null) { + String driverName = conn.getMetaData().getDriverName(); + driver = DriverManager.getDriver(driverName); + } + conn.close(); + }catch(SQLException e) { logger.info("Problem closing connection on Shutdown ignoring...");} + } + // deregister driver as well + if (driver != null) { + try { + DriverManager.deregisterDriver(driver); + } catch (SQLException ex) { + logger.warn("Unable to deregister MySQL Driver on shutdown"); + } + } + } + + void closeConnection(MySqlConnectionInfo info) { + Connection conn = connections.get(info); + if (conn != null) { + try { + if (logger.isDebugEnabled()) { + logger.debug("Closing Connection to " + info.buildURL()); + } + conn.close(); + } catch (SQLException e) { + logger.warn("Problem closing connection to " + info.buildURL() + " on close"); + } + } + connections.remove(info); + } + + Connection getConnection (MySqlConnectionInfo info) throws SQLException { + Connection conn = connections.get(info); + String url = info.buildURL(); + if (conn == null) { + if (logger.isInfoEnabled()) { + logger.info("Attemping connection to " + url); + } + conn = DriverManager.getConnection(url,info.getUser(), info.getPassword()); + if (logger.isInfoEnabled()) { + logger.info("Successfully connected to " + url); + } + connections.put(info, conn); + } else { + if (logger.isDebugEnabled()) { + logger.debug("Reusing existing connection to " + url); + } + } + + // check the validity of the connection + if (!conn.isValid(0)) { + // attempt a single reconnect here and now + conn.close(); + conn = DriverManager.getConnection(url,info.getUser(), info.getPassword()); + connections.put(info, conn); + logger.info("Refreshed a connection to " + url); + } + return conn; + } + +} diff --git a/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlDatabaseComponent.java b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlDatabaseComponent.java new file mode 100644 index 0000000..43747bc --- /dev/null +++ b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlDatabaseComponent.java @@ -0,0 +1,167 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2008 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ +package org.rhq.plugins.mysql; + + +import java.sql.Connection; +import java.sql.ResultSet; +import java.sql.ResultSetMetaData; +import java.sql.SQLException; +import java.sql.Statement; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.rhq.core.domain.configuration.Configuration; +import org.rhq.core.pluginapi.availability.AvailabilityFacet; +import org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException; +import org.rhq.core.pluginapi.inventory.ResourceContext; +import org.rhq.core.pluginapi.operation.OperationFacet; +import org.rhq.core.pluginapi.operation.OperationResult; +import org.rhq.plugins.database.DatabaseComponent; +import org.rhq.plugins.database.DatabaseQueryUtility; +import org.rhq.core.domain.configuration.PropertySimple; +import org.rhq.core.domain.measurement.AvailabilityType; + +/** + * + * @author Steve Millidge (C2B2 Consulting Limited) + */ +public class MySqlDatabaseComponent implements DatabaseComponent, AvailabilityFacet, OperationFacet { + + private ResourceContext resourceContext; + private MySqlComponent parent; + private String databaseName; + private static Log log = LogFactory.getLog(MySqlDatabaseComponent.class); + + @Override + public Connection getConnection() { + return parent.getConnection(); + } + + @Override + public void removeConnection() { + parent.removeConnection(); + } + + @Override + public void start(ResourceContext rc) throws InvalidPluginConfigurationException, Exception { + resourceContext = rc; + databaseName = rc.getResourceKey(); + parent = (MySqlComponent)resourceContext.getParentResourceComponent(); + } + + public String getName() { return databaseName; } + + @Override + public void stop() { + } + + @Override + public AvailabilityType getAvailability() { + AvailabilityType result = AvailabilityType.DOWN; + + if (log.isDebugEnabled()) { + log.debug("Availability check for " + databaseName); + } + Connection conn = getConnection(); + if (conn != null) { + Statement statement = null; + ResultSet resultSet = null; + try { + statement = conn.createStatement(); + resultSet = statement.executeQuery("SHOW DATABASES LIKE '" + databaseName + "'"); + if (resultSet.next()) { + if (resultSet.getString(1).equalsIgnoreCase(databaseName)) { + result = AvailabilityType.UP; + } + } + }catch(SQLException e) { + if (log.isDebugEnabled()) { + log.debug("Got Exception when determining database availability",e); + } + } finally { + DatabaseQueryUtility.close(statement, resultSet); + } + } + return result; + } + + @Override + public OperationResult invokeOperation(String name, Configuration parameters) + throws InterruptedException, Exception { + + if ("invokeSql".equals(name)) { + Statement stmt = null; + ResultSet rs = null; + try { + stmt = getConnection().createStatement(); + String sql = parameters.getSimple("sql").getStringValue(); + OperationResult result = new OperationResult(); + + if (parameters.getSimple("type").getStringValue().equals("update")) { + int updateCount = stmt.executeUpdate(sql); + result.getComplexResults().put(new PropertySimple("result", "Query updated " + updateCount + " rows")); + + } else { + rs = stmt.executeQuery(parameters.getSimple("sql").getStringValue()); + + ResultSetMetaData md = rs.getMetaData(); + StringBuilder buf = new StringBuilder(); + int rowCount = 0; + + buf.append("<table>"); + buf.append("<th>"); + for (int i = 1; i <= md.getColumnCount(); i++) { + buf.append("<td>"); + buf.append(md.getColumnName(i) + " (" + md.getColumnTypeName(i) + ")"); + buf.append("</td>"); + } + buf.append("</th>"); + + + while (rs.next()) { + rowCount++; + buf.append("<tr>"); + for (int i = 1; i <= md.getColumnCount(); i++) { + buf.append("<td>"); + buf.append(rs.getString(i)); + buf.append("</td>"); + } + buf.append("</tr>"); + } + + buf.append("</table>"); + result.getComplexResults().put(new PropertySimple("result", "Query returned " + rowCount + " rows")); + result.getComplexResults().put(new PropertySimple("contents", buf.toString())); + } + return result; + } finally { + if (rs != null) { + rs.close(); + } + + if (stmt != null) { + stmt.close(); + } + } + } else { + throw new UnsupportedOperationException("Operation [" + name + "] is not supported yet."); + } + } +} + diff --git a/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlDatabaseDiscoveryComponent.java b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlDatabaseDiscoveryComponent.java index e34f021..c8f8673 100644 --- a/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlDatabaseDiscoveryComponent.java +++ b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlDatabaseDiscoveryComponent.java @@ -16,7 +16,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ - package org.rhq.plugins.mysql;
import org.rhq.core.pluginapi.inventory.DiscoveredResourceDetails; @@ -30,46 +29,62 @@ import java.sql.SQLException; import java.sql.Statement; import java.util.LinkedHashSet; import java.util.Set; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.rhq.core.domain.configuration.Configuration; +import org.rhq.core.domain.configuration.PropertySimple;
/** * @author Greg Hinkle + * @author Steve Millidge */ public class MySqlDatabaseDiscoveryComponent implements ResourceDiscoveryComponent<MySqlComponent> {
+ private Log logger = LogFactory.getLog(this.getClass());
- + @Override public Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<MySqlComponent> context) { - Set<DiscoveredResourceDetails> tables = new LinkedHashSet<DiscoveredResourceDetails>(); -
+ if (logger.isDebugEnabled()) { + logger.debug("Database discovery started"); + } + Set<DiscoveredResourceDetails> databases = new LinkedHashSet<DiscoveredResourceDetails>(); Connection connection = context.getParentResourceComponent().getConnection();
Statement statement = null; ResultSet resultSet = null; - try { - statement = connection.createStatement(); - resultSet = statement.executeQuery("SHOW DATABASES"); + if (connection != null) { + try { + statement = connection.createStatement(); + resultSet = statement.executeQuery("SHOW DATABASES");
- while (resultSet.next()) { - String databaseName = resultSet.getString(1); - DiscoveredResourceDetails details = - new DiscoveredResourceDetails( - context.getResourceType(), - databaseName, - databaseName + " Database", - null, - "A MySql Database", - null, - null); - tables.add(details); - } + while (resultSet.next()) { + String databaseName = resultSet.getString(1); + Configuration config = new Configuration(); + config.put(new PropertySimple("databaseName",databaseName)); + DiscoveredResourceDetails details = + new DiscoveredResourceDetails( + context.getResourceType(), + databaseName, + databaseName + " Database", + null, + "A MySql Database", + config, + null); + databases.add(details); + }
- } catch (SQLException e) { - DatabaseQueryUtility.close(statement, resultSet); + } catch (SQLException e) { + } finally { + DatabaseQueryUtility.close(statement, resultSet); + } + } else { + if (logger.isInfoEnabled()) { + logger.info("No connection to MySQL obtained from connection manager"); + } }
- return tables; + return databases; } - -} \ No newline at end of file +} diff --git a/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlDiscoveryComponent.java b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlDiscoveryComponent.java index 4f1045e..30b65f2 100644 --- a/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlDiscoveryComponent.java +++ b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlDiscoveryComponent.java @@ -30,7 +30,6 @@ import org.rhq.core.pluginapi.inventory.ManualAddFacet; import org.rhq.core.system.ProcessInfo;
import java.sql.Connection; -import java.sql.DriverManager; import java.sql.SQLException; import java.util.LinkedHashSet; import java.util.List; @@ -39,20 +38,22 @@ import java.util.Set; /** * @author Greg Hinkle * @author Ian Springer + * @author Steve Millidge */ public class MySqlDiscoveryComponent implements ResourceDiscoveryComponent, ManualAddFacet { private static final Log log = LogFactory.getLog(MySqlDiscoveryComponent.class);
- public static final String DRIVER_CONFIGURATION_PROPERTY = "driverClass"; public static final String HOST_CONFIGURATION_PROPERTY = "host"; public static final String PORT_CONFIGURATION_PROPERTY = "port"; public static final String DB_CONFIGURATION_PROPERTY = "db"; public static final String PRINCIPAL_CONFIGURATION_PROPERTY = "principal"; public static final String CREDENTIALS_CONFIGURATION_PROPERTY = "credentials";
- private static final String DEFAULT_RESOURCE_DESCRIPTION = "Mysql relational database server"; - public Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext context) { + + if (log.isDebugEnabled()) { + log.debug("Resource Discovery Started"); + } Set<DiscoveredResourceDetails> servers = new LinkedHashSet<DiscoveredResourceDetails>();
// Process any auto-discovered resources. @@ -62,10 +63,7 @@ public class MySqlDiscoveryComponent implements ResourceDiscoveryComponent, Manu
ProcessInfo procInfo = result.getProcessInfo();
- DiscoveredResourceDetails resourceDetails = createResourceDetails(context, context.getDefaultPluginConfiguration(), procInfo); - if (resourceDetails!=null) { - servers.add(resourceDetails); - } + servers.add(createResourceDetails(context,context.getDefaultPluginConfiguration(),procInfo)); }
return servers; @@ -81,56 +79,53 @@ public class MySqlDiscoveryComponent implements ResourceDiscoveryComponent, Manu }
protected static DiscoveredResourceDetails createResourceDetails(ResourceDiscoveryContext discoveryContext, - Configuration pluginConfiguration, ProcessInfo processInfo) { - - String key = buildUrl(pluginConfiguration); - String db = pluginConfiguration.getSimple(DB_CONFIGURATION_PROPERTY).getStringValue(); - String name = "MySql [" + db + "]"; - try { - String version = getVersion(pluginConfiguration); - return new DiscoveredResourceDetails(discoveryContext.getResourceType(), key, name, version, - DEFAULT_RESOURCE_DESCRIPTION, pluginConfiguration, processInfo); - } catch (Exception e) { - log.warn("Getting details failed: " + e.getMessage()); - if (e.getCause()!=null) { - log.warn(" caused by: " + e.getCause().getMessage()); - } - } - return null; - } + Configuration pluginConfiguration, + ProcessInfo processInfo) throws InvalidPluginConfigurationException {
- protected static String buildUrl(Configuration config) { - String host = config.getSimple(HOST_CONFIGURATION_PROPERTY).getStringValue(); - String port = config.getSimple(PORT_CONFIGURATION_PROPERTY).getStringValue(); - String user = config.getSimple(PRINCIPAL_CONFIGURATION_PROPERTY).getStringValue(); - String pass = config.getSimple(CREDENTIALS_CONFIGURATION_PROPERTY).getStringValue(); - String url = "jdbc:mysql://" + host + "?user=" + user + "&password=" + pass; - return url; - } - - protected static String getVersion(Configuration config) { - String version = null; + MySqlConnectionInfo ci = buildConnectionInfo(pluginConfiguration); + Connection conn; + String version = ""; try { - Connection conn = buildConnection(config); + conn = MySqlConnectionManager.getConnectionManager().getConnection(ci); version = conn.getMetaData().getDatabaseProductVersion(); - } catch (SQLException e) { - // TODO GH: How to put this back to the server while inventorying this resource in an unconfigured state - log.info("Exception detecting mysql instance version" + e.getMessage()); + } catch (SQLException ex) { + // ignore so we can still add to the inventory even though we can't currently connect } - return version; - } + String key = new StringBuilder().append("MySql:") + .append(ci.getDb()) + .append(":") + .append(ci.getHost()) + .append(":") + .append(ci.getPort()) + .append("-") + .append(ci.getUser()).toString(); + String name = new StringBuilder().append("MySql [") + .append(ci.getDb()) + .append("]").toString(); + + DiscoveredResourceDetails result = new DiscoveredResourceDetails( + discoveryContext.getResourceType(), + key, + name, + version, + "MySql Server", + pluginConfiguration, + processInfo);
- public static Connection buildConnection(Configuration configuration) throws SQLException { - String driverClass = configuration.getSimple(DRIVER_CONFIGURATION_PROPERTY).getStringValue(); - try { - Class.forName(driverClass); - } catch (ClassNotFoundException e) { - throw new InvalidPluginConfigurationException("Specified JDBC driver class (" + driverClass - + ") not found."); + if (log.isDebugEnabled()) { + log.debug("Discovered Database Server for MySQL Database " + ci.buildURL()); } + return result;
- String url = buildUrl(configuration); - - return DriverManager.getConnection(url); } + + static MySqlConnectionInfo buildConnectionInfo(Configuration configuration) { + // build the Discovered Resource from the configuration + String host = configuration.getSimple(HOST_CONFIGURATION_PROPERTY).getStringValue(); + String port = configuration.getSimple(PORT_CONFIGURATION_PROPERTY).getStringValue(); + String user = configuration.getSimple(PRINCIPAL_CONFIGURATION_PROPERTY).getStringValue(); + String pass = configuration.getSimple(CREDENTIALS_CONFIGURATION_PROPERTY).getStringValue(); + String db = configuration.getSimple(DB_CONFIGURATION_PROPERTY).getStringValue(); + return new MySqlConnectionInfo(host, port, db, user, pass); + } } \ No newline at end of file diff --git a/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlPluginLifecycleListener.java b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlPluginLifecycleListener.java index 181a113..a731aed 100644 --- a/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlPluginLifecycleListener.java +++ b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlPluginLifecycleListener.java @@ -18,39 +18,29 @@ */ package org.rhq.plugins.mysql;
-import java.sql.Driver; -import java.sql.DriverManager; -import java.util.Enumeration;
import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory;
import org.rhq.core.pluginapi.plugin.PluginContext; import org.rhq.core.pluginapi.plugin.PluginLifecycleListener; -import org.rhq.core.util.exception.ThrowableUtil;
+/** + * + * @author Steve Millidge (C2B2 Consulting Limited) + */ public class MySqlPluginLifecycleListener implements PluginLifecycleListener { private final Log log = LogFactory.getLog(MySqlPluginLifecycleListener.class); + private String pluginName;
public void initialize(PluginContext context) throws Exception { - // no-op + pluginName = context.getPluginName(); }
public void shutdown() { - // so we do not cause our classloader to leak perm gen, we need to de-register - // any and all JDBC drivers this plugin registered - Enumeration<Driver> drivers = DriverManager.getDrivers(); - while (drivers.hasMoreElements()) { - try { - Driver driver = drivers.nextElement(); - DriverManager.deregisterDriver(driver); - log.debug("Deregistered JDBC driver: " + driver.getClass()); - } catch (Exception e) { - log.warn("Failed to deregister JDBC drivers - memory might leak" + ThrowableUtil.getAllMessages(e)); - } + if (log.isDebugEnabled()) { + log.debug(new StringBuilder().append(pluginName).append(" Plugin Shutdown").toString()); } - - log.debug(this.getClass().getSimpleName() + " completed shutdown."); - return; + MySqlConnectionManager.getConnectionManager().shutdown(); } } diff --git a/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlTableComponent.java b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlTableComponent.java new file mode 100644 index 0000000..73354f9 --- /dev/null +++ b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlTableComponent.java @@ -0,0 +1,129 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2008 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ +package org.rhq.plugins.mysql; + +import java.sql.Connection; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Statement; +import java.util.Set; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.rhq.core.domain.measurement.AvailabilityType; +import org.rhq.core.domain.measurement.MeasurementDataNumeric; +import org.rhq.core.domain.measurement.MeasurementDataTrait; +import org.rhq.core.domain.measurement.MeasurementReport; +import org.rhq.core.domain.measurement.MeasurementScheduleRequest; +import org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException; +import org.rhq.core.pluginapi.inventory.ResourceContext; +import org.rhq.core.pluginapi.measurement.MeasurementFacet; +import org.rhq.plugins.database.DatabaseComponent; +import org.rhq.plugins.database.DatabaseQueryUtility; + +/** + * + * @author Steve Millidge (C2B2 Consulting Limited) + */ +public class MySqlTableComponent implements DatabaseComponent, MeasurementFacet { + + private String tableName; + private MySqlDatabaseComponent parent; + private String databaseName; + private Log log = LogFactory.getLog(this.getClass()); + + @Override + public Connection getConnection() { + return parent.getConnection(); + } + + @Override + public void removeConnection() { + parent.removeConnection(); + } + + @Override + public void start(ResourceContext rc) throws InvalidPluginConfigurationException, Exception { + tableName = rc.getResourceKey(); + parent = (MySqlDatabaseComponent)rc.getParentResourceComponent(); + databaseName = parent.getName(); + } + + @Override + public void stop() { + } + + @Override + public AvailabilityType getAvailability() { + AvailabilityType result = AvailabilityType.DOWN; + Connection conn = parent.getConnection(); + if (conn != null) { + Statement stmt = null; + ResultSet rs = null; + try { + stmt = conn.createStatement(); + rs = stmt.executeQuery("show tables from " + databaseName + " like '" + tableName + "'"); + if (rs.first()) { + result = AvailabilityType.UP; + } + }catch (SQLException se) { + // ignore as unablailable if we can't execute the query + }finally { + DatabaseQueryUtility.close(stmt, rs); + } + } + return result; + } + + @Override + public void getValues(MeasurementReport mr, Set<MeasurementScheduleRequest> set) throws Exception { + Connection conn = parent.getConnection(); + if (conn != null ) { + Statement stmt = null; + ResultSet rs = null; + try { + stmt = conn.createStatement(); + rs = stmt.executeQuery("show table status from " + databaseName+ " like '" + tableName + "'"); + if (rs.next()) { + for (MeasurementScheduleRequest request : set) { + String value = rs.getString(request.getName()); + if (value == null) {value = "0";} + switch (request.getDataType()) { + case MEASUREMENT: { + mr.addData(new MeasurementDataNumeric(request, Double.valueOf(value))); + break; + } case TRAIT: { + mr.addData(new MeasurementDataTrait(request, value)); + break; + } default: { + break; + } + } + } + } + } catch(Exception se) { + if (log.isInfoEnabled()) { + log.info("Unable to measure table statistics", se); + } + }finally { + DatabaseQueryUtility.close(stmt, rs); + } + } + } + +} diff --git a/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlTableDiscoveryComponent.java b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlTableDiscoveryComponent.java new file mode 100644 index 0000000..5b62118 --- /dev/null +++ b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlTableDiscoveryComponent.java @@ -0,0 +1,85 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2008 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ +package org.rhq.plugins.mysql; + +import java.sql.Connection; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Statement; +import java.util.HashSet; +import java.util.Set; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.rhq.core.domain.configuration.Configuration; +import org.rhq.core.domain.configuration.PropertySimple; +import org.rhq.core.pluginapi.inventory.DiscoveredResourceDetails; +import org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException; +import org.rhq.core.pluginapi.inventory.ResourceDiscoveryComponent; +import org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext; +import org.rhq.plugins.database.DatabaseQueryUtility; + +/** + * + * @author Steve Millidge (C2B2 Consulting Limited) + */ +public class MySqlTableDiscoveryComponent implements ResourceDiscoveryComponent { + + private Log log = LogFactory.getLog(this.getClass()); + + @Override + public Set discoverResources(ResourceDiscoveryContext rdc) throws InvalidPluginConfigurationException, Exception { + + HashSet<DiscoveredResourceDetails> set = new HashSet<DiscoveredResourceDetails>(); + MySqlDatabaseComponent parent = (MySqlDatabaseComponent)rdc.getParentResourceComponent(); + Connection conn = parent.getConnection(); + + if (conn != null) { + Statement stmt = null; + ResultSet rs = null; + try { + stmt = conn.createStatement(); + rs = stmt.executeQuery("show tables from " + parent.getName()); + while (rs.next()) { + String tableName = rs.getString(1); + if (log.isDebugEnabled()) { + log.debug("Discovered Table "+ tableName); + } + Configuration config = new Configuration(); + config.put(new PropertySimple("tableName",tableName)); + DiscoveredResourceDetails details = new DiscoveredResourceDetails( + rdc.getResourceType(), + tableName, + tableName + " Table", + null, + tableName + " MySql Table", config, null); + set.add(details); + } + } catch(SQLException se) { + if (log.isDebugEnabled()) { + log.debug("Unable to Discover Tables",se); + } + + }finally { + DatabaseQueryUtility.close(stmt, rs); + } + } + return set; + } + +} diff --git a/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlUserComponent.java b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlUserComponent.java new file mode 100644 index 0000000..32525c2 --- /dev/null +++ b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlUserComponent.java @@ -0,0 +1,128 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2008 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.plugins.mysql; + +import java.sql.Connection; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Statement; +import java.util.Set; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.rhq.core.domain.measurement.AvailabilityType; +import org.rhq.core.domain.measurement.MeasurementDataNumeric; +import org.rhq.core.domain.measurement.MeasurementReport; +import org.rhq.core.domain.measurement.MeasurementScheduleRequest; +import org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException; +import org.rhq.core.pluginapi.inventory.ResourceContext; +import org.rhq.core.pluginapi.measurement.MeasurementFacet; +import org.rhq.plugins.database.DatabaseComponent; +import org.rhq.plugins.database.DatabaseQueryUtility; + +/** + * + * @author Steve Millidge (C2B2 Consulting Limited) + */ +public class MySqlUserComponent implements MeasurementFacet, DatabaseComponent { + + private String userName; + private String host; + private MySqlComponent parent; + private Log log = LogFactory.getLog(this.getClass()); + private ResourceContext context; + + @Override + public Connection getConnection() { + return parent.getConnection(); + } + + @Override + public void removeConnection() { + parent.removeConnection(); + } + + @Override + public void start(ResourceContext rc) throws InvalidPluginConfigurationException, Exception { + parent = (MySqlComponent)rc.getParentResourceComponent(); + context = rc; + userName = context.getPluginConfiguration().getSimple("userName").getStringValue(); + host = context.getPluginConfiguration().getSimple("host").getStringValue(); + } + + @Override + public void stop() { + } + + + public void getValues(MeasurementReport mr, Set<MeasurementScheduleRequest> requests) throws Exception { + Connection conn = getConnection(); + ResultSet rs = null; + Statement stmt = null; + int activeConnections = 0; + int totalConnections = 0; + try { + stmt = conn.createStatement(); + rs = stmt.executeQuery("select User,Host,State from information_schema.processlist where User='"+userName+"'"); + while(rs.next()) { + String hostVal = rs.getString(2); + String state = rs.getString(3); + if (hostVal.startsWith(host)) { + if (state.length() > 1) { + activeConnections ++; + } + totalConnections++; + } + } + }catch(SQLException sqle) { + + } finally { + DatabaseQueryUtility.close(stmt, rs); + } + + for (MeasurementScheduleRequest request : requests) { + if (request.getName().equals("TotalConnections")) { + mr.addData(new MeasurementDataNumeric(request, new Double((double)totalConnections))); + } else if (request.getName().equals("ActiveConnections")) { + mr.addData(new MeasurementDataNumeric(request, new Double((double)activeConnections))); + } + } + } + + public AvailabilityType getAvailability() { + AvailabilityType result = AvailabilityType.DOWN; + Connection conn = getConnection(); + ResultSet rs = null; + Statement stmt = null; + try { + stmt = conn.createStatement(); + rs = stmt.executeQuery("select User from mysql.user where User='"+userName+"' and Host='" + host +"'"); + if (rs.first()) { + result = AvailabilityType.UP; + } + }catch(SQLException sqle) { + + } finally { + DatabaseQueryUtility.close(stmt, rs); + } + return result; + } + +} diff --git a/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlUserDiscoveryComponent.java b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlUserDiscoveryComponent.java new file mode 100644 index 0000000..d05682a --- /dev/null +++ b/modules/plugins/mysql/src/main/java/org/rhq/plugins/mysql/MySqlUserDiscoveryComponent.java @@ -0,0 +1,76 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2008 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ +package org.rhq.plugins.mysql; + +import java.sql.Connection; +import java.sql.ResultSet; +import java.sql.Statement; +import java.util.HashSet; +import java.util.Set; +import org.rhq.core.domain.configuration.Configuration; +import org.rhq.core.domain.configuration.Property; +import org.rhq.core.domain.configuration.PropertySimple; +import org.rhq.core.pluginapi.inventory.DiscoveredResourceDetails; +import org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException; +import org.rhq.core.pluginapi.inventory.ResourceDiscoveryComponent; +import org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext; +import org.rhq.plugins.database.DatabaseQueryUtility; + +/** + * + * @author Steve Millidge (C2B2 Consulting Limited) + */ +public class MySqlUserDiscoveryComponent implements ResourceDiscoveryComponent { + + public Set discoverResources(ResourceDiscoveryContext rdc) throws InvalidPluginConfigurationException, Exception { + HashSet<DiscoveredResourceDetails> set = new HashSet<DiscoveredResourceDetails>(); + MySqlComponent parent = (MySqlComponent) rdc.getParentResourceComponent(); + Connection conn = parent.getConnection(); + if (conn != null) { + Statement statement = null; + ResultSet resultSet = null; + try { + statement = conn.createStatement(); + resultSet = statement.executeQuery("select User,Host from mysql.user"); + while (resultSet.next()) { + String user = resultSet.getString(1); + String host = resultSet.getString(2); + String userName = user + "@" + host; + Configuration config = new Configuration(); + config.put(new PropertySimple("userName",user)); + config.put(new PropertySimple("host",host)); + DiscoveredResourceDetails discoveredUser = + new DiscoveredResourceDetails( + rdc.getResourceType(), + userName, + userName, + null, + "A MySql User", + config, + null); + set.add(discoveredUser); + } + } catch (Exception e) { + } finally { + DatabaseQueryUtility.close(statement, resultSet); + } + } + return set; + } +} diff --git a/modules/plugins/mysql/src/main/resources/META-INF/rhq-plugin.xml b/modules/plugins/mysql/src/main/resources/META-INF/rhq-plugin.xml index d94a60f..6a96c19 100644 --- a/modules/plugins/mysql/src/main/resources/META-INF/rhq-plugin.xml +++ b/modules/plugins/mysql/src/main/resources/META-INF/rhq-plugin.xml @@ -15,8 +15,6 @@ description="MySql Server" supportsManualAdd="true">
- <version match="8.0"/> - <!-- Properties are connection/lookup configurations. They are values that the plugin components need to connect and interact with the resource. --> <plugin-configuration> @@ -31,45 +29,31 @@ <c:integer-constraint minimum="1" maximum="65535"/> </c:constraint> </c:simple-property> - <c:simple-property name="db" default="MySql" displayName="database name" description="the name of the database to connect to"/> - - <c:simple-property name="driverClass" default="com.mysql.jdbc.Driver" displayName="JDBC driver class" - description="the fully-qualified classname of the JDBC driver class" required="false"/> - <c:simple-property name="principal" default="MySql" displayName="role name" description="the database role to connect as"/> - <c:simple-property name="credentials" default="MySql" type="password" displayName="role password" + <c:simple-property name="db" default="mysql" displayName="database name" description="the name of the database to connect to"/> + <c:simple-property name="principal" default="root" displayName="role name" description="the database role to connect as"/> + <c:simple-property name="credentials" default="root" type="password" displayName="role password" description="the password for the database role being used to connect"/> </plugin-configuration>
<process-scan name="windows" query="process|basename|match=^(?i)mysqld\.exe$,process|basename|nomatch|parent=^(?i)mysqld\.exe$" /> <process-scan name="unix" query="process|basename|match=^mysqld$,process|basename|nomatch|parent=^mysqld$" />
- <operation name="listProcessStatistics" description="List statistics about the currently executing MySql backends"> - <results> - <c:list-property name="processList"> - <c:map-property name="process"> - <c:simple-property name="Id" type="integer"/> - <c:simple-property name="User"/> - <c:simple-property name="Host"/> - <c:simple-property name="db"/> - <c:simple-property name="Command"/> - <c:simple-property name="Time"/> - <c:simple-property name="State"/> - <c:simple-property name="Info"/> - </c:map-property> - </c:list-property> - </results> - </operation> - - - - <metric displayName="User Time" property="Process.aggregateCpu.user" measurementType="trendsup" units="milliseconds" displayType="summary"/> - <metric displayName="Kernel Time" property="Process.aggregateCpu.sys" measurementType="trendsup" units="milliseconds" displayType="summary"/> - <metric displayName="CPU Percentage" property="Process.aggregateCpu.percent" measurementType="dynamic" units="percentage" displayType="summary"/> - <metric displayName="Physical Memory" property="Process.aggregateMemory.resident" measurementType="dynamic" units="bytes" displayType="summary"/> - <metric displayName="Virtual Memory" property="Process.aggregateMemory.size" measurementType="dynamic" units="bytes" displayType="summary"/> - <metric displayName="Open File Descriptors" property="Process.aggregateFileDescriptor.total" measurementType="dynamic" displayType="summary"/> - - + <metric displayName="Physical Memory" property="Process.aggregateMemory.resident" measurementType="dynamic" units="bytes" displayType="summary" + description="The aggregate amount of resident memory used by all mysql processes"/> + <metric displayName="Virtual Memory" property="Process.aggregateMemory.size" measurementType="dynamic" units="bytes" displayType="summary" + description="The aggregate amount of virtual memory used by all mysql processes"/> + <metric displayName="Page Faults" property="Process.aggregateMemory.pageFaults" measurementType="trendsup" displayType="summary" + description="The Number of memory page faults by all mysql processes"/> + <metric displayName="User Time" property="Process.aggregateCpu.user" measurementType="trendsup" units="milliseconds" displayType="summary" + description="The aggregate amount of CPU user time spent by all mysql processes"/> + <metric displayName="Kernel Time" property="Process.aggregateCpu.sys" measurementType="trendsup" units="milliseconds" displayType="summary" + description="The aggregate amount of CPU kernel time spent by all mysql processes"/> + <metric displayName="CPU Percentage" property="Process.aggregateCpu.percent" measurementType="dynamic" units="percentage" displayType="summary" + description="The percentage of CPU currently being used by all mysql processes"/> + <metric displayName="Total CPU Time" property="Process.aggregateCpu.total" measurementType="trendsup" units="milliseconds" displayType="summary" + description="The aggregate amount of CPU time spent by all mysql processes"/> + <metric displayName="Open File Descriptors" property="Process.aggregateFileDescriptor.total" measurementType="dynamic" displayType="summary" + description="The aggregate number of file descriptors open by all mysql processes"/>
<metric property="Aborted_clients" measurementType="trendsup" description="Connections that aborted because the client did not close the connection"/> @@ -353,10 +337,10 @@ <c:simple-property name="databaseName" displayName="Database Name" readOnly="true" /> </plugin-configuration>
- <operation name="resetStatistics" displayName="Reset Statistics" description="Resets the statistics in this database"/> <operation name="invokeSql" description="Execute arbitrary SQL"> <parameters> - <c:simple-property name="type" default="query"> + <c:simple-property name="sql"/> + <c:simple-property name="type" default="query"> <c:property-options> <c:option value="query" name="query"/> <c:option value="update" name="update"/> @@ -370,39 +354,39 @@ </results> </operation>
- - <metric displayName="Backends" property="numbackends" displayType="summary"/> - <metric displayName="Transactions Committed" property="xact_commit" measurementType="trendsup" displayType="summary"/> - <metric displayName="Transactions Rolled Back" property="xact_rollback" measurementType="trendsup" displayType="summary"/> - <metric displayName="Blocks Read" property="blks_read" measurementType="trendsup"/> - <metric displayName="Blocks Hit" property="blks_hit" measurementType="trendsup"/> - <metric displayName="Size" property="size" description="Size of the database" units="bytes" displayType="summary"/> - - - - <service name="Table" class="MySqlTableComponent" discovery="MySqlTableDiscoveryComponent" - description="Database table" createDeletePolicy="both" creationDataType="configuration"> + <service name="Table" class="MySqlTableComponent" discovery="MySqlTableDiscoveryComponent" + description="Database table">
<plugin-configuration> <c:simple-property name="tableName" readOnly="true" /> </plugin-configuration> - - - + <!-- Summary Traits --> + <metric property="Engine" displayType="summary" dataType="trait" description="Database Engine that created the Table" defaultOn="true"/> + <metric property="Version" displayType="summary" dataType="trait" description="Version of the Table" defaultOn="true"/> + <metric property="Row_format" displayType="summary" dataType="trait" description="Row Format" defaultOn="true"/> + <metric property="Collation" displayType="summary" dataType="trait" description="Collation Character Set" defaultOn="true"/> + <metric property="Comment" displayType="summary" dataType="trait" description="Table Creation Comment" defaultOn="true"/> + <metric property="Create_options" displayType="summary" dataType="trait" description="Table Creation Options" defaultOn="true"/> + <metric property="Create_time" displayType="summary" dataType="trait" description="Table Creation Time" defaultOn="true"/> + + <!-- Dynamic Metrics --> + <metric property="Rows" displayType="summary" measurementType="dynamic" description="Number of Rows in the Table" defaultOn="true"/> + <metric property="Avg_row_length" displayType="summary" measurementType="dynamic" units="bytes" description="Average Row Length(bytes)" defaultOn="true"/> + <metric property="Data_length" displayType="summary" measurementType="dynamic" units="bytes" description="Table Data Size(bytes)" defaultOn="true"/> + <metric property="Max_data_length" displayType="summary" measurementType="dynamic" units="bytes" description="Max Table Data Size(bytes)" defaultOn="true"/> + <metric property="Index_length" displayType="summary" measurementType="dynamic" units="bytes" description="Table Index Size(bytes)" defaultOn="true"/> + <metric property="Data_free" displayType="summary" measurementType="dynamic" units="bytes" description="Table Free Space(bytes)" defaultOn="true"/> </service> - - </service> - - <service name="User" discovery="MySqlUserDiscoveryComponent" class="MySqlUserComponent" - createDeletePolicy="both" creationDataType="configuration" - description="A User in the MySql System"> - <plugin-configuration> - <c:simple-property name="userName" required="true"/> - </plugin-configuration> - - - </service> + <service name="User" class="MySqlUserComponent" discovery="MySqlUserDiscoveryComponent" + description="A MySQL User"> + <plugin-configuration> + <c:simple-property name="userName" readOnly="true" /> + <c:simple-property name="host" readOnly="true" /> + </plugin-configuration> + <metric property="TotalConnections" displayType="summary" description="Total number of connections to the server"/> + <metric property="ActiveConnections" displayType="summary" description="Active Connections to the server"/> + </service> </server>
</plugin> \ No newline at end of file
commit 5b3e236a326416660ad5be3a663d0e85a3be663f Merge: 07ee59e... 0235aed... Author: Jay Shaughnessy jshaughn@redhat.com Date: Fri Oct 15 17:51:09 2010 -0400
Merge branch 'master' into master-jay
commit 07ee59e53c173f95f8b17e10e24b5b87882c4d3d Author: Jay Shaughnessy jshaughn@redhat.com Date: Fri Oct 15 17:40:49 2010 -0400
DataSource Work: Resulting from the fact that we couldn't render a list view without including the ID colum. In short it seems there is (currently) only one way to get control of column widths in one of our dataSource-backed ListGrid based views. That is to override the ds fields with its own ListGrid fields (see ResourceSearchView for a working example).
Perhaps at some point the listGrid.resizeField() method will work as maybe it should, but until then this is the way to go. By calling setFields(ListGridField[]) you will override the ds fields. For datasources used explicitly to back ListGrid views the ds doesn't really have to declare fields. With one exception, it may need to declare a primary key field, typically "id".
Anyway, this checkin does a few things: - Apply the same pattern to all of our datasources for defining ds fields. This pattern lets subclasses easily add to the superclass's fields. - Add CoreGUI.isDebugEnabled() - Add Table.setListGridFields(fields). This will handle any "id" field defined in the underlying datasource. It will be shown in debug and omitted otherwise. - Update ResourceSearchView and ResourceDataSource to work in the new fashion and serve (hopefully) as a decent example moving forward. Look here if you want to fix issues in column widths. - Misc: some null protection added, some selenium ID protection added
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/CoreGUI.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/CoreGUI.java index 3544941..5bce6ba 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/CoreGUI.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/CoreGUI.java @@ -88,6 +88,8 @@ public class CoreGUI implements EntryPoint, ValueChangeHandler<String> {
private static Messages messages;
+ private static boolean debugMode = true; + public void onModuleLoad() { String hostPageBaseURL = GWT.getHostPageBaseURL(); if (hostPageBaseURL.indexOf("/coregui/") == -1) { @@ -102,7 +104,8 @@ public class CoreGUI implements EntryPoint, ValueChangeHandler<String> {
coreGUI = this;
- if (!GWT.isScript()) { + debugMode = !GWT.isScript(); + if (debugMode) { KeyIdentifier debugKey = new KeyIdentifier(); debugKey.setCtrlKey(true); debugKey.setKeyName("D"); @@ -331,4 +334,7 @@ public class CoreGUI implements EntryPoint, ValueChangeHandler<String> { } }
+ public static boolean isDebugMode() { + return debugMode; + } } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/admin/roles/RolesDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/admin/roles/RolesDataSource.java index 9af7064..a12bec5 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/admin/roles/RolesDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/admin/roles/RolesDataSource.java @@ -19,6 +19,7 @@ package org.rhq.enterprise.gui.coregui.client.admin.roles;
import java.util.HashMap; +import java.util.List; import java.util.Map; import java.util.Set;
@@ -62,13 +63,24 @@ public class RolesDataSource extends RPCDataSource<Role> { }
public RolesDataSource() { + super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields(); + DataSourceField idDataField = new DataSourceIntegerField("id", "ID"); idDataField.setPrimaryKey(true); idDataField.setCanEdit(false); + fields.add(idDataField);
DataSourceTextField nameField = new DataSourceTextField("name", "Name", 100, true); + fields.add(nameField);
- setFields(idDataField, nameField); + return fields; }
public void executeFetch(final DSRequest request, final DSResponse response) { diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/admin/users/UsersDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/admin/users/UsersDataSource.java index af9acd6..33b94a0 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/admin/users/UsersDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/admin/users/UsersDataSource.java @@ -19,6 +19,7 @@ package org.rhq.enterprise.gui.coregui.client.admin.users;
import java.util.HashMap; +import java.util.List; import java.util.Map; import java.util.Set;
@@ -63,16 +64,28 @@ public class UsersDataSource extends RPCDataSource<Subject> { }
public UsersDataSource() { + super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
DataSourceField idDataField = new DataSourceIntegerField("id", "ID"); idDataField.setPrimaryKey(true); idDataField.setCanEdit(false); + fields.add(idDataField);
DataSourceTextField usernameField = new DataSourceTextField("name", "User Name", 100, true); + fields.add(usernameField);
DataSourceTextField firstName = new DataSourceTextField("firstName", "First Name", 100, true); + fields.add(firstName);
DataSourceTextField lastName = new DataSourceTextField("lastName", "Last Name", 100, true); + fields.add(lastName);
DataSourceTextField password = new DataSourceTextField("password", "Password", 100, false); password.setType(FieldType.PASSWORD); @@ -89,18 +102,22 @@ public class UsersDataSource extends RPCDataSource<Subject> { passwordsEqualValidator.setOtherField("password"); passwordsEqualValidator.setErrorMessage("Passwords do not match"); passwordVerify.setValidators(passwordsEqualValidator); + fields.add(password);
DataSourceTextField emailAddress = new DataSourceTextField("emailAddress", "Email Address", 100, true); + fields.add(emailAddress);
DataSourceTextField phone = new DataSourceTextField("phoneNumber", "Phone", 15, false); + fields.add(phone);
DataSourceTextField department = new DataSourceTextField("department", "Department", 100, false); + fields.add(department);
DataSourceTextField enabled = new DataSourceTextField("factive", "Enabled"); enabled.setType(FieldType.BOOLEAN); + fields.add(enabled);
- setFields(idDataField, usernameField, firstName, lastName, password, passwordVerify, phone, emailAddress, - department, enabled); + return fields; }
public void executeFetch(final DSRequest request, final DSResponse response) { diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertDataSource.java index a950c34..aaee63f 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/AlertDataSource.java @@ -18,7 +18,6 @@ */ package org.rhq.enterprise.gui.coregui.client.alert;
-import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Map; @@ -65,12 +64,13 @@ public class AlertDataSource extends RPCDataSource<Alert> {
setCanMultiSort(true);
- List<DataSourceField> fields = createFields(); + List<DataSourceField> fields = addDataSourceFields(); addFields(fields); }
- protected List<DataSourceField> createFields() { - List<DataSourceField> fields = new ArrayList<DataSourceField>(); + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
DataSourceField idField = new DataSourceIntegerField("id", "Id"); idField.setPrimaryKey(true); @@ -284,7 +284,8 @@ public class AlertDataSource extends RPCDataSource<Alert> { CoreGUI.getMessageCenter().notify( new Message("Acknowledged [" + alertIds.length + "] alerts", Message.Severity.Info));
- com.allen_sauer.gwt.log.client.Log.info("Acknowledged Alerts with id's: " + Arrays.toString(alertIds) + "."); + com.allen_sauer.gwt.log.client.Log.info("Acknowledged Alerts with id's: " + Arrays.toString(alertIds) + + "."); alertsView.refresh(); }
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/AbstractAlertDefinitionsDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/AbstractAlertDefinitionsDataSource.java index 7a53dbe..b7c9db8 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/AbstractAlertDefinitionsDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/AbstractAlertDefinitionsDataSource.java @@ -19,10 +19,12 @@ package org.rhq.enterprise.gui.coregui.client.alert.definitions;
import java.util.Date; +import java.util.List;
import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceImageField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.types.FieldType; @@ -52,7 +54,9 @@ public abstract class AbstractAlertDefinitionsDataSource extends RPCDataSource<A protected static final String FIELD_OBJECT = "_object"; // the actual AlertDefinition object
public AbstractAlertDefinitionsDataSource() { - setupFields(); + super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); }
@Override @@ -94,27 +98,31 @@ public abstract class AbstractAlertDefinitionsDataSource extends RPCDataSource<A * free to call this method and then add more, or add their own custom set and not * call this method at all (if they don't want some of these basic fields or want to reorder them). */ - protected void setupFields() { + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields(); + DataSourceTextField nameField = new DataSourceTextField(FIELD_NAME, "Name"); - addField(nameField); + fields.add(nameField);
DataSourceTextField descriptionField = new DataSourceTextField(FIELD_DESCRIPTION, "Description"); - addField(descriptionField); + fields.add(descriptionField);
DataSourceTextField ctimeField = new DataSourceTextField(FIELD_CTIME, "Created Time"); ctimeField.setType(FieldType.DATETIME); - addField(ctimeField); + fields.add(ctimeField);
DataSourceTextField mtimeField = new DataSourceTextField(FIELD_MTIME, "Modified Time"); mtimeField.setType(FieldType.DATETIME); - addField(mtimeField); + fields.add(mtimeField);
DataSourceTextField enabledField = new DataSourceTextField(FIELD_ENABLED, "Enabled"); enabledField.setType(FieldType.BOOLEAN); - addField(enabledField); + fields.add(enabledField);
DataSourceImageField priorityField = new DataSourceImageField(FIELD_PRIORITY, "Priority"); - addField(priorityField); + fields.add(priorityField); + + return fields; }
@Override diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/ConditionsEditor.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/ConditionsEditor.java index 2d4e85a..2d8463d 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/ConditionsEditor.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/ConditionsEditor.java @@ -24,10 +24,12 @@ package org.rhq.enterprise.gui.coregui.client.alert.definitions;
import java.util.HashSet; +import java.util.List; import java.util.Set;
import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.types.Overflow; import com.smartgwt.client.widgets.Window; @@ -148,8 +150,19 @@ public class ConditionsEditor extends LocatableVLayout { private static final String FIELD_CONDITION = "condition";
public ConditionDataSource() { + super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields(); + DataSourceTextField conditionField = new DataSourceTextField(FIELD_CONDITION, "Condition"); - addField(conditionField); + fields.add(conditionField); + + return fields; }
@Override diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/NotificationsAlertDefinitionForm.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/NotificationsAlertDefinitionForm.java index f707dc1..f783b4c 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/NotificationsAlertDefinitionForm.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/NotificationsAlertDefinitionForm.java @@ -29,6 +29,7 @@ import java.util.List; import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.types.Overflow; import com.smartgwt.client.widgets.Window; @@ -170,11 +171,26 @@ public class NotificationsAlertDefinitionForm extends LocatableVLayout implement
private class NotificationDataSource extends RPCDataSource<AlertNotification> { public NotificationDataSource() { + super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields(); + DataSourceTextField senderField = new DataSourceTextField(FIELD_SENDER, "Sender"); - addField(senderField); + fields.add(senderField);
DataSourceTextField configField = new DataSourceTextField(FIELD_CONFIGURATION, "Configuration"); - addField(configField); + fields.add(configField); + + return fields; + } + + @Override + public void useDatasourceDefinedFields() { }
@Override diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/ResourceAlertDefinitionsDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/ResourceAlertDefinitionsDataSource.java index f53710f..b9c4dca 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/ResourceAlertDefinitionsDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/ResourceAlertDefinitionsDataSource.java @@ -23,10 +23,12 @@
package org.rhq.enterprise.gui.coregui.client.alert.definitions;
+import java.util.List; import java.util.Map;
import com.smartgwt.client.data.Criteria; import com.smartgwt.client.data.DSRequest; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceLinkField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.widgets.grid.ListGridRecord; @@ -81,15 +83,17 @@ public class ResourceAlertDefinitionsDataSource extends AbstractAlertDefinitions }
@Override - protected void setupFields() { - super.setupFields(); + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
// add two more columns DataSourceLinkField parentIdField = new DataSourceLinkField(FIELD_PARENT, "Parent"); - addField(parentIdField); + fields.add(parentIdField);
DataSourceTextField readOnlyField = new DataSourceTextField(FIELD_READONLY, "Read Only"); - addField(readOnlyField); + fields.add(readOnlyField); + + return fields; }
@Override diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deployment/BundleDeploymentDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deployment/BundleDeploymentDataSource.java index a6e4da7..1f3ced4 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deployment/BundleDeploymentDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deployment/BundleDeploymentDataSource.java @@ -23,10 +23,12 @@ package org.rhq.enterprise.gui.coregui.client.bundle.deployment;
import java.util.Date; +import java.util.List;
import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceDateTimeField; import com.smartgwt.client.data.fields.DataSourceIntegerField; import com.smartgwt.client.data.fields.DataSourceTextField; @@ -48,25 +50,35 @@ public class BundleDeploymentDataSource extends RPCDataSource<BundleDeployment> private BundleGWTServiceAsync bundleService = GWTServiceLookup.getBundleService();
public BundleDeploymentDataSource() { + super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
DataSourceIntegerField id = new DataSourceIntegerField("id", "ID"); id.setPrimaryKey(true); - addField(id); + fields.add(id);
DataSourceTextField name = new DataSourceTextField("name", "Deployment Name"); - addField(name); + fields.add(name);
DataSourceTextField bundleVersion = new DataSourceTextField("bundleVersionVersion", "Bundle Version"); - addField(bundleVersion); + fields.add(bundleVersion);
DataSourceTextField description = new DataSourceTextField("description", "Description"); - addField(description); + fields.add(description);
DataSourceTextField status = new DataSourceTextField("status", "Status"); - addField(status); + fields.add(status);
DataSourceDateTimeField created = new DataSourceDateTimeField("deploymentTime", "Deployment Time"); - addField(created); + fields.add(created); + + return fields; }
@Override @@ -83,7 +95,8 @@ public class BundleDeploymentDataSource extends RPCDataSource<BundleDeployment> }
if (request.getCriteria().getValues().containsKey("bundleDestinationId")) { - criteria.addFilterDestinationId(Integer.parseInt(request.getCriteria().getAttribute("bundleDestinationId"))); + criteria + .addFilterDestinationId(Integer.parseInt(request.getCriteria().getAttribute("bundleDestinationId"))); }
if (request.getCriteria().getValues().get("tagNamespace") != null) { @@ -130,7 +143,6 @@ public class BundleDeploymentDataSource extends RPCDataSource<BundleDeployment> record.setAttribute("status", from.getStatus().name()); record.setAttribute("deployer", from.getSubjectName());
- if (from.getBundleVersion() != null) { record.setAttribute("bundleVersionVersion", from.getBundleVersion().getVersion()); record.setAttribute("bundleVersionId", from.getBundleVersion().getId()); diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deployment/resource/BundleResourceDeploymentDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deployment/resource/BundleResourceDeploymentDataSource.java index a2fa68e..1c23d51 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deployment/resource/BundleResourceDeploymentDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deployment/resource/BundleResourceDeploymentDataSource.java @@ -22,15 +22,17 @@ */ package org.rhq.enterprise.gui.coregui.client.bundle.deployment.resource;
+import java.util.List; + import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceIntegerField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.widgets.grid.ListGridRecord;
import org.rhq.core.domain.bundle.BundleResourceDeployment; -import org.rhq.core.domain.criteria.BundleDeploymentCriteria; import org.rhq.core.domain.criteria.BundleResourceDeploymentCriteria; import org.rhq.core.domain.util.PageList; import org.rhq.enterprise.gui.coregui.client.CoreGUI; @@ -44,19 +46,27 @@ import org.rhq.enterprise.gui.coregui.client.util.RPCDataSource; public class BundleResourceDeploymentDataSource extends RPCDataSource<BundleResourceDeployment> { private BundleGWTServiceAsync bundleService = GWTServiceLookup.getBundleService();
- public BundleResourceDeploymentDataSource() { + super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + }
- DataSourceIntegerField id = new DataSourceIntegerField("id","ID"); + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields(); + + DataSourceIntegerField id = new DataSourceIntegerField("id", "ID"); id.setPrimaryKey(true); - addField(id); + fields.add(id);
DataSourceTextField resourceName = new DataSourceTextField("resourceName", "Resource"); - addField(resourceName); + fields.add(resourceName);
DataSourceTextField status = new DataSourceTextField("status", "Status"); - addField(status); + fields.add(status);
+ return fields; }
@Override @@ -68,26 +78,27 @@ public class BundleResourceDeploymentDataSource extends RPCDataSource<BundleReso criteria.fetchHistories(true);
if (request.getCriteria().getValues().containsKey("bundleDeploymentId")) { - criteria.addFilterBundleDeploymentId(Integer.parseInt(request.getCriteria().getAttribute("bundleDeploymentId"))); + criteria.addFilterBundleDeploymentId(Integer.parseInt(request.getCriteria().getAttribute( + "bundleDeploymentId"))); }
- bundleService.findBundleResourceDeploymentsByCriteria(criteria, new AsyncCallback<PageList<BundleResourceDeployment>>() { - public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError("Failed to load bundle resource deployments",caught); - } - - public void onSuccess(PageList<BundleResourceDeployment> result) { - response.setData(buildRecords(result)); - processResponse(request.getRequestId(), response); - } - }); + bundleService.findBundleResourceDeploymentsByCriteria(criteria, + new AsyncCallback<PageList<BundleResourceDeployment>>() { + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError("Failed to load bundle resource deployments", caught); + }
+ public void onSuccess(PageList<BundleResourceDeployment> result) { + response.setData(buildRecords(result)); + processResponse(request.getRequestId(), response); + } + });
}
@Override public BundleResourceDeployment copyValues(ListGridRecord from) { - return null; // TODO: Implement this method. + return null; // TODO: Implement this method. }
@Override @@ -97,10 +108,9 @@ public class BundleResourceDeploymentDataSource extends RPCDataSource<BundleReso
record.setAttribute("resourceName", from.getResource().getName()); record.setAttribute("resourceId", from.getResource().getId()); - record.setAttribute("status",from.getStatus().name()); - - record.setAttribute("histories",from.getBundleResourceDeploymentHistories()); + record.setAttribute("status", from.getStatus().name());
+ record.setAttribute("histories", from.getBundleResourceDeploymentHistories());
from.getBundleResourceDeploymentHistories();
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/destination/BundleDestinationDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/destination/BundleDestinationDataSource.java index a375981..3985c78 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/destination/BundleDestinationDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/destination/BundleDestinationDataSource.java @@ -23,10 +23,12 @@ package org.rhq.enterprise.gui.coregui.client.bundle.destination;
import java.util.Date; +import java.util.List;
import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceIntegerField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.widgets.grid.ListGridRecord; @@ -34,7 +36,6 @@ import com.smartgwt.client.widgets.grid.ListGridRecord; import org.rhq.core.domain.bundle.BundleDeployment; import org.rhq.core.domain.bundle.BundleDestination; import org.rhq.core.domain.bundle.BundleVersion; -import org.rhq.core.domain.criteria.BundleDeploymentCriteria; import org.rhq.core.domain.criteria.BundleDestinationCriteria; import org.rhq.core.domain.criteria.BundleVersionCriteria; import org.rhq.core.domain.util.PageList; @@ -48,38 +49,49 @@ import org.rhq.enterprise.gui.coregui.client.util.RPCDataSource; public class BundleDestinationDataSource extends RPCDataSource<BundleDestination> {
public BundleDestinationDataSource() { + super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
DataSourceIntegerField idField = new DataSourceIntegerField("id", "Id"); idField.setPrimaryKey(true); - addField(idField); + fields.add(idField);
DataSourceTextField name = new DataSourceTextField("name", "Name"); - addField(name); + fields.add(name);
DataSourceTextField description = new DataSourceTextField("description", "Description"); - addField(description); + fields.add(description);
DataSourceTextField bundle = new DataSourceTextField("bundleName", "Bundle"); - addField(bundle); + fields.add(bundle);
DataSourceTextField group = new DataSourceTextField("groupName", "Group"); - addField(group); + fields.add(group);
DataSourceTextField deployDir = new DataSourceTextField("deployDir", "Deploy Directory"); - addField(deployDir); + fields.add(deployDir);
- DataSourceTextField latestDeploymentVersion = new DataSourceTextField("latestDeploymentVersion", "Last Deployed Version"); - addField(latestDeploymentVersion); + DataSourceTextField latestDeploymentVersion = new DataSourceTextField("latestDeploymentVersion", + "Last Deployed Version"); + fields.add(latestDeploymentVersion);
- DataSourceTextField latestDeploymentDate = new DataSourceTextField("latestDeploymentDate", "Last Deployment Date"); - addField(latestDeploymentDate); + DataSourceTextField latestDeploymentDate = new DataSourceTextField("latestDeploymentDate", + "Last Deployment Date"); + fields.add(latestDeploymentDate);
- DataSourceTextField latestDeploymentStatus = new DataSourceTextField("latestDeploymentStatus", "Last Deployment Status"); - addField(latestDeploymentStatus); + DataSourceTextField latestDeploymentStatus = new DataSourceTextField("latestDeploymentStatus", + "Last Deployment Status"); + fields.add(latestDeploymentStatus);
+ return fields; }
- @Override protected void executeFetch(final DSRequest request, final DSResponse response) { BundleDestinationCriteria criteria = new BundleDestinationCriteria(); @@ -88,7 +100,7 @@ public class BundleDestinationDataSource extends RPCDataSource<BundleDestination criteria.addFilterBundleId(Integer.parseInt(request.getCriteria().getAttributeAsString("bundleId"))); }
- if (request.getCriteria().getValues().get("tagNamespace") != null) { + if (request.getCriteria().getValues().get("tagNamespace") != null) { criteria.addFilterTagNamespace((String) request.getCriteria().getValues().get("tagNamespace")); }
@@ -100,28 +112,29 @@ public class BundleDestinationDataSource extends RPCDataSource<BundleDestination criteria.addFilterTagName((String) request.getCriteria().getValues().get("tagName")); }
- criteria.fetchBundle(true); criteria.fetchDeployments(true); criteria.fetchGroup(true); criteria.fetchTags(true);
- GWTServiceLookup.getBundleService().findBundleDestinationsByCriteria(criteria, - new AsyncCallback<PageList<BundleDestination>>() { - public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError("Failed to load bundle destinations",caught); - } + new AsyncCallback<PageList<BundleDestination>>() { + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError("Failed to load bundle destinations", caught); + }
- public void onSuccess(final PageList<BundleDestination> result) { + public void onSuccess(final PageList<BundleDestination> result) {
- BundleVersionCriteria versionCriteria = new BundleVersionCriteria(); - if (request.getCriteria().getValues().containsKey("bundleId")) { - versionCriteria.addFilterBundleId(Integer.parseInt(request.getCriteria().getAttributeAsString("bundleId"))); - } - GWTServiceLookup.getBundleService().findBundleVersionsByCriteria(versionCriteria, new AsyncCallback<PageList<BundleVersion>>() { + BundleVersionCriteria versionCriteria = new BundleVersionCriteria(); + if (request.getCriteria().getValues().containsKey("bundleId")) { + versionCriteria.addFilterBundleId(Integer.parseInt(request.getCriteria().getAttributeAsString( + "bundleId"))); + } + GWTServiceLookup.getBundleService().findBundleVersionsByCriteria(versionCriteria, + new AsyncCallback<PageList<BundleVersion>>() { public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError("Failed to load bundle destination deployed version info",caught); + CoreGUI.getErrorHandler().handleError( + "Failed to load bundle destination deployed version info", caught); }
public void onSuccess(PageList<BundleVersion> versions) { @@ -143,8 +156,8 @@ public class BundleDestinationDataSource extends RPCDataSource<BundleDestination
} }); - } - }); + } + }); }
@Override @@ -168,7 +181,6 @@ public class BundleDestinationDataSource extends RPCDataSource<BundleDestination record.setAttribute("deployDir", from.getDeployDir()); record.setAttribute("entity", from);
- long last = 0; for (BundleDeployment dep : from.getDeployments()) { if (last < dep.getCtime()) { @@ -182,7 +194,6 @@ public class BundleDestinationDataSource extends RPCDataSource<BundleDestination } }
- return record; } } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/list/BundleVersionDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/list/BundleVersionDataSource.java index 6b08c63..b5b0444 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/list/BundleVersionDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/list/BundleVersionDataSource.java @@ -18,9 +18,12 @@ */ package org.rhq.enterprise.gui.coregui.client.bundle.list;
+import java.util.List; + import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceIntegerField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.widgets.grid.ListGridRecord; @@ -39,26 +42,34 @@ import org.rhq.enterprise.gui.coregui.client.util.RPCDataSource; public class BundleVersionDataSource extends RPCDataSource<BundleVersion> {
private BundleGWTServiceAsync bundleService = GWTServiceLookup.getBundleService(); - private int bundleId;
public BundleVersionDataSource() { + super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields(); + DataSourceIntegerField idField = new DataSourceIntegerField("id", "ID"); idField.setPrimaryKey(true); - addField(idField); + fields.add(idField);
DataSourceTextField latestVersionField = new DataSourceTextField("version", "Version"); - addField(latestVersionField); + fields.add(latestVersionField);
DataSourceTextField nameField = new DataSourceTextField("name", "Name"); - addField(nameField); + fields.add(nameField);
DataSourceTextField descriptionField = new DataSourceTextField("description", "Description"); - addField(descriptionField); - - + fields.add(descriptionField);
DataSourceIntegerField deploymentCountField = new DataSourceIntegerField("fileCount", "File Count"); - addField(deploymentCountField); + fields.add(deploymentCountField); + + return fields; }
@Override @@ -70,7 +81,8 @@ public class BundleVersionDataSource extends RPCDataSource<BundleVersion> { criteria.setPageControl(getPageControl(request));
if (request.getCriteria().getValues().get("bundleId") != null) { - criteria.addFilterBundleId(Integer.parseInt(String.valueOf(request.getCriteria().getValues().get("bundleId")))); + criteria.addFilterBundleId(Integer.parseInt(String.valueOf(request.getCriteria().getValues() + .get("bundleId")))); }
if (request.getCriteria().getValues().get("tagNamespace") != null) { diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/list/BundlesDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/list/BundlesDataSource.java index 7c8aa02..32cf81a 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/list/BundlesDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/list/BundlesDataSource.java @@ -18,9 +18,12 @@ */ package org.rhq.enterprise.gui.coregui.client.bundle.list;
+import java.util.List; + import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceIntegerField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.widgets.grid.ListGridRecord; @@ -41,19 +44,29 @@ public class BundlesDataSource extends RPCDataSource<Bundle> { private BundleGWTServiceAsync bundleService = GWTServiceLookup.getBundleService();
public BundlesDataSource() { + super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
DataSourceIntegerField idField = new DataSourceIntegerField("id", "ID"); idField.setPrimaryKey(true); - addField(idField); + fields.add(idField);
DataSourceTextField nameField = new DataSourceTextField("name", "Name"); - addField(nameField); + fields.add(nameField);
DataSourceTextField descriptionField = new DataSourceTextField("description", "Description"); - addField(descriptionField); + fields.add(descriptionField);
DataSourceTextField bundleTypeDataField = new DataSourceTextField("bundleType", "Bundle Type"); - addField(bundleTypeDataField); + fields.add(bundleTypeDataField); + + return fields; }
@Override @@ -62,7 +75,6 @@ public class BundlesDataSource extends RPCDataSource<Bundle> { BundleCriteria criteria = new BundleCriteria(); criteria.setPageControl(getPageControl(request));
- if (request.getCriteria().getValues().get("tagNamespace") != null) { criteria.addFilterTagNamespace((String) request.getCriteria().getValues().get("tagNamespace")); } @@ -75,7 +87,6 @@ public class BundlesDataSource extends RPCDataSource<Bundle> { criteria.addFilterTagName((String) request.getCriteria().getValues().get("tagName")); }
- bundleService.findBundlesByCriteria(criteria, new AsyncCallback<PageList<Bundle>>() { public void onFailure(Throwable caught) { CoreGUI.getErrorHandler().handleError("Failed to load bundle data", caught); diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/list/BundlesWithLatestVersionDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/list/BundlesWithLatestVersionDataSource.java index e3b54ac..76340e2 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/list/BundlesWithLatestVersionDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/list/BundlesWithLatestVersionDataSource.java @@ -18,9 +18,12 @@ */ package org.rhq.enterprise.gui.coregui.client.bundle.list;
+import java.util.List; + import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceIntegerField; import com.smartgwt.client.data.fields.DataSourceLinkField; import com.smartgwt.client.data.fields.DataSourceTextField; @@ -42,23 +45,32 @@ public class BundlesWithLatestVersionDataSource extends RPCDataSource<BundleWith private BundleGWTServiceAsync bundleService = GWTServiceLookup.getBundleService();
public BundlesWithLatestVersionDataSource() { + super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
DataSourceIntegerField idField = new DataSourceIntegerField("id", "ID"); idField.setPrimaryKey(true); - addField(idField); + fields.add(idField);
DataSourceLinkField linkField = new DataSourceLinkField("link", "Name"); - addField(linkField); - + fields.add(linkField);
DataSourceTextField descriptionField = new DataSourceTextField("description", "Description"); - addField(descriptionField); + fields.add(descriptionField);
DataSourceTextField latestVersionField = new DataSourceTextField("latestVersion", "Latest Version"); - addField(latestVersionField); + fields.add(latestVersionField);
DataSourceIntegerField deploymentCountField = new DataSourceIntegerField("versionsCount", "Versions Count"); - addField(deploymentCountField); + fields.add(deploymentCountField); + + return fields; }
@Override @@ -78,7 +90,6 @@ public class BundlesWithLatestVersionDataSource extends RPCDataSource<BundleWith criteria.addFilterTagName((String) request.getCriteria().getValues().get("tagName")); }
- bundleService.findBundlesWithLatestVersionCompositesByCriteria(criteria, new AsyncCallback<PageList<BundleWithLatestVersionComposite>>() { public void onFailure(Throwable caught) { @@ -115,11 +126,9 @@ public class BundlesWithLatestVersionDataSource extends RPCDataSource<BundleWith record.setAttribute("id", from.getBundleId()); record.setAttribute("name", from.getBundleName());
- record.setAttribute("link", "#Bundles/Bundle/" + from.getBundleId()); record.setLinkText(from.getBundleName());
- record.setAttribute("description", from.getBundleDescription()); record.setAttribute("latestVersion", from.getLatestVersion()); record.setAttribute("versionsCount", Integer.valueOf(from.getVersionsCount().intValue())); // want int, not long diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/tree/BundleTreeDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/tree/BundleTreeDataSource.java index f1661c8..16e5e67 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/tree/BundleTreeDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/tree/BundleTreeDataSource.java @@ -24,6 +24,7 @@ package org.rhq.enterprise.gui.coregui.client.bundle.tree;
import java.util.ArrayList; import java.util.Collection; +import java.util.List;
import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; @@ -50,25 +51,34 @@ import org.rhq.enterprise.gui.coregui.client.util.RPCDataSource; /** * @author Greg Hinkle */ +@SuppressWarnings("unchecked") public class BundleTreeDataSource extends RPCDataSource {
private BundleGWTServiceAsync bundleService = GWTServiceLookup.getBundleService();
public BundleTreeDataSource() { + super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields(); + DataSourceField idDataField = new DataSourceTextField("id", "ID"); idDataField.setPrimaryKey(true); + fields.add(idDataField);
DataSourceTextField nameDataField = new DataSourceTextField("name", "Name"); nameDataField.setCanEdit(false); - - DataSourceTextField descriptionDataField = new DataSourceTextField("description", "Description"); - descriptionDataField.setCanEdit(false); + fields.add(nameDataField);
DataSourceTextField parentIdField = new DataSourceTextField("parentId", "Parent ID"); parentIdField.setForeignKey("id"); + fields.add(parentIdField);
- - setFields(idDataField, nameDataField, parentIdField); + return fields; }
@Override @@ -97,8 +107,8 @@ public class BundleTreeDataSource extends RPCDataSource { } }); } else { - if (p.endsWith(":versions")) { - int bundleId = Integer.parseInt(p.substring(0, p.indexOf(":"))); + if (p.endsWith("_versions")) { + int bundleId = Integer.parseInt(p.substring(0, p.indexOf("_"))); BundleVersionCriteria criteria = new BundleVersionCriteria(); criteria.addFilterBundleId(bundleId); bundleService.findBundleVersionsByCriteria(criteria, new AsyncCallback<PageList<BundleVersion>>() { @@ -114,46 +124,47 @@ public class BundleTreeDataSource extends RPCDataSource { processResponse(request.getRequestId(), response); } }); - } else if (p.endsWith(":deployments")) { - int bundleId = Integer.parseInt(p.substring(0, p.indexOf(":"))); + } else if (p.endsWith("_deployments")) { + int bundleId = Integer.parseInt(p.substring(0, p.indexOf("_"))); BundleDeploymentCriteria criteria = new BundleDeploymentCriteria(); criteria.fetchBundleVersion(true); criteria.addFilterBundleId(bundleId); - bundleService.findBundleDeploymentsByCriteria(criteria, new AsyncCallback<PageList<BundleDeployment>>() { - public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError("Failed to load bundle", caught); - } - - public void onSuccess(PageList<BundleDeployment> result) { - response.setData(buildRecords(result)); - processResponse(request.getRequestId(), response); - } - }); - } else if (p.endsWith(":destinations")) { - int bundleId = Integer.parseInt(p.substring(0, p.indexOf(":"))); + bundleService.findBundleDeploymentsByCriteria(criteria, + new AsyncCallback<PageList<BundleDeployment>>() { + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError("Failed to load bundle", caught); + } + + public void onSuccess(PageList<BundleDeployment> result) { + response.setData(buildRecords(result)); + processResponse(request.getRequestId(), response); + } + }); + } else if (p.endsWith("_destinations")) { + int bundleId = Integer.parseInt(p.substring(0, p.indexOf("_"))); BundleDestinationCriteria criteria = new BundleDestinationCriteria(); criteria.addFilterBundleId(bundleId); - bundleService.findBundleDestinationsByCriteria(criteria, new AsyncCallback<PageList<BundleDestination>>() { - public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError("Failed to load bundle destinations", caught); - } - - public void onSuccess(PageList<BundleDestination> result) { - response.setData(buildRecords(result)); - processResponse(request.getRequestId(), response); - } - }); + bundleService.findBundleDestinationsByCriteria(criteria, + new AsyncCallback<PageList<BundleDestination>>() { + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError("Failed to load bundle destinations", caught); + } + + public void onSuccess(PageList<BundleDestination> result) { + response.setData(buildRecords(result)); + processResponse(request.getRequestId(), response); + } + });
}
}
- }
@Override public Object copyValues(ListGridRecord from) { - return null; // TODO: Implement this method. + return null; // TODO: Implement this method. }
@Override @@ -171,14 +182,14 @@ public class BundleTreeDataSource extends RPCDataSource { Bundle bundle = (Bundle) item;
TreeNode versionNode = new TreeNode("Versions"); - versionNode.setID(bundle.getId() + ":versions"); + versionNode.setID(bundle.getId() + "_versions"); versionNode.setParentID(String.valueOf(bundle.getId())); versionNode.setName("Versions"); versionNode.setAttribute("name", "Versions"); records.add(versionNode);
TreeNode deploymentsNode = new TreeNode("Destinations"); - deploymentsNode.setID(bundle.getId() + ":destinations"); + deploymentsNode.setID(bundle.getId() + "_destinations"); deploymentsNode.setParentID(String.valueOf(bundle.getId())); deploymentsNode.setName("Destinations"); records.add(deploymentsNode); @@ -187,7 +198,6 @@ public class BundleTreeDataSource extends RPCDataSource { return records.toArray(new ListGridRecord[records.size()]); }
- @Override public ListGridRecord copyValues(Object from) { TreeNode node = new TreeNode(); @@ -200,23 +210,23 @@ public class BundleTreeDataSource extends RPCDataSource { } else if (from instanceof BundleVersion) { BundleVersion version = (BundleVersion) from; node.setName(version.getVersion()); - node.setID(version.getBundle().getId() + ":versions:" + version.getId()); - node.setParentID(version.getBundle().getId() + ":versions"); + node.setID(version.getBundle().getId() + "_versions_" + version.getId()); + node.setParentID(version.getBundle().getId() + "_versions"); node.setIsFolder(false); node.setIcon("subsystems/bundle/BundleVersion_16.png");
} else if (from instanceof BundleDeployment) { BundleDeployment deployment = (BundleDeployment) from; node.setName(deployment.getName() + " (" + deployment.getBundleVersion().getVersion() + ")"); - node.setID(deployment.getBundleVersion().getBundle().getId() + ":deployments:" + deployment.getId()); - node.setParentID(deployment.getBundleVersion().getBundle().getId() + ":deployments"); + node.setID(deployment.getBundleVersion().getBundle().getId() + "_deployments_" + deployment.getId()); + node.setParentID(deployment.getBundleVersion().getBundle().getId() + "_deployments"); node.setIsFolder(false); node.setIcon("subsystems/bundle/BundleDeployment_16.png"); } else if (from instanceof BundleDestination) { BundleDestination destination = (BundleDestination) from; node.setName(destination.getName()); - node.setID(destination.getBundle().getId() + ":destinations:" +destination.getId()); - node.setParentID(destination.getBundle().getId() + ":destinations"); + node.setID(destination.getBundle().getId() + "_destinations_" + destination.getId()); + node.setParentID(destination.getBundle().getId() + "_destinations"); node.setIsFolder(false); node.setIcon("subsystems/bundle/BundleDestination_16.png"); } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/Table.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/Table.java index b4aff2b..7e2604e 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/Table.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/Table.java @@ -23,7 +23,9 @@ import java.util.List;
import com.smartgwt.client.data.Criteria; import com.smartgwt.client.data.SortSpecifier; +import com.smartgwt.client.types.Alignment; import com.smartgwt.client.types.Autofit; +import com.smartgwt.client.types.ListGridFieldType; import com.smartgwt.client.types.Overflow; import com.smartgwt.client.types.SelectionStyle; import com.smartgwt.client.types.VerticalAlignment; @@ -47,6 +49,7 @@ import com.smartgwt.client.widgets.form.fields.events.ChangedHandler; import com.smartgwt.client.widgets.form.fields.events.KeyPressEvent; import com.smartgwt.client.widgets.form.fields.events.KeyPressHandler; import com.smartgwt.client.widgets.grid.ListGrid; +import com.smartgwt.client.widgets.grid.ListGridField; import com.smartgwt.client.widgets.grid.events.DataArrivedEvent; import com.smartgwt.client.widgets.grid.events.DataArrivedHandler; import com.smartgwt.client.widgets.grid.events.SelectionChangedHandler; @@ -484,6 +487,33 @@ public class Table extends LocatableHLayout implements RefreshableView { return listGrid; }
+ /** + * Wraps ListGrid.setFields(...) but takes care of "id" field display handling + * @param fields + */ + public void setListGridFields(ListGridField... fields) { + if (null == this.dataSource.getField("id")) { + return; + } + + if (CoreGUI.isDebugMode()) { + ListGridField idField = new ListGridField("id", "Id", 55); + idField.setType(ListGridFieldType.INTEGER); + idField.setCanEdit(false); + idField.setAlign(Alignment.LEFT); + + ListGridField[] newFields = new ListGridField[fields.length + 1]; + newFields[0] = idField; + for (int i = 0; i < fields.length; ++i) { + newFields[i + 1] = fields[i]; + } + this.listGrid.setFields(newFields); + } else { + getListGrid().hideField("id"); + this.listGrid.setFields(fields); + } + } + public void setTitleComponent(Canvas canvas) { this.titleComponent = canvas; } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/tagging/TaggingDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/tagging/TaggingDataSource.java index 1d3f08d..a971a97 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/tagging/TaggingDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/tagging/TaggingDataSource.java @@ -47,38 +47,37 @@ public class TaggingDataSource extends RPCDataSource<Tag> { String search = (String) request.getCriteria().getValues().get("tag"); if (search != null) { // todo -// criteria.addFilter + // criteria.addFilter }
- GWTServiceLookup.getTagService().findTagsByCriteria(new TagCriteria(), - new AsyncCallback<PageList<Tag>>() { - public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError("Failed to load tags",caught); - response.setStatus(DSResponse.STATUS_FAILURE); - processResponse(request.getRequestId(), response); - } + GWTServiceLookup.getTagService().findTagsByCriteria(new TagCriteria(), new AsyncCallback<PageList<Tag>>() { + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError("Failed to load tags", caught); + response.setStatus(DSResponse.STATUS_FAILURE); + processResponse(request.getRequestId(), response); + }
- public void onSuccess(PageList<Tag> result) { - response.setData(buildRecords(result)); - processResponse(request.getRequestId(), response); - } - }); + public void onSuccess(PageList<Tag> result) { + response.setData(buildRecords(result)); + processResponse(request.getRequestId(), response); + } + });
}
@Override public Tag copyValues(ListGridRecord from) { - return null; // TODO: Implement this method. + return null; // TODO: Implement this method. }
@Override public ListGridRecord copyValues(Tag from) { ListGridRecord record = new ListGridRecord(); - record.setAttribute("id",from.getId()); - record.setAttribute("namespace",from.getNamespace()); - record.setAttribute("semantic",from.getSemantic()); - record.setAttribute("name",from.getName()); - record.setAttribute("tag",from.toString()); + record.setAttribute("id", from.getId()); + record.setAttribute("namespace", from.getNamespace()); + record.setAttribute("semantic", from.getSemantic()); + record.setAttribute("name", from.getName()); + record.setAttribute("tag", from.toString()); return record; } } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/tree/EnhancedTreeNode.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/tree/EnhancedTreeNode.java index f4b69ae..a2b8b37 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/tree/EnhancedTreeNode.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/tree/EnhancedTreeNode.java @@ -28,11 +28,9 @@ import org.rhq.core.domain.util.StringUtils; public class EnhancedTreeNode extends TreeNode { public EnhancedTreeNode() { super(); - // this(null); }
public EnhancedTreeNode(String name) { - //this(name, new TreeNode[0]); super(name); if (name != null) { setTitle(StringUtils.deCamelCase(name)); diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/content/repository/tree/ContentRepositoryTreeDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/content/repository/tree/ContentRepositoryTreeDataSource.java index 9b54565..9490647 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/content/repository/tree/ContentRepositoryTreeDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/content/repository/tree/ContentRepositoryTreeDataSource.java @@ -22,6 +22,8 @@ */ package org.rhq.enterprise.gui.coregui.client.content.repository.tree;
+import java.util.List; + import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; @@ -30,52 +32,54 @@ import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.widgets.grid.ListGridRecord; import com.smartgwt.client.widgets.tree.TreeNode;
-import org.rhq.core.domain.criteria.Criteria; +import org.rhq.core.domain.content.Repo; import org.rhq.core.domain.criteria.RepoCriteria; import org.rhq.core.domain.util.PageList; import org.rhq.enterprise.gui.coregui.client.CoreGUI; import org.rhq.enterprise.gui.coregui.client.gwt.GWTServiceLookup; import org.rhq.enterprise.gui.coregui.client.gwt.RepoGWTServiceAsync; import org.rhq.enterprise.gui.coregui.client.util.RPCDataSource; -import org.rhq.core.domain.content.Repo;
/** * @author Greg Hinkle */ -public class ContentRepositoryTreeDataSource extends RPCDataSource<Repo> { +public class ContentRepositoryTreeDataSource extends RPCDataSource<Repo> {
private RepoGWTServiceAsync repoService = GWTServiceLookup.getRepoService();
- - public ContentRepositoryTreeDataSource() { + super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
DataSourceField idDataField = new DataSourceTextField("id", "ID"); idDataField.setPrimaryKey(true); + fields.add(idDataField);
DataSourceTextField nameDataField = new DataSourceTextField("name", "Name"); nameDataField.setCanEdit(false); - - DataSourceTextField descriptionDataField = new DataSourceTextField("description", "Description"); - descriptionDataField.setCanEdit(false); + fields.add(nameDataField);
DataSourceTextField parentIdField = new DataSourceTextField("parentId", "Parent ID"); parentIdField.setForeignKey("id"); + fields.add(parentIdField);
- setFields(idDataField, nameDataField, parentIdField); + return fields; }
- @Override protected void executeFetch(final DSRequest request, final DSResponse response) {
- RepoCriteria criteria = new RepoCriteria();
- repoService.findReposByCriteria(criteria, new AsyncCallback<PageList<Repo>>() { public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError("Failed to load repositories",caught); + CoreGUI.getErrorHandler().handleError("Failed to load repositories", caught); }
public void onSuccess(PageList<Repo> result) { @@ -88,7 +92,7 @@ public class ContentRepositoryTreeDataSource extends RPCDataSource<Repo> {
@Override public Repo copyValues(ListGridRecord from) { - return null; // TODO: Implement this method. + return null; // TODO: Implement this method. }
@Override diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/dashboard/portlets/platform/PlatformMetricDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/dashboard/portlets/platform/PlatformMetricDataSource.java index 7f9d8fd..b0f94c3 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/dashboard/portlets/platform/PlatformMetricDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/dashboard/portlets/platform/PlatformMetricDataSource.java @@ -18,9 +18,9 @@ */ package org.rhq.enterprise.gui.coregui.client.dashboard.portlets.platform;
+import java.util.List; + import com.smartgwt.client.data.DataSourceField; -import com.smartgwt.client.data.fields.DataSourceImageField; -import com.smartgwt.client.data.fields.DataSourceIntegerField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.widgets.grid.ListGridRecord;
@@ -38,15 +38,24 @@ public class PlatformMetricDataSource extends ResourceDatasource { super(); this.view = view;
- DataSourceTextField cpuField = new DataSourceTextField("cpu","CPU"); - addField(cpuField); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields(); + + DataSourceTextField cpuField = new DataSourceTextField("cpu", "CPU"); + fields.add(cpuField); DataSourceTextField memoryField = new DataSourceTextField("memory", "Memory"); - addField(memoryField); + fields.add(memoryField); + DataSourceTextField swapField = new DataSourceTextField("swap", "Swap"); // todo swap - } -
+ return fields; + }
@Override public ListGridRecord copyValues(Resource from) { diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/AbstractMeasurementDataTraitDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/AbstractMeasurementDataTraitDataSource.java index b30714f..874d92d 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/AbstractMeasurementDataTraitDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/AbstractMeasurementDataTraitDataSource.java @@ -18,14 +18,19 @@ */ package org.rhq.enterprise.gui.coregui.client.inventory.common;
+import java.util.List; +import java.util.Map; + import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.Criteria; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; import com.smartgwt.client.data.DataSourceField; -import com.smartgwt.client.data.fields.*; +import com.smartgwt.client.data.fields.DataSourceIntegerField; +import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.rpc.RPCResponse; import com.smartgwt.client.widgets.grid.ListGridRecord; + import org.rhq.core.domain.criteria.MeasurementDataTraitCriteria; import org.rhq.core.domain.measurement.MeasurementDataTrait; import org.rhq.core.domain.util.PageList; @@ -34,10 +39,6 @@ import org.rhq.enterprise.gui.coregui.client.gwt.GWTServiceLookup; import org.rhq.enterprise.gui.coregui.client.gwt.MeasurementDataGWTServiceAsync; import org.rhq.enterprise.gui.coregui.client.util.RPCDataSource;
-import java.util.ArrayList; -import java.util.List; -import java.util.Map; - /** * A server-side SmartGWT DataSource for reading {@link MeasurementDataTrait trait data}. * @@ -48,12 +49,13 @@ public abstract class AbstractMeasurementDataTraitDataSource extends RPCDataSour
protected AbstractMeasurementDataTraitDataSource() { setCanMultiSort(true); - List<DataSourceField> fields = createFields(); + List<DataSourceField> fields = addDataSourceFields(); addFields(fields); }
- protected List<DataSourceField> createFields() { - List<DataSourceField> fields = new ArrayList<DataSourceField>(); + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
DataSourceTextField primaryKeyField = new DataSourceTextField("primaryKey", "Primary Key"); primaryKeyField.setPrimaryKey(true); @@ -65,17 +67,16 @@ public abstract class AbstractMeasurementDataTraitDataSource extends RPCDataSour fields.add(idField);
DataSourceTextField nameField = new DataSourceTextField(MeasurementDataTraitCriteria.SORT_FIELD_DISPLAY_NAME, - "Trait"); + "Trait"); fields.add(nameField);
// TODO: Include description from metric def?
- DataSourceTextField valueField = new DataSourceTextField(MeasurementDataTraitCriteria.SORT_FIELD_VALUE, - "Value"); + DataSourceTextField valueField = new DataSourceTextField(MeasurementDataTraitCriteria.SORT_FIELD_VALUE, "Value"); fields.add(valueField);
- DataSourceIntegerField timestampField = new DataSourceIntegerField(MeasurementDataTraitCriteria.SORT_FIELD_TIMESTAMP, - "Last Changed"); + DataSourceIntegerField timestampField = new DataSourceIntegerField( + MeasurementDataTraitCriteria.SORT_FIELD_TIMESTAMP, "Last Changed"); fields.add(timestampField);
return fields; @@ -88,8 +89,7 @@ public abstract class AbstractMeasurementDataTraitDataSource extends RPCDataSour
this.measurementService.findTraitsByCriteria(criteria, new AsyncCallback<PageList<MeasurementDataTrait>>() { public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError("Failed to fetch traits for criteria " + criteria, - caught); + CoreGUI.getErrorHandler().handleError("Failed to fetch traits for criteria " + criteria, caught); response.setStatus(RPCResponse.STATUS_FAILURE); processResponse(request.getRequestId(), response); } @@ -145,9 +145,10 @@ public abstract class AbstractMeasurementDataTraitDataSource extends RPCDataSour record.setAttribute("primaryKey", from.getScheduleId() + ":" + from.getTimestamp()); record.setAttribute("id", from.getSchedule().getDefinition().getId()); // used for detail view record.setAttribute(MeasurementDataTraitCriteria.SORT_FIELD_TIMESTAMP, from.getTimestamp()); - record.setAttribute(MeasurementDataTraitCriteria.SORT_FIELD_DISPLAY_NAME, from.getSchedule().getDefinition().getDisplayName()); + record.setAttribute(MeasurementDataTraitCriteria.SORT_FIELD_DISPLAY_NAME, from.getSchedule().getDefinition() + .getDisplayName()); record.setAttribute(MeasurementDataTraitCriteria.SORT_FIELD_VALUE, from.getValue()); - + return record; } } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/AbstractMeasurementScheduleCompositeDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/AbstractMeasurementScheduleCompositeDataSource.java index 7782c87..1f7da77 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/AbstractMeasurementScheduleCompositeDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/AbstractMeasurementScheduleCompositeDataSource.java @@ -49,7 +49,8 @@ import org.rhq.enterprise.gui.coregui.client.util.RPCDataSource; * * @author Ian Springer */ -public abstract class AbstractMeasurementScheduleCompositeDataSource extends RPCDataSource<MeasurementScheduleComposite> { +public abstract class AbstractMeasurementScheduleCompositeDataSource extends + RPCDataSource<MeasurementScheduleComposite> { private MeasurementDataGWTServiceAsync measurementService = GWTServiceLookup.getMeasurementDataService();
protected AbstractMeasurementScheduleCompositeDataSource() { @@ -57,37 +58,38 @@ public abstract class AbstractMeasurementScheduleCompositeDataSource extends RPC
setCanMultiSort(true);
- List<DataSourceField> fields = createFields(); + List<DataSourceField> fields = addDataSourceFields(); addFields(fields); }
- protected List<DataSourceField> createFields() { - List<DataSourceField> fields = new ArrayList<DataSourceField>(); + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
- DataSourceIntegerField idField = new DataSourceIntegerField(MeasurementScheduleCriteria.SORT_FIELD_DEFINITION_ID, - "Id"); + DataSourceIntegerField idField = new DataSourceIntegerField( + MeasurementScheduleCriteria.SORT_FIELD_DEFINITION_ID, "Id"); idField.setPrimaryKey(true); idField.setHidden(true); fields.add(idField);
DataSourceTextField nameField = new DataSourceTextField(MeasurementScheduleCriteria.SORT_FIELD_DISPLAY_NAME, - "Metric"); + "Metric"); fields.add(nameField);
- DataSourceTextField descriptionField = new DataSourceTextField(MeasurementScheduleCriteria.SORT_FIELD_DESCRIPTION, - "Description"); + DataSourceTextField descriptionField = new DataSourceTextField( + MeasurementScheduleCriteria.SORT_FIELD_DESCRIPTION, "Description"); fields.add(descriptionField);
DataSourceTextField typeField = new DataSourceTextField(MeasurementScheduleCriteria.SORT_FIELD_DATA_TYPE, - "Type"); + "Type"); fields.add(typeField);
- DataSourceBooleanField enabledField = new DataSourceBooleanField(MeasurementScheduleCriteria.SORT_FIELD_ENABLED, - "Enabled?"); + DataSourceBooleanField enabledField = new DataSourceBooleanField( + MeasurementScheduleCriteria.SORT_FIELD_ENABLED, "Enabled?"); fields.add(enabledField);
- DataSourceIntegerField intervalField = new DataSourceIntegerField(MeasurementScheduleCriteria.SORT_FIELD_INTERVAL, - "Collection Interval"); + DataSourceIntegerField intervalField = new DataSourceIntegerField( + MeasurementScheduleCriteria.SORT_FIELD_INTERVAL, "Collection Interval"); fields.add(intervalField);
return fields; @@ -96,21 +98,22 @@ public abstract class AbstractMeasurementScheduleCompositeDataSource extends RPC protected void executeFetch(final DSRequest request, final DSResponse response) { final EntityContext entityContext = getEntityContext(request);
- this.measurementService.getMeasurementScheduleCompositesByContext(entityContext, new AsyncCallback<PageList<MeasurementScheduleComposite>>() { - public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError("Failed to fetch measurement schedules for context " + entityContext, - caught); - response.setStatus(RPCResponse.STATUS_FAILURE); - processResponse(request.getRequestId(), response); - } + this.measurementService.getMeasurementScheduleCompositesByContext(entityContext, + new AsyncCallback<PageList<MeasurementScheduleComposite>>() { + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError( + "Failed to fetch measurement schedules for context " + entityContext, caught); + response.setStatus(RPCResponse.STATUS_FAILURE); + processResponse(request.getRequestId(), response); + }
- public void onSuccess(PageList<MeasurementScheduleComposite> result) { - response.setData(buildRecords(result)); - // For paging to work, we have to specify size of full result set. - response.setTotalRows(result.getTotalSize()); - processResponse(request.getRequestId(), response); - } - }); + public void onSuccess(PageList<MeasurementScheduleComposite> result) { + response.setData(buildRecords(result)); + // For paging to work, we have to specify size of full result set. + response.setTotalRows(result.getTotalSize()); + processResponse(request.getRequestId(), response); + } + }); }
protected EntityContext getEntityContext(DSRequest request) { @@ -150,15 +153,16 @@ public abstract class AbstractMeasurementScheduleCompositeDataSource extends RPC
MeasurementDefinition measurementDefinition = from.getMeasurementDefinition(); record.setAttribute(MeasurementScheduleCriteria.SORT_FIELD_DEFINITION_ID, measurementDefinition.getId()); - record.setAttribute(MeasurementScheduleCriteria.SORT_FIELD_DISPLAY_NAME, measurementDefinition.getDisplayName()); + record + .setAttribute(MeasurementScheduleCriteria.SORT_FIELD_DISPLAY_NAME, measurementDefinition.getDisplayName()); record.setAttribute(MeasurementScheduleCriteria.SORT_FIELD_DESCRIPTION, measurementDefinition.getDescription()); - record.setAttribute(MeasurementScheduleCriteria.SORT_FIELD_DATA_TYPE, - measurementDefinition.getDataType().name().toLowerCase()); + record.setAttribute(MeasurementScheduleCriteria.SORT_FIELD_DATA_TYPE, measurementDefinition.getDataType() + .name().toLowerCase()); record.setAttribute(MeasurementScheduleCriteria.SORT_FIELD_ENABLED, from.getCollectionEnabled()); record.setAttribute(MeasurementScheduleCriteria.SORT_FIELD_INTERVAL, from.getCollectionInterval());
// TODO: resourceId and resourceGroupId (in subclasses) - + return record; }
@@ -170,7 +174,7 @@ public abstract class AbstractMeasurementScheduleCompositeDataSource extends RPC }
protected abstract void enableSchedules(AbstractMeasurementScheduleListView measurementScheduleListView, - int[] measurementDefinitionIds, List<String> measurementDefinitionDisplayNames); + int[] measurementDefinitionIds, List<String> measurementDefinitionDisplayNames);
public void disableSchedules(AbstractMeasurementScheduleListView measurementScheduleListView) { int[] ids = getMeasurementDefinitionIds(measurementScheduleListView); @@ -180,7 +184,7 @@ public abstract class AbstractMeasurementScheduleCompositeDataSource extends RPC }
protected abstract void disableSchedules(AbstractMeasurementScheduleListView measurementScheduleListView, - int[] measurementDefinitionIds, List<String> measurementDefinitionDisplayNames); + int[] measurementDefinitionIds, List<String> measurementDefinitionDisplayNames);
public void updateSchedules(AbstractMeasurementScheduleListView measurementScheduleListView, long interval) { int[] ids = getMeasurementDefinitionIds(measurementScheduleListView); @@ -196,13 +200,15 @@ public abstract class AbstractMeasurementScheduleCompositeDataSource extends RPC int[] measurementDefinitionIds = new int[records.length]; for (int i = 0, selectionLength = records.length; i < selectionLength; i++) { ListGridRecord record = records[i]; - Integer measurementDefinitionId = record.getAttributeAsInt(MeasurementScheduleCriteria.SORT_FIELD_DEFINITION_ID); + Integer measurementDefinitionId = record + .getAttributeAsInt(MeasurementScheduleCriteria.SORT_FIELD_DEFINITION_ID); measurementDefinitionIds[i] = measurementDefinitionId; } return measurementDefinitionIds; }
- private List<String> getMeasurementDefinitionDisplayNames(AbstractMeasurementScheduleListView measurementScheduleListView) { + private List<String> getMeasurementDefinitionDisplayNames( + AbstractMeasurementScheduleListView measurementScheduleListView) { ListGrid listGrid = measurementScheduleListView.getListGrid(); ListGridRecord[] records = listGrid.getSelection(); List<String> displayNames = new ArrayList<String>(records.length); @@ -214,5 +220,5 @@ public abstract class AbstractMeasurementScheduleCompositeDataSource extends RPC }
protected abstract void updateSchedules(final AbstractMeasurementScheduleListView measurementScheduleListView, - final int[] measurementDefinitionIds, List<String> measurementDefinitionDisplayNames, final long interval); + final int[] measurementDefinitionIds, List<String> measurementDefinitionDisplayNames, final long interval); } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/event/EventCompositeDatasource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/event/EventCompositeDatasource.java index 40dc105..03d6575 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/event/EventCompositeDatasource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/event/EventCompositeDatasource.java @@ -22,11 +22,14 @@ */ package org.rhq.enterprise.gui.coregui.client.inventory.common.event;
+import java.util.List; import java.util.Map;
import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; +import com.smartgwt.client.data.fields.DataSourceIntegerField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.rpc.RPCResponse; import com.smartgwt.client.types.FieldType; @@ -54,23 +57,32 @@ public class EventCompositeDatasource extends RPCDataSource<EventComposite> { public EventCompositeDatasource(EntityContext context) { super(); this.entityContext = context; + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
- // DataSourceField id = new DataSourceIntegerField("id", "Id"); - // id.setPrimaryKey(true); - // addField(id); + DataSourceField id = new DataSourceIntegerField("id", "Id"); + id.setPrimaryKey(true); + fields.add(id);
DataSourceTextField timestamp = new DataSourceTextField("timestamp", "Timestamp"); timestamp.setType(FieldType.DATETIME); - addField(timestamp); + fields.add(timestamp);
DataSourceTextField severity = new DataSourceTextField("severity", "Severity"); - addField(severity); + fields.add(severity);
DataSourceTextField details = new HighlightingDatasourceTextField("details", "Details"); - addField(details); + fields.add(details);
DataSourceTextField sourceLocation = new DataSourceTextField("source", "Source Location"); - addField(sourceLocation); + fields.add(sourceLocation); + + return fields; }
@Override diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/event/EventCompositeHistoryView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/event/EventCompositeHistoryView.java index 4bdfdd4..4ddfa54 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/event/EventCompositeHistoryView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/event/EventCompositeHistoryView.java @@ -120,7 +120,7 @@ public class EventCompositeHistoryView extends TableSection { } });
- grid.setFields(timestampField, severityField, detailsField, sourceField); + setListGridFields(timestampField, severityField, detailsField, sourceField);
/* grid.getField("timestamp").setWidth(125); diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/ResourceGroupCompositeDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/ResourceGroupCompositeDataSource.java index 0da1963..6fd1d01 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/ResourceGroupCompositeDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/ResourceGroupCompositeDataSource.java @@ -21,9 +21,12 @@ package org.rhq.enterprise.gui.coregui.client.inventory.groups; import static org.rhq.enterprise.gui.coregui.client.inventory.groups.ResourceGroupDataSourceField.CATEGORY; import static org.rhq.enterprise.gui.coregui.client.inventory.groups.ResourceGroupDataSourceField.NAME;
+import java.util.List; + import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.rpc.RPCResponse; import com.smartgwt.client.widgets.grid.ListGridRecord; @@ -57,18 +60,32 @@ public class ResourceGroupCompositeDataSource extends RPCDataSource<ResourceGrou
public ResourceGroupCompositeDataSource() { super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
DataSourceTextField nameDataField = new DataSourceTextField("name", "Name", 200); nameDataField.setCanEdit(false); + fields.add(nameDataField);
DataSourceTextField descriptionDataField = new DataSourceTextField("description", "Description"); descriptionDataField.setCanEdit(false); + fields.add(descriptionDataField);
DataSourceTextField typeNameDataField = new DataSourceTextField("typeName", "Type"); + fields.add(typeNameDataField); + DataSourceTextField pluginNameDataField = new DataSourceTextField("pluginName", "Plugin"); + fields.add(pluginNameDataField); + DataSourceTextField categoryDataField = new DataSourceTextField("category", "Category"); + fields.add(categoryDataField);
- setFields(nameDataField, descriptionDataField, typeNameDataField, pluginNameDataField, categoryDataField); + return fields; }
public void executeFetch(final DSRequest request, final DSResponse response) { diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/ResourceGroupsDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/ResourceGroupsDataSource.java index 2a02c99..190baf7 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/ResourceGroupsDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/ResourceGroupsDataSource.java @@ -21,6 +21,8 @@ package org.rhq.enterprise.gui.coregui.client.inventory.groups; import static org.rhq.enterprise.gui.coregui.client.inventory.groups.ResourceGroupDataSourceField.CATEGORY; import static org.rhq.enterprise.gui.coregui.client.inventory.groups.ResourceGroupDataSourceField.NAME;
+import java.util.List; + import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; @@ -58,22 +60,36 @@ public class ResourceGroupsDataSource extends RPCDataSource<ResourceGroup> {
public ResourceGroupsDataSource() { super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
DataSourceField idDataField = new DataSourceIntegerField("id", "ID", 20); idDataField.setPrimaryKey(true); + fields.add(idDataField);
DataSourceTextField nameDataField = new DataSourceTextField("name", "Name", 200); nameDataField.setCanEdit(false); + fields.add(nameDataField);
DataSourceTextField descriptionDataField = new DataSourceTextField("description", "Description"); descriptionDataField.setCanEdit(false); + fields.add(descriptionDataField);
DataSourceTextField typeNameDataField = new DataSourceTextField("typeName", "Type"); + fields.add(typeNameDataField); + DataSourceTextField pluginNameDataField = new DataSourceTextField("pluginName", "Plugin"); + fields.add(pluginNameDataField); + DataSourceTextField categoryDataField = new DataSourceTextField("category", "Category"); + fields.add(categoryDataField);
- setFields(idDataField, nameDataField, descriptionDataField, typeNameDataField, pluginNameDataField, - categoryDataField); + return fields; }
public void executeFetch(final DSRequest request, final DSResponse response) { diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/definitions/GroupDefinitionDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/definitions/GroupDefinitionDataSource.java index f4da478..e9824e9 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/definitions/GroupDefinitionDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/definitions/GroupDefinitionDataSource.java @@ -19,6 +19,7 @@ package org.rhq.enterprise.gui.coregui.client.inventory.groups.definitions;
import java.util.HashMap; +import java.util.List; import java.util.Map;
import com.google.gwt.core.client.JavaScriptObject; @@ -59,31 +60,39 @@ public class GroupDefinitionDataSource extends RPCDataSource<GroupDefinition> {
private GroupDefinitionDataSource() { super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
DataSourceField idField = new DataSourceIntegerField("id", "ID"); idField.setPrimaryKey(true); idField.setCanEdit(false); + fields.add(idField);
DataSourceTextField nameField = new DataSourceTextField("name", "Name"); nameField.setRequired(true); + fields.add(nameField);
DataSourceTextField descriptionField = new DataSourceTextField("description", "Description"); + fields.add(descriptionField);
DataSourceTextField expressionField = new DataSourceTextField("expression", "Expression Set"); expressionField.setRequired(true); + fields.add(expressionField);
DataSourceIntegerField lastCalculationTimeIntervalField = new DataSourceIntegerField("lastCalculationTime", "Recalculation Interval"); + fields.add(lastCalculationTimeIntervalField);
DataSourceIntegerField nextCalculationTimeField = new DataSourceIntegerField("nextCalculationTime", "Next Calculation Time"); + fields.add(nextCalculationTimeField);
- addField(idField); - addField(nameField); - addField(descriptionField); - addField(expressionField); - addField(lastCalculationTimeIntervalField); - addField(nextCalculationTimeField); + return fields; }
@Override diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/ResourceGroupTreeView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/ResourceGroupTreeView.java index 481354b..fc08133 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/ResourceGroupTreeView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/ResourceGroupTreeView.java @@ -59,8 +59,8 @@ import org.rhq.enterprise.gui.coregui.client.components.tree.EnhancedTreeNode; import org.rhq.enterprise.gui.coregui.client.gwt.GWTServiceLookup; import org.rhq.enterprise.gui.coregui.client.inventory.resource.type.ResourceTypeRepository; import org.rhq.enterprise.gui.coregui.client.util.StringUtility; -import org.rhq.enterprise.gui.coregui.client.util.TreeUtility; import org.rhq.enterprise.gui.coregui.client.util.selenium.LocatableVLayout; +import org.rhq.enterprise.gui.coregui.client.util.selenium.SeleniumUtility;
/** * @author Greg Hinkle @@ -270,7 +270,7 @@ public class ResourceGroupTreeView extends LocatableVLayout implements Bookmarka
ClusterKey rootKey = new ClusterKey(root.getGroupId()); loadTree(rootNode, root, rootKey); - + Tree tree = new Tree();
tree.setRoot(fakeRoot); @@ -347,26 +347,27 @@ public class ResourceGroupTreeView extends LocatableVLayout implements Bookmarka }
if (lastSubcategoryNode != null) { - List<TreeNode> currentSubcategoryChildren = subCategoryChildrenByName.get(currentSubcategoryNode.getName()); + List<TreeNode> currentSubcategoryChildren = subCategoryChildrenByName + .get(currentSubcategoryNode.getName()); currentSubcategoryChildren.add(lastSubcategoryNode); } lastSubcategoryNode = currentSubcategoryNode; - } while (currentSubcategoryNodeCreated && - (currentSubCategory = currentSubCategory.getParentSubCategory()) != null); + } while (currentSubcategoryNodeCreated + && (currentSubCategory = currentSubCategory.getParentSubCategory()) != null);
List<TreeNode> subcategoryChildren = subCategoryChildrenByName.get(subcategory.getName()); subcategoryChildren.addAll(nodesByType); - } else { + } else { childNodes.addAll(nodesByType); } } - + for (String subcategoryName : subCategoryNodesByName.keySet()) { TreeNode subcategoryNode = subCategoryNodesByName.get(subcategoryName); List<TreeNode> subcategoryChildren = subCategoryChildrenByName.get(subcategoryName); subcategoryNode.setChildren(subcategoryChildren.toArray(new TreeNode[subcategoryChildren.size()])); } - + parentNode.setChildren(childNodes.toArray(new TreeNode[childNodes.size()])); } } @@ -377,7 +378,7 @@ public class ResourceGroupTreeView extends LocatableVLayout implements Bookmarka ClusterKeyFlyweight keyFlyweight = child.getClusterKey(); ClusterKey key = new ClusterKey(parentKey, keyFlyweight.getResourceTypeId(), keyFlyweight.getResourceKey()); String id = key.getKey(); - node.setID(id); + node.setID(SeleniumUtility.getSafeId(id)); node.setAttribute("key", key); node.setAttribute("resourceType", type); node.setIsFolder(!child.getChildren().isEmpty()); diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/monitoring/schedules/SchedulesDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/monitoring/schedules/SchedulesDataSource.java index 158448b..79a9b2a 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/monitoring/schedules/SchedulesDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/monitoring/schedules/SchedulesDataSource.java @@ -18,6 +18,8 @@ */ package org.rhq.enterprise.gui.coregui.client.inventory.groups.detail.monitoring.schedules;
+import java.util.List; + import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.Criteria; import com.smartgwt.client.data.DSRequest; @@ -36,8 +38,6 @@ import org.rhq.enterprise.gui.coregui.client.inventory.common.AbstractMeasuremen import org.rhq.enterprise.gui.coregui.client.inventory.common.AbstractMeasurementScheduleListView; import org.rhq.enterprise.gui.coregui.client.util.message.Message;
-import java.util.List; - /** * A DataSource for reading and updating the metric schedules for the current group. * @@ -52,12 +52,14 @@ public class SchedulesDataSource extends AbstractMeasurementScheduleCompositeDat }
@Override - protected List<DataSourceField> createFields() { - List<DataSourceField> fields = super.createFields(); - DataSourceField resourceGroupIdField = new DataSourceIntegerField(MeasurementScheduleCriteria.FILTER_FIELD_RESOURCE_GROUP_ID, - "Resource Group Id"); + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields(); + + DataSourceField resourceGroupIdField = new DataSourceIntegerField( + MeasurementScheduleCriteria.FILTER_FIELD_RESOURCE_GROUP_ID, "Resource Group Id"); resourceGroupIdField.setHidden(true); fields.add(resourceGroupIdField); + return fields; }
@@ -83,73 +85,76 @@ public class SchedulesDataSource extends AbstractMeasurementScheduleCompositeDat
@Override protected void enableSchedules(AbstractMeasurementScheduleListView measurementScheduleListView, - final int[] measurementDefinitionIds, final List<String> measurementDefinitionDisplayNames) { + final int[] measurementDefinitionIds, final List<String> measurementDefinitionDisplayNames) { final String s = (measurementDefinitionIds.length > 1) ? "s" : ""; this.measurementService.enableSchedulesForCompatibleGroup(this.resourceGroupId, measurementDefinitionIds, - new AsyncCallback<Void>() { - @Override - public void onFailure(Throwable throwable) { - CoreGUI.getErrorHandler().handleError("Failed to enable collection of metric" + s + " " - + measurementDefinitionDisplayNames + " for Resource group with id [" + resourceGroupId + "].", - throwable); - } - - @Override - public void onSuccess(Void aVoid) { - CoreGUI.getMessageCenter().notify(new Message("Enabled collection of selected metric" + s + ".", - "Enabled collection of metric" + s + " " - + measurementDefinitionDisplayNames + " for Resource group with id [" + resourceGroupId + - "].", Message.Severity.Info)); - - } - }); + new AsyncCallback<Void>() { + @Override + public void onFailure(Throwable throwable) { + CoreGUI.getErrorHandler().handleError( + "Failed to enable collection of metric" + s + " " + measurementDefinitionDisplayNames + + " for Resource group with id [" + resourceGroupId + "].", throwable); + } + + @Override + public void onSuccess(Void aVoid) { + CoreGUI.getMessageCenter().notify( + new Message("Enabled collection of selected metric" + s + ".", "Enabled collection of metric" + + s + " " + measurementDefinitionDisplayNames + " for Resource group with id [" + + resourceGroupId + "].", Message.Severity.Info)); + + } + }); }
@Override - protected void disableSchedules(AbstractMeasurementScheduleListView measurementScheduleListView, int[] measurementDefinitionIds, final List<String> measurementDefinitionDisplayNames) { + protected void disableSchedules(AbstractMeasurementScheduleListView measurementScheduleListView, + int[] measurementDefinitionIds, final List<String> measurementDefinitionDisplayNames) { final String s = (measurementDefinitionIds.length > 1) ? "s" : ""; this.measurementService.disableSchedulesForCompatibleGroup(this.resourceGroupId, measurementDefinitionIds, - new AsyncCallback<Void>() { - @Override - public void onFailure(Throwable throwable) { - CoreGUI.getErrorHandler().handleError("Failed to disable collection of metric" + s + " " - + measurementDefinitionDisplayNames + " for Resource group with id [" + resourceGroupId + "].", - throwable); - } - - @Override - public void onSuccess(Void aVoid) { - CoreGUI.getMessageCenter().notify(new Message("Disabled collection of selected metric" + s + ".", - "Disabled collection of metric" + s + " " - + measurementDefinitionDisplayNames + " for Resource group with id [" + resourceGroupId + - "].", Message.Severity.Info)); - - } - }); + new AsyncCallback<Void>() { + @Override + public void onFailure(Throwable throwable) { + CoreGUI.getErrorHandler().handleError( + "Failed to disable collection of metric" + s + " " + measurementDefinitionDisplayNames + + " for Resource group with id [" + resourceGroupId + "].", throwable); + } + + @Override + public void onSuccess(Void aVoid) { + CoreGUI.getMessageCenter().notify( + new Message("Disabled collection of selected metric" + s + ".", "Disabled collection of metric" + + s + " " + measurementDefinitionDisplayNames + " for Resource group with id [" + + resourceGroupId + "].", Message.Severity.Info)); + + } + }); }
@Override protected void updateSchedules(AbstractMeasurementScheduleListView measurementScheduleListView, - int[] measurementDefinitionIds, final List<String> measurementDefinitionDisplayNames, final long collectionInterval) { + int[] measurementDefinitionIds, final List<String> measurementDefinitionDisplayNames, + final long collectionInterval) { final String s = (measurementDefinitionIds.length > 1) ? "s" : ""; - this.measurementService.updateSchedulesForCompatibleGroup(this.resourceGroupId, measurementDefinitionIds, collectionInterval, - new AsyncCallback<Void>() { - @Override - public void onFailure(Throwable throwable) { - CoreGUI.getErrorHandler().handleError("Failed to set collection interval to " + (collectionInterval / 1000) - + " seconds for metric" + s + " " + measurementDefinitionDisplayNames + " for Resource group with id [" - + resourceGroupId + "].", - throwable); - } - - @Override - public void onSuccess(Void aVoid) { - CoreGUI.getMessageCenter().notify(new Message("Updated collection intervals of selected metric" + s + ".", - "Collection interval for metric" + s + " " - + measurementDefinitionDisplayNames + " for Resource group with id [" + resourceGroupId + - "] set to " + (collectionInterval / 1000) + " seconds.", Message.Severity.Info)); - - } - }); + this.measurementService.updateSchedulesForCompatibleGroup(this.resourceGroupId, measurementDefinitionIds, + collectionInterval, new AsyncCallback<Void>() { + @Override + public void onFailure(Throwable throwable) { + CoreGUI.getErrorHandler().handleError( + "Failed to set collection interval to " + (collectionInterval / 1000) + " seconds for metric" + + s + " " + measurementDefinitionDisplayNames + " for Resource group with id [" + + resourceGroupId + "].", throwable); + } + + @Override + public void onSuccess(Void aVoid) { + CoreGUI.getMessageCenter().notify( + new Message("Updated collection intervals of selected metric" + s + ".", + "Collection interval for metric" + s + " " + measurementDefinitionDisplayNames + + " for Resource group with id [" + resourceGroupId + "] set to " + + (collectionInterval / 1000) + " seconds.", Message.Severity.Info)); + + } + }); } } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/monitoring/traits/TraitsDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/monitoring/traits/TraitsDataSource.java index 4be1f22..3321237 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/monitoring/traits/TraitsDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/monitoring/traits/TraitsDataSource.java @@ -18,16 +18,17 @@ */ package org.rhq.enterprise.gui.coregui.client.inventory.groups.detail.monitoring.traits;
+import java.util.List; + import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceIntegerField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.widgets.grid.ListGridRecord; + import org.rhq.core.domain.criteria.MeasurementDataTraitCriteria; import org.rhq.core.domain.measurement.MeasurementDataTrait; import org.rhq.enterprise.gui.coregui.client.inventory.common.AbstractMeasurementDataTraitDataSource;
-import java.util.List; - /** * A DataSource for reading traits for the current group. * @@ -41,16 +42,16 @@ public class TraitsDataSource extends AbstractMeasurementDataTraitDataSource { }
@Override - protected List<DataSourceField> createFields() { - List<DataSourceField> fields = super.createFields(); + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
- DataSourceIntegerField groupIdField = - new DataSourceIntegerField(MeasurementDataTraitCriteria.FILTER_FIELD_GROUP_ID, "Group Id"); + DataSourceIntegerField groupIdField = new DataSourceIntegerField( + MeasurementDataTraitCriteria.FILTER_FIELD_GROUP_ID, "Group Id"); groupIdField.setHidden(true); fields.add(0, groupIdField);
- DataSourceTextField resourceNameField = - new DataSourceTextField(MeasurementDataTraitCriteria.SORT_FIELD_RESOURCE_NAME, "Member Resource"); + DataSourceTextField resourceNameField = new DataSourceTextField( + MeasurementDataTraitCriteria.SORT_FIELD_RESOURCE_NAME, "Member Resource"); fields.add(0, resourceNameField);
return fields; @@ -62,8 +63,8 @@ public class TraitsDataSource extends AbstractMeasurementDataTraitDataSource {
record.setAttribute(MeasurementDataTraitCriteria.FILTER_FIELD_GROUP_ID, this.groupId);
- record.setAttribute(MeasurementDataTraitCriteria.SORT_FIELD_RESOURCE_NAME, - from.getSchedule().getResource().getName()); + record.setAttribute(MeasurementDataTraitCriteria.SORT_FIELD_RESOURCE_NAME, from.getSchedule().getResource() + .getName());
return record; } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceDatasource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceDatasource.java index 766df27..2b3a4c2 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceDatasource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceDatasource.java @@ -25,6 +25,8 @@ import static org.rhq.enterprise.gui.coregui.client.inventory.resource.ResourceD import static org.rhq.enterprise.gui.coregui.client.inventory.resource.ResourceDataSourceField.PLUGIN; import static org.rhq.enterprise.gui.coregui.client.inventory.resource.ResourceDataSourceField.TYPE;
+import java.util.List; + import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; @@ -54,31 +56,53 @@ public class ResourceDatasource extends RPCDataSource<Resource> {
public ResourceDatasource() { super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
- DataSourceField idDataField = new DataSourceIntegerField("id", "ID", 20); + DataSourceField idDataField = new DataSourceIntegerField("id", "ID", 50); idDataField.setPrimaryKey(true); + idDataField.setCanEdit(false); + fields.add(idDataField);
DataSourceImageField iconField = new DataSourceImageField("icon", ""); iconField.setImageURLPrefix("types/"); + fields.add(iconField);
DataSourceTextField nameDataField = new DataSourceTextField(NAME.propertyName(), NAME.title(), 200); nameDataField.setCanEdit(false); + fields.add(nameDataField);
DataSourceTextField descriptionDataField = new DataSourceTextField(DESCRIPTION.propertyName(), DESCRIPTION .title()); descriptionDataField.setCanEdit(false); + fields.add(descriptionDataField);
DataSourceTextField typeNameDataField = new DataSourceTextField(TYPE.propertyName(), TYPE.title()); + fields.add(typeNameDataField); + DataSourceTextField pluginNameDataField = new DataSourceTextField(PLUGIN.propertyName(), PLUGIN.title()); + fields.add(pluginNameDataField); + DataSourceTextField categoryDataField = new DataSourceTextField(CATEGORY.propertyName(), CATEGORY.title()); + fields.add(categoryDataField);
DataSourceImageField availabilityDataField = new DataSourceImageField(AVAILABILITY.propertyName(), AVAILABILITY .title(), 20); - availabilityDataField.setCanEdit(false); + fields.add(availabilityDataField); + + return fields; + } + + @Override + public void useDatasourceDefinedFields() { + // TODO Auto-generated method stub
- setFields(idDataField, iconField, nameDataField, descriptionDataField, typeNameDataField, pluginNameDataField, - categoryDataField, availabilityDataField); }
public void executeFetch(final DSRequest request, final DSResponse response) { diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceSearchView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceSearchView.java index 15bf220..82595af 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceSearchView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceSearchView.java @@ -18,13 +18,6 @@ */ package org.rhq.enterprise.gui.coregui.client.inventory.resource;
-import static org.rhq.enterprise.gui.coregui.client.inventory.resource.ResourceDataSourceField.AVAILABILITY; -import static org.rhq.enterprise.gui.coregui.client.inventory.resource.ResourceDataSourceField.CATEGORY; -import static org.rhq.enterprise.gui.coregui.client.inventory.resource.ResourceDataSourceField.DESCRIPTION; -import static org.rhq.enterprise.gui.coregui.client.inventory.resource.ResourceDataSourceField.NAME; -import static org.rhq.enterprise.gui.coregui.client.inventory.resource.ResourceDataSourceField.PLUGIN; -import static org.rhq.enterprise.gui.coregui.client.inventory.resource.ResourceDataSourceField.TYPE; - import java.util.ArrayList; import java.util.List;
@@ -96,18 +89,18 @@ public class ResourceSearchView extends Table { // searchPanel.setFields(searchBox);
final ResourceDatasource datasource = new ResourceDatasource(); - // setTitleComponent(searchPanel); setDataSource(datasource); - }
@Override protected void configureTable() { - ListGridField idField = new ListGridField("id", "Id", 55); - idField.setType(ListGridFieldType.INTEGER); - //idField.setHidden(true); - ListGridField iconField = new ListGridField("icon", "", 40); - ListGridField nameField = new ListGridField(NAME.propertyName(), NAME.title(), 250); + + ListGridField iconField = new ListGridField("icon", "Icon", 40); + iconField.setType(ListGridFieldType.IMAGE); + iconField.setImageURLPrefix("types/"); + + ListGridField nameField = new ListGridField(ResourceDataSourceField.NAME.propertyName(), + ResourceDataSourceField.NAME.title(), 250); nameField.setCellFormatter(new CellFormatter() { public String format(Object o, ListGridRecord listGridRecord, int i, int i1) { return "<a href="" + LinkManager.getResourceLink(listGridRecord.getAttributeAsInt("id")) + "">" + o @@ -115,15 +108,25 @@ public class ResourceSearchView extends Table { } });
- ListGridField descriptionField = new ListGridField(DESCRIPTION.propertyName(), DESCRIPTION.title()); - ListGridField typeNameField = new ListGridField(TYPE.propertyName(), TYPE.title(), 130); - ListGridField pluginNameField = new ListGridField(PLUGIN.propertyName(), PLUGIN.title(), 100); - ListGridField categoryField = new ListGridField(CATEGORY.propertyName(), CATEGORY.title(), 60); + ListGridField descriptionField = new ListGridField(ResourceDataSourceField.DESCRIPTION.propertyName(), + ResourceDataSourceField.DESCRIPTION.title());
- ListGridField availabilityField = new ListGridField(AVAILABILITY.propertyName(), AVAILABILITY.title(), 55); + ListGridField typeNameField = new ListGridField(ResourceDataSourceField.TYPE.propertyName(), + ResourceDataSourceField.TYPE.title(), 130); + + ListGridField pluginNameField = new ListGridField(ResourceDataSourceField.PLUGIN.propertyName(), + ResourceDataSourceField.PLUGIN.title(), 100); + + ListGridField categoryField = new ListGridField(ResourceDataSourceField.CATEGORY.propertyName(), + ResourceDataSourceField.CATEGORY.title(), 60); + + ListGridField availabilityField = new ListGridField(ResourceDataSourceField.AVAILABILITY.propertyName(), + ResourceDataSourceField.AVAILABILITY.title(), 55); + availabilityField.setType(ListGridFieldType.IMAGE); availabilityField.setAlign(Alignment.CENTER); - getListGrid().setFields(idField, iconField, nameField, descriptionField, typeNameField, pluginNameField, - categoryField, availabilityField); + + setListGridFields(iconField, nameField, descriptionField, typeNameField, pluginNameField, categoryField, + availabilityField);
addTableAction(extendLocatorId("Uninventory"), "Uninventory", Table.SelectionEnablement.ANY, "Are you sure you want to uninventory # resources?", new TableAction() { diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/configuration/ConfigurationHistoryDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/configuration/ConfigurationHistoryDataSource.java index f8387c9..e777bc9 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/configuration/ConfigurationHistoryDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/configuration/ConfigurationHistoryDataSource.java @@ -19,10 +19,12 @@ package org.rhq.enterprise.gui.coregui.client.inventory.resource.detail.configuration;
import java.util.Date; +import java.util.List;
import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceIntegerField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.types.FieldType; @@ -45,25 +47,32 @@ public class ConfigurationHistoryDataSource extends RPCDataSource<ResourceConfig
public ConfigurationHistoryDataSource() { super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
DataSourceIntegerField idField = new DataSourceIntegerField("id"); idField.setPrimaryKey(true); - addField(idField); + fields.add(idField);
DataSourceTextField resourceField = new DataSourceTextField("resource", "Resource"); - addField(resourceField); + fields.add(resourceField);
DataSourceTextField submittedField = new DataSourceTextField("createdTime", "Created"); submittedField.setType(FieldType.DATETIME); - addField(submittedField); + fields.add(submittedField);
DataSourceTextField statusField = new DataSourceTextField("status", "Status"); - addField(statusField); + fields.add(statusField);
DataSourceTextField subjectField = new DataSourceTextField("subject", "Subject"); - addField(subjectField); - + fields.add(subjectField);
+ return fields; }
@Override @@ -75,31 +84,30 @@ public class ConfigurationHistoryDataSource extends RPCDataSource<ResourceConfig
criteria.setPageControl(getPageControl(request));
- Integer resourceId = (Integer)request.getCriteria().getValues().get("resourceId"); + Integer resourceId = (Integer) request.getCriteria().getValues().get("resourceId"); if (resourceId != null) { criteria.addFilterResourceIds(resourceId); }
configurationService.findResourceConfigurationUpdatesByCriteria(criteria, - new AsyncCallback<PageList<ResourceConfigurationUpdate>>() { - public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError("Unable to load configuration history", caught); - response.setStatus(DSResponse.STATUS_FAILURE); - processResponse(request.getRequestId(), response); - } - - public void onSuccess(PageList<ResourceConfigurationUpdate> result) { - response.setData(buildRecords(result)); - response.setTotalRows(result.getTotalSize()); - processResponse(request.getRequestId(), response); - } - }); + new AsyncCallback<PageList<ResourceConfigurationUpdate>>() { + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError("Unable to load configuration history", caught); + response.setStatus(DSResponse.STATUS_FAILURE); + processResponse(request.getRequestId(), response); + } + + public void onSuccess(PageList<ResourceConfigurationUpdate> result) { + response.setData(buildRecords(result)); + response.setTotalRows(result.getTotalSize()); + processResponse(request.getRequestId(), response); + } + }); }
- @Override public ResourceConfigurationUpdate copyValues(ListGridRecord from) { - return null; // TODO: Implement this method. + return null; // TODO: Implement this method. }
@Override diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/monitoring/ResourceScheduledMetricDatasource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/monitoring/ResourceScheduledMetricDatasource.java index f412d7b..0361f65 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/monitoring/ResourceScheduledMetricDatasource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/monitoring/ResourceScheduledMetricDatasource.java @@ -22,12 +22,12 @@ */ package org.rhq.enterprise.gui.coregui.client.inventory.resource.detail.monitoring;
-import java.util.Collection; +import java.util.List;
import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; -import com.smartgwt.client.data.Record; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceIntegerField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.widgets.grid.ListGridRecord; @@ -40,7 +40,6 @@ import org.rhq.core.domain.measurement.MeasurementSchedule; import org.rhq.core.domain.util.PageList; import org.rhq.enterprise.gui.coregui.client.CoreGUI; import org.rhq.enterprise.gui.coregui.client.gwt.GWTServiceLookup; -import org.rhq.enterprise.gui.coregui.client.inventory.resource.type.ResourceTypeRepository; import org.rhq.enterprise.gui.coregui.client.util.RPCDataSource;
/** @@ -48,54 +47,58 @@ import org.rhq.enterprise.gui.coregui.client.util.RPCDataSource; */ public class ResourceScheduledMetricDatasource extends RPCDataSource<MeasurementDefinition> {
- public ResourceScheduledMetricDatasource() { + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
DataSourceIntegerField id = new DataSourceIntegerField("id"); id.setPrimaryKey(true); - addField(id); + fields.add(id);
DataSourceTextField name = new DataSourceTextField("name"); - addField(name); + fields.add(name);
DataSourceTextField displayName = new DataSourceTextField("displayName"); - addField(displayName); + fields.add(displayName);
DataSourceTextField description = new DataSourceTextField("description"); - addField(description); + fields.add(description);
DataSourceTextField units = new DataSourceTextField("units"); - addField(units); + fields.add(units);
DataSourceTextField numericType = new DataSourceTextField("numericType"); - addField(numericType); + fields.add(numericType);
DataSourceTextField category = new DataSourceTextField("category"); - addField(category); + fields.add(category); + + return fields; }
@Override protected void executeFetch(final DSRequest request, final DSResponse response) {
- - - if (request.getCriteria().getValues().containsKey("id")) { MeasurementDefinitionCriteria criteria = new MeasurementDefinitionCriteria();
criteria.addFilterId(request.getCriteria().getAttributeAsInt("id")); GWTServiceLookup.getMeasurementDataService().findMeasurementDefinitionsByCriteria(criteria, - new AsyncCallback<PageList<MeasurementDefinition>>() { - public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError("Failed to load metric definitions",caught); - } - - public void onSuccess(PageList<MeasurementDefinition> result) { - response.setData(buildRecords(result)); - processResponse(request.getRequestId(), response); - } - }); + new AsyncCallback<PageList<MeasurementDefinition>>() { + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError("Failed to load metric definitions", caught); + }
+ public void onSuccess(PageList<MeasurementDefinition> result) { + response.setData(buildRecords(result)); + processResponse(request.getRequestId(), response); + } + });
} else if (request.getCriteria().getValues().containsKey("resourceId")) { MeasurementScheduleCriteria criteria = new MeasurementScheduleCriteria(); @@ -103,17 +106,17 @@ public class ResourceScheduledMetricDatasource extends RPCDataSource<Measurement
criteria.addFilterResourceId(request.getCriteria().getAttributeAsInt("resourceId"));
- - GWTServiceLookup.getMeasurementDataService().findMeasurementSchedulesByCriteria(criteria, new AsyncCallback<PageList<MeasurementSchedule>>() { - public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError("Failed to load metric schedules", caught); - } - - public void onSuccess(PageList<MeasurementSchedule> result) { - response.setData(buildRecords(result)); - processResponse(request.getRequestId(), response); - } - }); + GWTServiceLookup.getMeasurementDataService().findMeasurementSchedulesByCriteria(criteria, + new AsyncCallback<PageList<MeasurementSchedule>>() { + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError("Failed to load metric schedules", caught); + } + + public void onSuccess(PageList<MeasurementSchedule> result) { + response.setData(buildRecords(result)); + processResponse(request.getRequestId(), response); + } + }); } else { processResponse(request.getRequestId(), response); } @@ -131,10 +134,9 @@ public class ResourceScheduledMetricDatasource extends RPCDataSource<Measurement return buildRecords(definitions); }
- @Override public MeasurementDefinition copyValues(ListGridRecord from) { - return null; // TODO: Implement this method. + return null; // TODO: Implement this method. }
@Override diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/monitoring/calltime/CallTimeDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/monitoring/calltime/CallTimeDataSource.java index 5efbcca..843e2af 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/monitoring/calltime/CallTimeDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/monitoring/calltime/CallTimeDataSource.java @@ -18,9 +18,12 @@ */ package org.rhq.enterprise.gui.coregui.client.inventory.resource.detail.monitoring.calltime;
+import java.util.List; + import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceIntegerField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.widgets.HTMLFlow; @@ -41,20 +44,28 @@ public class CallTimeDataSource extends RPCDataSource<CallTimeDataComposite> { private double maxMaximum;
public CallTimeDataSource() { + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
DataSourceTextField callDestination = new DataSourceTextField("callDestination", "Call Destination"); - addField(callDestination); + fields.add(callDestination); DataSourceIntegerField count = new DataSourceIntegerField("count"); - addField(count); + fields.add(count); DataSourceIntegerField minimum = new DataSourceIntegerField("minimum"); - addField(minimum); + fields.add(minimum); DataSourceIntegerField average = new DataSourceIntegerField("average"); - addField(average); + fields.add(average); DataSourceIntegerField maximum = new DataSourceIntegerField("maximum"); - addField(maximum); + fields.add(maximum); DataSourceIntegerField total = new DataSourceIntegerField("total"); - addField(total); + fields.add(total);
+ return fields; }
@Override @@ -66,21 +77,20 @@ public class CallTimeDataSource extends RPCDataSource<CallTimeDataComposite> {
PageControl pc = getPageControl(request);
- GWTServiceLookup.getMeasurementDataService().findCallTimeDataForResource( - scheduleId, eightHoursAgo, now, pc, new AsyncCallback<PageList<CallTimeDataComposite>>() { - public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError("Could not load call time data", caught); - } + GWTServiceLookup.getMeasurementDataService().findCallTimeDataForResource(scheduleId, eightHoursAgo, now, pc, + new AsyncCallback<PageList<CallTimeDataComposite>>() { + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError("Could not load call time data", caught); + }
- public void onSuccess(PageList<CallTimeDataComposite> result) { - ListGridRecord[] data = buildRecords(result); - setGraphs(data); - response.setData(data); + public void onSuccess(PageList<CallTimeDataComposite> result) { + ListGridRecord[] data = buildRecords(result); + setGraphs(data); + response.setData(data);
- processResponse(request.getRequestId(), response); - } + processResponse(request.getRequestId(), response); } - ); + }); }
@Override @@ -100,13 +110,10 @@ public class CallTimeDataSource extends RPCDataSource<CallTimeDataComposite> { int avgWidth = (int) ((record.getAttributeAsInt("average") / maxMaximum) * 100d); int maxWidth = (int) ((record.getAttributeAsInt("maximum") / maxMaximum) * 100d);
- - - record.setBackgroundComponent( - new HTMLFlow( - "<div style="width: " + minWidth + "%; height: 33%; background-color: #A5B391;"> </div>" + - "<div style="width: " + avgWidth + "%; height: 33%; background-color: #A5B391;"> </div>" + - "<div style="width: " + maxWidth + "%; height: 33%; background-color: #A5B391;"> </div>")); + record.setBackgroundComponent(new HTMLFlow("<div style="width: " + minWidth + + "%; height: 33%; background-color: #A5B391;"> </div>" + "<div style="width: " + avgWidth + + "%; height: 33%; background-color: #A5B391;"> </div>" + "<div style="width: " + maxWidth + + "%; height: 33%; background-color: #A5B391;"> </div>"));
}
@@ -124,7 +131,6 @@ public class CallTimeDataSource extends RPCDataSource<CallTimeDataComposite> { record.setAttribute("maximum", from.getMaximum()); record.setAttribute("total", from.getTotal());
- return record; } } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/monitoring/schedules/SchedulesDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/monitoring/schedules/SchedulesDataSource.java index 21fe764..ac7c8dd 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/monitoring/schedules/SchedulesDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/monitoring/schedules/SchedulesDataSource.java @@ -18,6 +18,8 @@ */ package org.rhq.enterprise.gui.coregui.client.inventory.resource.detail.monitoring.schedules;
+import java.util.List; + import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.Criteria; import com.smartgwt.client.data.DSRequest; @@ -35,8 +37,6 @@ import org.rhq.enterprise.gui.coregui.client.inventory.common.AbstractMeasuremen import org.rhq.enterprise.gui.coregui.client.inventory.common.AbstractMeasurementScheduleListView; import org.rhq.enterprise.gui.coregui.client.util.message.Message;
-import java.util.List; - /** * A DataSource for reading and updating the metric schedules for the current Resource. * @@ -51,12 +51,14 @@ public class SchedulesDataSource extends AbstractMeasurementScheduleCompositeDat }
@Override - protected List<DataSourceField> createFields() { - List<DataSourceField> fields = super.createFields(); - DataSourceField resourceIdField = new DataSourceIntegerField(MeasurementScheduleCriteria.FILTER_FIELD_RESOURCE_ID, - "Resource Id"); + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields(); + + DataSourceField resourceIdField = new DataSourceIntegerField( + MeasurementScheduleCriteria.FILTER_FIELD_RESOURCE_ID, "Resource Id"); resourceIdField.setHidden(true); fields.add(resourceIdField); + return fields; }
@@ -76,67 +78,70 @@ public class SchedulesDataSource extends AbstractMeasurementScheduleCompositeDat
@Override protected void enableSchedules(AbstractMeasurementScheduleListView measurementScheduleListView, - int[] measurementDefinitionIds, final List<String> measurementDefinitionDisplayNames) { - this.measurementService.enableSchedulesForResource(this.resourceId, measurementDefinitionIds, - new AsyncCallback<Void>() { - @Override - public void onFailure(Throwable throwable) { - CoreGUI.getErrorHandler().handleError("Failed to enable collection of metrics " - + measurementDefinitionDisplayNames + " for Resource with id [" + resourceId + "].", - throwable); - } - - @Override - public void onSuccess(Void aVoid) { - CoreGUI.getMessageCenter().notify(new Message("Enabled collection of metrics " - + measurementDefinitionDisplayNames + " for Resource with id [" + resourceId + - "].", Message.Severity.Info)); - - } - }); + int[] measurementDefinitionIds, final List<String> measurementDefinitionDisplayNames) { + this.measurementService.enableSchedulesForResource(this.resourceId, measurementDefinitionIds, + new AsyncCallback<Void>() { + @Override + public void onFailure(Throwable throwable) { + CoreGUI.getErrorHandler().handleError( + "Failed to enable collection of metrics " + measurementDefinitionDisplayNames + + " for Resource with id [" + resourceId + "].", throwable); + } + + @Override + public void onSuccess(Void aVoid) { + CoreGUI.getMessageCenter().notify( + new Message("Enabled collection of metrics " + measurementDefinitionDisplayNames + + " for Resource with id [" + resourceId + "].", Message.Severity.Info)); + + } + }); }
@Override - protected void disableSchedules(AbstractMeasurementScheduleListView measurementScheduleListView, int[] measurementDefinitionIds, final List<String> measurementDefinitionDisplayNames) { - this.measurementService.disableSchedulesForResource(this.resourceId, measurementDefinitionIds, - new AsyncCallback<Void>() { - @Override - public void onFailure(Throwable throwable) { - CoreGUI.getErrorHandler().handleError("Failed to disable collection of metrics " - + measurementDefinitionDisplayNames + " for Resource with id [" + resourceId + "].", - throwable); - } - - @Override - public void onSuccess(Void aVoid) { - CoreGUI.getMessageCenter().notify(new Message("Disabled collection of metrics " - + measurementDefinitionDisplayNames + " for Resource with id [" + resourceId + - "].", Message.Severity.Info)); - - } - }); + protected void disableSchedules(AbstractMeasurementScheduleListView measurementScheduleListView, + int[] measurementDefinitionIds, final List<String> measurementDefinitionDisplayNames) { + this.measurementService.disableSchedulesForResource(this.resourceId, measurementDefinitionIds, + new AsyncCallback<Void>() { + @Override + public void onFailure(Throwable throwable) { + CoreGUI.getErrorHandler().handleError( + "Failed to disable collection of metrics " + measurementDefinitionDisplayNames + + " for Resource with id [" + resourceId + "].", throwable); + } + + @Override + public void onSuccess(Void aVoid) { + CoreGUI.getMessageCenter().notify( + new Message("Disabled collection of metrics " + measurementDefinitionDisplayNames + + " for Resource with id [" + resourceId + "].", Message.Severity.Info)); + + } + }); }
@Override protected void updateSchedules(AbstractMeasurementScheduleListView measurementScheduleListView, - int[] measurementDefinitionIds, final List<String> measurementDefinitionDisplayNames, final long collectionInterval) { - this.measurementService.updateSchedulesForResource(this.resourceId, measurementDefinitionIds, collectionInterval, - new AsyncCallback<Void>() { - @Override - public void onFailure(Throwable throwable) { - CoreGUI.getErrorHandler().handleError("Failed to set collection interval to " + (collectionInterval / 1000) - + " seconds for metrics " + measurementDefinitionDisplayNames + " for Resource with id [" - + resourceId + "].", + int[] measurementDefinitionIds, final List<String> measurementDefinitionDisplayNames, + final long collectionInterval) { + this.measurementService.updateSchedulesForResource(this.resourceId, measurementDefinitionIds, + collectionInterval, new AsyncCallback<Void>() { + @Override + public void onFailure(Throwable throwable) { + CoreGUI.getErrorHandler().handleError( + "Failed to set collection interval to " + (collectionInterval / 1000) + " seconds for metrics " + + measurementDefinitionDisplayNames + " for Resource with id [" + resourceId + "].", throwable); - } + }
- @Override - public void onSuccess(Void aVoid) { - CoreGUI.getMessageCenter().notify(new Message("Collection interval for metrics " - + measurementDefinitionDisplayNames + " for Resource with id [" + resourceId + - "] set to " + (collectionInterval / 1000) + " seconds.", Message.Severity.Info)); + @Override + public void onSuccess(Void aVoid) { + CoreGUI.getMessageCenter().notify( + new Message("Collection interval for metrics " + measurementDefinitionDisplayNames + + " for Resource with id [" + resourceId + "] set to " + (collectionInterval / 1000) + + " seconds.", Message.Severity.Info));
- } - }); + } + }); } } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/monitoring/traits/TraitsDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/monitoring/traits/TraitsDataSource.java index c569260..67a330a 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/monitoring/traits/TraitsDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/monitoring/traits/TraitsDataSource.java @@ -18,28 +18,29 @@ */ package org.rhq.enterprise.gui.coregui.client.inventory.resource.detail.monitoring.traits;
-import com.smartgwt.client.data.DSRequest; +import java.util.List; + import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceIntegerField; import com.smartgwt.client.widgets.grid.ListGridRecord; + import org.rhq.core.domain.criteria.MeasurementDataTraitCriteria; import org.rhq.core.domain.measurement.MeasurementDataTrait; import org.rhq.enterprise.gui.coregui.client.inventory.common.AbstractMeasurementDataTraitDataSource;
-import java.util.List; - /** * A DataSource for reading traits for the current Resource. * * @author Ian Springer */ public class TraitsDataSource extends AbstractMeasurementDataTraitDataSource { + @Override - protected List<DataSourceField> createFields() { - List<DataSourceField> fields = super.createFields(); + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
- DataSourceIntegerField resourceIdField = - new DataSourceIntegerField(MeasurementDataTraitCriteria.FILTER_FIELD_RESOURCE_ID, "Resource Id"); + DataSourceIntegerField resourceIdField = new DataSourceIntegerField( + MeasurementDataTraitCriteria.FILTER_FIELD_RESOURCE_ID, "Resource Id"); resourceIdField.setHidden(true); fields.add(0, resourceIdField);
@@ -50,7 +51,8 @@ public class TraitsDataSource extends AbstractMeasurementDataTraitDataSource { public ListGridRecord copyValues(MeasurementDataTrait from) { ListGridRecord record = super.copyValues(from);
- record.setAttribute(MeasurementDataTraitCriteria.FILTER_FIELD_RESOURCE_ID, from.getSchedule().getResource().getId()); + record.setAttribute(MeasurementDataTraitCriteria.FILTER_FIELD_RESOURCE_ID, from.getSchedule().getResource() + .getId());
return record; } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/operation/OperationHistoryDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/operation/OperationHistoryDataSource.java index c353fdb..9af5c3b 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/operation/OperationHistoryDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/operation/OperationHistoryDataSource.java @@ -19,10 +19,12 @@ package org.rhq.enterprise.gui.coregui.client.inventory.resource.detail.operation;
import java.util.Date; +import java.util.List;
import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceIntegerField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.types.FieldType; @@ -43,51 +45,57 @@ public class OperationHistoryDataSource extends RPCDataSource<ResourceOperationH
private OperationGWTServiceAsync operationService = GWTServiceLookup.getOperationService();
- public OperationHistoryDataSource() { - super(); + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
DataSourceIntegerField idField = new DataSourceIntegerField("id"); idField.setPrimaryKey(true); - addField(idField); + fields.add(idField);
DataSourceTextField nameField = new DataSourceTextField("operationName"); - addField(nameField); + fields.add(nameField);
DataSourceTextField resourceField = new DataSourceTextField("resource"); - addField(resourceField); + fields.add(resourceField);
DataSourceTextField statusField = new DataSourceTextField("status"); - addField(statusField); + fields.add(statusField);
DataSourceTextField startedField = new DataSourceTextField("startedTime"); startedField.setType(FieldType.DATETIME); - addField(startedField); + fields.add(startedField); + + return fields; }
@Override protected void executeFetch(final DSRequest request, final DSResponse response) { ResourceOperationHistoryCriteria criteria = new ResourceOperationHistoryCriteria();
- if (request.getCriteria().getValues().containsKey("resourceId")) { - criteria.addFilterResourceIds(Integer.parseInt((String) request.getCriteria().getValues().get("resourceId"))); + criteria.addFilterResourceIds(Integer + .parseInt((String) request.getCriteria().getValues().get("resourceId"))); }
criteria.setPageControl(getPageControl(request));
- operationService.findResourceOperationHistoriesByCriteria( - criteria, new AsyncCallback<PageList<ResourceOperationHistory>>() { - public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError("Failure loading operation histories", caught); - } + operationService.findResourceOperationHistoriesByCriteria(criteria, + new AsyncCallback<PageList<ResourceOperationHistory>>() { + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError("Failure loading operation histories", caught); + }
- public void onSuccess(PageList<ResourceOperationHistory> result) { - response.setData(buildRecords(result)); - processResponse(request.getRequestId(), response); - } + public void onSuccess(PageList<ResourceOperationHistory> result) { + response.setData(buildRecords(result)); + processResponse(request.getRequestId(), response); } - ); + }); }
@Override @@ -110,7 +118,7 @@ public class OperationHistoryDataSource extends RPCDataSource<ResourceOperationH record.setAttribute("status", from.getStatus().name()); record.setAttribute("parameters", from.getParameters());
- record.setAttribute("entity",from); + record.setAttribute("entity", from); return record; } } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/summary/ResourceErrorsDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/summary/ResourceErrorsDataSource.java index 1843f2b..39e99af 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/summary/ResourceErrorsDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/summary/ResourceErrorsDataSource.java @@ -22,22 +22,22 @@ package org.rhq.enterprise.gui.coregui.client.inventory.resource.detail.summary; import java.util.Date; import java.util.List;
-import org.rhq.core.domain.resource.ResourceError; -import org.rhq.enterprise.gui.coregui.client.CoreGUI; -import org.rhq.enterprise.gui.coregui.client.gwt.GWTServiceLookup; -import org.rhq.enterprise.gui.coregui.client.gwt.ResourceGWTServiceAsync; -import org.rhq.enterprise.gui.coregui.client.util.RPCDataSource; - import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; -import com.smartgwt.client.data.fields.DataSourceDateField; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceDateTimeField; import com.smartgwt.client.data.fields.DataSourceEnumField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.rpc.RPCResponse; import com.smartgwt.client.widgets.grid.ListGridRecord;
+import org.rhq.core.domain.resource.ResourceError; +import org.rhq.enterprise.gui.coregui.client.CoreGUI; +import org.rhq.enterprise.gui.coregui.client.gwt.GWTServiceLookup; +import org.rhq.enterprise.gui.coregui.client.gwt.ResourceGWTServiceAsync; +import org.rhq.enterprise.gui.coregui.client.util.RPCDataSource; + /** * * @author Lukas Krejci @@ -55,10 +55,20 @@ public class ResourceErrorsDataSource extends RPCDataSource<ResourceError> { public ResourceErrorsDataSource(int resourceId) { resourceService = GWTServiceLookup.getResourceService(); this.resourceId = resourceId; + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields(); + + fields.add(new DataSourceTextField(SUMMARY_ID, "Summary")); + fields.add(new DataSourceTextField(DETAIL_ID, "Detailed Message")); + fields.add(new DataSourceEnumField(ERROR_TYPE_ID, "Error Type")); + fields.add(new DataSourceDateTimeField(TIME_OCCURED_ID, "Time"));
- addFields(new DataSourceTextField(SUMMARY_ID, "Summary"), - new DataSourceTextField(DETAIL_ID, "Detailed Message"), - new DataSourceEnumField(ERROR_TYPE_ID, "Error Type"), new DataSourceDateTimeField(TIME_OCCURED_ID, "Time")); + return fields; }
/* (non-Javadoc) diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/menu/SearchBarPane.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/menu/SearchBarPane.java index 5e6d943..9546d66 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/menu/SearchBarPane.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/menu/SearchBarPane.java @@ -194,7 +194,8 @@ public class SearchBarPane extends LocatableHLayout {
comboBox.setShowIfCondition(new FormItemIfFunction() { public boolean execute(FormItem formItem, Object o, DynamicForm dynamicForm) { - return dynamicForm.getValueAsString("searchType").equals(searchType.getDisplayName()); + String value = dynamicForm.getValueAsString("searchType"); + return (null != value && value.equals(searchType.getDisplayName())); } });
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/operation/RecentOperationsDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/operation/RecentOperationsDataSource.java index 863afe2..24ada45 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/operation/RecentOperationsDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/operation/RecentOperationsDataSource.java @@ -24,6 +24,7 @@ import java.util.List; import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.Record; import com.smartgwt.client.data.fields.DataSourceDateTimeField; import com.smartgwt.client.data.fields.DataSourceTextField; @@ -69,18 +70,31 @@ public class RecentOperationsDataSource extends setDataProtocol(DSProtocol.CLIENTCUSTOM); setDataFormat(DSDataFormat.CUSTOM);
+ List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields(); + DataSourceTextField resourceField = new DataSourceTextField(resource, "Resource"); resourceField.setPrimaryKey(true); + fields.add(resourceField);
DataSourceTextField locationField = new DataSourceTextField(location, "Location", 200); + fields.add(locationField);
DataSourceTextField operationField = new DataSourceTextField(operation, "Operation"); + fields.add(operationField);
DataSourceDateTimeField timeField = new DataSourceDateTimeField(time, "Date/Time"); + fields.add(timeField);
DataSourceTextField statusField = new DataSourceTextField(status, "Status"); + fields.add(statusField);
- setFields(resourceField, locationField, operationField, timeField, statusField); + return fields; }
/* Intercept DSRequest object to pipe into custom fetch request. diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/operation/ScheduledOperationsDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/operation/ScheduledOperationsDataSource.java index ebb1185..ab28a8e 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/operation/ScheduledOperationsDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/operation/ScheduledOperationsDataSource.java @@ -24,7 +24,9 @@ import java.util.List; import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.Record; +import com.smartgwt.client.data.fields.DataSourceDateTimeField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.types.DSDataFormat; import com.smartgwt.client.types.DSProtocol; @@ -63,16 +65,28 @@ public class ScheduledOperationsDataSource extends setDataProtocol(DSProtocol.CLIENTCUSTOM); setDataFormat(DSDataFormat.CUSTOM);
+ List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields(); + DataSourceTextField resourceField = new DataSourceTextField(resource, "Resource"); resourceField.setPrimaryKey(true); + fields.add(resourceField);
- DataSourceTextField locationField = new DataSourceTextField(location, "Location"); + DataSourceTextField locationField = new DataSourceTextField(location, "Location", 200); + fields.add(locationField);
DataSourceTextField operationField = new DataSourceTextField(operation, "Operation"); + fields.add(operationField);
- DataSourceTextField timeField = new DataSourceTextField(time, "Date/Time"); + DataSourceDateTimeField timeField = new DataSourceDateTimeField(time, "Date/Time"); + fields.add(timeField);
- setFields(resourceField, locationField, operationField, timeField); + return fields; }
/* Intercept DSRequest object to pipe into custom fetch request. diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/report/measurement/MeasurementOOBDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/report/measurement/MeasurementOOBDataSource.java index 6a31020..d513e70 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/report/measurement/MeasurementOOBDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/report/measurement/MeasurementOOBDataSource.java @@ -23,10 +23,12 @@ package org.rhq.enterprise.gui.coregui.client.report.measurement;
import java.util.Collection; +import java.util.List;
import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.widgets.HTMLFlow; import com.smartgwt.client.widgets.grid.ListGridRecord; @@ -47,48 +49,53 @@ public class MeasurementOOBDataSource extends RPCDataSource<MeasurementOOBCompos private int maximumFactor = 0;
public MeasurementOOBDataSource() { + List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + }
+ @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields();
- DataSourceTextField metricField = new DataSourceTextField("scheduleName","Metric"); - addField(metricField); + DataSourceTextField metricField = new DataSourceTextField("scheduleName", "Metric"); + fields.add(metricField);
DataSourceTextField resourceField = new DataSourceTextField("resourceName", "Resource"); - addField(resourceField); + fields.add(resourceField);
DataSourceTextField parentField = new DataSourceTextField("parentName", "Parent"); - addField(parentField); + fields.add(parentField);
DataSourceTextField bandField = new DataSourceTextField("formattedBaseband", "Band"); - addField(bandField); + fields.add(bandField);
DataSourceTextField outlierField = new DataSourceTextField("formattedOutlier", "Outlier"); - addField(outlierField); + fields.add(outlierField);
DataSourceTextField factorField = new DataSourceTextField("factor", "Out of range factor (%)"); - addField(factorField); + fields.add(factorField);
- } + return fields;
+ }
@Override protected void executeFetch(final DSRequest request, final DSResponse response) {
PageControl pc = getPageControl(request);
- GWTServiceLookup.getMeasurementDataService().getSchedulesWithOOBs( - null, null, null, pc, - new AsyncCallback<PageList<MeasurementOOBComposite>>() { - public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError("Failed to load measurement OOB information",caught); - } - - public void onSuccess(PageList<MeasurementOOBComposite> result) { - response.setData(buildRecords(result)); - response.setTotalRows(result.getTotalSize()); - processResponse(request.getRequestId(), response); - } + GWTServiceLookup.getMeasurementDataService().getSchedulesWithOOBs(null, null, null, pc, + new AsyncCallback<PageList<MeasurementOOBComposite>>() { + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError("Failed to load measurement OOB information", caught); } - ); + + public void onSuccess(PageList<MeasurementOOBComposite> result) { + response.setData(buildRecords(result)); + response.setTotalRows(result.getTotalSize()); + processResponse(request.getRequestId(), response); + } + });
}
@@ -97,7 +104,6 @@ public class MeasurementOOBDataSource extends RPCDataSource<MeasurementOOBCompos throw new UnsupportedOperationException("OOBs Read only"); }
- @Override public ListGridRecord[] buildRecords(Collection<MeasurementOOBComposite> list) { for (MeasurementOOBComposite oob : list) { @@ -128,20 +134,18 @@ public class MeasurementOOBDataSource extends RPCDataSource<MeasurementOOBCompos record.setAttribute("parentId", from.getParentId()); record.setAttribute("parentName", from.getParentName());
- int factorRankingWidth = (int) (((double)from.getFactor())/ (double)maximumFactor * 100d); + int factorRankingWidth = (int) (((double) from.getFactor()) / (double) maximumFactor * 100d);
- record.setBackgroundComponent( - new HTMLFlow( - "<div style="width: " + factorRankingWidth + "%; height: 100%; background-color: #A5B391;"> </div>")); + record.setBackgroundComponent(new HTMLFlow("<div style="width: " + factorRankingWidth + + "%; height: 100%; background-color: #A5B391;"> </div>"));
return record;
}
- private void applyFormatting(MeasurementOOBComposite oob) { - oob.setFormattedOutlier(MeasurementConverterClient.format(oob.getOutlier(), oob.getUnits(), true)); - formatBaseband(oob); + oob.setFormattedOutlier(MeasurementConverterClient.format(oob.getOutlier(), oob.getUnits(), true)); + formatBaseband(oob); }
private void formatBaseband(MeasurementOOBComposite oob) { diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/resource/ProblemResourcesDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/resource/ProblemResourcesDataSource.java index 38c316b..e7c8050 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/resource/ProblemResourcesDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/resource/ProblemResourcesDataSource.java @@ -24,6 +24,7 @@ import java.util.List; import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.DSRequest; import com.smartgwt.client.data.DSResponse; +import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.Record; import com.smartgwt.client.data.fields.DataSourceImageField; import com.smartgwt.client.data.fields.DataSourceTextField; @@ -66,16 +67,28 @@ public class ProblemResourcesDataSource extends RPCDataSource<DisambiguationRepo setDataProtocol(DSProtocol.CLIENTCUSTOM); setDataFormat(DSDataFormat.CUSTOM);
+ List<DataSourceField> fields = addDataSourceFields(); + addFields(fields); + } + + @Override + protected List<DataSourceField> addDataSourceFields() { + List<DataSourceField> fields = super.addDataSourceFields(); + DataSourceTextField resourceField = new DataSourceTextField(resource, "Resource"); resourceField.setPrimaryKey(true); + fields.add(resourceField);
DataSourceTextField locationField = new DataSourceTextField(location, "Location"); + fields.add(locationField);
DataSourceTextField alertsField = new DataSourceTextField(alerts, "Alerts"); + fields.add(alertsField);
- DataSourceImageField availablilityField = new DataSourceImageField(available, "Current Availability"); + DataSourceImageField availabilityField = new DataSourceImageField(available, "Current Availability"); + fields.add(availabilityField);
- setFields(resourceField, locationField, alertsField, availablilityField); + return fields; }
/* Intercept DSRequest object to pipe into custom fetch request. diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/RPCDataSource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/RPCDataSource.java index 86ab57e..38a9386 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/RPCDataSource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/util/RPCDataSource.java @@ -18,8 +18,8 @@ */ package org.rhq.enterprise.gui.coregui.client.util;
-import java.util.Arrays; import java.util.ArrayList; +import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.Map; @@ -40,6 +40,7 @@ import org.rhq.core.domain.util.PageControl; import org.rhq.core.domain.util.PageOrdering; import org.rhq.enterprise.gui.coregui.client.CoreGUI; import org.rhq.enterprise.gui.coregui.client.util.effects.ColoringUtility; +import org.rhq.enterprise.gui.coregui.client.util.selenium.SeleniumUtility;
/** * Base GWT-RPC oriented DataSource class. @@ -58,7 +59,7 @@ public abstract class RPCDataSource<T> extends DataSource { public RPCDataSource(String name) { if (name != null) { com.allen_sauer.gwt.log.client.Log.info("Trying to build DS: " + name); - setID(name); + setID(SeleniumUtility.getSafeId(name)); } // TODO until http://code.google.com/p/smartgwt/issues/detail?id=490 is fixed always go to the server for data setClientOnly(false); @@ -68,6 +69,22 @@ public abstract class RPCDataSource<T> extends DataSource { setDataFormat(DSDataFormat.CUSTOM); }
+ /** + * Override in each subclass to set the default ds fields for the ds. The datasource should not + * define and set ds fields in the constructor in case a user of the ds wants to set their own. For example, + * those that want to use list grid fields (like our list views). + */ + public void useDatasourceDefinedFields() { + } + + /** + * A pattern that can be used for Datasource subclassing. Each subclass can add it's own fields prior to + * all of the fields being added to the datasource. + */ + protected List<DataSourceField> addDataSourceFields() { + return new ArrayList<DataSourceField>(); + } + @Override protected Object transformRequest(DSRequest request) { try { @@ -229,7 +246,7 @@ public abstract class RPCDataSource<T> extends DataSource { addField(field); } } - + public void addFields(DataSourceField... fields) { addFields(Arrays.asList(fields)); }
commit cbb5c96344d9f1010e2d549001f112c07da0e053 Merge: 5cfc7d1... e486ae3... Author: Jay Shaughnessy jshaughn@redhat.com Date: Thu Oct 14 23:58:02 2010 -0400
Merge branch 'master' into master-jay
commit 5cfc7d19d6ca49c5c665802ebd10fd5225665c95 Author: Jay Shaughnessy jshaughn@redhat.com Date: Thu Oct 14 23:55:21 2010 -0400
A temporary fix for getting around the ResourceSearchView not rendering issue. This is a precursor to a more comprehensive change that aims to solve issues regarding grid field vs ds field use.
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceSearchView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceSearchView.java index 7c6aaf9..15bf220 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceSearchView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/ResourceSearchView.java @@ -105,7 +105,7 @@ public class ResourceSearchView extends Table { protected void configureTable() { ListGridField idField = new ListGridField("id", "Id", 55); idField.setType(ListGridFieldType.INTEGER); - idField.setHidden(true); + //idField.setHidden(true); ListGridField iconField = new ListGridField("icon", "", 40); ListGridField nameField = new ListGridField(NAME.propertyName(), NAME.title(), 250); nameField.setCellFormatter(new CellFormatter() {
commit 58c4c2c16107e05136cddbb8322731dd12146892 Merge: 28acd40... 74c6ac2... Author: Heiko W. Rupp hwr@redhat.com Date: Thu Oct 14 12:40:28 2010 +0200
Merge branch 'master' into perftest
commit 28acd40f69627f32523cd6e0f7c46f6f7b4ec1d4 Author: Heiko W. Rupp hwr@redhat.com Date: Thu Oct 14 12:38:51 2010 +0200
Move required database state to class level.
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index 6bc40b5..17520c3 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -47,7 +47,6 @@ import org.rhq.helpers.perftest.support.testng.DatabaseSetupInterceptor; import org.rhq.helpers.perftest.support.testng.DatabaseState; import org.rhq.helpers.perftest.support.testng.PerformanceReporting;
-import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Listeners; import org.testng.annotations.Test; @@ -61,6 +60,7 @@ import org.testng.annotations.Test; @Test(groups = "PERF") @Listeners({ DatabaseSetupInterceptor.class }) @PerformanceReporting(exporter=ExcelExporter.class) +@DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest {
ResourceManagerLocal resourceManager; @@ -72,8 +72,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { private static final String ROUND__FORMAT = "Round %6d"; private static final String PURGE__FORMAT = "Purge %6d"; private static final int[] ROUNDS = new int[]{1000,2000,3000,5000,10000}; - // private static final int[] ROUNDS = new int[]{10,20}; - private Subject overlord ; +// private static final int[] ROUNDS = new int[]{10,20};
@BeforeMethod public void beforeMethod() { @@ -106,7 +105,6 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { * @throws Exception If anything goes wrong * @see #ROUNDS for the number of availability reports per round */ - @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testAlternating() throws Exception { Subject overlord = LookupUtil.getSubjectManager().getOverlord();
@@ -184,7 +182,6 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { * @throws Exception If anything goes wrong * @see #ROUNDS for the number of availability reports per round */ - @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testRandom() throws Exception { Subject overlord = LookupUtil.getSubjectManager().getOverlord();
@@ -254,7 +251,6 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { * @throws Exception If anything goes wrong * @see #ROUNDS for the number of availability reports per round */ - @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testAlwaysUp() throws Exception { Subject overlord = LookupUtil.getSubjectManager().getOverlord();
@@ -327,7 +323,6 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { * @throws Exception If anything goes wrong * @see #ROUNDS for the number of availability reports per round */ - @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testAlternatingWithAlert() throws Exception { Subject overlord = LookupUtil.getSubjectManager().getOverlord();
@@ -411,6 +406,4 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { assertLinear(purge1000,purge5000,5,"Purge3");
} - - }
commit ab845b5e3713b03f77e79735cef81a6fb2dff1d1 Author: Heiko W. Rupp hwr@redhat.com Date: Thu Oct 14 11:54:38 2010 +0200
Change naming of sheets to Class.method
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java index 6662b71..1314ce8 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java @@ -116,16 +116,22 @@ public class ExcelExporter implements PerformanceReportExporter { */ private void createDetailsSheet(Workbook wb, Map<String,Long> timings, ITestResult result) {
- Sheet sheet = wb.getSheet(result.getName()); + String name = result.getTestClass().getName(); + if (name.contains(".")) + name = name.substring(name.lastIndexOf(".")+1); + name += "." + result.getName(); + + Sheet sheet = wb.getSheet(name); if (sheet ==null) - sheet = wb.createSheet(result.getName()); + sheet = wb.createSheet(name);
Row row = appendRow(sheet); Cell cell = row.createCell(0); cell.setCellStyle(boldText); cell.setCellValue("Class"); - String name = result.getTestClass().getName(); - name = name.replace("org.rhq.enterprise.server.performance.test.",""); + name = result.getTestClass().getName(); + if (name.contains(".")) + name = name.substring(name.lastIndexOf(".")+1); row.createCell(1).setCellValue(name); row = appendRow(sheet);
@@ -197,32 +203,29 @@ public class ExcelExporter implements PerformanceReportExporter { * @param result the TestNG result object */ private void createOverviewEntry(Sheet sheet, long testTime, ITestResult result) { - // Class name + // Test name Row row = appendRow(sheet); Cell cell = row.createCell(0); cell.setCellType(Cell.CELL_TYPE_STRING); String name = result.getTestClass().getName(); - name = name.replace("org.rhq.enterprise.server.performance.test.",""); + if (name.contains(".")) + name = name.substring(name.lastIndexOf(".")+1); + name += "." + result.getName(); cell.setCellValue(name);
- // Test name - cell = row.createCell(1); - cell.setCellType(Cell.CELL_TYPE_STRING); - cell.setCellValue(result.getName()); - // success ? - cell = row.createCell(2); + cell = row.createCell(1); cell.setCellType(Cell.CELL_TYPE_BOOLEAN); cell.setCellValue(result.isSuccess());
// timing from TestNG - cell = row.createCell(3); + cell = row.createCell(2); cell.setCellType(Cell.CELL_TYPE_NUMERIC); cell.setCellStyle(integerStyle); cell.setCellValue(result.getEndMillis()-result.getStartMillis());
// timing of our business logic - cell = row.createCell(4); + cell = row.createCell(3); cell.setCellType(Cell.CELL_TYPE_NUMERIC); cell.setCellStyle(integerStyle); cell.setCellValue(testTime); @@ -239,25 +242,21 @@ public class ExcelExporter implements PerformanceReportExporter {
Cell cell = row.createCell(0); cell.setCellStyle(boldText); - cell.setCellValue("Class"); - cell = row.createCell(1); - cell.setCellStyle(boldText); cell.setCellValue("Name"); - cell = row.createCell(2); + cell = row.createCell(1); cell.setCellStyle(boldText); cell.setCellValue("Success"); - cell = row.createCell(3); + cell = row.createCell(2); cell.setCellStyle(boldText); cell.setCellValue("TestNG timing"); cell.setCellStyle(boldText); - cell = row.createCell(4); + cell = row.createCell(3); cell.setCellValue("Perf timing"); cell.setCellStyle(boldText);
sheet.autoSizeColumn(0); - sheet.autoSizeColumn(1); + sheet.autoSizeColumn(2); sheet.autoSizeColumn(3); - sheet.autoSizeColumn(4);
}
commit 85d31a919a4912995d39ba6f5097d9fc8988a910 Author: Heiko W. Rupp hwr@redhat.com Date: Thu Oct 14 10:15:55 2010 +0200
First event insertion and purge test.
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/EventsInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/EventsInsertPurgeTest.java new file mode 100644 index 0000000..0332905 --- /dev/null +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/EventsInsertPurgeTest.java @@ -0,0 +1,170 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ +package org.rhq.enterprise.server.performance.test; + +import org.rhq.core.domain.auth.Subject; +import org.rhq.core.domain.event.Event; +import org.rhq.core.domain.event.EventDefinition; +import org.rhq.core.domain.event.EventSeverity; +import org.rhq.core.domain.event.EventSource; +import org.rhq.core.domain.resource.Resource; +import org.rhq.core.domain.resource.ResourceCategory; +import org.rhq.core.domain.resource.ResourceType; +import org.rhq.enterprise.server.alert.AlertDefinitionManagerLocal; +import org.rhq.enterprise.server.core.AgentManagerLocal; +import org.rhq.enterprise.server.event.EventManagerLocal; +import org.rhq.enterprise.server.measurement.AvailabilityManagerLocal; +import org.rhq.enterprise.server.resource.ResourceManagerLocal; +import org.rhq.enterprise.server.system.SystemManagerLocal; +import org.rhq.enterprise.server.test.AbstractEJB3PerformanceTest; +import org.rhq.enterprise.server.util.LookupUtil; +import org.rhq.helpers.perftest.support.reporting.ExcelExporter; +import org.rhq.helpers.perftest.support.testng.DatabaseSetupInterceptor; +import org.rhq.helpers.perftest.support.testng.DatabaseState; +import org.rhq.helpers.perftest.support.testng.PerformanceReporting; +import org.testng.annotations.BeforeMethod; +import org.testng.annotations.Listeners; +import org.testng.annotations.Test; + +import javax.persistence.EntityManager; +import javax.persistence.Query; +import java.sql.SQLException; +import java.util.Date; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +/** + * Performance test the events subsystem + * + * @author Heiko W. Rupp + */ +@Test(groups = "PERF") +@Listeners({ DatabaseSetupInterceptor.class }) +@PerformanceReporting(exporter=ExcelExporter.class) +@DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") +public class EventsInsertPurgeTest extends AbstractEJB3PerformanceTest { + + private static final int ROUNDS = 20000; + private static final int NUM_SOURCES = 10; + private static final int LINES_PER_REPORT = 50; + ResourceManagerLocal resourceManager; + AvailabilityManagerLocal availabilityManager; + AgentManagerLocal agentManager; + SystemManagerLocal systemManager; + AlertDefinitionManagerLocal alertDefinitionManager; + EventManagerLocal eventManager; + private static final int MILLIS_APART = 2000; + private static final String ROUND__FORMAT = "Round %6d"; + private static final String PURGE__FORMAT = "Purge %6d"; + + + @BeforeMethod + public void beforeMethod() { + Date now = new Date(); + System.out.println(">>>>> beforeMethod (AI Purge Test) === " + now.getTime()); + try { + this.availabilityManager = LookupUtil.getAvailabilityManager(); + this.resourceManager = LookupUtil.getResourceManager(); + this.agentManager = LookupUtil.getAgentManager(); + this.systemManager = LookupUtil.getSystemManager(); + this.alertDefinitionManager = LookupUtil.getAlertDefinitionManager(); + this.eventManager = LookupUtil.getEventManager(); + /* + * NOTE: do not try to get Subjects or other DB stuff in here, as they will only + * be available after this method has finished and the DatabaseSetupInterceptor + * has initialized the database. + */ + } catch (Throwable t) { + // Catch RuntimeExceptions and Errors and dump their stack trace, because Surefire will completely swallow them + // and throw a cryptic NPE (see http://jira.codehaus.org/browse/SUREFIRE-157)! + t.printStackTrace(); + throw new RuntimeException(t); + } + } + + /** + * This test insertsevents from NUM_SOURCES sources into the + * event subsystem, where each set of events is LINES_PER_REPORT long. + * In total ROUNDS are inserted. + * After this, events are purged in two steps: first the first half of them + * and then the remaining ones. + * @throws Exception + */ + public void testSimpleInserts() throws Exception { + Subject overlord = LookupUtil.getSubjectManager().getOverlord(); + + + EntityManager em = getEntityManager(); + Query q = em.createQuery("SELECT r FROM Resource r"); + List<Resource> resources = q.getResultList(); + Resource res = resources.get(0); + if (!(res.getResourceType().getCategory()== ResourceCategory.PLATFORM)) + res = resourceManager.getPlaformOfResource(overlord,res.getId()); + ResourceType type = res.getResourceType(); + + EventDefinition def ; + Set<EventDefinition> eventDefs = type.getEventDefinitions(); + if (eventDefs!=null && !eventDefs.isEmpty()) { + def = eventDefs.iterator().next(); + } + else { + throw new RuntimeException("No event definition found, should not happen"); + } + + + EventSource[] evSrc = new EventSource[NUM_SOURCES]; + for (int i = 0; i < NUM_SOURCES; i++) { + evSrc[i] = new EventSource("ESource"+1, def, res); + } + long now = new Date().getTime() - ROUNDS * LINES_PER_REPORT; + + for (int round = 1; round < ROUNDS; round++) { + + Map<EventSource, Set<Event>> events = new HashMap<EventSource, Set<Event>>(); + for (int sourceNum = 0 ; sourceNum < NUM_SOURCES; sourceNum++) { + Set<Event> eventSet = new HashSet<Event>(); + for (int i = 0 ; i < LINES_PER_REPORT; i++) { + Event ev = new Event("EType", "ESource"+sourceNum, now+round*i, EventSeverity.INFO, "This is a 2nd test", evSrc[sourceNum]); + eventSet.add(ev); + } + events.put(evSrc[sourceNum], eventSet); + } + startTiming("add"); + eventManager.addEventData(events); + endTiming("add"); + } + + try { + startTiming("purge_half"); + eventManager.purgeEventData(new Date(now+(ROUNDS/2)*LINES_PER_REPORT)); + endTiming("purge_half"); + startTiming("purge_final"); + eventManager.purgeEventData(new Date()); + endTiming("purge_final"); + } catch (SQLException e) { + e.printStackTrace(); + throw e; + } + + } + +}
commit 6a51d174ea673b88d052cca23c53fc186c1bf478 Author: Heiko W. Rupp hwr@redhat.com Date: Thu Oct 14 10:02:09 2010 +0200
Be somewhat more verbose on exceptions
diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/event/EventManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/event/EventManagerBean.java index 31b283b..293c456 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/event/EventManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/event/EventManagerBean.java @@ -18,6 +18,7 @@ */ package org.rhq.enterprise.server.event;
+import java.sql.BatchUpdateException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; @@ -193,6 +194,14 @@ public class EventManagerBean implements EventManagerLocal, EventManagerRemote { } catch (Throwable t) { // TODO what do we want to do here ? log.warn("addEventData: Insert of events failed : " + t.getMessage()); + if (t instanceof SQLException) { + SQLException e = (SQLException) t; + Exception e2 = e.getNextException(); + if (e2!=null) + log.warn(" : " + e2.getMessage()); + if (t.getCause()!=null) + log.warn(" : " + t.getCause().getMessage()); + } } finally { JDBCUtil.safeClose(conn); } @@ -345,9 +354,9 @@ public class EventManagerBean implements EventManagerLocal, EventManagerRemote { criteria.addFilterStartTime(begin); criteria.addFilterEndTime(end);
- /* + /* * if the bucket computation is pushed into the database, it saves on data transfer across the wire. this - * solution is currently querying N number of strings (event.severity) and N number of longs (event.timestamp), + * solution is currently querying N number of strings (event.severity) and N number of longs (event.timestamp), * where N is the number of events between 'begin' and 'end'. if the severity buckets are computed in a single * query, the wire load would only be K integers, where K is the bucketCount. */
commit 25f2185385f319816829f9e74b1a2949acc279cd Merge: 530dfc3... 3b9b30f... Author: Jay Shaughnessy jshaughn@redhat.com Date: Wed Oct 13 14:26:00 2010 -0400
Merge branch 'master' into master-jay
commit 530dfc3d25171a67dd95388be343bea447009423 Author: Jay Shaughnessy jshaughn@redhat.com Date: Wed Oct 13 14:18:04 2010 -0400
Changes to let selenium locators properly identify the nodes. I'm not sure why we were passing the "new TreeNode[0]" as a child in the constructors, it doesn't seem right, does not seem to adversely affect our tree creation (perhaps it will help?) and removal seems to solve the selenium issue.
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/tree/EnhancedTreeNode.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/tree/EnhancedTreeNode.java index 41e70c6..f4b69ae 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/tree/EnhancedTreeNode.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/tree/EnhancedTreeNode.java @@ -27,11 +27,16 @@ import org.rhq.core.domain.util.StringUtils; */ public class EnhancedTreeNode extends TreeNode { public EnhancedTreeNode() { - this(null); + super(); + // this(null); }
public EnhancedTreeNode(String name) { - this(name, new TreeNode[0]); + //this(name, new TreeNode[0]); + super(name); + if (name != null) { + setTitle(StringUtils.deCamelCase(name)); + } }
public EnhancedTreeNode(String name, TreeNode... children) { @@ -65,8 +70,7 @@ public class EnhancedTreeNode extends TreeNode { String className = this.getClass().getName(); String simpleClassName = className.substring(className.lastIndexOf(".") + 1); innerClassName = simpleClassName.substring(simpleClassName.lastIndexOf("$") + 1); - } - catch (RuntimeException e) { + } catch (RuntimeException e) { innerClassName = "EnhancedTreeNode"; }
commit baeefa7b2f1e2afe98bebebaf9525c840b8bd6d3 Author: Heiko W. Rupp hwr@redhat.com Date: Wed Oct 13 10:19:23 2010 +0200
Allow to put the DatabaseState annotation at class level too.
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java index 57cd217..d7f10ef 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java @@ -23,6 +23,7 @@ import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; +import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.sql.Connection; import java.sql.SQLException; @@ -43,6 +44,12 @@ import org.rhq.helpers.perftest.support.input.InputStreamProvider; import org.testng.IInvokedMethod; import org.testng.IInvokedMethodListener; import org.testng.ITestResult; +import org.testng.annotations.AfterMethod; +import org.testng.annotations.AfterSuite; +import org.testng.annotations.AfterTest; +import org.testng.annotations.BeforeMethod; +import org.testng.annotations.BeforeSuite; +import org.testng.annotations.BeforeTest;
import javax.naming.InitialContext;
@@ -138,10 +145,40 @@ public class DatabaseSetupInterceptor implements IInvokedMethodListener {
}
+ /** + * Obtain the required database state by looking for the @DatabaseState annotation. + * Lookup is first done at method level and if not found done at class level. + * @param method Method that TestNG is about to invoke + * @return the desired database state or null if @DatabaseState is not given. + * @see org.rhq.helpers.perftest.support.testng.DatabaseState + */ private static DatabaseState getRequiredDatabaseState(IInvokedMethod method) { Method javaMethod = method.getTestMethod().getMethod();
- return javaMethod.getAnnotation(DatabaseState.class); + DatabaseState annotation = javaMethod.getAnnotation(DatabaseState.class); + if (annotation==null) { + System.out.println("Method : " + javaMethod.getName()); + + boolean skip = false; + + // Filter out methods that are marked as setup/tear down + Annotation[] annots = javaMethod.getAnnotations(); + for (Annotation an : annots) { + System.out.println(" : " + an.toString()); + if (an.annotationType().equals(BeforeMethod.class) || an.annotationType().equals(AfterMethod.class) || + an.annotationType().equals(BeforeSuite.class) || an.annotationType().equals(AfterSuite.class) || + an.annotationType().equals(BeforeTest.class) || an.annotationType().equals(AfterTest.class) + ) + skip = true; + } + + if (!skip) + annotation = javaMethod.getDeclaringClass().getAnnotation(DatabaseState.class); + else + System.out.println(" ..... Skipped"); + + } + return annotation; }
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java index b7e66fa..9a7c476 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java @@ -28,11 +28,13 @@ import org.rhq.helpers.perftest.support.FileFormat;
/** * An annotation to associate a test method with a required state of the database. + * The annotation can be given at class or method level, where a method level annotation + * overrides a class level one. * * @author Lukas Krejci */ @Retention(value = RetentionPolicy.RUNTIME) -@Target(value = { ElementType.METHOD }) +@Target(value = { ElementType.METHOD, ElementType.TYPE }) public @interface DatabaseState {
/**
commit bc72b343ff0a255901f1627b770c0b205be6322d Merge: a6aa3d1... 08566cc... Author: Jay Shaughnessy jshaughn@redhat.com Date: Tue Oct 12 17:42:53 2010 -0400
Merge branch 'master' into master-jay
commit a6aa3d1480ee03ff89c64c9baaf306967565f777 Author: Jay Shaughnessy jshaughn@redhat.com Date: Tue Oct 12 17:40:26 2010 -0400
Fix issues with sticky tab navigation between different resources or resources and autogroups.
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/CoreGUI.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/CoreGUI.java index cf9e470..3544941 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/CoreGUI.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/CoreGUI.java @@ -40,6 +40,7 @@ import org.rhq.enterprise.gui.coregui.client.admin.AdministrationView; import org.rhq.enterprise.gui.coregui.client.alert.AlertsView; import org.rhq.enterprise.gui.coregui.client.bundle.BundleTopView; import org.rhq.enterprise.gui.coregui.client.dashboard.DashboardsView; +import org.rhq.enterprise.gui.coregui.client.inventory.groups.detail.ResourceGroupDetailView; import org.rhq.enterprise.gui.coregui.client.inventory.groups.detail.ResourceGroupTopView; import org.rhq.enterprise.gui.coregui.client.inventory.resource.InventoryView; import org.rhq.enterprise.gui.coregui.client.inventory.resource.detail.ResourceTopView; @@ -60,6 +61,10 @@ import org.rhq.enterprise.gui.coregui.client.util.selenium.SeleniumUtility; public class CoreGUI implements EntryPoint, ValueChangeHandler<String> { private static final String DEFAULT_VIEW_PATH = DashboardsView.VIEW_ID;
+ // just to avoid constructing this over and over + private static final String TREE_NAV_VIEW_PATTERN = "(" + ResourceTopView.VIEW_ID + "|" + + ResourceGroupTopView.VIEW_ID + "|" + ResourceGroupDetailView.AUTO_GROUP_VIEW_PATH + ")/[^/]*"; + public static final String CONTENT_CANVAS_ID = "BaseContent";
private static ErrorHandler errorHandler = new ErrorHandler(); @@ -255,8 +260,8 @@ public class CoreGUI implements EntryPoint, ValueChangeHandler<String> { // We're already there - just refresh the view. refresh(); } else { - if (viewPath.matches("(" + ResourceTopView.VIEW_ID + "|" + ResourceGroupTopView.VIEW_ID + ")/[^/]*")) { - // e.g. "Resource/10001" + if (viewPath.matches(TREE_NAV_VIEW_PATTERN)) { + // e.g. "Resource/10001" or "Resource/AutoGroup/10003" if (!currentViewPath.startsWith(viewPath)) { // The Node that was selected is not the same Node that was previously selected - it // may not even be the same node type. For example, the user could have moved from a @@ -265,6 +270,10 @@ public class CoreGUI implements EntryPoint, ValueChangeHandler<String> { // history URL and append it to the new history URL. The suffix is assumed to follow the // ID (numeric) portion of the currentViewPath. String suffix = currentViewPath.replaceFirst("\D*[^/]*", ""); + // make sure we're not *too* sticky, stop no deeper than the subtab level. This prevents + // trying to render non-applicable detail views. We'll do this by chopping at the start + // of any other numeric in the path + suffix = suffix.replaceFirst("\d.*", ""); viewPath += suffix; } } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/detail/AbstractTwoLevelTabSetView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/detail/AbstractTwoLevelTabSetView.java index f63e185..79606f6 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/detail/AbstractTwoLevelTabSetView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/detail/AbstractTwoLevelTabSetView.java @@ -208,7 +208,7 @@ public abstract class AbstractTwoLevelTabSetView<T, U extends Layout> extends Lo // Do *not* select the tab and trigger the tab selected event until the subtab has been selected first.
SubTab subtab = (subtabTitle != null) ? tab.getSubTabByTitle(subtabTitle) : tab.getDefaultSubTab(); - if (subtab == null || tab.getLayout().isDisabled()) { + if (subtab == null || tab.getLayout().isSubTabDisabled(subtab)) { CoreGUI.getErrorHandler().handleError("Invalid subtab name: " + subtabTitle); // TODO: Should we fire a history event here to redirect to a valid bookmark? subtab = tab.getLayout().getDefaultSubTab();
commit 6aa5ebc0e638a983c625d609da6cc68fcc2cf232 Author: Jay Shaughnessy jshaughn@redhat.com Date: Tue Oct 12 14:17:25 2010 -0400
Fix issue with empty condition and notif alert def tabs
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/AbstractAlertDefinitionsView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/AbstractAlertDefinitionsView.java index bdaff67..bea63ba 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/AbstractAlertDefinitionsView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/AbstractAlertDefinitionsView.java @@ -136,6 +136,8 @@ public abstract class AbstractAlertDefinitionsView extends TableSection { final AlertDefinitionCriteria criteria = new AlertDefinitionCriteria(); criteria.addFilterId(id); criteria.fetchGroupAlertDefinition(true); + criteria.fetchConditions(true); + criteria.fetchAlertNotifications(true); GWTServiceLookup.getAlertDefinitionService().findAlertDefinitionsByCriteria(criteria, new AsyncCallback<PageList<AlertDefinition>>() { public void onFailure(Throwable caught) {
commit 9b9892a14988ae2a0847439915d1c250b6e52f79 Merge: fc86a51... 04f6d32... Author: Jay Shaughnessy jshaughn@redhat.com Date: Tue Oct 12 10:17:31 2010 -0400
Merge branch 'master' into master-jay
commit fc86a51dd8c46ef07de01104b72e322f7060f42c Author: Jay Shaughnessy jshaughn@redhat.com Date: Tue Oct 12 10:02:15 2010 -0400
Fixed some Selenium Locator issues
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/detail/AbstractTwoLevelTabSetView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/detail/AbstractTwoLevelTabSetView.java index 84ccc47..f63e185 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/detail/AbstractTwoLevelTabSetView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/detail/AbstractTwoLevelTabSetView.java @@ -126,15 +126,13 @@ public abstract class AbstractTwoLevelTabSetView<T, U extends Layout> extends Lo if (getSelectedItemId() == null) { CoreGUI.goToView(History.getToken()); } else { - - // selectSubTabByTitle(tabSelectedEvent.getId(), tabSelectedEvent.getSubTabId()); String tabPath = "/" + tabSelectedEvent.getId() + "/" + tabSelectedEvent.getSubTabId(); String path = this.baseViewPath + "/" + getSelectedItemId() + tabPath;
// If the tab that was selected is not already the current history item, the user clicked on the tab, rather // than going directly to the tab's URL. In this case, fire a history event to go to the tab and make it the // current history item. - if (!History.getToken().equals(path)) { + if (!History.getToken().equals(path) && !History.getToken().startsWith(path)) { CoreGUI.goToView(path); } } @@ -223,10 +221,10 @@ public abstract class AbstractTwoLevelTabSetView<T, U extends Layout> extends Lo // Handle any remaining view items (e.g. id of a selected item in a subtab that contains a Master-Details view). Canvas subView = subtab.getCanvas(); if (subView instanceof RefreshableView) { - ((RefreshableView)subView).refresh(); + ((RefreshableView) subView).refresh(); } if (subView instanceof BookmarkableView) { - ((BookmarkableView)subView).renderView(viewPath); + ((BookmarkableView) subView).renderView(viewPath); }
this.tabSet.markForRedraw(); diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/event/EventCompositeHistoryView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/event/EventCompositeHistoryView.java index 28e91f6..4bdfdd4 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/event/EventCompositeHistoryView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/common/event/EventCompositeHistoryView.java @@ -56,22 +56,22 @@ public class EventCompositeHistoryView extends TableSection { private EntityContext context; private boolean hasWriteAccess;
- public static EventCompositeHistoryView get(ResourceGroupComposite composite) { + public static EventCompositeHistoryView get(String locatorId, ResourceGroupComposite composite) { String tableTitle = "Group Event History"; EntityContext context = EntityContext.forGroup(composite.getResourceGroup().getId()); boolean hasWriteAccess = composite.getResourcePermission().isEvent(); - return new EventCompositeHistoryView(tableTitle, context, hasWriteAccess); + return new EventCompositeHistoryView(locatorId, tableTitle, context, hasWriteAccess); }
- public static EventCompositeHistoryView get(ResourceComposite composite) { + public static EventCompositeHistoryView get(String locatorId, ResourceComposite composite) { String tableTitle = "Resource Event History"; EntityContext context = EntityContext.forResource(composite.getResource().getId()); boolean hasWriteAccess = composite.getResourcePermission().isEvent(); - return new EventCompositeHistoryView(tableTitle, context, hasWriteAccess); + return new EventCompositeHistoryView(locatorId, tableTitle, context, hasWriteAccess); }
- private EventCompositeHistoryView(String tableTitle, EntityContext context, boolean hasWriteAccess) { - super("EventCompositeHistoryTable", tableTitle, new SortSpecifier[] { DEFAULT_SORT_SPECIFIER }); + private EventCompositeHistoryView(String locatorId, String tableTitle, EntityContext context, boolean hasWriteAccess) { + super(locatorId, tableTitle, new SortSpecifier[] { DEFAULT_SORT_SPECIFIER }); this.context = context; this.hasWriteAccess = hasWriteAccess;
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/ResourceGroupDetailView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/ResourceGroupDetailView.java index b41d7f0..4f71441 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/ResourceGroupDetailView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/ResourceGroupDetailView.java @@ -253,16 +253,16 @@ public class ResourceGroupDetailView extends AbstractTwoLevelTabSetView<Resource if (updateTab(this.configurationTab, visible, visible && this.permissions.isConfigureRead())) { //updateSubTab(this.configurationTab, this.configCurrent, new FullHTMLPane( // "/rhq/group/configuration/viewCurrent-plain.xhtml?groupId=" + groupId), true, true); - updateSubTab(this.configurationTab, this.configCurrent, - new GroupResourceConfigurationEditView(this.configCurrent.extendLocatorId("View"), - this.groupComposite), true, true); + updateSubTab(this.configurationTab, this.configCurrent, new GroupResourceConfigurationEditView( + this.configCurrent.extendLocatorId("View"), this.groupComposite), true, true); updateSubTab(this.configurationTab, this.configHistory, new FullHTMLPane( "/rhq/group/configuration/history-plain.xhtml?groupId=" + groupId), true, true); }
if (updateTab(this.eventsTab, groupCategory == GroupCategory.COMPATIBLE && facets.contains(ResourceTypeFacet.EVENT), true)) { - updateSubTab(this.eventsTab, this.eventHistory, EventCompositeHistoryView.get(groupComposite), true, true); + updateSubTab(this.eventsTab, this.eventHistory, EventCompositeHistoryView.get(this.eventsTab + .extendLocatorId("CompositeHistView"), groupComposite), true, true); }
this.show(); diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/ResourceDetailView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/ResourceDetailView.java index 05c37b6..159a679 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/ResourceDetailView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/ResourceDetailView.java @@ -276,13 +276,13 @@ public class ResourceDetailView extends AbstractTwoLevelTabSetView<ResourceCompo .isConfigureRead())) { updateSubTab(this.configurationTab, this.configCurrent, new ResourceConfigurationEditView(this .extendLocatorId("ResourceConfigView"), resourceComposite), true, true); - updateSubTab(this.configurationTab, this.configHistory, ConfigurationHistoryView.getHistoryOf( - resource.getId()), true, true); + updateSubTab(this.configurationTab, this.configHistory, ConfigurationHistoryView.getHistoryOf(this + .extendLocatorId("ConfigHistView"), resource.getId()), true, true); }
if (updateTab(this.eventsTab, facets.contains(ResourceTypeFacet.EVENT), true)) { - updateSubTab(this.eventsTab, this.eventHistory, EventCompositeHistoryView.get(resourceComposite), true, - true); + updateSubTab(this.eventsTab, this.eventHistory, EventCompositeHistoryView.get(this.eventsTab + .extendLocatorId("CompositeHistoryView"), resourceComposite), true, true); }
if (updateTab(this.contentTab, facets.contains(ResourceTypeFacet.CONTENT), true)) { diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/configuration/ConfigurationHistoryView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/configuration/ConfigurationHistoryView.java index aa11b05..8b84889 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/configuration/ConfigurationHistoryView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/configuration/ConfigurationHistoryView.java @@ -40,7 +40,6 @@ import org.rhq.enterprise.gui.coregui.client.components.table.TableSection; */ public class ConfigurationHistoryView extends TableSection { public static final String VIEW_ID = "RecentConfigurationChanges"; - private static final String LOCATOR_ID = "ConfigurationHistory"; private static final String TITLE = "Configuration History";
private Integer resourceId; @@ -48,8 +47,8 @@ public class ConfigurationHistoryView extends TableSection { /** * Use this constructor to view config histories for all viewable Resources. */ - public ConfigurationHistoryView() { - super(LOCATOR_ID, TITLE); + public ConfigurationHistoryView(String locatorId) { + super(locatorId, TITLE); final ConfigurationHistoryDataSource datasource = new ConfigurationHistoryDataSource(); setDataSource(datasource); } @@ -59,8 +58,8 @@ public class ConfigurationHistoryView extends TableSection { * * @param resourceId a Resource ID */ - public ConfigurationHistoryView(int resourceId) { - super(LOCATOR_ID, TITLE, createCriteria(resourceId)); + public ConfigurationHistoryView(String locatorId, int resourceId) { + super(locatorId, TITLE, createCriteria(resourceId)); this.resourceId = resourceId; ConfigurationHistoryDataSource datasource = new ConfigurationHistoryDataSource(); setDataSource(datasource); @@ -157,11 +156,10 @@ public class ConfigurationHistoryView extends TableSection {
}
- // -------- Static Utility loaders ------------
- public static ConfigurationHistoryView getHistoryOf(int resourceId) { - return new ConfigurationHistoryView(resourceId); + public static ConfigurationHistoryView getHistoryOf(String locatorId, int resourceId) { + return new ConfigurationHistoryView(locatorId, resourceId); }
} diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/report/ReportTopView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/report/ReportTopView.java index 0a9359e..4970242 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/report/ReportTopView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/report/ReportTopView.java @@ -216,7 +216,7 @@ public class ReportTopView extends LocatableHLayout implements BookmarkableView } else if (MeasurementOOBView.VIEW_ID.equals(pageName)) { content = new MeasurementOOBView(this.extendLocatorId("SuspectMetrics")); } else if (ConfigurationHistoryView.VIEW_ID.equals(pageName)) { - content = new ConfigurationHistoryView(); + content = new ConfigurationHistoryView(this.extendLocatorId("ConfigHistory")); } else if (OperationHistoryView.VIEW_ID.equals(pageName)) { content = new OperationHistoryView(this.extendLocatorId("RecentOps")); } else if (AlertsView.VIEW_ID.equals(pageName)) {
commit b638457c7a6c36661faefa86f1c2c8cc43491a79 Author: Jay Shaughnessy jshaughn@redhat.com Date: Tue Oct 12 10:01:52 2010 -0400
Fix an issue where an F5 refresh while viewing a details page messed up the history and rendering. The problem seemed due to an assumption in the master-details impl that the master (list view) would always be rendered prior to a details page.
Also, fix an issue with null protection for RefreshableViews. Removed a showDetails() override in AbstractAlertDefinitionsView as the default behavior seems adequate.
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/AbstractAlertDefinitionsView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/AbstractAlertDefinitionsView.java index 89a6c8b..bdaff67 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/AbstractAlertDefinitionsView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/alert/definitions/AbstractAlertDefinitionsView.java @@ -18,7 +18,6 @@ */ package org.rhq.enterprise.gui.coregui.client.alert.definitions;
-import com.google.gwt.user.client.History; import com.google.gwt.user.client.rpc.AsyncCallback; import com.smartgwt.client.data.Criteria; import com.smartgwt.client.widgets.Canvas; @@ -102,17 +101,6 @@ public abstract class AbstractAlertDefinitionsView extends TableSection { }
@Override - public void showDetails(ListGridRecord record) { - Canvas canvas = getDetailsView(record); - setDetailsView(canvas); - - Integer id = record.getAttributeAsInt("id"); - History.newItem(getBasePath() + "/" + id.intValue(), false); - - switchToDetailsView(); - } - - @Override public Canvas getDetailsView(ListGridRecord record) { if (record == null) { return getDetailsView(0); diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/Table.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/Table.java index 917946a..8f8f8f1 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/Table.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/Table.java @@ -431,14 +431,18 @@ public class Table extends LocatableHLayout implements RefreshableView { private ArrayList<Integer> fieldSizes = new ArrayList<Integer>();
public void refresh(Criteria criteria) { - this.listGrid.invalidateCache(); - this.listGrid.setCriteria(criteria); - this.listGrid.markForRedraw(); + if (null != this.listGrid) { + this.listGrid.invalidateCache(); + this.listGrid.setCriteria(criteria); + this.listGrid.markForRedraw(); + } }
public void refresh() { - this.listGrid.invalidateCache(); - this.listGrid.markForRedraw(); + if (null != this.listGrid) { + this.listGrid.invalidateCache(); + this.listGrid.markForRedraw(); + } }
public void setTableTitle(String titleString) { diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/TableSection.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/TableSection.java index c8ab12b..f5118f7 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/TableSection.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/TableSection.java @@ -85,6 +85,12 @@ public abstract class TableSection extends Table implements BookmarkableView { detailsHolder.hide();
addMember(detailsHolder); + + // if the detailsView is already defined it means we want the details view to be rendered prior to + // the master view, probably due to a direct navigation or refresh (like F5 when sitting on the details page) + if (null != detailsView) { + switchToDetailsView(); + } }
@Override @@ -222,6 +228,8 @@ public abstract class TableSection extends Table implements BookmarkableView { */ protected void switchToDetailsView() { Canvas contents = getTableContents(); + + // If the Table has not yet been initialized then ignore if (contents != null) { if (contents.isVisible()) { contents.animateHide(AnimationEffect.WIPE, new AnimationCallback() {
commit 1d1565dd1a551ef75491d4e010d2ef6b0fee4fd3 Merge: ad5ba13... b1865ae... Author: Heiko W. Rupp hwr@redhat.com Date: Tue Oct 12 14:25:37 2010 +0200
Merge branch 'master' into perftest
Conflicts: modules/enterprise/server/jar/pom.xml
diff --cc modules/enterprise/server/jar/pom.xml index 1f05256,697056a..2abdae5 --- a/modules/enterprise/server/jar/pom.xml +++ b/modules/enterprise/server/jar/pom.xml @@@ -491,10 -483,10 +491,10 @@@ Build-OS-Version=${os.version </executions> </plugin>
- <plugin> + <plugin> - <artifactId>maven-surefire-plugin</artifactId> + <artifactId>maven-surefire-plugin</artifactId> <!-- Everything but the web service tests, this is the standard test execution --> - <configuration> + <configuration> <excludes> <exclude>com/**/*.java</exclude> </excludes> @@@ -504,9 -496,9 +504,9 @@@ <deploymentDirectory>target/classes</deploymentDirectory> <hibernate.dialect>${rhq.test.ds.hibernate-dialect}</hibernate.dialect> </systemPropertyVariables> - <additionalClasspathElements> + <additionalClasspathElements> <!-- The below is required for tests to run against Oracle. --> - <additionalClasspathElement>${settings.localRepository}/com/oracle/ojdbc5/${ojdbc5.version}/ojdbc5-${ojdbc5.version}.jar</additionalClasspathElement> + <additionalClasspathElement>${settings.localRepository}/com/oracle/ojdbc5/${ojdbc5.version}/ojdbc5-${ojdbc5.version}.jar</additionalClasspathElement> </additionalClasspathElements> </configuration> </plugin> @@@ -700,8 -692,94 +700,94 @@@ </plugins> </build>
- </profile> + </profile> - + <profile> + <id>cobertura</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <build> + <plugins> + <plugin> - <artifactId>maven-antrun-plugin</artifactId> ++ <artifactId>maven-antrun-plugin</artifactId> + <version>1.1</version> + <dependencies> + <dependency> + <groupId>net.sourceforge.cobertura</groupId> + <artifactId>cobertura</artifactId> - <version>1.9.4.1</version> ++ <version>1.9.4.1</version> + <scope>test</scope> + </dependency> + </dependencies> - <executions> - <execution> ++ <executions> ++ <execution> + <id>cobertura-instrument</id> + <phase>process-test-classes</phase> - <configuration> - <tasks> ++ <configuration> ++ <tasks> + <!-- prepare directory structure for cobertura--> - <mkdir dir="target/cobertura" /> ++ <mkdir dir="target/cobertura" /> + <mkdir dir="target/cobertura/backup"/> + <!-- backup all classes so that we can instrument the original classes--> + <copy toDir="target/cobertura/backup" verbose="true" overwrite="true"> + <fileset dir="target/classes"> - <include name="**/*.class" /> ++ <include name="**/*.class" /> + </fileset> + </copy> + <!-- create a properties file and save there location of cobertura data file--> + <touch file="target/classes/cobertura.properties"/> + <echo file="target/classes/cobertura.properties">net.sourceforge.cobertura.datafile=${project.build.directory}/cobertura/cobertura.ser</echo> + <taskdef classpathref="maven.plugin.classpath" resource="tasks.properties" /> + <!-- instrument all classes in target/classes directory --> + <cobertura-instrument datafile="${project.build.directory}/cobertura/cobertura.ser" todir="${project.build.directory}/classes"> - <fileset dir="${project.build.directory}/classes"> ++ <fileset dir="${project.build.directory}/classes"> + <include name="**/*.class"/> + <exclude name="**/DynamicConfigurationPropertyLocal.class" /> + <exclude name="**/DynamicConfigurationPropertyBean.class" /> + </fileset> + </cobertura-instrument> + </tasks> + </configuration> + <goals> + <goal>run</goal> + </goals> - </execution> ++ </execution> + <execution> + <id>cobertura-report</id> + <phase>prepare-package</phase> + <configuration> + <tasks> + <taskdef classpathref="maven.plugin.classpath" resource="tasks.properties" /> + <!-- prepare directory structure for cobertura--> + <mkdir dir="target/cobertura" /> + <mkdir dir="target/site/cobertura" /> + <!-- restore classes from backup folder to classes folder --> + <copy toDir="target/classes" verbose="true" overwrite="true"> + <fileset dir="target/cobertura/backup"> - <include name="**/*.class" /> ++ <include name="**/*.class" /> + </fileset> + </copy> + <!-- delete backup folder--> + <delete dir="target/cobertura/backup"/> + <!-- create a code coverage report --> + <cobertura-report format="html" datafile="${project.build.directory}/cobertura/cobertura.ser" destdir="${project.build.directory}/site/cobertura"> - <fileset dir="${basedir}/src/main/java"> ++ <fileset dir="${basedir}/src/main/java"> + <include name="**/*.java" /> + </fileset> + </cobertura-report> + <!-- delete cobertura.properties file --> + <delete file="target/classes/cobertura.properties"/> + </tasks> + </configuration> + <goals> + <goal>run</goal> + </goals> - </execution> - </executions> - </plugin> ++ </execution> ++ </executions> ++ </plugin> + </plugins> + </build> + </profile> </profiles> - + </project>
commit ad5ba139f79bd9828817e383dcaa1f8285df6c6b Author: Heiko W. Rupp hwr@redhat.com Date: Tue Oct 12 14:07:49 2010 +0200
Don't fail if the sheet already exists, but just reuse it.
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java index 6d9c7f6..6662b71 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java @@ -115,9 +115,12 @@ public class ExcelExporter implements PerformanceReportExporter { * @param result TestNG results of the test */ private void createDetailsSheet(Workbook wb, Map<String,Long> timings, ITestResult result) { - Sheet sheet = wb.createSheet(result.getName());
- Row row = sheet.createRow(0); + Sheet sheet = wb.getSheet(result.getName()); + if (sheet ==null) + sheet = wb.createSheet(result.getName()); + + Row row = appendRow(sheet); Cell cell = row.createCell(0); cell.setCellStyle(boldText); cell.setCellValue("Class");
commit c8609334f26fa129c1b1a3de0b269cd104efd8a2 Author: Heiko W. Rupp hwr@redhat.com Date: Tue Oct 12 14:07:22 2010 +0200
Be more verbose (for now), clean out subjects after tests and fix alert definition setup.
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index c95f0d4..6bc40b5 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -26,7 +26,9 @@ import javax.persistence.Query;
import org.rhq.core.domain.alert.AlertCondition; import org.rhq.core.domain.alert.AlertConditionCategory; +import org.rhq.core.domain.alert.AlertDampening; import org.rhq.core.domain.alert.AlertDefinition; +import org.rhq.core.domain.alert.AlertPriority; import org.rhq.core.domain.auth.Subject; import org.rhq.core.domain.discovery.AvailabilityReport; import org.rhq.core.domain.measurement.Availability; @@ -45,6 +47,7 @@ import org.rhq.helpers.perftest.support.testng.DatabaseSetupInterceptor; import org.rhq.helpers.perftest.support.testng.DatabaseState; import org.rhq.helpers.perftest.support.testng.PerformanceReporting;
+import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Listeners; import org.testng.annotations.Test; @@ -74,13 +77,19 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest {
@BeforeMethod public void beforeMethod() { + Date now = new Date(); + System.out.println(">>>>> beforeMethod (AI Purge Test) === " + now.getTime()); try { this.availabilityManager = LookupUtil.getAvailabilityManager(); this.resourceManager = LookupUtil.getResourceManager(); this.agentManager = LookupUtil.getAgentManager(); this.systemManager = LookupUtil.getSystemManager(); this.alertDefinitionManager = LookupUtil.getAlertDefinitionManager(); - this.overlord = LookupUtil.getSubjectManager().getOverlord(); + /* + * NOTE: do not try to get Subjects in here, as they will only be available after + * this method has finished and the DatabaseSetupInterceptor has initialized the + * database. + */ } catch (Throwable t) { // Catch RuntimeExceptions and Errors and dump their stack trace, because Surefire will completely swallow them // and throw a cryptic NPE (see http://jira.codehaus.org/browse/SUREFIRE-157)! @@ -89,6 +98,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { } }
+ /** * Send availability reports to the server and measure timing. * For each resource, availability alternates for each report. @@ -98,6 +108,10 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { */ @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testAlternating() throws Exception { + Subject overlord = LookupUtil.getSubjectManager().getOverlord(); + + Date now = new Date(); + System.out.println(">>>>>>> testAlternating (AI Purge Test) === " + now.getTime());
EntityManager em = getEntityManager(); Query q = em.createQuery("SELECT r FROM Resource r"); @@ -172,6 +186,8 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { */ @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testRandom() throws Exception { + Subject overlord = LookupUtil.getSubjectManager().getOverlord(); +
EntityManager em = getEntityManager(); Query q = em.createQuery("SELECT r FROM Resource r"); @@ -240,6 +256,8 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { */ @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testAlwaysUp() throws Exception { + Subject overlord = LookupUtil.getSubjectManager().getOverlord(); +
EntityManager em = getEntityManager(); Query q = em.createQuery("SELECT r FROM Resource r"); @@ -311,6 +329,8 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { */ @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testAlternatingWithAlert() throws Exception { + Subject overlord = LookupUtil.getSubjectManager().getOverlord(); +
EntityManager em = getEntityManager(); Query q = em.createQuery("SELECT r FROM Resource r"); @@ -335,6 +355,9 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { AlertDefinition def = new AlertDefinition(); def.addCondition(goingDown); def.setName("Test alert definition"); + def.setPriority(AlertPriority.MEDIUM); + def.setAlertDampening(new AlertDampening(AlertDampening.Category.NONE)); + def.setRecoveryId(0); alertDefinitionManager.createAlertDefinition(overlord,def,res.getId());
for (int MULTI : ROUNDS) { diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java index 71adcb5..280db19 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java @@ -26,8 +26,10 @@ import org.testng.ITestResult; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod;
+import javax.persistence.EntityManager; import java.lang.reflect.Method; import java.util.Comparator; +import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.Set; @@ -96,6 +98,9 @@ public class AbstractEJB3PerformanceTest extends AbstractEJB3Test {
@AfterMethod protected void reportTimings(ITestResult result, Method meth) { + Date now = new Date(); + System.out.println(">>> after " + meth.getName() + " (AbstraceEJB3PerformanceTest) === " + now.getTime()); + printTimings(meth.getName());
Class clazz = meth.getDeclaringClass(); @@ -124,7 +129,8 @@ public class AbstractEJB3PerformanceTest extends AbstractEJB3Test {
@BeforeMethod protected void setupTimings(Method meth) { - System.out.println(">>> " + meth.getName() + " ==="); + Date now = new Date(); + System.out.println(">>> before " + meth.getName() + " (AbstraceEJB3PerformanceTest) === " + now.getTime()); timings = new HashMap<String, Long>(); startTime = new HashMap<String, Long>();
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java index ce38a46..57cd217 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java @@ -26,6 +26,7 @@ import java.io.InputStream; import java.lang.reflect.Method; import java.sql.Connection; import java.sql.SQLException; +import java.util.Date;
import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; @@ -54,18 +55,24 @@ import javax.naming.InitialContext; * </code> * * @author Lukas Krejci + * @author Heiko W. Rupp */ public class DatabaseSetupInterceptor implements IInvokedMethodListener {
private static final Log LOG = LogFactory.getLog(DatabaseSetupInterceptor.class);
public void beforeInvocation(IInvokedMethod method, ITestResult testResult) { + + DatabaseState state = getRequiredDatabaseState(method);
if (state == null) { return; }
+ Date now = new Date(); + System.out.println(">> beforeInvocation(DBInterceptor) " + method.getTestMethod().getMethodName() + " == " + now.getTime()); +
try { InputStreamProvider streamProvider = getInputStreamProvider(state.url(), state.storage(), method); @@ -112,7 +119,23 @@ public class DatabaseSetupInterceptor implements IInvokedMethodListener { }
public void afterInvocation(IInvokedMethod method, ITestResult testResult) { - //nothing to do + DatabaseState state = getRequiredDatabaseState(method); + + if (state == null) { + return; + } + + Date now = new Date(); + System.out.println(">> afterInvocation(DBInterceptor) == " + method.getTestMethod().getMethodName() + " === " + now.getTime()); //nothing to do + + try { + IDatabaseConnection connection = new DatabaseDataSourceConnection(new InitialContext(), + "java:/RHQDS"); + connection.getConnection().createStatement().execute("DROP TABLE RHQ_SUBJECT CASCADE"); + } catch (Exception e) { + System.err.println("== drop subject table failed: " + e.getMessage()); + } + }
private static DatabaseState getRequiredDatabaseState(IInvokedMethod method) {
commit 5e2d54344d4a70922d6cc5ace409be49a0cfd2b9 Author: Jay Shaughnessy jshaughn@redhat.com Date: Mon Oct 11 10:04:08 2010 -0400
Add some null protection
diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/auth/SubjectManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/auth/SubjectManagerBean.java index 37ec2c9..6359a23 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/auth/SubjectManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/auth/SubjectManagerBean.java @@ -515,7 +515,7 @@ public class SubjectManagerBean implements SubjectManagerLocal, SubjectManagerRe
// one more thing, delete any owned groups List<ResourceGroup> ownedGroups = doomedSubject.getOwnedGroups(); - if (!ownedGroups.isEmpty()) { + if (null != ownedGroups && !ownedGroups.isEmpty()) { int size = ownedGroups.size(); int[] ownedGroupIds = new int[size]; for (int i = 0; (i < size); ++i) { diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/resource/ResourceManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/resource/ResourceManagerBean.java index 6f4d21e..379c69d 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/resource/ResourceManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/resource/ResourceManagerBean.java @@ -402,7 +402,7 @@ public class ResourceManagerBean implements ResourceManagerLocal, ResourceManage
// one more thing, delete any autogroup backing groups List<ResourceGroup> backingGroups = attachedResource.getAutoGroupBackingGroups(); - if (!backingGroups.isEmpty()) { + if (null != backingGroups && !backingGroups.isEmpty()) { int size = backingGroups.size(); int[] backingGroupIds = new int[size]; for (int i = 0; (i < size); ++i) {
commit 27d8449171d845fafa9f52d4e5c71c2025e03698 Merge: f12e3ff... 83e1862... Author: Jay Shaughnessy jshaughn@redhat.com Date: Mon Oct 11 09:34:56 2010 -0400
Merge branch 'master-jay'
commit 83e1862431f6a1f9bae8a9a2e15a143887610527 Merge: c9f36c6... e7b6b09... Author: Jay Shaughnessy jshaughn@redhat.com Date: Fri Oct 8 16:43:28 2010 -0400
Merge branch 'master' into master-jay
commit c9f36c62440ceb4141098b8587327f8ae1149572 Author: Jay Shaughnessy jshaughn@redhat.com Date: Fri Oct 8 16:37:10 2010 -0400
Fix Bug 640224 - On click of 'Topology->Agents' RHQ not showing agent UI
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/admin/AdministrationView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/admin/AdministrationView.java index 37770eb..8c82506 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/admin/AdministrationView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/admin/AdministrationView.java @@ -52,6 +52,22 @@ import org.rhq.enterprise.gui.coregui.client.util.selenium.LocatableTreeGrid; public class AdministrationView extends LocatableHLayout implements BookmarkableView { public static final String VIEW_ID = "Administration";
+ private static final String SECTION_SECURITY_VIEW_ID = "Security"; + private static final String SECTION_TOPOLOGY_VIEW_ID = "Topology"; + private static final String SECTION_CONFIGURATION_VIEW_ID = "Configuration"; + + // TODO these iframe page view ids should go away in favor of the gwt view page view_id, when available + private static final String PAGE_SERVERS_VIEW_ID = "Servers"; + private static final String PAGE_AGENTS_VIEW_ID = "Agents"; + private static final String PAGE_AFFINITY_GROUPS_VIEW_ID = "AffinityGroups"; + private static final String PAGE_PARTITION_EVENTS_VIEW_ID = "PartitionEvents"; + + private static final String PAGE_SYSTEM_SETTINGS_VIEW_ID = "SystemSettings"; + private static final String PAGE_TEMPLATES_VIEW_ID = "Templates"; + private static final String PAGE_DOWNLOADS_VIEW_ID = "Downloads"; + private static final String PAGE_LICENSE_VIEW_ID = "License"; + private static final String PAGE_PLUGINS_VIEW_ID = "Plugins"; + private ViewId currentSectionViewId; private ViewId currentPageViewId;
@@ -61,10 +77,6 @@ public class AdministrationView extends LocatableHLayout implements Bookmarkable private Canvas currentContent; private Map<String, TreeGrid> treeGrids = new LinkedHashMap<String, TreeGrid>();
- private static final String SECURITY_SECTION_VIEW_ID = "Security"; - private static final String TOPOLOGY_SECTION_VIEW_ID = "Topology"; - private static final String CONFIGURATION_SECTION_VIEW_ID = "Configuration"; - public AdministrationView(String locatorId) { super(locatorId); } @@ -88,7 +100,7 @@ public class AdministrationView extends LocatableHLayout implements Bookmarkable
addSection(buildSecuritySection()); addSection(buildSystemConfigurationSection()); - addSection(buildManagementClusterSection()); + addSection(buildTopologySection());
addMember(sectionStack); addMember(contentCanvas); @@ -101,7 +113,7 @@ public class AdministrationView extends LocatableHLayout implements Bookmarkable treeGrid.addSelectionChangedHandler(new SelectionChangedHandler() { public void onSelectionChanged(SelectionEvent selectionEvent) { if (selectionEvent.getState()) { - TreeNode node = (TreeNode)selectionEvent.getRecord(); + TreeNode node = (TreeNode) selectionEvent.getRecord(); String pageName = node.getName(); String viewPath = AdministrationView.VIEW_ID + "/" + sectionName + "/" + pageName; String currentViewPath = History.getToken(); @@ -130,7 +142,7 @@ public class AdministrationView extends LocatableHLayout implements Bookmarkable
private TreeGrid buildSecuritySection() {
- final TreeGrid securityTreeGrid = new LocatableTreeGrid(SECURITY_SECTION_VIEW_ID); + final TreeGrid securityTreeGrid = new LocatableTreeGrid(SECTION_SECURITY_VIEW_ID); securityTreeGrid.setLeaveScrollbarGap(false); securityTreeGrid.setShowHeader(false);
@@ -144,7 +156,7 @@ public class AdministrationView extends LocatableHLayout implements Bookmarkable final TreeNode remoteAgentInstall = new EnhancedTreeNode(RemoteAgentInstallView.VIEW_ID); remoteAgentInstall.setIcon("global/Agent_16.png");
- TreeNode rootNode = new EnhancedTreeNode(SECURITY_SECTION_VIEW_ID, manageUsersNode, manageRolesNode, + TreeNode rootNode = new EnhancedTreeNode(SECTION_SECURITY_VIEW_ID, manageUsersNode, manageRolesNode, remoteAgentInstall); tree.setRoot(rootNode);
@@ -153,19 +165,19 @@ public class AdministrationView extends LocatableHLayout implements Bookmarkable return securityTreeGrid; }
- private TreeGrid buildManagementClusterSection() { + private TreeGrid buildTopologySection() {
- final TreeGrid mgmtClusterTreeGrid = new LocatableTreeGrid(TOPOLOGY_SECTION_VIEW_ID); + final TreeGrid mgmtClusterTreeGrid = new LocatableTreeGrid(SECTION_TOPOLOGY_VIEW_ID); mgmtClusterTreeGrid.setLeaveScrollbarGap(false); mgmtClusterTreeGrid.setShowHeader(false);
Tree tree = new Tree(); - final TreeNode manageServersNode = new EnhancedTreeNode("Servers"); - final TreeNode manageAgentsNode = new EnhancedTreeNode("Agents"); - final TreeNode manageAffinityGroupsNode = new EnhancedTreeNode("AffinityGroups"); - final TreeNode managePartitionEventsNode = new EnhancedTreeNode("PartitionEvents"); + final TreeNode manageServersNode = new EnhancedTreeNode(PAGE_SERVERS_VIEW_ID); + final TreeNode manageAgentsNode = new EnhancedTreeNode(PAGE_AGENTS_VIEW_ID); + final TreeNode manageAffinityGroupsNode = new EnhancedTreeNode(PAGE_AFFINITY_GROUPS_VIEW_ID); + final TreeNode managePartitionEventsNode = new EnhancedTreeNode(PAGE_PARTITION_EVENTS_VIEW_ID);
- TreeNode rootNode = new EnhancedTreeNode(TOPOLOGY_SECTION_VIEW_ID, manageServersNode, manageAgentsNode, + TreeNode rootNode = new EnhancedTreeNode(SECTION_TOPOLOGY_VIEW_ID, manageServersNode, manageAgentsNode, manageAffinityGroupsNode, managePartitionEventsNode); tree.setRoot(rootNode);
@@ -176,19 +188,19 @@ public class AdministrationView extends LocatableHLayout implements Bookmarkable
private TreeGrid buildSystemConfigurationSection() {
- final TreeGrid systemConfigTreeGrid = new LocatableTreeGrid(CONFIGURATION_SECTION_VIEW_ID); + final TreeGrid systemConfigTreeGrid = new LocatableTreeGrid(SECTION_CONFIGURATION_VIEW_ID); systemConfigTreeGrid.setLeaveScrollbarGap(false); systemConfigTreeGrid.setShowHeader(false);
Tree tree = new Tree(); - final TreeNode manageSettings = new EnhancedTreeNode("SystemSettings"); - final TreeNode manageTemplates = new EnhancedTreeNode("Templates"); - final TreeNode manageDownloads = new EnhancedTreeNode("Downloads"); - final TreeNode manageLicense = new EnhancedTreeNode("License"); - final TreeNode managePlugins = new EnhancedTreeNode("Plugins"); - - TreeNode rootNode = new EnhancedTreeNode(CONFIGURATION_SECTION_VIEW_ID, manageSettings, manageTemplates, manageDownloads, - manageLicense, managePlugins); + final TreeNode manageSettings = new EnhancedTreeNode(PAGE_SYSTEM_SETTINGS_VIEW_ID); + final TreeNode manageTemplates = new EnhancedTreeNode(PAGE_TEMPLATES_VIEW_ID); + final TreeNode manageDownloads = new EnhancedTreeNode(PAGE_DOWNLOADS_VIEW_ID); + final TreeNode manageLicense = new EnhancedTreeNode(PAGE_LICENSE_VIEW_ID); + final TreeNode managePlugins = new EnhancedTreeNode(PAGE_PLUGINS_VIEW_ID); + + TreeNode rootNode = new EnhancedTreeNode(SECTION_CONFIGURATION_VIEW_ID, manageSettings, manageTemplates, + manageDownloads, manageLicense, managePlugins); tree.setRoot(rootNode);
systemConfigTreeGrid.setData(tree); @@ -197,8 +209,13 @@ public class AdministrationView extends LocatableHLayout implements Bookmarkable }
public void setContent(Canvas newContent) { - for (Canvas child : contentCanvas.getChildren()) { - child.destroy(); + + // A call to destroy (e.g. certain IFrames/FullHTMLPane) can actually remove multiple children of the + // contentCanvas. As such, we need to query for the children after each destroy to ensure only valid children + // are in the array. + Canvas[] children; + while ((children = contentCanvas.getChildren()).length > 0) { + children[0].destroy(); }
contentCanvas.addChild(newContent); @@ -214,7 +231,7 @@ public class AdministrationView extends LocatableHLayout implements Bookmarkable String pageName = currentPageViewId.getPath();
Canvas content = null; - if (SECURITY_SECTION_VIEW_ID.equals(sectionName)) { + if (SECTION_SECURITY_VIEW_ID.equals(sectionName)) {
if (UsersView.VIEW_ID.equals(pageName)) { content = new UsersView(this.extendLocatorId("Users")); @@ -223,42 +240,41 @@ public class AdministrationView extends LocatableHLayout implements Bookmarkable } else if (RemoteAgentInstallView.VIEW_ID.equals(pageName)) { content = new RemoteAgentInstallView(this.extendLocatorId("RemoteAgentInstall")); } - } else if (CONFIGURATION_SECTION_VIEW_ID.equals(sectionName)) { + } else if (SECTION_CONFIGURATION_VIEW_ID.equals(sectionName)) {
String url = null; - if ("SystemSettings".equals(pageName)) { + if (PAGE_SYSTEM_SETTINGS_VIEW_ID.equals(pageName)) { url = "/admin/config/Config.do?mode=edit"; - } else if ("Templates".equals(pageName)) { + } else if (PAGE_TEMPLATES_VIEW_ID.equals(pageName)) { url = "/admin/config/EditDefaults.do?mode=monitor&viewMode=all"; - } else if ("Downloads".equals(pageName)) { + } else if (PAGE_DOWNLOADS_VIEW_ID.equals(pageName)) { url = "/rhq/admin/downloads-body.xhtml"; - } else if ("License".equals(pageName)) { + } else if (PAGE_LICENSE_VIEW_ID.equals(pageName)) { url = "/admin/license/LicenseAdmin.do?mode=view"; - } else if ("Plugins".equals(pageName)) { + } else if (PAGE_PLUGINS_VIEW_ID.equals(pageName)) { url = "/rhq/admin/plugin/plugin-list-plain.xhtml"; } url = addQueryStringParam(url, "nomenu=true"); content = new FullHTMLPane(url);
- } else if (TOPOLOGY_SECTION_VIEW_ID.equals(sectionName)) { + } else if (SECTION_TOPOLOGY_VIEW_ID.equals(sectionName)) { String url = null; - if ("Servers".equals(pageName)) { + if (PAGE_SERVERS_VIEW_ID.equals(pageName)) { url = "/rhq/ha/listServers-plain.xhtml"; - } else if ("Agents".equals(pageName)) { + } else if (PAGE_AGENTS_VIEW_ID.equals(pageName)) { url = "/rhq/ha/listAgents-plain.xhtml"; - } else if ("Affinity Groups".equals(pageName)) { + } else if (PAGE_AFFINITY_GROUPS_VIEW_ID.equals(pageName)) { url = "/rhq/ha/listAffinityGroups-plain.xhtml"; - } else if ("Partition Events".equals(pageName)) { + } else if (PAGE_PARTITION_EVENTS_VIEW_ID.equals(pageName)) { url = "/rhq/ha/listPartitionEvents-plain.xhtml"; } content = new FullHTMLPane(url); }
+ // when changing sections make sure the previous section's selection is deselected for (String name : treeGrids.keySet()) { TreeGrid treeGrid = treeGrids.get(name); - if (name.equals(sectionName)) { - // treeGrid.setSelectedPaths(page); - } else { + if (!name.equals(sectionName)) { treeGrid.deselectAllRecords(); } } diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/report/ReportTopView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/report/ReportTopView.java index 48a4455..0a9359e 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/report/ReportTopView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/report/ReportTopView.java @@ -58,7 +58,7 @@ import org.rhq.enterprise.gui.coregui.client.util.selenium.LocatableTreeGrid; * @author Greg Hinkle */ public class ReportTopView extends LocatableHLayout implements BookmarkableView { - public static final String VIEW_ID = "Reports"; + public static final String VIEW_ID = "Reports";
private static final String SUBSYSTEMS_SECTION_VIEW_ID = "Subsystems"; private static final String INVENTORY_SECTION_VIEW_ID = "Inventory"; @@ -107,7 +107,7 @@ public class ReportTopView extends LocatableHLayout implements BookmarkableView treeGrid.addSelectionChangedHandler(new SelectionChangedHandler() { public void onSelectionChanged(SelectionEvent selectionEvent) { if (selectionEvent.getState()) { - TreeNode node = (TreeNode)selectionEvent.getRecord(); + TreeNode node = (TreeNode) selectionEvent.getRecord(); String pageName = node.getName(); String viewPath = ReportTopView.VIEW_ID + "/" + sectionName + "/" + pageName; String currentViewPath = History.getToken(); @@ -187,10 +187,12 @@ public class ReportTopView extends LocatableHLayout implements BookmarkableView }
public void setContent(Canvas newContent) { - if (contentCanvas.getChildren().length > 0) { - for (Canvas child : contentCanvas.getChildren()) { - child.destroy(); - } + // A call to destroy (e.g. certain IFrames/FullHTMLPane) can actually remove multiple children of the + // contentCanvas. As such, we need to query for the children after each destroy to ensure only valid children + // are in the array. + Canvas[] children; + while ((children = contentCanvas.getChildren()).length > 0) { + children[0].destroy(); }
contentCanvas.addChild(newContent);
commit c97066dc5663ada4a231f9454975645ede814ef4 Merge: fedaabb... f1da64d... Author: Jay Shaughnessy jshaughn@redhat.com Date: Fri Oct 8 10:36:03 2010 -0400
Merge branch 'master' into master-jay
commit fedaabbf024cb2ee99a25e4d24bf07b807c32f30 Merge: 8763a0d... 915e740... Author: Jay Shaughnessy jshaughn@redhat.com Date: Fri Oct 8 09:42:34 2010 -0400
Merge branch 'master' into master-jay
commit 5f911a17a3d287a8b4b72ec4059bbb27822fc3ac Author: Heiko W. Rupp hwr@redhat.com Date: Fri Oct 8 14:38:39 2010 +0200
AlertDefinitions need a name ...
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index 8e62cf0..c95f0d4 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -334,6 +334,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest {
AlertDefinition def = new AlertDefinition(); def.addCondition(goingDown); + def.setName("Test alert definition"); alertDefinitionManager.createAlertDefinition(overlord,def,res.getId());
for (int MULTI : ROUNDS) {
commit 9205aab63fc04adbe36aca531fe33fcf881eb48b Author: Heiko W. Rupp hwr@redhat.com Date: Fri Oct 8 14:27:39 2010 +0200
Add a test that also stresses the alert subsystem.
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index a96ac9b..8e62cf0 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -24,11 +24,16 @@ import java.util.List; import javax.persistence.EntityManager; import javax.persistence.Query;
+import org.rhq.core.domain.alert.AlertCondition; +import org.rhq.core.domain.alert.AlertConditionCategory; +import org.rhq.core.domain.alert.AlertDefinition; +import org.rhq.core.domain.auth.Subject; import org.rhq.core.domain.discovery.AvailabilityReport; import org.rhq.core.domain.measurement.Availability; import org.rhq.core.domain.measurement.AvailabilityType; import org.rhq.core.domain.resource.Agent; import org.rhq.core.domain.resource.Resource; +import org.rhq.enterprise.server.alert.AlertDefinitionManagerLocal; import org.rhq.enterprise.server.core.AgentManagerLocal; import org.rhq.enterprise.server.measurement.AvailabilityManagerLocal; import org.rhq.enterprise.server.resource.ResourceManagerLocal; @@ -59,10 +64,13 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { AvailabilityManagerLocal availabilityManager; AgentManagerLocal agentManager; SystemManagerLocal systemManager; + AlertDefinitionManagerLocal alertDefinitionManager; private static final int MILLIS_APART = 2000; private static final String ROUND__FORMAT = "Round %6d"; private static final String PURGE__FORMAT = "Purge %6d"; private static final int[] ROUNDS = new int[]{1000,2000,3000,5000,10000}; + // private static final int[] ROUNDS = new int[]{10,20}; + private Subject overlord ;
@BeforeMethod public void beforeMethod() { @@ -71,6 +79,8 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { this.resourceManager = LookupUtil.getResourceManager(); this.agentManager = LookupUtil.getAgentManager(); this.systemManager = LookupUtil.getSystemManager(); + this.alertDefinitionManager = LookupUtil.getAlertDefinitionManager(); + this.overlord = LookupUtil.getSubjectManager().getOverlord(); } catch (Throwable t) { // Catch RuntimeExceptions and Errors and dump their stack trace, because Surefire will completely swallow them // and throw a cryptic NPE (see http://jira.codehaus.org/browse/SUREFIRE-157)! @@ -101,7 +111,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { if (l!=0) { throw new IllegalStateException("Availabilities table is not empty"); } - systemManager.vacuum(LookupUtil.getSubjectManager().getOverlord(),new String[]{"rhq_availability"}); + systemManager.vacuum(overlord,new String[]{"rhq_availability"});
for (int MULTI : ROUNDS) { String round = String.format(ROUND__FORMAT, MULTI); @@ -128,7 +138,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { availabilityManager.purgeAvailabilities(t1); endTiming(String.format(PURGE__FORMAT,MULTI)); // Vacuum the db - systemManager.vacuum(LookupUtil.getSubjectManager().getOverlord(),new String[]{"rhq_availability"}); + systemManager.vacuum(overlord,new String[]{"rhq_availability"});
}
@@ -195,7 +205,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { availabilityManager.purgeAvailabilities(t1); endTiming(String.format(PURGE__FORMAT,MULTI)); // Vacuum the db - systemManager.vacuum(LookupUtil.getSubjectManager().getOverlord(),new String[]{"rhq_availability"}); + systemManager.vacuum(overlord,new String[]{"rhq_availability"});
}
@@ -262,7 +272,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { availabilityManager.purgeAvailabilities(t1); endTiming(String.format(PURGE__FORMAT,MULTI)); // Vacuum the db - systemManager.vacuum(LookupUtil.getSubjectManager().getOverlord(),new String[]{"rhq_availability"}); + systemManager.vacuum(overlord,new String[]{"rhq_availability"});
}
@@ -291,4 +301,92 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest {
}
+ /** + * Send availability reports to the server and measure timing. + * For each resource, availability alternates for each report. + * There are multiple rounds of sending with higher numbers of reports. + * For one resource we set up an alert to fire every going down report. + * @throws Exception If anything goes wrong + * @see #ROUNDS for the number of availability reports per round + */ + @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") + public void testAlternatingWithAlert() throws Exception { + + EntityManager em = getEntityManager(); + Query q = em.createQuery("SELECT r FROM Resource r"); + List<Resource> resources = q.getResultList(); + Resource res = resources.get(0); + Agent agent = agentManager.getAgentByResourceId(res.getId()); + + q = em.createQuery("SELECT COUNT(a) FROM Availability a "); + Object o = q.getSingleResult(); + Long l = (Long)o; + if (l!=0) { + throw new IllegalStateException("Availabilities table is not empty"); + } + systemManager.vacuum(overlord,new String[]{"rhq_availability"}); + + // Set up an alert definition on one resource + AlertCondition goingDown = new AlertCondition(); + goingDown.setCategory(AlertConditionCategory.AVAILABILITY); + goingDown.setComparator("=="); + goingDown.setOption(AvailabilityType.DOWN.toString()); + + AlertDefinition def = new AlertDefinition(); + def.addCondition(goingDown); + alertDefinitionManager.createAlertDefinition(overlord,def,res.getId()); + + for (int MULTI : ROUNDS) { + String round = String.format(ROUND__FORMAT, MULTI); + + long t1 = System.currentTimeMillis() - (MULTI * MILLIS_APART); + for (int i = 0; i < MULTI; i++) { + + AvailabilityReport report = new AvailabilityReport(agent.getName()); + for (Resource r : resources) { + AvailabilityType at = (i % 2 == 0) ? AvailabilityType.UP : AvailabilityType.DOWN; + Availability a = new Availability(r, new Date(t1 + i * MILLIS_APART), at); + report.addAvailability(a); + } + startTiming(round); + availabilityManager.mergeAvailabilityReport(report); + endTiming(round); + } + + // merge is over. Now lets purge in two steps + startTiming(String.format(PURGE__FORMAT,MULTI)); + availabilityManager.purgeAvailabilities(t1 + (MULTI/2)*MILLIS_APART); + endTiming(String.format(PURGE__FORMAT,MULTI)); + startTiming(String.format(PURGE__FORMAT,MULTI)); + availabilityManager.purgeAvailabilities(t1); + endTiming(String.format(PURGE__FORMAT,MULTI)); + // Vacuum the db + systemManager.vacuum(overlord,new String[]{"rhq_availability"}); + + } + + + long timing1000 = getTiming(String.format(ROUND__FORMAT,1000)); + long timing2000 = getTiming(String.format(ROUND__FORMAT,2000)); + long timing3000 = getTiming(String.format(ROUND__FORMAT,3000)); + long timing5000 = getTiming(String.format(ROUND__FORMAT,5000)); + long timing10000 = getTiming(String.format(ROUND__FORMAT,10000)); + + assertLinear(timing1000,timing2000,2,"Merge2"); + assertLinear(timing1000,timing3000,3,"Merge3"); + assertLinear(timing1000,timing5000,5,"Merge5"); + assertLinear(timing1000,timing10000,10,"Merge10"); + + long purge1000 = getTiming(String.format(PURGE__FORMAT,1000)); + long purge2000 = getTiming(String.format(PURGE__FORMAT,2000)); + long purge3000 = getTiming(String.format(PURGE__FORMAT,3000)); + long purge5000 = getTiming(String.format(PURGE__FORMAT,5000)); + + assertLinear(purge1000,purge2000,2,"Purge2"); + assertLinear(purge1000,purge3000,3,"Purge3"); + assertLinear(purge1000,purge5000,5,"Purge3"); + + } + + }
commit 8763a0d85026e80e4a410a0ed68215e7ed880423 Merge: 903d878... c36bfe4... Author: Jay Shaughnessy jshaughn@redhat.com Date: Thu Oct 7 18:28:10 2010 -0400
Merge branch 'master' into master-jay
commit 903d8782e30e27e7d7add9626f1df4061c83e75e Author: Jay Shaughnessy jshaughn@redhat.com Date: Thu Oct 7 18:24:06 2010 -0400
Resource Tree Work - Fix dual tree building for new trees - Fix issue with duplicate resources for tree population - Fix issue when navigating directly to an autogroup - Reselect previous selected node when selecting locked or subctageory nodes
diff --git a/modules/core/domain/src/main/java/org/rhq/core/domain/resource/composite/ResourceLineageComposite.java b/modules/core/domain/src/main/java/org/rhq/core/domain/resource/composite/ResourceLineageComposite.java index 713a558..a707e15 100644 --- a/modules/core/domain/src/main/java/org/rhq/core/domain/resource/composite/ResourceLineageComposite.java +++ b/modules/core/domain/src/main/java/org/rhq/core/domain/resource/composite/ResourceLineageComposite.java @@ -48,4 +48,26 @@ public class ResourceLineageComposite implements Serializable { public boolean isLocked() { return isLocked; } + + /* + * Uses Resource.equals() so composites for the same Resource will be equal. + */ + @Override + public boolean equals(Object obj) { + if (!(obj instanceof ResourceLineageComposite)) { + return false; + } + + ResourceLineageComposite other = (ResourceLineageComposite) obj; + return this.resource.equals(other.getResource()); + } + + /* + * Uses Resource.hascode() + */ + @Override + public int hashCode() { + return this.resource.hashCode(); + } + } \ No newline at end of file diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/ResourceTreeDatasource.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/ResourceTreeDatasource.java index 17012f8..43d6b8c 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/ResourceTreeDatasource.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/ResourceTreeDatasource.java @@ -61,9 +61,9 @@ public class ResourceTreeDatasource extends DataSource { private ResourceGWTServiceAsync resourceService = GWTServiceLookup.getResourceService();
public ResourceTreeDatasource(List<Resource> initialData, List<Resource> lockedData) { - setClientOnly(false); - setDataProtocol(DSProtocol.CLIENTCUSTOM); - setDataFormat(DSDataFormat.CUSTOM); + this.setClientOnly(false); + this.setDataProtocol(DSProtocol.CLIENTCUSTOM); + this.setDataFormat(DSDataFormat.CUSTOM);
this.initialData = initialData; this.lockedData = (null != lockedData) ? lockedData : new ArrayList<Resource>(); @@ -80,9 +80,9 @@ public class ResourceTreeDatasource extends DataSource { DataSourceTextField parentIdField = new DataSourceTextField("parentId", "Parent ID"); parentIdField.setForeignKey("id");
- setDropExtraFields(false); + this.setDropExtraFields(false);
- setFields(idDataField, nameDataField, descriptionDataField); + this.setFields(idDataField, nameDataField, descriptionDataField); }
@Override @@ -116,40 +116,42 @@ public class ResourceTreeDatasource extends DataSource { //final long start = System.currentTimeMillis();
String parentResourceId = request.getCriteria().getAttribute("parentId"); - // com.allen_sauer.gwt.log.client.Log.info("All attributes: " + Arrays.toString(request.getCriteria().getAttributes())); + //com.allen_sauer.gwt.log.client.Log.info("All attributes: " + Arrays.toString(request.getCriteria().getAttributes()));
ResourceCriteria criteria = new ResourceCriteria();
if (parentResourceId == null) { - com.allen_sauer.gwt.log.client.Log.info("ResourceTreeDatasource: Loading initial data..."); - - // criteria.addFilterId(rootId); - - processIncomingData(initialData, response, requestId); - response.setStatus(DSResponse.STATUS_SUCCESS); - return; + // If this gets called more than once it's a problem. Don't load initial data more than once. + // Subsequent fetches should be due to parent node tree expansion + if (null != this.initialData) { + com.allen_sauer.gwt.log.client.Log.debug("ResourceTreeDatasource: Loading initial data..."); + + processIncomingData(this.initialData, response, requestId); + response.setStatus(DSResponse.STATUS_SUCCESS); + this.initialData = null; + } else { + processResponse(requestId, response); + response.setStatus(DSResponse.STATUS_FAILURE); + }
} else { - com.allen_sauer.gwt.log.client.Log.info("ResourceTreeDatasource: Loading Resource [" + parentResourceId + com.allen_sauer.gwt.log.client.Log.debug("ResourceTreeDatasource: Loading Resource [" + parentResourceId + "]...");
criteria.addFilterParentResourceId(Integer.parseInt(parentResourceId)); - } - - // The server is already eager fetch resource type - // * criteria.fetchResourceType(true);
- resourceService.findResourcesByCriteria(criteria, new AsyncCallback<PageList<Resource>>() { - public void onFailure(Throwable caught) { - CoreGUI.getErrorHandler().handleError("Failed to load resource data for tree", caught); - response.setStatus(RPCResponse.STATUS_FAILURE); - processResponse(requestId, response); - } + resourceService.findResourcesByCriteria(criteria, new AsyncCallback<PageList<Resource>>() { + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError("Failed to load resource data for tree", caught); + response.setStatus(RPCResponse.STATUS_FAILURE); + processResponse(requestId, response); + }
- public void onSuccess(PageList<Resource> result) { - processIncomingData(result, response, requestId); - } - }); + public void onSuccess(PageList<Resource> result) { + processIncomingData(result, response, requestId); + } + }); + } }
private void processIncomingData(List<Resource> result, final DSResponse response, final String requestId) { @@ -182,11 +184,7 @@ public class ResourceTreeDatasource extends DataSource { }
List<TreeNode> result = introduceTypeAndCategoryNodes(resourceNodes); - com.allen_sauer.gwt.log.client.Log.debug("\nSTARTING FINAL TREE\n"); - for (TreeNode node : result) { - com.allen_sauer.gwt.log.client.Log.debug("Final: " + node); - } - com.allen_sauer.gwt.log.client.Log.debug("\nENDING FINAL TREE\n"); + return result.toArray(new TreeNode[result.size()]); }
@@ -198,6 +196,7 @@ public class ResourceTreeDatasource extends DataSource { // The resulting list of nodes, including AG and SC nodes. The list is ordered to ensure all // referenced parent nodes have lower indexes than the referencing child. List<TreeNode> allNodes = new ArrayList<TreeNode>(resourceNodes.size()); + // Keep track of the node IDs added so far to ensure we don't add the same node more than once. Note // that the list of resourceNodes passed in may have duplicates as the caller may not be able to // ensure a clean set. @@ -205,13 +204,14 @@ public class ResourceTreeDatasource extends DataSource {
for (ResourceTreeNode resourceNode : resourceNodes) { if (allNodeIds.contains(resourceNode.getID())) { - com.allen_sauer.gwt.log.client.Log.debug("skipping duplicate resourceNode: " + resourceNode); + com.allen_sauer.gwt.log.client.Log.debug("Duplicate ResourceTreeNode - Skipping: " + resourceNode); continue; }
Resource resource = resourceNode.getResource();
if (resourceNode.isParentSubCategory()) { + // If the parent node is a subcategory node, make sure the subcategory node is in the // tree prior to the resource node. Note that it could itself be a tree of subcategories. addSubCategoryNodes(allNodes, allNodeIds, resource); @@ -225,6 +225,7 @@ public class ResourceTreeDatasource extends DataSource { AutoGroupTreeNode autogroupNode = new AutoGroupTreeNode(resource);
if (autogroupNode.isParentSubcategory()) { + // If the parent node of the autogroup node is a subcategory node, make sure the subcategory // node is in the tree prior to the autogroup node. Note that it could itself be a // tree of subcategories. @@ -232,12 +233,10 @@ public class ResourceTreeDatasource extends DataSource {
} allNodeIds.add(resourceNode.getParentID()); - com.allen_sauer.gwt.log.client.Log.debug("Adding " + autogroupNode); allNodes.add(autogroupNode); } }
- com.allen_sauer.gwt.log.client.Log.debug("Adding " + resourceNode + " to tree..."); allNodeIds.add(resourceNode.getID()); allNodes.add(resourceNode); } @@ -259,7 +258,6 @@ public class ResourceTreeDatasource extends DataSource { if (!allNodeIds.contains(subCategoryNodeId)) { SubCategoryTreeNode subCategoryNode = new SubCategoryTreeNode(subCategory, parentResource); allNodeIds.add(subCategoryNodeId); - com.allen_sauer.gwt.log.client.Log.debug("Adding " + subCategoryNode); allNodes.add(insertAt, subCategoryNode); } } while ((subCategory = subCategory.getParentSubCategory()) != null); diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/ResourceTreeView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/ResourceTreeView.java index 1b1ebc6..88b00ad 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/ResourceTreeView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/detail/ResourceTreeView.java @@ -126,7 +126,9 @@ public class ResourceTreeView extends LocatableVLayout { treeGrid.setOpenerImage("resources/dir.png"); treeGrid.setOpenerIconSize(16);
- treeGrid.setAutoFetchData(true); + // don't auto-fetch data, the initial fetch is requested manually using initial lineage information + treeGrid.setAutoFetchData(false); + treeGrid.setAnimateFolders(false); treeGrid.setSelectionType(SelectionStyle.SINGLE); treeGrid.setShowRollOver(false); @@ -155,8 +157,10 @@ public class ResourceTreeView extends LocatableVLayout { CoreGUI.goToView(viewPath); } } else { - // TODO: Can we select the previous node? Or do we need a "Locked" hover etc... - treeGrid.deselectAllRecords(); + treeGrid.deselectRecord(resourceNode); + if (null != selectedNodeId) { + treeGrid.selectRecord(treeGrid.getTree().findById(selectedNodeId)); + } } } else if (selectedRecord instanceof AutoGroupTreeNode) { com.allen_sauer.gwt.log.client.Log.info("AutoGroup Node selected in tree: " + selectedRecord); @@ -173,7 +177,11 @@ public class ResourceTreeView extends LocatableVLayout { } }); } else { - com.allen_sauer.gwt.log.client.Log.info("Unhandled Node selected in tree: " + selectedRecord); + // TODO: probably clicked on a subcategory, do we need a message? + treeGrid.deselectRecord(selectedRecord); + if (null != selectedNodeId) { + treeGrid.selectRecord(treeGrid.getTree().findById(selectedNodeId)); + } } } } @@ -616,12 +624,12 @@ public class ResourceTreeView extends LocatableVLayout {
} else { // This is for cases where we have to load the tree fresh including down to the currently visible node - loadTree(selectedResourceId); + loadTree(selectedResourceId, null); }
}
- private void loadTree(final int selectedResourceId) { + private void loadTree(final int selectedResourceId, final AsyncCallback<Void> callback) { selectedNodeId = ResourceTreeNode.idOf(selectedResourceId);
final ResourceGWTServiceAsync resourceService = GWTServiceLookup.getResourceService(); @@ -666,6 +674,10 @@ public class ResourceTreeView extends LocatableVLayout { public void execute(DSResponse response, Object rawData, DSRequest request) { System.out.println("Done fetching data for tree."); updateSelection(); + + if (null != callback) { + callback.onSuccess(null); + } } });
@@ -694,7 +706,6 @@ public class ResourceTreeView extends LocatableVLayout {
} }); - } } }); @@ -724,16 +735,25 @@ public class ResourceTreeView extends LocatableVLayout { }
public void onSuccess(PageList<ResourceGroup> result) { - ResourceGroup backingGroup = result.get(0); + final ResourceGroup backingGroup = result.get(0); // load the tree up to the autogroup's parent resource - loadTree(backingGroup.getAutoGroupParentResource().getId()); + loadTree(backingGroup.getAutoGroupParentResource().getId(), new AsyncCallback<Void>() {
- // get the node ID and use it to add a map entry, then call this again to finish up... - selectedNodeId = AutoGroupTreeNode.idOf(backingGroup.getAutoGroupParentResource(), backingGroup - .getResourceType()); - AutoGroupTreeNode agNode = (AutoGroupTreeNode) treeGrid.getTree().findById(selectedNodeId); - autoGroupNodeMap.put(backingGroup.getId(), agNode); - updateSelection(); + @Override + public void onFailure(Throwable caught) { + CoreGUI.getErrorHandler().handleError("Failed to load tree", caught); + } + + @Override + public void onSuccess(Void arg) { + // get the node ID and use it to add a map entry, then call this again to finish up... + selectedNodeId = AutoGroupTreeNode.idOf(backingGroup.getAutoGroupParentResource(), + backingGroup.getResourceType()); + AutoGroupTreeNode agNode = (AutoGroupTreeNode) treeGrid.getTree().findById(selectedNodeId); + autoGroupNodeMap.put(backingGroup.getId(), agNode); + updateSelection(); + } + }); } }); } diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/resource/ResourceManagerBean.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/resource/ResourceManagerBean.java index 9f5693b..62091bc 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/resource/ResourceManagerBean.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/resource/ResourceManagerBean.java @@ -751,6 +751,8 @@ public class ResourceManagerBean implements ResourceManagerLocal, ResourceManage
// get children Set<Resource> children = ancestor.getResource().getChildResources(); + // remove any that are in the ancestry to avoid repeated handling + children.removeAll(rawResourceLineage); // only add the viewable children List<Resource> viewableChildren = new ArrayList<Resource>(children.size()); for (Resource child : children) { @@ -760,8 +762,10 @@ public class ResourceManagerBean implements ResourceManagerLocal, ResourceManage if (isCommitted && isViewable) { // if not a direct ancestor add to the list (direct ancestors already added by default) if (!rawResourceLineage.contains(child)) { + // ensure we have the parent in the entity child.getParentResource().getId(); - result.add(new ResourceLineageComposite(child, false)); + ResourceLineageComposite composite = new ResourceLineageComposite(child, false); + result.add(composite); } viewableChildren.add(child); } @@ -770,6 +774,7 @@ public class ResourceManagerBean implements ResourceManagerLocal, ResourceManage // get grandchildren for (Resource child : viewableChildren) { // This ensures Hibernate actually fetches the parent Resource. + // ensure we have the parent child.getParentResource().getId(); Set<Resource> grandChildren = child.getChildResources(); for (Resource grandChild : grandChildren) { @@ -779,8 +784,10 @@ public class ResourceManagerBean implements ResourceManagerLocal, ResourceManage if (isCommitted && isViewable) { // if not a direct ancestor add to the list (direct ancestors already added by default) if (!rawResourceLineage.contains(grandChild)) { + // ensure we have the parent in the entity grandChild.getParentResource().getId(); - result.add(new ResourceLineageComposite(grandChild, false)); + ResourceLineageComposite composite = new ResourceLineageComposite(grandChild, false); + result.add(composite); } } } @@ -1813,7 +1820,7 @@ public class ResourceManagerBean implements ResourceManagerLocal, ResourceManage try { resource = getResourceById(overlord, resourceError.getResource().getId()); } catch (ResourceNotFoundException rnfe) { - throw new ResourceNotFoundException("Resource error contains an unknown Resource id: " + resourceError); + throw new ResourceNotFoundException("Resource error an unknown Resource id: " + resourceError); }
if (resourceError.getErrorType() == ResourceErrorType.INVALID_PLUGIN_CONFIGURATION @@ -1881,7 +1888,7 @@ public class ResourceManagerBean implements ResourceManagerLocal, ResourceManage Query query = entityManager.createNamedQuery(Resource.QUERY_FIND_PLATFORM_BY_AGENT); query.setParameter("category", ResourceCategory.PLATFORM); query.setParameter("agent", agent); - + try { Resource platform = (Resource) query.getSingleResult(); return platform; @@ -2087,7 +2094,7 @@ public class ResourceManagerBean implements ResourceManagerLocal, ResourceManage // ListIterator<ResourceFlyweight> iter = resources.listIterator(); // while (iter.hasNext()) { // ResourceFlyweight res = iter.next(); - // res.setLocked(!visibleIdSet.contains(res.getId())); + // res.setLocked(!visibleIdSet.(res.getId())); // } // }
commit 9eda0b88681d50ee721abe1008e2951e404b8a94 Author: Heiko W. Rupp hwr@redhat.com Date: Thu Oct 7 22:42:16 2010 +0200
Add support for daily rolling file names, so that it gets easier to compare reports over time.
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java index 5a79853..71adcb5 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java @@ -106,6 +106,7 @@ public class AbstractEJB3PerformanceTest extends AbstractEJB3Test { try { PerformanceReportExporter exporter = exporterClazz.newInstance(); exporter.setBaseFile(file); + exporter.setRolling(pr.rolling()); exporter.export(timings,result); } catch (Exception e) { diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java index 4eaf30c..6d9c7f6 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java @@ -20,10 +20,14 @@ package org.rhq.helpers.perftest.support.reporting;
import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.usermodel.*; +import org.rhq.helpers.perftest.support.testng.PerformanceReporting; import org.testng.ITestResult;
import java.io.*; +import java.text.DateFormat; +import java.text.SimpleDateFormat; import java.util.Comparator; +import java.util.Date; import java.util.Map; import java.util.Set; import java.util.SortedSet; @@ -39,27 +43,32 @@ public class ExcelExporter implements PerformanceReportExporter {
private static final String DOT_XLS = ".xls"; String baseFileName ; + PerformanceReporting.Rolling rolling; CellStyle integerStyle; CellStyle boldText;
@Override public void setBaseFile(String fileName) { - if (!fileName.endsWith(DOT_XLS)) - baseFileName = fileName + DOT_XLS; - else baseFileName = fileName; }
@Override + public void setRolling(PerformanceReporting.Rolling rolling) { + this.rolling = rolling; + } + + @Override public void export(Map<String, Long> timings, ITestResult result) {
Workbook wb; InputStream inp = null;
+ String fileName = getFileName(); + // Check if Workbook is present - otherwise create it try { - inp = new FileInputStream(baseFileName); + inp = new FileInputStream(fileName); wb = new HSSFWorkbook(inp); } catch (Exception e) { wb = new HSSFWorkbook(); @@ -88,7 +97,7 @@ public class ExcelExporter implements PerformanceReportExporter { createDetailsSheet(wb,timings,result);
// Write the output to a file - FileOutputStream fileOut = new FileOutputStream(baseFileName); + FileOutputStream fileOut = new FileOutputStream(fileName); wb.write(fileOut); fileOut.close(); if (inp!=null) @@ -272,4 +281,32 @@ public class ExcelExporter implements PerformanceReportExporter { Row ret = sheet.createRow(lastRow+1); return ret; } + + + /** + * Return the filename to use based on the baseFileName and + * the the rolling argument of the @PerformanceReporting annotation + * @return filename for the excel file ending on .xls + */ + private String getFileName() { + String fileName = baseFileName; + DateFormat df ; + String suffix = ""; + + switch (rolling) { + case HOURLY: + df = new SimpleDateFormat("yyMMdd-kk"); + suffix = df.format(new Date()); + break; + case DAILY: + df = new SimpleDateFormat("yyMMdd"); + suffix = df.format(new Date()); + default: + break; + } + + fileName = fileName + "-" + suffix + DOT_XLS; + + return fileName; + } } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/PerformanceReportExporter.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/PerformanceReportExporter.java index 537da7e..301acfb 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/PerformanceReportExporter.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/PerformanceReportExporter.java @@ -18,6 +18,7 @@ */ package org.rhq.helpers.perftest.support.reporting;
+import org.rhq.helpers.perftest.support.testng.PerformanceReporting; import org.testng.ITestResult;
import java.util.Map; @@ -32,5 +33,7 @@ public interface PerformanceReportExporter {
public void setBaseFile(String fileName);
+ public void setRolling(PerformanceReporting.Rolling rolling); + public void export(Map<String,Long> timings, ITestResult result); } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/PerformanceReporting.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/PerformanceReporting.java index 6673d5b..927a868 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/PerformanceReporting.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/PerformanceReporting.java @@ -16,7 +16,20 @@ import java.lang.annotation.Target; @Target(ElementType.TYPE) public @interface PerformanceReporting {
+ /** Base file name of the report without any .xls suffix */ String baseFilename() default "performance-report";
+ /** Exporter class to use to export the report */ Class<? extends PerformanceReportExporter> exporter() ; + + /** Should reports be rolled over or overwritten. Gives the frequency of + * new file creation + */ + Rolling rolling() default Rolling.DAILY; + + public enum Rolling { + NONE, + DAILY, + HOURLY; + } }
commit 6549db167388738f3ebdcea0f3d7ee3249287ded Author: Heiko W. Rupp hwr@redhat.com Date: Wed Oct 6 10:26:06 2010 +0200
Tiny cleanup
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index a0d27f0..a96ac9b 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -153,7 +153,6 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { assertLinear(purge1000,purge3000,3,"Purge3"); assertLinear(purge1000,purge5000,5,"Purge3");
-// commitTimings(false); }
/**
commit d348c2c2395bdbbb8d53d2aabfc0fed950d5426d Author: Heiko W. Rupp hwr@redhat.com Date: Tue Oct 5 17:48:18 2010 +0200
Do header stuff in bold
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java index 8d6f9d5..4eaf30c 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java @@ -40,6 +40,7 @@ public class ExcelExporter implements PerformanceReportExporter { private static final String DOT_XLS = ".xls"; String baseFileName ; CellStyle integerStyle; + CellStyle boldText;
@Override public void setBaseFile(String fileName) { @@ -75,6 +76,10 @@ public class ExcelExporter implements PerformanceReportExporter { DataFormat df = wb.createDataFormat(); integerStyle = wb.createCellStyle(); integerStyle.setDataFormat(df.getFormat("#######0")); + Font boldFont = wb.createFont(); + boldFont.setBoldweight(Font.BOLDWEIGHT_BOLD); + boldText = wb.createCellStyle(); + boldText.setFont(boldFont);
createOverviewHeaderIfNeeded(sheet); @@ -104,31 +109,51 @@ public class ExcelExporter implements PerformanceReportExporter { Sheet sheet = wb.createSheet(result.getName());
Row row = sheet.createRow(0); - row.createCell(0).setCellValue("Class"); + Cell cell = row.createCell(0); + cell.setCellStyle(boldText); + cell.setCellValue("Class"); String name = result.getTestClass().getName(); name = name.replace("org.rhq.enterprise.server.performance.test.",""); row.createCell(1).setCellValue(name); row = appendRow(sheet); - row.createCell(0).setCellValue("Method"); + + cell = row.createCell(0); + cell.setCellStyle(boldText); + cell.setCellValue("Method"); row.createCell(1).setCellValue(result.getName());
- row.createCell(0).setCellValue("Success:"); + cell = row.createCell(0); + cell.setCellStyle(boldText); + cell.setCellValue("Success:"); row.createCell(1).setCellValue(result.isSuccess()); + row = appendRow(sheet); - row.createCell(0).setCellValue("TestNG timing"); + cell = row.createCell(0); + cell.setCellStyle(boldText); + cell.setCellValue("TestNG timing"); row.createCell(1).setCellValue(result.getEndMillis()-result.getStartMillis()); + row = appendRow(sheet); - row.createCell(0).setCellValue("Perf test timing"); + cell = row.createCell(0); + cell.setCellStyle(boldText); + cell.setCellValue("Perf test timing"); row.createCell(1).setCellValue(getTotalTime(timings)); - row = appendRow(sheet); // Empty + + row = appendRow(sheet); // Empty row row = appendRow(sheet); - row.createCell(0).setCellValue("Individual Timings"); + cell = row.createCell(0); + cell.setCellStyle(boldText); + cell.setCellValue("Individual Timings");
// Now the timings row = appendRow(sheet); - row.createCell(0).setCellValue("Name"); - row.createCell(1).setCellValue("Duration"); + cell = row.createCell(0); + cell.setCellStyle(boldText); + cell.setCellValue("Name"); + cell = row.createCell(1); + cell.setCellStyle(boldText); + cell.setCellValue("Duration");
Set<Map.Entry<String,Long>> data = timings.entrySet(); SortedSet<Map.Entry<String,Long>> sorted = new TreeSet<Map.Entry<String,Long>>(new Comparator<Map.Entry<String,Long>>() { @@ -142,7 +167,7 @@ public class ExcelExporter implements PerformanceReportExporter {
for (Map.Entry<String,Long> entry: sorted) { row = appendRow(sheet); - Cell cell = row.createCell(0); + cell = row.createCell(0); cell.setCellValue(entry.getKey()); cell = row.createCell(1); cell.setCellStyle(integerStyle); @@ -185,7 +210,6 @@ public class ExcelExporter implements PerformanceReportExporter { cell.setCellValue(result.getEndMillis()-result.getStartMillis());
// timing of our business logic - cell = row.createCell(4); cell.setCellType(Cell.CELL_TYPE_NUMERIC); cell.setCellStyle(integerStyle); @@ -202,15 +226,21 @@ public class ExcelExporter implements PerformanceReportExporter { row = sheet.createRow(0);
Cell cell = row.createCell(0); + cell.setCellStyle(boldText); cell.setCellValue("Class"); cell = row.createCell(1); + cell.setCellStyle(boldText); cell.setCellValue("Name"); cell = row.createCell(2); + cell.setCellStyle(boldText); cell.setCellValue("Success"); cell = row.createCell(3); + cell.setCellStyle(boldText); cell.setCellValue("TestNG timing"); + cell.setCellStyle(boldText); cell = row.createCell(4); cell.setCellValue("Perf timing"); + cell.setCellStyle(boldText);
sheet.autoSizeColumn(0); sheet.autoSizeColumn(1);
commit 6e422587818f1d28791551fa2ae0532dd907e56d Author: Heiko W. Rupp hwr@redhat.com Date: Tue Oct 5 17:25:10 2010 +0200
Create detail sheets for individual tests.
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java index 5959dfa..8d6f9d5 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java @@ -23,7 +23,11 @@ import org.apache.poi.ss.usermodel.*; import org.testng.ITestResult;
import java.io.*; +import java.util.Comparator; import java.util.Map; +import java.util.Set; +import java.util.SortedSet; +import java.util.TreeSet;
/** @@ -76,6 +80,7 @@ public class ExcelExporter implements PerformanceReportExporter { createOverviewHeaderIfNeeded(sheet); long time = getTotalTime(timings); createOverviewEntry(sheet, time, result); + createDetailsSheet(wb,timings,result);
// Write the output to a file FileOutputStream fileOut = new FileOutputStream(baseFileName); @@ -90,6 +95,65 @@ public class ExcelExporter implements PerformanceReportExporter { }
/** + * Create a sheet per test to show the individual timings we recorded + * @param wb Workbook to attach the new sheet to + * @param timings The map with timings from the test + * @param result TestNG results of the test + */ + private void createDetailsSheet(Workbook wb, Map<String,Long> timings, ITestResult result) { + Sheet sheet = wb.createSheet(result.getName()); + + Row row = sheet.createRow(0); + row.createCell(0).setCellValue("Class"); + String name = result.getTestClass().getName(); + name = name.replace("org.rhq.enterprise.server.performance.test.",""); + row.createCell(1).setCellValue(name); + row = appendRow(sheet); + row.createCell(0).setCellValue("Method"); + row.createCell(1).setCellValue(result.getName()); + + + row.createCell(0).setCellValue("Success:"); + row.createCell(1).setCellValue(result.isSuccess()); + row = appendRow(sheet); + row.createCell(0).setCellValue("TestNG timing"); + row.createCell(1).setCellValue(result.getEndMillis()-result.getStartMillis()); + row = appendRow(sheet); + row.createCell(0).setCellValue("Perf test timing"); + row.createCell(1).setCellValue(getTotalTime(timings)); + row = appendRow(sheet); // Empty + row = appendRow(sheet); + row.createCell(0).setCellValue("Individual Timings"); + + // Now the timings + row = appendRow(sheet); + row.createCell(0).setCellValue("Name"); + row.createCell(1).setCellValue("Duration"); + + Set<Map.Entry<String,Long>> data = timings.entrySet(); + SortedSet<Map.Entry<String,Long>> sorted = new TreeSet<Map.Entry<String,Long>>(new Comparator<Map.Entry<String,Long>>() { + + public int compare(Map.Entry<String,Long> item1, Map.Entry<String,Long> item2) { + + return item1.getKey().compareTo(item2.getKey()); + } + }); + sorted.addAll(data); + + for (Map.Entry<String,Long> entry: sorted) { + row = appendRow(sheet); + Cell cell = row.createCell(0); + cell.setCellValue(entry.getKey()); + cell = row.createCell(1); + cell.setCellStyle(integerStyle); + cell.setCellValue(entry.getValue()); + } + + sheet.autoSizeColumn(0); + sheet.autoSizeColumn(1); + } + + /** * Create a row on the overview sheet * @param sheet sheet to use * @param testTime time this test took within the perf biz logic
commit 83a25b0117d50d0ace4012c4ec48f8ed6cd447f0 Author: Heiko W. Rupp hwr@redhat.com Date: Tue Oct 5 16:06:37 2010 +0200
Refactoring and add class name to sheet
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java index aabeb23..5959dfa 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java @@ -18,7 +18,6 @@ */ package org.rhq.helpers.perftest.support.reporting;
-import org.apache.poi.hssf.usermodel.HSSFCellStyle; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.usermodel.*; import org.testng.ITestResult; @@ -36,6 +35,7 @@ public class ExcelExporter implements PerformanceReportExporter {
private static final String DOT_XLS = ".xls"; String baseFileName ; + CellStyle integerStyle;
@Override public void setBaseFile(String fileName) { @@ -51,7 +51,7 @@ public class ExcelExporter implements PerformanceReportExporter {
Workbook wb; InputStream inp = null; - CellStyle integerStyle; + // Check if Workbook is present - otherwise create it try { inp = new FileInputStream(baseFileName); @@ -73,32 +73,9 @@ public class ExcelExporter implements PerformanceReportExporter { integerStyle.setDataFormat(df.getFormat("#######0"));
- createHeaderIfNeeded(sheet); - - // Test name - Row row = appendRow(sheet); - Cell cell = row.createCell(0); - cell.setCellType(Cell.CELL_TYPE_STRING); - cell.setCellValue(result.getName()); - - // success ? - cell = row.createCell(1); - cell.setCellType(Cell.CELL_TYPE_BOOLEAN); - cell.setCellValue(result.isSuccess()); - - // timing from TestNG - cell = row.createCell(2); - cell.setCellType(Cell.CELL_TYPE_NUMERIC); - cell.setCellStyle(integerStyle); - cell.setCellValue(result.getEndMillis()-result.getStartMillis()); - - // timing of our business logic + createOverviewHeaderIfNeeded(sheet); long time = getTotalTime(timings); - cell = row.createCell(3); - cell.setCellType(Cell.CELL_TYPE_NUMERIC); - cell.setCellStyle(integerStyle); - cell.setCellValue(time); - + createOverviewEntry(sheet, time, result);
// Write the output to a file FileOutputStream fileOut = new FileOutputStream(baseFileName); @@ -112,29 +89,80 @@ public class ExcelExporter implements PerformanceReportExporter { } }
- private void createHeaderIfNeeded(Sheet sheet) { + /** + * Create a row on the overview sheet + * @param sheet sheet to use + * @param testTime time this test took within the perf biz logic + * @param result the TestNG result object + */ + private void createOverviewEntry(Sheet sheet, long testTime, ITestResult result) { + // Class name + Row row = appendRow(sheet); + Cell cell = row.createCell(0); + cell.setCellType(Cell.CELL_TYPE_STRING); + String name = result.getTestClass().getName(); + name = name.replace("org.rhq.enterprise.server.performance.test.",""); + cell.setCellValue(name); + + // Test name + cell = row.createCell(1); + cell.setCellType(Cell.CELL_TYPE_STRING); + cell.setCellValue(result.getName()); + + // success ? + cell = row.createCell(2); + cell.setCellType(Cell.CELL_TYPE_BOOLEAN); + cell.setCellValue(result.isSuccess()); + + // timing from TestNG + cell = row.createCell(3); + cell.setCellType(Cell.CELL_TYPE_NUMERIC); + cell.setCellStyle(integerStyle); + cell.setCellValue(result.getEndMillis()-result.getStartMillis()); + + // timing of our business logic + + cell = row.createCell(4); + cell.setCellType(Cell.CELL_TYPE_NUMERIC); + cell.setCellStyle(integerStyle); + cell.setCellValue(testTime); + } + + /** + * Create a header row that describes the columns on the overview sheet + * @param sheet sheet to write to. + */ + private void createOverviewHeaderIfNeeded(Sheet sheet) { Row row = sheet.getRow(0); if (row==null) row = sheet.createRow(0); + Cell cell = row.createCell(0); - cell.setCellValue("Name"); + cell.setCellValue("Class"); cell = row.createCell(1); - cell.setCellValue("Success"); + cell.setCellValue("Name"); cell = row.createCell(2); - cell.setCellValue("TestNG timing"); + cell.setCellValue("Success"); cell = row.createCell(3); + cell.setCellValue("TestNG timing"); + cell = row.createCell(4); cell.setCellValue("Perf timing");
sheet.autoSizeColumn(0); - sheet.autoSizeColumn(2); + sheet.autoSizeColumn(1); sheet.autoSizeColumn(3); + sheet.autoSizeColumn(4);
}
+ /** + * Get the accumulated time from all the perf test biz logic of the test + * @param timings Map with timings and 'sub tests' + * @return summary time + */ private long getTotalTime(Map<String, Long> timings) { long summaryTime = 0L; for (Map.Entry<String,Long> item : timings.entrySet()) { - System.out.println(":| " + item.getKey() + " => " + item.getValue()); summaryTime += item.getValue(); } return summaryTime;
commit efcc6caf0f8bfb0c42bbafab7cec36fd76f58c9d Author: Heiko W. Rupp hwr@redhat.com Date: Tue Oct 5 15:23:46 2010 +0200
Write performance reports to Excel files. Needs some more work to support showing detail data.
diff --git a/modules/enterprise/server/jar/pom.xml b/modules/enterprise/server/jar/pom.xml index 5c94154..1f05256 100644 --- a/modules/enterprise/server/jar/pom.xml +++ b/modules/enterprise/server/jar/pom.xml @@ -408,12 +408,6 @@ <scope>test</scope> </dependency>
- <dependency> - <groupId>net.sourceforge.jexcelapi</groupId> - <artifactId>jxl</artifactId> - <version>2.6.8</version> - <scope>test</scope> - </dependency>
<dependency> <groupId>commons-jxpath</groupId> diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index f0d2a5d..a0d27f0 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -35,8 +35,10 @@ import org.rhq.enterprise.server.resource.ResourceManagerLocal; import org.rhq.enterprise.server.system.SystemManagerLocal; import org.rhq.enterprise.server.test.AbstractEJB3PerformanceTest; import org.rhq.enterprise.server.util.LookupUtil; +import org.rhq.helpers.perftest.support.reporting.ExcelExporter; import org.rhq.helpers.perftest.support.testng.DatabaseSetupInterceptor; import org.rhq.helpers.perftest.support.testng.DatabaseState; +import org.rhq.helpers.perftest.support.testng.PerformanceReporting;
import org.testng.annotations.BeforeMethod; import org.testng.annotations.Listeners; @@ -50,6 +52,7 @@ import org.testng.annotations.Test; */ @Test(groups = "PERF") @Listeners({ DatabaseSetupInterceptor.class }) +@PerformanceReporting(exporter=ExcelExporter.class) public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest {
ResourceManagerLocal resourceManager; diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java index 057b6c7..5a79853 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java @@ -20,6 +20,8 @@ package org.rhq.enterprise.server.test;
import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.rhq.helpers.perftest.support.reporting.PerformanceReportExporter; +import org.rhq.helpers.perftest.support.testng.PerformanceReporting; import org.testng.ITestResult; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; @@ -96,9 +98,27 @@ public class AbstractEJB3PerformanceTest extends AbstractEJB3Test { protected void reportTimings(ITestResult result, Method meth) { printTimings(meth.getName());
+ Class clazz = meth.getDeclaringClass(); + PerformanceReporting pr = (PerformanceReporting) clazz.getAnnotation(PerformanceReporting.class); + if (pr != null) { + String file = pr.baseFilename(); + Class<? extends PerformanceReportExporter> exporterClazz = pr.exporter(); + try { + PerformanceReportExporter exporter = exporterClazz.newInstance(); + exporter.setBaseFile(file); + exporter.export(timings,result); + } + catch (Exception e) { + // TODO fix this + e.printStackTrace(); + } + + } +
timings.clear(); startTime.clear(); + }
@BeforeMethod diff --git a/modules/helpers/perftest-support/pom.xml b/modules/helpers/perftest-support/pom.xml index b8b26af..35c1cd2 100644 --- a/modules/helpers/perftest-support/pom.xml +++ b/modules/helpers/perftest-support/pom.xml @@ -80,6 +80,12 @@ <type>jar</type> <scope>compile</scope> </dependency> + <dependency> + <groupId>org.apache.poi</groupId> + <artifactId>poi</artifactId> + <version>3.6</version> + </dependency> + </dependencies> <build> <plugins> @@ -110,4 +116,4 @@ </plugins> </build>
-</project> \ No newline at end of file +</project> diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java new file mode 100644 index 0000000..aabeb23 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/ExcelExporter.java @@ -0,0 +1,153 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ +package org.rhq.helpers.perftest.support.reporting; + +import org.apache.poi.hssf.usermodel.HSSFCellStyle; +import org.apache.poi.hssf.usermodel.HSSFWorkbook; +import org.apache.poi.ss.usermodel.*; +import org.testng.ITestResult; + +import java.io.*; +import java.util.Map; + + +/** + * Export data to an excel sheet + * + * @author Heiko W. Rupp + */ +public class ExcelExporter implements PerformanceReportExporter { + + private static final String DOT_XLS = ".xls"; + String baseFileName ; + + @Override + public void setBaseFile(String fileName) { + if (!fileName.endsWith(DOT_XLS)) + baseFileName = fileName + DOT_XLS; + else + baseFileName = fileName; + } + + @Override + public void export(Map<String, Long> timings, ITestResult result) { + + + Workbook wb; + InputStream inp = null; + CellStyle integerStyle; + // Check if Workbook is present - otherwise create it + try { + inp = new FileInputStream(baseFileName); + wb = new HSSFWorkbook(inp); + } catch (Exception e) { + wb = new HSSFWorkbook(); + } + // Now write to it + try { + // Check if we have our sheet, otherwise create + if (wb.getNumberOfSheets()==0) { + wb.createSheet("Overview"); + + } + Sheet sheet = wb.getSheetAt(0); + + DataFormat df = wb.createDataFormat(); + integerStyle = wb.createCellStyle(); + integerStyle.setDataFormat(df.getFormat("#######0")); + + + createHeaderIfNeeded(sheet); + + // Test name + Row row = appendRow(sheet); + Cell cell = row.createCell(0); + cell.setCellType(Cell.CELL_TYPE_STRING); + cell.setCellValue(result.getName()); + + // success ? + cell = row.createCell(1); + cell.setCellType(Cell.CELL_TYPE_BOOLEAN); + cell.setCellValue(result.isSuccess()); + + // timing from TestNG + cell = row.createCell(2); + cell.setCellType(Cell.CELL_TYPE_NUMERIC); + cell.setCellStyle(integerStyle); + cell.setCellValue(result.getEndMillis()-result.getStartMillis()); + + // timing of our business logic + long time = getTotalTime(timings); + cell = row.createCell(3); + cell.setCellType(Cell.CELL_TYPE_NUMERIC); + cell.setCellStyle(integerStyle); + cell.setCellValue(time); + + + // Write the output to a file + FileOutputStream fileOut = new FileOutputStream(baseFileName); + wb.write(fileOut); + fileOut.close(); + if (inp!=null) + inp.close(); + } + catch (Exception e) { + e.printStackTrace(); + } + } + + private void createHeaderIfNeeded(Sheet sheet) { + Row row = sheet.getRow(0); + if (row==null) + row = sheet.createRow(0); + Cell cell = row.createCell(0); + cell.setCellValue("Name"); + cell = row.createCell(1); + cell.setCellValue("Success"); + cell = row.createCell(2); + cell.setCellValue("TestNG timing"); + cell = row.createCell(3); + cell.setCellValue("Perf timing"); + + sheet.autoSizeColumn(0); + sheet.autoSizeColumn(2); + sheet.autoSizeColumn(3); + + } + + private long getTotalTime(Map<String, Long> timings) { + long summaryTime = 0L; + for (Map.Entry<String,Long> item : timings.entrySet()) { + System.out.println(":| " + item.getKey() + " => " + item.getValue()); + summaryTime += item.getValue(); + } + return summaryTime; + } + + /** + * Append a row to the sheet + * @param sheet Sheet to append a new empty row to + * @return the newly created row + */ + private Row appendRow(Sheet sheet) { + int lastRow = sheet.getLastRowNum(); + Row ret = sheet.createRow(lastRow+1); + return ret; + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/PerformanceReportExporter.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/PerformanceReportExporter.java new file mode 100644 index 0000000..537da7e --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/reporting/PerformanceReportExporter.java @@ -0,0 +1,36 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ +package org.rhq.helpers.perftest.support.reporting; + +import org.testng.ITestResult; + +import java.util.Map; + +/** + * Define a reporter, that can be used to export + * performance test results with. + * + * @author Heiko W. Rupp + */ +public interface PerformanceReportExporter { + + public void setBaseFile(String fileName); + + public void export(Map<String,Long> timings, ITestResult result); +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/PerformanceReporting.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/PerformanceReporting.java new file mode 100644 index 0000000..6673d5b --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/PerformanceReporting.java @@ -0,0 +1,22 @@ +package org.rhq.helpers.perftest.support.testng; + +import org.rhq.helpers.perftest.support.reporting.PerformanceReportExporter; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * Define were to export performance test results to + * + * @author Heiko W. Rupp + */ +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface PerformanceReporting { + + String baseFilename() default "performance-report"; + + Class<? extends PerformanceReportExporter> exporter() ; +}
commit f33382c030b0f9d1765ef12892ca2ba964444bb4 Merge: 4802908... ebd4ec6... Author: Heiko W. Rupp hwr@redhat.com Date: Mon Oct 4 12:12:43 2010 +0200
Merge branch 'master' into perftest
Conflicts: modules/enterprise/server/jar/pom.xml
diff --cc modules/enterprise/server/jar/pom.xml index f9c1952,b54dfd8..5c94154 --- a/modules/enterprise/server/jar/pom.xml +++ b/modules/enterprise/server/jar/pom.xml @@@ -402,19 -402,12 +402,26 @@@ </dependency>
<dependency> + <groupId>org.rhq.helpers</groupId> + <artifactId>perftest-support</artifactId> + <version>${project.version}</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>net.sourceforge.jexcelapi</groupId> + <artifactId>jxl</artifactId> + <version>2.6.8</version> + <scope>test</scope> + </dependency> + ++ <dependency> + <groupId>commons-jxpath</groupId> + <artifactId>commons-jxpath</artifactId> + <version>1.3</version> + <scope>test</scope> + </dependency> - ++ </dependencies>
<build>
commit 48029081f328dd5de0b3a9e617f42bd28f287db0 Merge: 067f701... cf57ff1... Author: Heiko W. Rupp hwr@redhat.com Date: Thu Sep 30 20:59:10 2010 +0200
Merge branch 'master' into perftest
commit 067f7016646feab4a0a4cacd9f9779c80f6ed4ad Merge: 63d8660... 941fa0b... Author: Heiko W. Rupp hwr@redhat.com Date: Thu Sep 30 16:30:59 2010 +0200
Merge branch 'master' into perftest
commit 63d86607c4ccf1626d16d5e68360d8483b9ac1e0 Author: Heiko W. Rupp hwr@redhat.com Date: Thu Sep 30 16:26:38 2010 +0200
Add jexcel lib for potential reporting.
diff --git a/modules/enterprise/server/jar/pom.xml b/modules/enterprise/server/jar/pom.xml index 335b76c..0ea5e08 100644 --- a/modules/enterprise/server/jar/pom.xml +++ b/modules/enterprise/server/jar/pom.xml @@ -67,7 +67,7 @@ <groupId>ant</groupId> <artifactId>ant</artifactId> </exclusion> - </exclusions> + </exclusions> </dependency>
<dependency> @@ -87,7 +87,7 @@ <dependency> <groupId>org.antlr</groupId> <artifactId>antlr</artifactId> - <version>3.2</version> + <version>3.2</version> </dependency>
<!-- Required by a couple APL and Lather classes - TODO: Remove this once APL and Lather have been excised. --> @@ -358,7 +358,7 @@ <version>2.7.7</version> <scope>test</scope> </dependency> - + <dependency> <groupId>hibernate-entitymanager</groupId> <artifactId>hibernate-entitymanager</artifactId> @@ -400,13 +400,21 @@ <version>1.8</version> <scope>test</scope> </dependency> - + <dependency> <groupId>org.rhq.helpers</groupId> <artifactId>perftest-support</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> + + <dependency> + <groupId>net.sourceforge.jexcelapi</groupId> + <artifactId>jxl</artifactId> + <version>2.6.8</version> + <scope>test</scope> + </dependency> + </dependencies>
<build> @@ -509,10 +517,10 @@ Build-OS-Version=${os.version} <dfa>false</dfa> <nfa>false</nfa> <excludes> - + </excludes> <includes> - + </includes> <libDirectory>src/main/antlr3/imports</libDirectory> <messageFormat>antlr</messageFormat> @@ -632,7 +640,7 @@ Build-OS-Version=${os.version} </dependency> </dependencies> </profile> - + <profile> <id>javadoc</id> <activation> @@ -663,7 +671,7 @@ Build-OS-Version=${os.version} </classpath> <fileset dir="${project.dir}" defaultexcludes="yes"> <include name="**/*Remote.java" /> - <exclude name="**/*Test*.java" /> + <exclude name="**/*Test*.java" /> </fileset> <link href="../domain" /> <link href="../plugin-api" /> @@ -682,8 +690,8 @@ Build-OS-Version=${os.version} </plugins> </build>
- </profile> + </profile>
</profiles> - + </project>
commit d2b6ab8550ffdf39842a30567b3b76d4e5284331 Author: Heiko W. Rupp hwr@redhat.com Date: Thu Sep 30 16:25:51 2010 +0200
Clean up, as we are using the Datsource from JNDI
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java index 8ed863d..ce38a46 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java @@ -66,12 +66,9 @@ public class DatabaseSetupInterceptor implements IInvokedMethodListener { return; }
-// Method connectionProviderMethod = getConnectionProviderMethod(method, state);
try { InputStreamProvider streamProvider = getInputStreamProvider(state.url(), state.storage(), method); -// Object classInstance = method.getTestMethod().getInstances()[0]; -// Connection connection = (Connection) connectionProviderMethod.invoke(classInstance, (Object[]) null); IDatabaseConnection connection = new DatabaseDataSourceConnection(new InitialContext(), "java:/RHQDS");
@@ -124,28 +121,6 @@ public class DatabaseSetupInterceptor implements IInvokedMethodListener { return javaMethod.getAnnotation(DatabaseState.class); }
- private static Method getConnectionProviderMethod(IInvokedMethod method, DatabaseState state) { - String methodName = state.connectionProviderMethod(); - Class<?> declaringClass = method.getTestMethod().getMethod().getDeclaringClass(); - if (methodName == null || methodName.trim().isEmpty()) { - JdbcConnectionProviderMethod methodAnnotation = declaringClass.getAnnotation(JdbcConnectionProviderMethod.class); - if (methodAnnotation == null) { - throw new IllegalStateException( - "Neither 'connectionProviderMethod' attribute of the @DatabaseState annotation nor @ConnectionProviderMethod annotation could be found. Cannot initialize the database state without being able to get a connection."); - } - methodName = methodAnnotation.value(); - } - try { - return declaringClass.getMethod(methodName, (Class<?>[])null); - } catch (SecurityException e) { - LOG.warn("Failed to find a method declared by the @ConnectionProviderMethod annotation.", e); - return null; - } catch (NoSuchMethodException e) { - LOG.warn("Failed to find a method declared by the @ConnectionProviderMethod annotation.", e); - return null; - } - - }
private static InputStreamProvider getInputStreamProvider(final String url, DatabaseStateStorage storage, final IInvokedMethod method) throws FileNotFoundException { @@ -162,5 +137,5 @@ public class DatabaseSetupInterceptor implements IInvokedMethodListener { default: return null; } - } + } } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java index 5ceba4f..b7e66fa 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java @@ -28,7 +28,7 @@ import org.rhq.helpers.perftest.support.FileFormat;
/** * An annotation to associate a test method with a required state of the database. - * + * * @author Lukas Krejci */ @Retention(value = RetentionPolicy.RUNTIME) @@ -47,21 +47,15 @@ public @interface DatabaseState { * is imported to it and the database is then upgraded to the latest version. */ String dbVersion(); - + /** * Where is the export file accessible from (defaults to {@link DatabaseStateStorage#CLASSLOADER}). */ DatabaseStateStorage storage() default DatabaseStateStorage.CLASSLOADER; - + /** * The format of the export file (defaults to zipped xml). */ FileFormat format() default FileFormat.ZIPPED_XML; - - /** - * The name of the method to provide a JDBC connection object. - * If the method is not specified, the value of the {@link JdbcConnectionProviderMethod} annotation - * is used. - */ - String connectionProviderMethod() default ""; + } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/JdbcConnectionProviderMethod.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/JdbcConnectionProviderMethod.java deleted file mode 100644 index 8f04045..0000000 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/JdbcConnectionProviderMethod.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * RHQ Management Platform - * Copyright (C) 2005-2010 Red Hat, Inc. - * All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -package org.rhq.helpers.perftest.support.testng; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -import java.sql.Connection; - -/** - * Specifies the method on the annotated class that can provide JDBC connections to the caller. - * The method must accept no arguments and return a {@link Connection} instance. - * - * @author Lukas Krejci - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface JdbcConnectionProviderMethod { - - String value(); -}
commit 851eccbe8e96ea5c107b586f6f7598cd61f7ded9 Author: Heiko W. Rupp hwr@redhat.com Date: Thu Sep 30 16:18:27 2010 +0200
Move reporting into the abstract superclass.
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index 8f8c6ff..f0d2a5d 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -86,7 +86,6 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testAlternating() throws Exception {
- System.out.println("=== testAlternating ==="); EntityManager em = getEntityManager(); Query q = em.createQuery("SELECT r FROM Resource r"); List<Resource> resources = q.getResultList(); @@ -130,7 +129,6 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest {
}
- printTimings();
long timing1000 = getTiming(String.format(ROUND__FORMAT,1000)); long timing2000 = getTiming(String.format(ROUND__FORMAT,2000)); @@ -152,7 +150,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { assertLinear(purge1000,purge3000,3,"Purge3"); assertLinear(purge1000,purge5000,5,"Purge3");
- commitTimings(false); +// commitTimings(false); }
/** @@ -163,7 +161,6 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testRandom() throws Exception {
- System.out.println("=== testRandom ==="); EntityManager em = getEntityManager(); Query q = em.createQuery("SELECT r FROM Resource r"); List<Resource> resources = q.getResultList(); @@ -200,8 +197,6 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest {
}
- printTimings(); - long timing1000 = getTiming(String.format(ROUND__FORMAT,1000)); long timing2000 = getTiming(String.format(ROUND__FORMAT,2000)); long timing3000 = getTiming(String.format(ROUND__FORMAT,3000)); @@ -224,7 +219,6 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { assertLinear(purge1000,purge3000,3,"Purge3"); assertLinear(purge1000,purge5000,5,"Purge3");
- commitTimings(false); }
/** @@ -235,7 +229,6 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testAlwaysUp() throws Exception {
- System.out.println("=== testAlwaysUp ==="); EntityManager em = getEntityManager(); Query q = em.createQuery("SELECT r FROM Resource r"); List<Resource> resources = q.getResultList(); @@ -271,7 +264,6 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest {
}
- printTimings();
long timing1000 = getTiming(String.format(ROUND__FORMAT,1000)); long timing2000 = getTiming(String.format(ROUND__FORMAT,2000)); @@ -295,6 +287,6 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { assertLinear(purge1000,purge3000,3,"Purge3"); assertLinear(purge1000,purge5000,5,"Purge3");
- commitTimings(false); } + } diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java index 2ebb35e..057b6c7 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java @@ -20,7 +20,11 @@ package org.rhq.enterprise.server.test;
import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.testng.ITestResult; +import org.testng.annotations.AfterMethod; +import org.testng.annotations.BeforeMethod;
+import java.lang.reflect.Method; import java.util.Comparator; import java.util.HashMap; import java.util.Map; @@ -39,8 +43,8 @@ public class AbstractEJB3PerformanceTest extends AbstractEJB3Test {
private static final String DEFAULT = "-default-"; - private Map<String,Long> timings = new HashMap<String, Long>(); - private Map<String,Long> startTime = new HashMap<String, Long>(); + private Map<String,Long> timings ; + private Map<String,Long> startTime ;
protected void startTiming(String name) { @@ -88,29 +92,43 @@ public class AbstractEJB3PerformanceTest extends AbstractEJB3Test { return getTiming(DEFAULT); }
+ @AfterMethod + protected void reportTimings(ITestResult result, Method meth) { + printTimings(meth.getName()); +
- protected void commitTimings(boolean alsoPrint) { - if (alsoPrint) - printTimings(); timings.clear(); startTime.clear(); }
- protected void printTimings() { + @BeforeMethod + protected void setupTimings(Method meth) { + System.out.println(">>> " + meth.getName() + " ==="); + timings = new HashMap<String, Long>(); + startTime = new HashMap<String, Long>(); + + } + + + + protected void printTimings(String testName) { + System.out.println("=== " + testName + " ==="); Set<Map.Entry<String,Long>> data = timings.entrySet(); SortedSet <Map.Entry<String,Long>> sorted = new TreeSet<Map.Entry<String,Long>>(new Comparator<Map.Entry<String,Long>>() { - + public int compare(Map.Entry<String,Long> item1, Map.Entry<String,Long> item2) {
return item1.getKey().compareTo(item2.getKey()); } }); sorted.addAll(data); + long summaryTime = 0L; for (Map.Entry<String,Long> item : sorted) { log.info(":| " + item.getKey() + " => " + item.getValue()); System.out.println(":| " + item.getKey() + " => " + item.getValue()); - + summaryTime += item.getValue(); } + System.out.println("Total: " + summaryTime + " ms"); }
protected void assertTiming(String name, long maxDuration) { @@ -137,6 +155,8 @@ public class AbstractEJB3PerformanceTest extends AbstractEJB3Test { * @param text text to prepend to a line if check fails. */ protected void assertLinear(long ref,long value, double multiplier, String text ) { + +System.out.println(">>> assertLinear " + text + " " + ref + ", " + value + ", " + multiplier ); long low = (long) (ref * multiplier * 0.80); long hi = (long) (ref * multiplier * 1.2);
commit b3bfab468e1a3e9ea05f08c2b2ac5a8a3c57d808 Author: Heiko W. Rupp hwr@redhat.com Date: Thu Sep 30 15:27:51 2010 +0200
Use postgres 9 driver
diff --git a/pom.xml b/pom.xml index 3d5c1f0..2bac92f 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ <jsf-impl.version>1.2_14</jsf-impl.version> <ojdbc5.version>11.2.0.1.0</ojdbc5.version> <ems.version>1.2.15.1</ems.version> - <postgresql.version>8.4-701.jdbc3</postgresql.version> + <postgresql.version>9.0-801.jdbc4</postgresql.version> <h2.version>1.2.139</h2.version> <jtds.version>1.2.2</jtds.version> <richfaces.version>3.3.3.Final</richfaces.version>
commit 445ac45da9ab6a12c4293fde1194c203d2bfd255 Author: Heiko W. Rupp hwr@redhat.com Date: Mon Sep 27 21:09:43 2010 +0200
Re-format.
diff --git a/modules/helpers/perftest-support/pom.xml b/modules/helpers/perftest-support/pom.xml index 5fa1598..b8b26af 100644 --- a/modules/helpers/perftest-support/pom.xml +++ b/modules/helpers/perftest-support/pom.xml @@ -1,110 +1,113 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <artifactId>rhq-helpers</artifactId> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd%22%3E + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>rhq-helpers</artifactId> + <groupId>org.rhq.helpers</groupId> + <version>4.0.0-SNAPSHOT</version> + </parent> <groupId>org.rhq.helpers</groupId> + <artifactId>perftest-support</artifactId> <version>4.0.0-SNAPSHOT</version> - </parent> - <groupId>org.rhq.helpers</groupId> - <artifactId>perftest-support</artifactId> - <version>4.0.0-SNAPSHOT</version> - <name>Performance Testing Support</name> - <description>To support performance testing, this is a basic tool to support extracting and later reimporting of data from/to a database.</description> - <dependencies> - <dependency> - <groupId>ant</groupId> - <artifactId>ant</artifactId> - <version>1.6.5</version> - </dependency> - <dependency> - <groupId>ant</groupId> - <artifactId>ant-launcher</artifactId> - <version>1.6.5</version> - <scope>runtime</scope> - </dependency> - <dependency> - <groupId>org.dbunit</groupId> - <artifactId>dbunit</artifactId> - <version>2.4.8</version> - <exclusions> - <exclusion> - <artifactId>junit</artifactId> - <groupId>junit</groupId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>gnu-getopt</groupId> - <artifactId>getopt</artifactId> - </dependency> - <dependency> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - <version>${commons-logging.version}</version> - </dependency> - <dependency> - <groupId>org.testng</groupId> - <artifactId>testng</artifactId> - <version>${testng.version}</version> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-jcl</artifactId> - <version>1.5.6</version> - <scope>runtime</scope> - </dependency> - <dependency> - <groupId>postgresql</groupId> - <artifactId>postgresql</artifactId> - <version>${postgresql.version}</version> - <scope>runtime</scope> - </dependency> - <dependency> - <groupId>org.rhq</groupId> - <artifactId>rhq-core-domain</artifactId> - <version>${project.version}</version> - <scope>runtime</scope> - </dependency> - <dependency> - <groupId>javax.persistence</groupId> - <artifactId>persistence-api</artifactId> - <version>1.0</version> - </dependency> - <dependency> - <groupId>org.rhq</groupId> - <artifactId>rhq-core-dbutils</artifactId> - <version>${project.version}</version> - <type>jar</type> - <scope>compile</scope> - </dependency> - </dependencies> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <configuration> - <archive> - <manifest> - <mainClass>org.rhq.helpers.perftest.support.Main</mainClass> - </manifest> - </archive> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <executions> - <execution> - <id>copy-dependencies</id> - <phase>package</phase> - <goals> - <goal>copy-dependencies</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> + <name>Performance Testing Support</name> + <description>To support performance testing, this is a basic tool to support extracting and later reimporting of + data from/to a database. + </description> + <dependencies> + <dependency> + <groupId>ant</groupId> + <artifactId>ant</artifactId> + <version>1.6.5</version> + </dependency> + <dependency> + <groupId>ant</groupId> + <artifactId>ant-launcher</artifactId> + <version>1.6.5</version> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>org.dbunit</groupId> + <artifactId>dbunit</artifactId> + <version>2.4.8</version> + <exclusions> + <exclusion> + <artifactId>junit</artifactId> + <groupId>junit</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>gnu-getopt</groupId> + <artifactId>getopt</artifactId> + </dependency> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>${commons-logging.version}</version> + </dependency> + <dependency> + <groupId>org.testng</groupId> + <artifactId>testng</artifactId> + <version>${testng.version}</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-jcl</artifactId> + <version>1.5.6</version> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>postgresql</groupId> + <artifactId>postgresql</artifactId> + <version>${postgresql.version}</version> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>org.rhq</groupId> + <artifactId>rhq-core-domain</artifactId> + <version>${project.version}</version> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>javax.persistence</groupId> + <artifactId>persistence-api</artifactId> + <version>1.0</version> + </dependency> + <dependency> + <groupId>org.rhq</groupId> + <artifactId>rhq-core-dbutils</artifactId> + <version>${project.version}</version> + <type>jar</type> + <scope>compile</scope> + </dependency> + </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifest> + <mainClass>org.rhq.helpers.perftest.support.Main</mainClass> + </manifest> + </archive> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-dependencies</id> + <phase>package</phase> + <goals> + <goal>copy-dependencies</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build>
</project> \ No newline at end of file
commit 96201db9e777c39a138d507c311e7c6cc8e9cf44 Author: Heiko W. Rupp hwr@redhat.com Date: Fri Sep 24 11:56:10 2010 +0200
Print test name in front of the timings to better identify them.
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index f9a6dd1..8f8c6ff 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -86,6 +86,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testAlternating() throws Exception {
+ System.out.println("=== testAlternating ==="); EntityManager em = getEntityManager(); Query q = em.createQuery("SELECT r FROM Resource r"); List<Resource> resources = q.getResultList(); @@ -162,6 +163,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testRandom() throws Exception {
+ System.out.println("=== testRandom ==="); EntityManager em = getEntityManager(); Query q = em.createQuery("SELECT r FROM Resource r"); List<Resource> resources = q.getResultList(); @@ -233,6 +235,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testAlwaysUp() throws Exception {
+ System.out.println("=== testAlwaysUp ==="); EntityManager em = getEntityManager(); Query q = em.createQuery("SELECT r FROM Resource r"); List<Resource> resources = q.getResultList(); @@ -247,7 +250,6 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest {
AvailabilityReport report = new AvailabilityReport(agent.getName()); for (Resource r : resources) { - int rand = (int) (Math.random()*2); AvailabilityType at = AvailabilityType.UP; Availability a = new Availability(r, new Date(t1 + i * MILLIS_APART), at); report.addAvailability(a);
commit 672e488c37cc428056354a07dc2bf66689e42c8a Author: Heiko W. Rupp hwr@redhat.com Date: Fri Sep 24 11:40:40 2010 +0200
Add a test with constant UP availabilities per resource and report.
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index 56efe81..f9a6dd1 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -168,14 +168,6 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { Resource res = resources.get(0); Agent agent = agentManager.getAgentByResourceId(res.getId());
- q = em.createQuery("SELECT COUNT(a) FROM Availability a "); - Object o = q.getSingleResult(); - Long l = (Long)o; - if (l!=0) { - throw new IllegalStateException("Availabilities table is not empty"); - } - systemManager.vacuum(LookupUtil.getSubjectManager().getOverlord(),new String[]{"rhq_availability"}); - for (int MULTI : ROUNDS) { String round = String.format(ROUND__FORMAT, MULTI);
@@ -247,15 +239,6 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { Resource res = resources.get(0); Agent agent = agentManager.getAgentByResourceId(res.getId());
- q = em.createQuery("SELECT COUNT(a) FROM Availability a "); - Object o = q.getSingleResult(); - Long l = (Long)o; - if (l!=0) { - throw new IllegalStateException("Availabilities table is not empty"); - } - systemManager.vacuum(LookupUtil.getSubjectManager().getOverlord(),new String[]{"rhq_availability"}); - - for (int MULTI : ROUNDS) { String round = String.format(ROUND__FORMAT, MULTI);
commit cc5d0d802248f6f285fe70b472d67bbf4f1cca7f Author: Heiko W. Rupp hwr@redhat.com Date: Fri Sep 24 11:36:14 2010 +0200
Add a test with constant UP availabilities per resource and report.
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index 2b6953f..56efe81 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -84,7 +84,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { * @see #ROUNDS for the number of availability reports per round */ @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") - public void testOne() throws Exception { + public void testAlternating() throws Exception {
EntityManager em = getEntityManager(); Query q = em.createQuery("SELECT r FROM Resource r"); @@ -98,6 +98,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { if (l!=0) { throw new IllegalStateException("Availabilities table is not empty"); } + systemManager.vacuum(LookupUtil.getSubjectManager().getOverlord(),new String[]{"rhq_availability"});
for (int MULTI : ROUNDS) { String round = String.format(ROUND__FORMAT, MULTI); @@ -154,12 +155,12 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { }
/** - * Like {@link #testOne}, but availabilities are now random per resource and report. + * Like {@link #testAlternating}, but availabilities are now random per resource and report. * @throws Exception If anything goes wrong * @see #ROUNDS for the number of availability reports per round */ @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") - public void testTwo() throws Exception { + public void testRandom() throws Exception {
EntityManager em = getEntityManager(); Query q = em.createQuery("SELECT r FROM Resource r"); @@ -173,6 +174,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { if (l!=0) { throw new IllegalStateException("Availabilities table is not empty"); } + systemManager.vacuum(LookupUtil.getSubjectManager().getOverlord(),new String[]{"rhq_availability"});
for (int MULTI : ROUNDS) { String round = String.format(ROUND__FORMAT, MULTI); @@ -230,4 +232,84 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest {
commitTimings(false); } + + /** + * Like {@link #testAlternating}, but availabilities are always up per resource and report. + * @throws Exception If anything goes wrong + * @see #ROUNDS for the number of availability reports per round + */ + @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") + public void testAlwaysUp() throws Exception { + + EntityManager em = getEntityManager(); + Query q = em.createQuery("SELECT r FROM Resource r"); + List<Resource> resources = q.getResultList(); + Resource res = resources.get(0); + Agent agent = agentManager.getAgentByResourceId(res.getId()); + + q = em.createQuery("SELECT COUNT(a) FROM Availability a "); + Object o = q.getSingleResult(); + Long l = (Long)o; + if (l!=0) { + throw new IllegalStateException("Availabilities table is not empty"); + } + systemManager.vacuum(LookupUtil.getSubjectManager().getOverlord(),new String[]{"rhq_availability"}); + + + for (int MULTI : ROUNDS) { + String round = String.format(ROUND__FORMAT, MULTI); + + long t1 = System.currentTimeMillis() - (MULTI * MILLIS_APART); + for (int i = 0; i < MULTI; i++) { + + AvailabilityReport report = new AvailabilityReport(agent.getName()); + for (Resource r : resources) { + int rand = (int) (Math.random()*2); + AvailabilityType at = AvailabilityType.UP; + Availability a = new Availability(r, new Date(t1 + i * MILLIS_APART), at); + report.addAvailability(a); + } + startTiming(round); + availabilityManager.mergeAvailabilityReport(report); + endTiming(round); + } + + // merge is over. Now lets purge in two steps + startTiming(String.format(PURGE__FORMAT,MULTI)); + availabilityManager.purgeAvailabilities(t1 + (MULTI/2)*MILLIS_APART); + endTiming(String.format(PURGE__FORMAT,MULTI)); + startTiming(String.format(PURGE__FORMAT,MULTI)); + availabilityManager.purgeAvailabilities(t1); + endTiming(String.format(PURGE__FORMAT,MULTI)); + // Vacuum the db + systemManager.vacuum(LookupUtil.getSubjectManager().getOverlord(),new String[]{"rhq_availability"}); + + } + + printTimings(); + + long timing1000 = getTiming(String.format(ROUND__FORMAT,1000)); + long timing2000 = getTiming(String.format(ROUND__FORMAT,2000)); + long timing3000 = getTiming(String.format(ROUND__FORMAT,3000)); + long timing5000 = getTiming(String.format(ROUND__FORMAT,5000)); + long timing10000 = getTiming(String.format(ROUND__FORMAT,10000)); + + + assertLinear(timing1000,timing2000,2,"Merge2"); + assertLinear(timing1000,timing3000,3,"Merge3"); + assertLinear(timing1000,timing5000,5,"Merge5"); + assertLinear(timing1000,timing10000,10,"Merge10"); + + + long purge1000 = getTiming(String.format(PURGE__FORMAT,1000)); + long purge2000 = getTiming(String.format(PURGE__FORMAT,2000)); + long purge3000 = getTiming(String.format(PURGE__FORMAT,3000)); + long purge5000 = getTiming(String.format(PURGE__FORMAT,5000)); + + assertLinear(purge1000,purge2000,2,"Purge2"); + assertLinear(purge1000,purge3000,3,"Purge3"); + assertLinear(purge1000,purge5000,5,"Purge3"); + + commitTimings(false); + } }
commit f8806d19550dc26a33c9a13191152f137357506b Author: Heiko W. Rupp hwr@redhat.com Date: Fri Sep 24 11:05:38 2010 +0200
Add a test with random availabilities per resource and report.
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index cffb0f6..2b6953f 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -32,6 +32,7 @@ import org.rhq.core.domain.resource.Resource; import org.rhq.enterprise.server.core.AgentManagerLocal; import org.rhq.enterprise.server.measurement.AvailabilityManagerLocal; import org.rhq.enterprise.server.resource.ResourceManagerLocal; +import org.rhq.enterprise.server.system.SystemManagerLocal; import org.rhq.enterprise.server.test.AbstractEJB3PerformanceTest; import org.rhq.enterprise.server.util.LookupUtil; import org.rhq.helpers.perftest.support.testng.DatabaseSetupInterceptor; @@ -54,9 +55,11 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { ResourceManagerLocal resourceManager; AvailabilityManagerLocal availabilityManager; AgentManagerLocal agentManager; + SystemManagerLocal systemManager; private static final int MILLIS_APART = 2000; private static final String ROUND__FORMAT = "Round %6d"; private static final String PURGE__FORMAT = "Purge %6d"; + private static final int[] ROUNDS = new int[]{1000,2000,3000,5000,10000};
@BeforeMethod public void beforeMethod() { @@ -64,6 +67,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { this.availabilityManager = LookupUtil.getAvailabilityManager(); this.resourceManager = LookupUtil.getResourceManager(); this.agentManager = LookupUtil.getAgentManager(); + this.systemManager = LookupUtil.getSystemManager(); } catch (Throwable t) { // Catch RuntimeExceptions and Errors and dump their stack trace, because Surefire will completely swallow them // and throw a cryptic NPE (see http://jira.codehaus.org/browse/SUREFIRE-157)! @@ -72,11 +76,16 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { } }
+ /** + * Send availability reports to the server and measure timing. + * For each resource, availability alternates for each report. + * There are multiple rounds of sending with higher numbers of reports. + * @throws Exception If anything goes wrong + * @see #ROUNDS for the number of availability reports per round + */ @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testOne() throws Exception {
- final int[] ROUNDS = {1000,2000,3000,5000}; - EntityManager em = getEntityManager(); Query q = em.createQuery("SELECT r FROM Resource r"); List<Resource> resources = q.getResultList(); @@ -111,10 +120,11 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { startTiming(String.format(PURGE__FORMAT,MULTI)); availabilityManager.purgeAvailabilities(t1 + (MULTI/2)*MILLIS_APART); endTiming(String.format(PURGE__FORMAT,MULTI)); - // TODO analyze / vacuum in between? startTiming(String.format(PURGE__FORMAT,MULTI)); availabilityManager.purgeAvailabilities(t1); endTiming(String.format(PURGE__FORMAT,MULTI)); + // Vacuum the db + systemManager.vacuum(LookupUtil.getSubjectManager().getOverlord(),new String[]{"rhq_availability"});
}
@@ -124,10 +134,90 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { long timing2000 = getTiming(String.format(ROUND__FORMAT,2000)); long timing3000 = getTiming(String.format(ROUND__FORMAT,3000)); long timing5000 = getTiming(String.format(ROUND__FORMAT,5000)); + long timing10000 = getTiming(String.format(ROUND__FORMAT,10000));
assertLinear(timing1000,timing2000,2,"Merge2"); assertLinear(timing1000,timing3000,3,"Merge3"); assertLinear(timing1000,timing5000,5,"Merge5"); + assertLinear(timing1000,timing10000,10,"Merge10"); + + long purge1000 = getTiming(String.format(PURGE__FORMAT,1000)); + long purge2000 = getTiming(String.format(PURGE__FORMAT,2000)); + long purge3000 = getTiming(String.format(PURGE__FORMAT,3000)); + long purge5000 = getTiming(String.format(PURGE__FORMAT,5000)); + + assertLinear(purge1000,purge2000,2,"Purge2"); + assertLinear(purge1000,purge3000,3,"Purge3"); + assertLinear(purge1000,purge5000,5,"Purge3"); + + commitTimings(false); + } + + /** + * Like {@link #testOne}, but availabilities are now random per resource and report. + * @throws Exception If anything goes wrong + * @see #ROUNDS for the number of availability reports per round + */ + @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") + public void testTwo() throws Exception { + + EntityManager em = getEntityManager(); + Query q = em.createQuery("SELECT r FROM Resource r"); + List<Resource> resources = q.getResultList(); + Resource res = resources.get(0); + Agent agent = agentManager.getAgentByResourceId(res.getId()); + + q = em.createQuery("SELECT COUNT(a) FROM Availability a "); + Object o = q.getSingleResult(); + Long l = (Long)o; + if (l!=0) { + throw new IllegalStateException("Availabilities table is not empty"); + } + + for (int MULTI : ROUNDS) { + String round = String.format(ROUND__FORMAT, MULTI); + + long t1 = System.currentTimeMillis() - (MULTI * MILLIS_APART); + for (int i = 0; i < MULTI; i++) { + + AvailabilityReport report = new AvailabilityReport(agent.getName()); + for (Resource r : resources) { + int rand = (int) (Math.random()*2); + AvailabilityType at = (rand == 1) ? AvailabilityType.UP : AvailabilityType.DOWN; + Availability a = new Availability(r, new Date(t1 + i * MILLIS_APART), at); + report.addAvailability(a); + } + startTiming(round); + availabilityManager.mergeAvailabilityReport(report); + endTiming(round); + } + + // merge is over. Now lets purge in two steps + startTiming(String.format(PURGE__FORMAT,MULTI)); + availabilityManager.purgeAvailabilities(t1 + (MULTI/2)*MILLIS_APART); + endTiming(String.format(PURGE__FORMAT,MULTI)); + startTiming(String.format(PURGE__FORMAT,MULTI)); + availabilityManager.purgeAvailabilities(t1); + endTiming(String.format(PURGE__FORMAT,MULTI)); + // Vacuum the db + systemManager.vacuum(LookupUtil.getSubjectManager().getOverlord(),new String[]{"rhq_availability"}); + + } + + printTimings(); + + long timing1000 = getTiming(String.format(ROUND__FORMAT,1000)); + long timing2000 = getTiming(String.format(ROUND__FORMAT,2000)); + long timing3000 = getTiming(String.format(ROUND__FORMAT,3000)); + long timing5000 = getTiming(String.format(ROUND__FORMAT,5000)); + long timing10000 = getTiming(String.format(ROUND__FORMAT,10000)); + + + assertLinear(timing1000,timing2000,2,"Merge2"); + assertLinear(timing1000,timing3000,3,"Merge3"); + assertLinear(timing1000,timing5000,5,"Merge5"); + assertLinear(timing1000,timing10000,10,"Merge10"); +
long purge1000 = getTiming(String.format(PURGE__FORMAT,1000)); long purge2000 = getTiming(String.format(PURGE__FORMAT,2000));
commit e2bf292d11f9d851114ee51ee10e5f7279fe00a1 Author: Heiko W. Rupp hwr@redhat.com Date: Thu Sep 23 14:21:56 2010 +0200
Check that the timing is linear. Printe timinings in sorted order to make it easier for humans.
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index aecb6f2..cffb0f6 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -56,6 +56,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { AgentManagerLocal agentManager; private static final int MILLIS_APART = 2000; private static final String ROUND__FORMAT = "Round %6d"; + private static final String PURGE__FORMAT = "Purge %6d";
@BeforeMethod public void beforeMethod() { @@ -74,7 +75,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testOne() throws Exception {
- final int[] ROUNDS = {500,1000,1500,2000,2500,3000}; + final int[] ROUNDS = {1000,2000,3000,5000};
EntityManager em = getEntityManager(); Query q = em.createQuery("SELECT r FROM Resource r"); @@ -89,17 +90,16 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { throw new IllegalStateException("Availabilities table is not empty"); }
- for ( int j = 0; j < ROUNDS.length; j++) { - int MULTI = ROUNDS[j]; - String round = String.format(ROUND__FORMAT,MULTI); + for (int MULTI : ROUNDS) { + String round = String.format(ROUND__FORMAT, MULTI);
long t1 = System.currentTimeMillis() - (MULTI * MILLIS_APART); - for ( int i = 0 ; i < MULTI ; i++ ) { + for (int i = 0; i < MULTI; i++) {
AvailabilityReport report = new AvailabilityReport(agent.getName()); for (Resource r : resources) { - AvailabilityType at = (i%2==0) ? AvailabilityType.UP : AvailabilityType.DOWN; - Availability a = new Availability(r,new Date(t1 + i * MILLIS_APART), at); + AvailabilityType at = (i % 2 == 0) ? AvailabilityType.UP : AvailabilityType.DOWN; + Availability a = new Availability(r, new Date(t1 + i * MILLIS_APART), at); report.addAvailability(a); } startTiming(round); @@ -107,20 +107,37 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { endTiming(round); }
- - + // merge is over. Now lets purge in two steps + startTiming(String.format(PURGE__FORMAT,MULTI)); + availabilityManager.purgeAvailabilities(t1 + (MULTI/2)*MILLIS_APART); + endTiming(String.format(PURGE__FORMAT,MULTI)); + // TODO analyze / vacuum in between? + startTiming(String.format(PURGE__FORMAT,MULTI)); + availabilityManager.purgeAvailabilities(t1); + endTiming(String.format(PURGE__FORMAT,MULTI));
}
+ printTimings(); + long timing1000 = getTiming(String.format(ROUND__FORMAT,1000)); long timing2000 = getTiming(String.format(ROUND__FORMAT,2000)); long timing3000 = getTiming(String.format(ROUND__FORMAT,3000)); + long timing5000 = getTiming(String.format(ROUND__FORMAT,5000));
- assertCirca(timing1000,timing2000,2); - assertCirca(timing1000,timing3000,3); + assertLinear(timing1000,timing2000,2,"Merge2"); + assertLinear(timing1000,timing3000,3,"Merge3"); + assertLinear(timing1000,timing5000,5,"Merge5");
+ long purge1000 = getTiming(String.format(PURGE__FORMAT,1000)); + long purge2000 = getTiming(String.format(PURGE__FORMAT,2000)); + long purge3000 = getTiming(String.format(PURGE__FORMAT,3000)); + long purge5000 = getTiming(String.format(PURGE__FORMAT,5000));
- commitTimings(); + assertLinear(purge1000,purge2000,2,"Purge2"); + assertLinear(purge1000,purge3000,3,"Purge3"); + assertLinear(purge1000,purge5000,5,"Purge3");
+ commitTimings(false); } } diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java index 96ecf27..2ebb35e 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java @@ -21,9 +21,12 @@ package org.rhq.enterprise.server.test; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory;
+import java.util.Comparator; import java.util.HashMap; import java.util.Map; import java.util.Set; +import java.util.SortedSet; +import java.util.TreeSet;
/** * Helper that introduces timing functionality on top of the Abstract EJB tests. @@ -86,16 +89,28 @@ public class AbstractEJB3PerformanceTest extends AbstractEJB3Test { }
- protected void commitTimings() { + protected void commitTimings(boolean alsoPrint) { + if (alsoPrint) + printTimings(); + timings.clear(); + startTime.clear(); + }
+ protected void printTimings() { Set<Map.Entry<String,Long>> data = timings.entrySet(); - for (Map.Entry<String,Long> item : data) { + SortedSet <Map.Entry<String,Long>> sorted = new TreeSet<Map.Entry<String,Long>>(new Comparator<Map.Entry<String,Long>>() { + + public int compare(Map.Entry<String,Long> item1, Map.Entry<String,Long> item2) { + + return item1.getKey().compareTo(item2.getKey()); + } + }); + sorted.addAll(data); + for (Map.Entry<String,Long> item : sorted) { log.info(":| " + item.getKey() + " => " + item.getValue()); System.out.println(":| " + item.getKey() + " => " + item.getValue());
} - timings.clear(); - startTime.clear(); }
protected void assertTiming(String name, long maxDuration) { @@ -114,18 +129,20 @@ public class AbstractEJB3PerformanceTest extends AbstractEJB3Test { }
/** - * Make sure the passed value is within a band of <code>[0.9* x, 1.1*x]</code> with + * Make sure the passed value is within a band of <code>[0.80* x, 1.2*x]</code> with * <code>x = ( ref * multiplier )</code>. * @param ref base value to calculate the reference from * @param value value to compare to the band * @param multiplier multiplier for the base value of the band. + * @param text text to prepend to a line if check fails. */ - protected void assertCirca(long ref,long value, double multiplier ) { - long low = (long) (ref * multiplier * 0.9); - long hi = (long) (ref * multiplier * 1.1); + protected void assertLinear(long ref,long value, double multiplier, String text ) { + long low = (long) (ref * multiplier * 0.80); + long hi = (long) (ref * multiplier * 1.2);
- assert value >= low : "[low] Val2 (" + value + ") is not > " + low; - assert value <= hi : "[hi] Val2 (" + value + ") is not < " + hi; + // comment out the low check for now +// assert value >= low : text + " [low] Val2 (" + value + ") is not > " + low; + assert value <= hi : text + " [hi] Val2 (" + value + ") is not < " + hi; }
}
commit cd04ddb727b3bf81c85a328eb680e6a12185170b Author: Heiko W. Rupp hwr@redhat.com Date: Thu Sep 23 10:22:28 2010 +0200
Check that the timing is linear
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index a306679..aecb6f2 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -55,6 +55,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { AvailabilityManagerLocal availabilityManager; AgentManagerLocal agentManager; private static final int MILLIS_APART = 2000; + private static final String ROUND__FORMAT = "Round %6d";
@BeforeMethod public void beforeMethod() { @@ -90,7 +91,7 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest {
for ( int j = 0; j < ROUNDS.length; j++) { int MULTI = ROUNDS[j]; - String round = "Round " + String.format("%6d",MULTI); + String round = String.format(ROUND__FORMAT,MULTI);
long t1 = System.currentTimeMillis() - (MULTI * MILLIS_APART); for ( int i = 0 ; i < MULTI ; i++ ) { @@ -105,9 +106,19 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { availabilityManager.mergeAvailabilityReport(report); endTiming(round); } + + + + }
- + long timing1000 = getTiming(String.format(ROUND__FORMAT,1000)); + long timing2000 = getTiming(String.format(ROUND__FORMAT,2000)); + long timing3000 = getTiming(String.format(ROUND__FORMAT,3000)); + + assertCirca(timing1000,timing2000,2); + assertCirca(timing1000,timing3000,3); +
commitTimings();
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java index 94a04f0..96ecf27 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java @@ -24,8 +24,6 @@ import org.apache.commons.logging.LogFactory; import java.util.HashMap; import java.util.Map; import java.util.Set; -import java.util.SortedSet; -import java.util.TreeSet;
/** * Helper that introduces timing functionality on top of the Abstract EJB tests. @@ -75,6 +73,18 @@ public class AbstractEJB3PerformanceTest extends AbstractEJB3Test { endTiming(DEFAULT); }
+ protected long getTiming(String name) { + if (timings.containsKey(name)) { + return timings.get(name); + } + else + return -1; + } + + protected long getTiming() { + return getTiming(DEFAULT); + } +
protected void commitTimings() {
@@ -102,4 +112,20 @@ public class AbstractEJB3PerformanceTest extends AbstractEJB3Test { protected void assertTiming(long maxDuration) { assertTiming(DEFAULT,maxDuration); } + + /** + * Make sure the passed value is within a band of <code>[0.9* x, 1.1*x]</code> with + * <code>x = ( ref * multiplier )</code>. + * @param ref base value to calculate the reference from + * @param value value to compare to the band + * @param multiplier multiplier for the base value of the band. + */ + protected void assertCirca(long ref,long value, double multiplier ) { + long low = (long) (ref * multiplier * 0.9); + long hi = (long) (ref * multiplier * 1.1); + + assert value >= low : "[low] Val2 (" + value + ") is not > " + low; + assert value <= hi : "[hi] Val2 (" + value + ") is not < " + hi; + } + }
commit 8bfe9b3d3834edb92db26feb59d8532b2c2ce018 Author: Heiko W. Rupp hwr@redhat.com Date: Thu Sep 23 09:31:39 2010 +0200
Feed availability reports into the system and record timings.
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index 36c29c8..a306679 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -18,9 +18,26 @@ */ package org.rhq.enterprise.server.performance.test;
+import java.util.Date; +import java.util.List; + +import javax.persistence.EntityManager; +import javax.persistence.Query; + +import org.rhq.core.domain.discovery.AvailabilityReport; +import org.rhq.core.domain.measurement.Availability; +import org.rhq.core.domain.measurement.AvailabilityType; +import org.rhq.core.domain.resource.Agent; +import org.rhq.core.domain.resource.Resource; +import org.rhq.enterprise.server.core.AgentManagerLocal; +import org.rhq.enterprise.server.measurement.AvailabilityManagerLocal; +import org.rhq.enterprise.server.resource.ResourceManagerLocal; import org.rhq.enterprise.server.test.AbstractEJB3PerformanceTest; +import org.rhq.enterprise.server.util.LookupUtil; import org.rhq.helpers.perftest.support.testng.DatabaseSetupInterceptor; import org.rhq.helpers.perftest.support.testng.DatabaseState; + +import org.testng.annotations.BeforeMethod; import org.testng.annotations.Listeners; import org.testng.annotations.Test;
@@ -34,13 +51,63 @@ import org.testng.annotations.Test; @Listeners({ DatabaseSetupInterceptor.class }) public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest {
+ ResourceManagerLocal resourceManager; + AvailabilityManagerLocal availabilityManager; + AgentManagerLocal agentManager; + private static final int MILLIS_APART = 2000; + + @BeforeMethod + public void beforeMethod() { + try { + this.availabilityManager = LookupUtil.getAvailabilityManager(); + this.resourceManager = LookupUtil.getResourceManager(); + this.agentManager = LookupUtil.getAgentManager(); + } catch (Throwable t) { + // Catch RuntimeExceptions and Errors and dump their stack trace, because Surefire will completely swallow them + // and throw a cryptic NPE (see http://jira.codehaus.org/browse/SUREFIRE-157)! + t.printStackTrace(); + throw new RuntimeException(t); + } + } + @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testOne() throws Exception { - startTiming();
- Thread.sleep(1234); + final int[] ROUNDS = {500,1000,1500,2000,2500,3000}; + + EntityManager em = getEntityManager(); + Query q = em.createQuery("SELECT r FROM Resource r"); + List<Resource> resources = q.getResultList(); + Resource res = resources.get(0); + Agent agent = agentManager.getAgentByResourceId(res.getId()); + + q = em.createQuery("SELECT COUNT(a) FROM Availability a "); + Object o = q.getSingleResult(); + Long l = (Long)o; + if (l!=0) { + throw new IllegalStateException("Availabilities table is not empty"); + } + + for ( int j = 0; j < ROUNDS.length; j++) { + int MULTI = ROUNDS[j]; + String round = "Round " + String.format("%6d",MULTI); + + long t1 = System.currentTimeMillis() - (MULTI * MILLIS_APART); + for ( int i = 0 ; i < MULTI ; i++ ) { + + AvailabilityReport report = new AvailabilityReport(agent.getName()); + for (Resource r : resources) { + AvailabilityType at = (i%2==0) ? AvailabilityType.UP : AvailabilityType.DOWN; + Availability a = new Availability(r,new Date(t1 + i * MILLIS_APART), at); + report.addAvailability(a); + } + startTiming(round); + availabilityManager.mergeAvailabilityReport(report); + endTiming(round); + } + }
- endTiming(); +
commitTimings();
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java index 05b3495..94a04f0 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3PerformanceTest.java @@ -24,6 +24,8 @@ import org.apache.commons.logging.LogFactory; import java.util.HashMap; import java.util.Map; import java.util.Set; +import java.util.SortedSet; +import java.util.TreeSet;
/** * Helper that introduces timing functionality on top of the Abstract EJB tests. @@ -79,6 +81,8 @@ public class AbstractEJB3PerformanceTest extends AbstractEJB3Test { Set<Map.Entry<String,Long>> data = timings.entrySet(); for (Map.Entry<String,Long> item : data) { log.info(":| " + item.getKey() + " => " + item.getValue()); + System.out.println(":| " + item.getKey() + " => " + item.getValue()); + } timings.clear(); startTime.clear();
commit 372335368eea236b1a1e3e25efc83fa6903543b5 Merge: c30cc1e... ff9f820... Author: Heiko W. Rupp hwr@redhat.com Date: Wed Sep 22 15:16:54 2010 +0200
Merge branch 'master' into perftest
Conflicts: modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java
diff --cc modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index 7347f1a,fdd5f6a..36c29c8 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@@ -28,15 -43,24 +28,14 @@@ import org.testng.annotations.Test * Performance test the availabilities subsystem * * @author Heiko W. Rupp + * @author Lukas Krejci */ -@Test(groups = "PERF", enabled = false) +@Test(groups = "PERF") +@Listeners({ DatabaseSetupInterceptor.class }) - //@JdbcConnectionProviderMethod("getConnection") //defined in AbstractEJB3Test public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest {
- private final Log log = LogFactory.getLog(AvailabilityInsertPurgeTest.class); - - /* - * we need to replace the ids in the csv files with the ids that we get back from the - * databse in relations. So store them as pair <csv-id,new entity-id> - */ - private Map<Integer,Integer> agentsTranslationTable = new HashMap<Integer,Integer>(); - private Map<Integer,Integer> pluginsTranslationTable = new HashMap<Integer,Integer>(); - private Map<Integer,Integer> resourceTypeTranslationTable = new HashMap<Integer,Integer>(); - - private Map<Integer,Integer> childParentTypeMap = new HashMap<Integer, Integer>(); - + @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testOne() throws Exception { - setup(); startTiming();
Thread.sleep(1234);
commit c30cc1e7055710aa26f069e108c832daedfb567f Author: Heiko W. Rupp hwr@redhat.com Date: Tue Sep 21 14:24:19 2010 +0200
Update the test to follow the 15 mins backfill wait interval. Otherwise it fails, as the created report would be considered not old enough.
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java index ca5ca29..e59794a 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java @@ -505,7 +505,7 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { } }
- @Test(enabled = ENABLE_TESTS) + @Test(enabled = true) public void testAgentBackfillPerformance() throws Exception { EntityManager em = beginTx(); List<Resource> allResources = new ArrayList<Resource>(); @@ -548,7 +548,7 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { // let's pretend we haven't heard from the agent in a few minutes em = beginTx(); Agent agent = em.find(Agent.class, theAgent.getId()); - agent.setLastAvailabilityReport(System.currentTimeMillis() - (1000 * 60 * 6)); + agent.setLastAvailabilityReport(System.currentTimeMillis() - (1000 * 60 * 18)); // 18 mins commitAndClose(em); em = null;
@@ -580,7 +580,7 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { // let's again pretend we haven't heard from the agent in a few minutes em = beginTx(); agent = em.find(Agent.class, theAgent.getId()); - agent.setLastAvailabilityReport(System.currentTimeMillis() - (1000 * 60 * 6)); + agent.setLastAvailabilityReport(System.currentTimeMillis() - (1000 * 60 * 18)); commitAndClose(em); em = null;
commit 7b688bc68517ad564ff0238e5aba90d52aca2766 Author: Heiko W. Rupp hwr@redhat.com Date: Mon Sep 20 13:00:33 2010 +0200
Update the test to follow the 15 mins backfill wait interval. Otherwise it fails, as the created report would be considered not old enough.
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java index 00193d5..ca5ca29 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java @@ -445,7 +445,7 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { } }
- @Test(enabled = ENABLE_TESTS) + @Test(enabled = true) public void testAgentBackfill() throws Exception { EntityManager em = beginTx();
@@ -456,8 +456,8 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { commitAndClose(em); em = null;
- // add a report that says the resource was up 10 minutes ago - Availability avail = new Availability(theResource, new Date(System.currentTimeMillis() - 600000), UP); + // add a report that says the resource was up 20 minutes ago + Availability avail = new Availability(theResource, new Date(System.currentTimeMillis() - 12000000), UP); AvailabilityReport report = new AvailabilityReport(false, theAgent.getName()); report.addAvailability(avail); availabilityManager.mergeAvailabilityReport(report); @@ -466,12 +466,12 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { // let's pretend we haven't heard from the agent in a few minutes em = beginTx(); Agent agent = em.find(Agent.class, theAgent.getId()); - agent.setLastAvailabilityReport(System.currentTimeMillis() - (1000 * 60 * 6)); + agent.setLastAvailabilityReport(System.currentTimeMillis() - (1000 * 60 * 18)); // 18 mins commitAndClose(em); em = null;
// the agent should be suspect and will be considered down - LookupUtil.getAgentManager().checkForSuspectAgents(); + LookupUtil.getAgentManager().checkForSuspectAgents(); // checks for 15 mins !! AvailabilityType curAvail; curAvail = availabilityManager.getCurrentAvailabilityTypeForResource(overlord, theResource.getId()); assert curAvail == AvailabilityType.DOWN : curAvail; // backfilled with "null" to mean "unknown"
commit 988b64b3c57d2e493c088cd6f9b6de492b4b4e18 Merge: fd6e467... 0fa40ba... Author: Heiko W. Rupp hwr@redhat.com Date: Mon Sep 20 12:36:10 2010 +0200
Merge branch 'perftest' of ssh://git.fedorahosted.org/git/rhq/rhq into perftest
commit fd6e4675561cbe9a5b1718c40f9ee654edd716fe Author: Heiko W. Rupp hwr@redhat.com Date: Mon Sep 20 12:11:27 2010 +0200
Enable back some tests.
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java index 288cf69..00193d5 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java @@ -68,6 +68,7 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { private Agent theAgent; private Resource theResource; private ResourceType theResourceType; + private List<Resource> additionalResources; private Availability availability1; private Availability availability2; private Availability availability3; @@ -81,6 +82,7 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { this.resourceAvailabilityManager = LookupUtil.getResourceAvailabilityManager(); this.resourceManager = LookupUtil.getResourceManager(); this.overlord = LookupUtil.getSubjectManager().getOverlord(); + additionalResources = new ArrayList<Resource>(); } catch (Throwable t) { // Catch RuntimeExceptions and Errors and dump their stack trace, because Surefire will completely swallow them // and throw a cryptic NPE (see http://jira.codehaus.org/browse/SUREFIRE-157)! @@ -100,6 +102,19 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { theResource = null; }
+ if (additionalResources!=null) { + getTransactionManager().begin(); + EntityManager em = getEntityManager(); + + for (Resource res : additionalResources) { + Resource res2 = em.find(Resource.class, res.getId()); + resourceManager.uninventoryResource(overlord, res2.getId()); + resourceManager.uninventoryResourceAsyncWork(overlord, res2.getId()); + + } + getTransactionManager().commit(); + } + if (theResourceType != null) { getTransactionManager().begin(); EntityManager em = getEntityManager(); @@ -121,6 +136,55 @@ public class AvailabilityManagerTest extends AbstractEJB3Test {
@SuppressWarnings("unchecked") @Test(enabled = true) + public void testInsertPastAvailabilities() throws Exception { + Date now = new Date(); + Date middle = new Date(now.getTime() - 30000); // 30s ago + Date then = new Date(now.getTime() - 60000); // 60s ago + + EntityManager em = beginTx(); + + try { + setupResource(em); + commitAndClose(em); + + Availability aThen = new Availability(theResource, then, AvailabilityType.UP); + aThen.setEndTime(middle); + + Availability aMiddle = new Availability(theResource, middle, AvailabilityType.DOWN); + aMiddle.setEndTime(now); + + Availability aNow = new Availability(theResource, now, AvailabilityType.UP); + + /* + * Simulate a report (aMiddle) that came in late (e.g. because of sorting + * issues on the agent or because of a network blip anyway. Expectation is + * that it gets just inserted in the middle. + */ + persistAvailability(aThen); + persistAvailability(aNow); + persistAvailability(aMiddle); + + em = beginTx(); + Query q = em.createNamedQuery(Availability.FIND_BY_RESOURCE); + q.setParameter("resourceId", theResource.getId()); + List<Availability> avails = q.getResultList(); + + assert avails.size()==2 : "Did not get 2 availabilities but " + avails.size(); // TODO Wrong assumption ? + + } catch (Exception e) { + e.printStackTrace(); + throw e; + } finally { + if (em != null) { + getTransactionManager().rollback(); + em.close(); + } + } + } + + + @SuppressWarnings("unchecked") + @Test(enabled = true) public void testPurgeAvailabilities() throws Exception { Date now = new Date(); Date middle = new Date(now.getTime() - 30000); // 30s ago @@ -186,7 +250,7 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { } }
- @Test(enabled = ENABLE_TESTS) + @Test(enabled = true) public void testGetAvailabilities() throws Exception { EntityManager em = beginTx();
@@ -321,7 +385,7 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { } }
- @Test(enabled = ENABLE_TESTS) + @Test(enabled = true) public void testSetAllAgentResourceAvailabilities() throws Exception { EntityManager em = beginTx();
@@ -352,7 +416,7 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { } }
- @Test(enabled = ENABLE_TESTS) + @Test(enabled = true) public void testAgentBackfillNewResource() throws Exception { EntityManager em = beginTx();
@@ -572,7 +636,7 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { } }
- @Test(enabled = ENABLE_TESTS) + @Test(enabled = true) public void testAgentOldReport() throws Exception { EntityManager em = beginTx();
@@ -660,7 +724,7 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { } }
- @Test(enabled = ENABLE_TESTS) + @Test(enabled = true) public void testAgentOldReport2() throws Exception { EntityManager em = beginTx();
@@ -720,7 +784,7 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { } }
- @Test(enabled = ENABLE_TESTS) + @Test(enabled = true) public void testGetAvailabilities2() throws Exception { EntityManager em = beginTx();
@@ -808,7 +872,7 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { * * @throws Exception in case of error */ - @Test(enabled = ENABLE_TESTS) + @Test(enabled = true) public void testMergeReport() throws Exception { EntityManager em = beginTx();
@@ -880,7 +944,7 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { } }
- @Test(enabled = ENABLE_TESTS) + @Test(enabled = true) public void testMergeReportPerformance() throws Exception { EntityManager em = beginTx(); List<Resource> allResources = new ArrayList<Resource>(); @@ -1085,6 +1149,7 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { newResource.setAgent(theAgent); parentResource.addChildResource(newResource); em.persist(newResource); + additionalResources.add(newResource);
return newResource; }
commit 0fa40ba83da0b957c789fdecc8400e27f2dbfe64 Author: Lukas Krejci lkrejci@redhat.com Date: Fri Sep 17 16:54:48 2010 +0200
Adding the concept of a "root" entity in the export. Only the root entities are passed to the EntityRelationshipFilter as the ones to be included while the rest of the entities in the ExportConfiguration are merely there to further restrict the exported data.
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Exporter.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Exporter.java index 45df4ac..869f87a 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Exporter.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Exporter.java @@ -66,8 +66,6 @@ public class Exporter { public static void run(ExportConfiguration config, IDataSetConsumer consumer) throws Exception { IDatabaseConnection connection = DbUnitUtil.getConnection(config.getSettings()); try { - //get the list of the entities to load from the settings. - //empty = all tables Map<Entity, String> entityQueries = getEntityQueries(config);
Map<Class<?>, Set<ColumnValues>> pksToLoad = new HashMap<Class<?>, Set<ColumnValues>>(); @@ -146,8 +144,9 @@ public class Exporter { Map<Entity, String> ret = new HashMap<Entity, String>();
for (Entity e : config.getEntities()) { - String sql = e.getFilter(); - ret.put(e, sql); + if (e.isRoot()) { + ret.put(e, e.getFilter()); + } }
return ret; diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Entity.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Entity.java index cc2ef96..17c4c79 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Entity.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Entity.java @@ -45,6 +45,9 @@ public class Entity { @XmlAttribute private Boolean includeAllFields;
+ @XmlAttribute + private Boolean root; + @XmlElement(name = "rel") private Set<Relationship> relationships = new HashSet<Relationship>();
@@ -89,7 +92,22 @@ public class Entity { }
/** - * @return the SQL statement that returns the primary keys to be considered. + * @return true if this entity is to be considered the root of the exported hierarchy. + * The root entities are considered the base of the exported entity graph. All other non-root + * entities only contain additional configuration for given resources should they appear + * in the entity dependency graph as a dependency or dependent of some of the root entities. + */ + public boolean isRoot() { + return root == null ? false : root; + } + + public void setRoot(boolean root) { + this.root = root; + } + + /** + * @return the SQL statement that returns the primary keys to be considered. Setting this + * property only makes sense for {@link #isRoot() root} entities. */ public String getFilter() { return filter;
commit 1e5e30b2c6c317716b09763c947f1dc49321d8df Author: Lukas Krejci lkrejci@redhat.com Date: Thu Sep 16 21:44:40 2010 +0200
and now it even compiles
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java index a26b7e9..8ed863d 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java @@ -82,7 +82,7 @@ public class DatabaseSetupInterceptor implements IInvokedMethodListener { Input input = format.getInput(streamProvider);
try { - DbSetup dbSetup = new DbSetup(connection); + DbSetup dbSetup = new DbSetup(connection.getConnection()); dbSetup.setup(state.dbVersion()); Importer.run(connection, input); dbSetup.upgrade(null);
commit 31ca03d0a11fcea523f014acf176951c7762ee01 Author: Lukas Krejci lkrejci@redhat.com Date: Thu Sep 16 21:41:07 2010 +0200
Adding support for database setup and upgrade using db-utils infrastructure during the @DatabaseState processing.
diff --git a/modules/core/dbutils/src/main/java/org/rhq/core/db/ant/dbupgrade/DBUpgrader.java b/modules/core/dbutils/src/main/java/org/rhq/core/db/ant/dbupgrade/DBUpgrader.java index 215ea54..d4c055f 100644 --- a/modules/core/dbutils/src/main/java/org/rhq/core/db/ant/dbupgrade/DBUpgrader.java +++ b/modules/core/dbutils/src/main/java/org/rhq/core/db/ant/dbupgrade/DBUpgrader.java @@ -68,6 +68,18 @@ public class DBUpgrader extends Task {
private DatabaseType databaseType;
+ private Connection connection; + private boolean doCloseConnection; + + public DBUpgrader() { + doCloseConnection = true; + } + + public DBUpgrader(Connection connection) { + this.connection = connection; + doCloseConnection = false; + } + /** * The URL to the database that is to be upgraded. * @@ -297,7 +309,7 @@ public class DBUpgrader extends Task { } catch (Exception e) { throw new BuildException(e.getMessage(), e); } finally { - if ((conn != null) && (databaseType != null)) { + if ((conn != null) && (databaseType != null) && doCloseConnection) { databaseType.closeConnection(conn); } } @@ -446,10 +458,24 @@ public class DBUpgrader extends Task { * @throws SQLException */ public Connection getConnection() throws SQLException { - return DbUtil.getConnection(jdbcUrl, jdbcUser, jdbcPassword); + if (connection == null) { + connection = DbUtil.getConnection(jdbcUrl, jdbcUser, jdbcPassword); + } + return connection; }
/** + * This can be used to programatically override the JDBC connection to be used + * by this task. + * + * @param connection + */ + public void setConnection(Connection connection) { + this.connection = connection; + doCloseConnection = connection == null; + } + + /** * Returns the type of database that is being upgraded. * * @return db type diff --git a/modules/core/dbutils/src/main/java/org/rhq/core/db/setup/DBSetup.java b/modules/core/dbutils/src/main/java/org/rhq/core/db/setup/DBSetup.java index eb1d0eb..f8d27a0 100644 --- a/modules/core/dbutils/src/main/java/org/rhq/core/db/setup/DBSetup.java +++ b/modules/core/dbutils/src/main/java/org/rhq/core/db/setup/DBSetup.java @@ -70,6 +70,7 @@ public class DBSetup {
private Connection m_connection; private DatabaseType m_databaseType; + private boolean m_doDisconnect = true;
/** * Creates a new {@link DBSetup} object where this object is not in console mode (meaning messages will not be @@ -103,6 +104,23 @@ public class DBSetup { }
/** + * Creates a new instance with an already established connection. + * @param connection + * @throws Exception + */ + public DBSetup(Connection connection) throws Exception { + m_connection = connection; + m_databaseType = DatabaseTypeFactory.getDatabaseType(connection); + m_consoleMode = false; + + // MySQL complains if autocomit is true and you try to commit. + // DDL operations are not transactional anyhow. + m_connection.setAutoCommit(false); + + m_doDisconnect = false; + } + + /** * A console application that can be used to run the DBSetup from a command line. The arguments are as follows: * * <pre> @@ -1056,13 +1074,17 @@ public class DBSetup { }
/** - * Creates a new connection to the database. - * + * Returns a connection to the database. + * A new connection is established if none existed before * @return the connection * * @throws Exception if failed to connect or determine the type of database that was connected to */ private Connection connect() throws Exception { + if (m_connection != null) { + return m_connection; + } + m_connection = DbUtil.getConnection(m_jdbcUrl, m_username, m_password);
try { @@ -1091,6 +1113,10 @@ public class DBSetup { * If this object is currently connected, this will close that live connection. */ private void disconnect() { + if (!m_doDisconnect) { + return; + } + try { m_connection.close(); } catch (Exception e) { diff --git a/modules/core/dbutils/src/main/scripts/dbsetup-build.xml b/modules/core/dbutils/src/main/scripts/dbsetup-build.xml index f4993e5..2b195a4 100644 --- a/modules/core/dbutils/src/main/scripts/dbsetup-build.xml +++ b/modules/core/dbutils/src/main/scripts/dbsetup-build.xml @@ -32,8 +32,10 @@ To run the default target, you must set one of the following properties to true: </not> </condition>
+ <property name="dbsetup.properties.file" value="${basedir}/src/main/scripts/dbsetup.properties"/> + <!-- load in the development environment properties - used as replacements for the @@@ strings in the dbsetup xml files --> - <property file="${basedir}/src/main/scripts/dbsetup.properties"/> + <property file="${dbsetup.properties.file}"/>
<!-- define the location of things we are going to generate --> <property name="dbsetup.scripts.dir" value="${basedir}/src/main/scripts/dbsetup" /> @@ -49,6 +51,7 @@ To run the default target, you must set one of the following properties to true: <property name="jar.dbsetup.combined.schema" value="${jar.dbsetup.output.dir}/db-schema-combined.xml" /> <property name="jar.dbsetup.combined.data" value="${jar.dbsetup.output.dir}/db-data-combined.xml" /> <property name="jar.dbupgrade.file" value="${jar.dbsetup.output.dir}/db-upgrade.xml" /> + <property name="jar.dbsetup.properties" value="${jar.dbsetup.output.dir}/dbsetup.properties" />
<!-- define our custom ANT tasks --> <target name="dbsetup-init-taskdefs" @@ -83,6 +86,12 @@ To run the default target, you must set one of the following properties to true:
<mkdir dir="${dbsetup.output.dir}"/> <property name="dbsetup-init.notrequired" value="true"/> + + <!-- This is to support perftest-support. We want to know the default values of the values to + be replaced in the various db-setup configuration files. By placing the dbsetup.properties + file in the jar artifact, we can find out those values in other modules as well. + --> + <copy file="${dbsetup.properties.file}" tofile="${jar.dbsetup.properties}"/> </target>
<!-- do a timestamp check to see if we really need to combine all the dbsetup subsystem files --> diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index 327b659..7347f1a 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -19,7 +19,6 @@ package org.rhq.enterprise.server.performance.test;
import org.rhq.enterprise.server.test.AbstractEJB3PerformanceTest; -import org.rhq.helpers.perftest.support.testng.JdbcConnectionProviderMethod; import org.rhq.helpers.perftest.support.testng.DatabaseSetupInterceptor; import org.rhq.helpers.perftest.support.testng.DatabaseState; import org.testng.annotations.Listeners; @@ -36,7 +35,7 @@ import org.testng.annotations.Test; //@JdbcConnectionProviderMethod("getConnection") //defined in AbstractEJB3Test public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest {
- @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip") + @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip", dbVersion="2.94") public void testOne() throws Exception { startTiming();
diff --git a/modules/helpers/perftest-support/pom.xml b/modules/helpers/perftest-support/pom.xml index f4e8538..5fa1598 100644 --- a/modules/helpers/perftest-support/pom.xml +++ b/modules/helpers/perftest-support/pom.xml @@ -11,6 +11,17 @@ <name>Performance Testing Support</name> <description>To support performance testing, this is a basic tool to support extracting and later reimporting of data from/to a database.</description> <dependencies> + <dependency> + <groupId>ant</groupId> + <artifactId>ant</artifactId> + <version>1.6.5</version> + </dependency> + <dependency> + <groupId>ant</groupId> + <artifactId>ant-launcher</artifactId> + <version>1.6.5</version> + <scope>runtime</scope> + </dependency> <dependency> <groupId>org.dbunit</groupId> <artifactId>dbunit</artifactId> @@ -59,6 +70,13 @@ <artifactId>persistence-api</artifactId> <version>1.0</version> </dependency> + <dependency> + <groupId>org.rhq</groupId> + <artifactId>rhq-core-dbutils</artifactId> + <version>${project.version}</version> + <type>jar</type> + <scope>compile</scope> + </dependency> </dependencies> <build> <plugins> diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbsetup/DbSetup.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbsetup/DbSetup.java new file mode 100644 index 0000000..96c16ab --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbsetup/DbSetup.java @@ -0,0 +1,271 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.dbsetup; + +import java.io.BufferedOutputStream; +import java.io.BufferedReader; +import java.io.Closeable; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.FileOutputStream; +import java.io.FileWriter; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.OutputStream; +import java.sql.Connection; +import java.util.HashMap; +import java.util.Map; +import java.util.Properties; + +import org.apache.tools.ant.BuildException; +import org.apache.tools.ant.Project; +import org.apache.tools.ant.Target; +import org.apache.tools.ant.Task; +import org.apache.tools.ant.UnknownElement; +import org.apache.tools.ant.helper.ProjectHelper2; +import org.rhq.core.db.ant.dbupgrade.DBUpgrader; +import org.rhq.core.db.setup.DBSetup; + +/** + * This class is a utility wrapper around the actual {@link DBSetup} and {@link DBUpgrader} classes defined in the + * rhq-core-dbutils module. + * + * @author Lukas Krejci + */ +public class DbSetup { + + private static final String MINIMAL_VERSION_OF_DATA = "db-data-combined.2.94.xml"; + private static final String MINIMAL_VERSION_OF_SCHEMA = "db-schema-combined.2.94.xml"; + + private static final Map<String, String> REPLACEMENTS; + + static { + REPLACEMENTS = new HashMap<String, String>(); + // these are all the replacements from the dbsetup-build.xml + REPLACEMENTS.put("@@@SERVER_VERSION@@@", "project.version"); + REPLACEMENTS.put("@@@DB_SCHEMA_VERSION@@@", "db.schema.version"); + REPLACEMENTS.put("@@@ADMINUSERNAME@@@", "server.admin.username"); + REPLACEMENTS.put("@@@ADMINPASSWORD@@@", "server.admin.password.encrypted"); + REPLACEMENTS.put("@@@ADMINEMAIL@@@", "server.admin.email"); + REPLACEMENTS.put("@@@BASEURL@@@", "server.webapp.baseurl"); + REPLACEMENTS.put("@@@JAASPROVIDER@@@", "server.jaas.provider"); + REPLACEMENTS.put("@@@LDAPURL@@@", "server.ldap.url"); + REPLACEMENTS.put("@@@LDAPPROTOCOL@@@", "server.ldap.protocol"); + REPLACEMENTS.put("@@@LDAPLOGINPROP@@@", "server.ldap.loginProperty"); + REPLACEMENTS.put("@@@LDAPBASEDN@@@", "server.ldap.baseDN"); + REPLACEMENTS.put("@@@LDAPSEARCHFILTER@@@", "server.ldap.searchFilter"); + REPLACEMENTS.put("@@@LDAPBINDDN@@@", "server.ldap.bindDN"); + REPLACEMENTS.put("@@@LDAPBINDPW@@@", "server.ldap.bindPW"); + REPLACEMENTS.put("@@@MULTICAST_ADDR@@@", "server.highavail.address"); + REPLACEMENTS.put("@@@MULTICAST_PORT@@@", "server.highavail.port"); + } + + private Connection connection; + + public DbSetup(Connection connection) throws Exception { + this.connection = connection; + } + + public void setup(String targetVersion) throws Exception { + setup(); + upgrade(targetVersion); + } + + public void upgrade(String targetVersion) throws Exception { + Project project = new Project(); + File upgradeFile = getFileFromDbUtils("db-upgrade.xml"); + + try { + project.setCoreLoader(getClass().getClassLoader()); + project.init(); + project.setProperty("target.schema.version", targetVersion == null ? "LATEST" : targetVersion); + loadDbSetupAntTasksProperties(project); + + new ProjectHelper2().parse(project, upgradeFile); + + Target defaultTarget = (Target) project.getTargets().get(project.getDefaultTarget()); + + for (Task t : defaultTarget.getTasks()) { + DBUpgrader upgrader = null; + if (t instanceof DBUpgrader) { + upgrader = (DBUpgrader) t; + } else if (t instanceof UnknownElement) { + if ("dbupgrade".equals(t.getTaskType())) { + UnknownElement u = (UnknownElement)t; + u.maybeConfigure(); + + if (u.getTask() instanceof DBUpgrader) { + upgrader = (DBUpgrader) u.getTask(); + } + } + } + + if (upgrader != null) { + upgrader.setConnection(connection); + break; + } + } + + project.executeTarget(project.getDefaultTarget()); + } catch (BuildException e) { + throw new RuntimeException("Cannot run ANT on script [" + upgradeFile + "]. Cause: " + e, e); + } finally { + upgradeFile.delete(); + } + } + + private void setup() throws Exception { + DBSetup dbSetup = new DBSetup(connection); + + File schema = getFileFromResource(MINIMAL_VERSION_OF_SCHEMA, getClass().getClassLoader()); + + try { + replaceTokensInFile(schema); + dbSetup.uninstall(schema.getAbsolutePath()); + dbSetup.setup(schema.getAbsolutePath()); + } finally { + schema.delete(); + } + + File data = getFileFromResource(MINIMAL_VERSION_OF_DATA, getClass().getClassLoader()); + + try { + replaceTokensInFile(data); + dbSetup.setup(data.getAbsolutePath(), null, true, false); + } finally { + data.delete(); + } + } + + private void replaceTokensInFile(File f) throws IOException { + Properties properties = getDbSetupProperties(); + + String contents = readIntoString(new FileInputStream(f)); + + for(Map.Entry<String, String> entry : REPLACEMENTS.entrySet()) { + String token = entry.getKey(); + String value = properties.getProperty(token); + if (value != null) { + contents = contents.replaceAll(token, value); + } + } + + FileWriter wrt = new FileWriter(f); + + try { + wrt.write(contents.toCharArray()); + } finally { + safeClose(wrt); + } + } + + private static Properties getDbSetupProperties() throws IOException { + Properties dbSetupProperties = loadPropertiesFromDbUtils("dbsetup.properties"); + //add the project.version manually because that has to be found out in a different way + dbSetupProperties.put("project.version", DbSetup.class.getPackage().getImplementationVersion()); + return dbSetupProperties; + } + + private static void loadDbSetupAntTasksProperties(Project project) throws Exception { + Properties taskDefs = loadPropertiesFromDbUtils("db-ant-tasks.properties"); + + for(Map.Entry<Object, Object> entry : taskDefs.entrySet()) { + String taskName = (String) entry.getKey(); + String taskClassName = (String) entry.getValue(); + + project.addTaskDefinition(taskName, Class.forName(taskClassName)); + } + } + + private static Properties loadPropertiesFromDbUtils(String resourceName) throws IOException { + InputStream propertiesStream = DBSetup.class.getClassLoader().getResourceAsStream(resourceName); + try { + Properties properties = new Properties(); + properties.load(propertiesStream); + return properties; + } finally { + safeClose(propertiesStream); + } + } + + private static File getFileFromDbUtils(String fileName) throws IOException { + return getFileFromResource(fileName, DBSetup.class.getClassLoader()); + } + + private static File getFileFromResource(String resourceName, ClassLoader cl) throws IOException { + InputStream stream = cl.getResourceAsStream(resourceName); + + if (stream == null) { + throw new FileNotFoundException("Could not find " + resourceName + " in the classloader."); + } + + File tmpFile = File.createTempFile("DbSetup", null); + OutputStream out = new BufferedOutputStream(new FileOutputStream(tmpFile)); + + try { + copy(stream, out); + + return tmpFile; + } finally { + safeClose(stream, out); + } + } + + private String readIntoString(InputStream s) throws IOException { + char[] buffer = new char[32768]; + StringBuilder bld = new StringBuilder(); + + BufferedReader rdr = new BufferedReader(new InputStreamReader(s)); + + try { + int cnt = 0; + + while ((cnt = rdr.read(buffer, 0, buffer.length)) != -1) { + bld.append(buffer, 0, cnt); + } + + return bld.toString(); + } finally { + rdr.close(); + } + } + private static void copy(InputStream source, OutputStream target) throws IOException { + byte[] buffer = new byte[32768]; + + int cnt = 0; + while ((cnt = source.read(buffer, 0, buffer.length)) != -1) { + target.write(buffer, 0, cnt); + } + + target.flush(); + } + + private static void safeClose(Closeable... streams) { + for(Closeable stream : streams) { + try { + stream.close(); + } catch (IOException e) { + //ignore + } + } + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java index cc23514..a26b7e9 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java @@ -20,7 +20,6 @@ package org.rhq.helpers.perftest.support.testng;
import java.io.File; -import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; @@ -37,9 +36,9 @@ import org.dbunit.dataset.datatype.IDataTypeFactory; import org.rhq.helpers.perftest.support.FileFormat; import org.rhq.helpers.perftest.support.Importer; import org.rhq.helpers.perftest.support.Input; +import org.rhq.helpers.perftest.support.dbsetup.DbSetup; import org.rhq.helpers.perftest.support.input.FileInputStreamProvider; import org.rhq.helpers.perftest.support.input.InputStreamProvider; -import org.rhq.helpers.perftest.support.input.XmlInput; import org.testng.IInvokedMethod; import org.testng.IInvokedMethodListener; import org.testng.ITestResult; @@ -83,7 +82,10 @@ public class DatabaseSetupInterceptor implements IInvokedMethodListener { Input input = format.getInput(streamProvider);
try { + DbSetup dbSetup = new DbSetup(connection); + dbSetup.setup(state.dbVersion()); Importer.run(connection, input); + dbSetup.upgrade(null); } finally { input.close(); } @@ -160,5 +162,5 @@ public class DatabaseSetupInterceptor implements IInvokedMethodListener { default: return null; } - } + } } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java index af9e94c..5ceba4f 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java @@ -41,6 +41,14 @@ public @interface DatabaseState { String url();
/** + * The version of the RHQ database the export file is generated from. + * Before the data from the export file are imported into the database, the database + * is freshly created and upgraded to this version. After that, the export file + * is imported to it and the database is then upgraded to the latest version. + */ + String dbVersion(); + + /** * Where is the export file accessible from (defaults to {@link DatabaseStateStorage#CLASSLOADER}). */ DatabaseStateStorage storage() default DatabaseStateStorage.CLASSLOADER; diff --git a/modules/helpers/perftest-support/src/main/resources/db-data-combined.2.94.xml b/modules/helpers/perftest-support/src/main/resources/db-data-combined.2.94.xml new file mode 100644 index 0000000..72816e0 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/resources/db-data-combined.2.94.xml @@ -0,0 +1,378 @@ +<?xml version="1.0" encoding="UTF-8"?> +<dbsetup name="data.xml"> +<!-- BEGIN: auth-data.xml --> + + + <table name="RHQ_PRINCIPAL"> + <data id="2" PRINCIPAL="@@@ADMINUSERNAME@@@" PASSWORD="@@@ADMINPASSWORD@@@"/> + </table> + +<!-- END: auth-data.xml --> +<!-- BEGIN: authz-data.xml --> + + + <!-- the overlord user --> + <table name="RHQ_SUBJECT"> + <data ID="1" + NAME="admin" + FIRST_NAME="Super" + LAST_NAME="User" + FSYSTEM="TRUE"/> + </table> + + <!-- the initial rhqadmin user --> + <table name="RHQ_SUBJECT"> + <data ID="2" + NAME="@@@ADMINUSERNAME@@@" + FIRST_NAME="RHQ" + LAST_NAME="Administrator" + EMAIL_ADDRESS="@@@ADMINEMAIL@@@" + FSYSTEM="FALSE"/> + </table> + + <!-- Define the system root role which includes our overlord and rhqadmin users --> + <table name="RHQ_ROLE"> + <data ID="1" + NAME="Super User Role" + FSYSTEM="TRUE" + DESCRIPTION="System superuser role that provides full access to everything. This role cannot be modified."/> + <data ID="2" + NAME="All Resources Role" + FSYSTEM="FALSE" + DESCRIPTION="Provides full access to all resources in inventory. Cannot modify users, roles or server settings."/> + </table> + + <!-- associate the root users with all security permissions --> + <table name="RHQ_SUBJECT_ROLE_MAP"> + <data SUBJECT_ID="1" ROLE_ID="1"/> + <!-- overlord user --> + <data SUBJECT_ID="2" ROLE_ID="1"/> + <!-- rhqadmin user --> + </table> + + <table name="RHQ_PERMISSION"> + <!-- give super-user-role all permissions (resource perms is mainly just to show on view-role page) --> + <data ROLE_ID="1" OPERATION="0"/> <!-- Permission.MANAGE_SECURITY --> + <data ROLE_ID="1" OPERATION="1"/> <!-- Permission.MANAGE_INVENTORY --> + <data ROLE_ID="1" OPERATION="2"/> <!-- Permission.MANAGE_SETTINGS --> + <data ROLE_ID="1" OPERATION="12"/> <!-- Permission.MANAGE_BUNDLE --> + <!-- resource permissions start here--> + <data ROLE_ID="1" OPERATION="3"/> <!-- Permission.VIEW_RESOURCE --> + <data ROLE_ID="1" OPERATION="4"/> <!-- Permission.MODIFY_RESOURCE --> + <data ROLE_ID="1" OPERATION="5"/> <!-- Permission.DELETE_RESOURCE --> + <data ROLE_ID="1" OPERATION="6"/> <!-- Permission.CREATE_CHILD_RESOURCES --> + <data ROLE_ID="1" OPERATION="7"/> <!-- Permission.MANAGE_ALERTS --> + <data ROLE_ID="1" OPERATION="8"/> <!-- Permission.MANAGE_MEASUREMENTS --> + <data ROLE_ID="1" OPERATION="9"/> <!-- Permission.MANAGE_CONTENT --> + <data ROLE_ID="1" OPERATION="10"/> <!-- Permission.CONTROL --> + <data ROLE_ID="1" OPERATION="11"/> <!-- Permission.CONFIGURE --> + <data ROLE_ID="1" OPERATION="14"/> <!-- Permission.MANAGE_EVENTS --> + + <!-- give all-resources-role all permissions (resource perms is mainly just to show on view-role page) --> + <data ROLE_ID="2" OPERATION="1"/> <!-- Permission.MANAGE_INVENTORY --> + <data ROLE_ID="2" OPERATION="12"/> <!-- Permission.MANAGE_BUNDLE --> + <!-- resource permissions start here--> + <data ROLE_ID="2" OPERATION="3"/> <!-- Permission.VIEW_RESOURCE --> + <data ROLE_ID="2" OPERATION="4"/> <!-- Permission.MODIFY_RESOURCE --> + <data ROLE_ID="2" OPERATION="5"/> <!-- Permission.DELETE_RESOURCE --> + <data ROLE_ID="2" OPERATION="6"/> <!-- Permission.CREATE_CHILD_RESOURCES --> + <data ROLE_ID="2" OPERATION="7"/> <!-- Permission.MANAGE_ALERTS --> + <data ROLE_ID="2" OPERATION="8"/> <!-- Permission.MANAGE_MEASUREMENTS --> + <data ROLE_ID="2" OPERATION="9"/> <!-- Permission.MANAGE_CONTENT --> + <data ROLE_ID="2" OPERATION="10"/> <!-- Permission.CONTROL --> + <data ROLE_ID="2" OPERATION="11"/> <!-- Permission.CONFIGURE --> + <data ROLE_ID="2" OPERATION="14"/> <!-- Permission.MANAGE_EVENTS --> + </table> + +<!-- END: authz-data.xml --> +<!-- BEGIN: search-data.xml --> + + + <!-- overlord-created, global, default saved searches --> + <table name="RHQ_SAVED_SEARCH"> + <data ID="1" + CONTEXT="RESOURCE" + NAME="Downed Platforms" + DESCRIPTION="All downed machines across the entire enterprise" + PATTERN="availability=down category=platform" + LAST_COMPUTE_TIME="0" + SUBJECT_ID="1" + GLOBAL="TRUE" /> + <data ID="2" + CONTEXT="RESOURCE" + NAME="Downed Servers" + DESCRIPTION="All downed servers across the entire enterprise" + PATTERN="availability=down category=server" + LAST_COMPUTE_TIME="0" + SUBJECT_ID="1" + GLOBAL="TRUE" /> + </table> + +<!-- END: search-data.xml --> +<!-- BEGIN: sysconfig-data.xml --> + + + <!-- + This file contains the seed data for the configuration table. + All keys mentioned here should be referenced via the RHQConstants class + --> + <table name="RHQ_SYSTEM_CONFIG"> + <data ID="1" PROPERTY_KEY="SERVER_VERSION" PROPERTY_VALUE="4.0.0-SNAPSHOT" + DEFAULT_PROPERTY_VALUE="4.0.0-SNAPSHOT" FREAD_ONLY="TRUE"/> + <data ID="2" PROPERTY_KEY="DB_SCHEMA_VERSION" PROPERTY_VALUE="2.94" + DEFAULT_PROPERTY_VALUE="2.94" FREAD_ONLY="TRUE"/> + <data ID="3" PROPERTY_KEY="CAM_JAAS_PROVIDER" PROPERTY_VALUE="@@@JAASPROVIDER@@@" + DEFAULT_PROPERTY_VALUE="JDBC" FREAD_ONLY="FALSE"/> + <data ID="4" PROPERTY_KEY="CAM_BASE_URL" PROPERTY_VALUE="@@@BASEURL@@@" + DEFAULT_PROPERTY_VALUE="@@@BASEURL@@@" FREAD_ONLY="FALSE"/> + <data ID="9" PROPERTY_KEY="CAM_HELP_USER" PROPERTY_VALUE="web" + DEFAULT_PROPERTY_VALUE="web" FREAD_ONLY="FALSE"/> + <data ID="10" PROPERTY_KEY="CAM_HELP_PASSWORD" PROPERTY_VALUE="user" + DEFAULT_PROPERTY_VALUE="user" FREAD_ONLY="FALSE"/> + + <!-- default LDAP configuration options --> + <data ID="11" PROPERTY_KEY="CAM_LDAP_NAMING_FACTORY_INITIAL" + PROPERTY_VALUE="com.sun.jndi.ldap.LdapCtxFactory" + DEFAULT_PROPERTY_VALUE="com.sun.jndi.ldap.LdapCtxFactory" + FREAD_ONLY="FALSE"/> + <data ID="12" PROPERTY_KEY="CAM_LDAP_NAMING_PROVIDER_URL" + PROPERTY_VALUE="@@@LDAPURL@@@" + DEFAULT_PROPERTY_VALUE="ldap://localhost/" + FREAD_ONLY="FALSE"/> + <data ID="13" PROPERTY_KEY="CAM_LDAP_LOGIN_PROPERTY" + PROPERTY_VALUE="@@@LDAPLOGINPROP@@@" + DEFAULT_PROPERTY_VALUE="cn" FREAD_ONLY="FALSE"/> + <data ID="14" PROPERTY_KEY="CAM_LDAP_BASE_DN" + PROPERTY_VALUE="@@@LDAPBASEDN@@@" + DEFAULT_PROPERTY_VALUE="o=JBoss,c=US" + FREAD_ONLY="FALSE"/> + <data ID="15" PROPERTY_KEY="CAM_LDAP_BIND_DN" + PROPERTY_VALUE="@@@LDAPBINDDN@@@" + DEFAULT_PROPERTY_VALUE="" FREAD_ONLY="FALSE"/> + <data ID="16" PROPERTY_KEY="CAM_LDAP_BIND_PW" + PROPERTY_VALUE="@@@LDAPBINDPW@@@" + DEFAULT_PROPERTY_VALUE="" FREAD_ONLY="FALSE"/> + <data ID="17" PROPERTY_KEY="CAM_LDAP_PROTOCOL" + PROPERTY_VALUE="@@@LDAPPROTOCOL@@@" DEFAULT_PROPERTY_VALUE="" + FREAD_ONLY="FALSE"/> + <data ID="18" PROPERTY_KEY="CAM_LDAP_FILTER" + PROPERTY_VALUE="@@@LDAPSEARCHFILTER@@@" DEFAULT_PROPERTY_VALUE="" + FREAD_ONLY="FALSE"/> + + <!-- Does this build support Syslog actions? --> + <data ID="21" PROPERTY_KEY="CAM_SYSLOG_ACTIONS_ENABLED" + PROPERTY_VALUE="false" DEFAULT_PROPERTY_VALUE="false" + FREAD_ONLY="FALSE"/> + <data ID="23" PROPERTY_KEY="CAM_GUIDE_ENABLED" + PROPERTY_VALUE="true" + DEFAULT_PROPERTY_VALUE="true" FREAD_ONLY="FALSE"/> + <data ID="24" PROPERTY_KEY="CAM_RT_COLLECT_IP_ADDRS" + PROPERTY_VALUE="true" + DEFAULT_PROPERTY_VALUE="true" FREAD_ONLY="FALSE"/> + + <!-- Default data storage options --> + <!-- Default 14 days --> + <data ID="26" PROPERTY_KEY="CAM_DATA_PURGE_1H" + PROPERTY_VALUE="1209600000" DEFAULT_PROPERTY_VALUE="1209600000" + FREAD_ONLY="FALSE"/> + <!-- Default 31 days --> + <data ID="27" PROPERTY_KEY="CAM_DATA_PURGE_6H" + PROPERTY_VALUE="2678400000" DEFAULT_PROPERTY_VALUE="2678400000" + FREAD_ONLY="FALSE"/> + <!-- Default 1 year --> + <data ID="28" PROPERTY_KEY="CAM_DATA_PURGE_1D" + PROPERTY_VALUE="31536000000" DEFAULT_PROPERTY_VALUE="31536000000" + FREAD_ONLY="FALSE"/> + + <!-- Baseline options --> + <!-- How often to calculate, default 3 days; if 0, never calculate them automatically --> + <data ID="29" PROPERTY_KEY="CAM_BASELINE_FREQUENCY" + PROPERTY_VALUE="259200000" DEFAULT_PROPERTY_VALUE="259200000" + FREAD_ONLY="FALSE"/> + <!-- How much data to include in the calulation, default 7 days --> + <data ID="30" PROPERTY_KEY="CAM_BASELINE_DATASET" + PROPERTY_VALUE="604800000" DEFAULT_PROPERTY_VALUE="604800000" + FREAD_ONLY="FALSE"/> + + <!-- ID 31 has been deleted --> + + <!-- How often to run database maintainence routines --> + <data ID="32" PROPERTY_KEY="CAM_DATA_MAINTENANCE" + PROPERTY_VALUE="3600000" DEFAULT_PROPERTY_VALUE="3600000" FREAD_ONLY="FALSE"/> + + <!-- How long to keep RT data around --> + <data ID="34" PROPERTY_KEY="RT_DATA_PURGE" PROPERTY_VALUE="2678400000" + DEFAULT_PROPERTY_VALUE="2678400000" FREAD_ONLY="FALSE"/> + + <!-- Whether to reindex the data tables nightly --> + <data ID="35" PROPERTY_KEY="DATA_REINDEX_NIGHTLY" PROPERTY_VALUE="true" + DEFAULT_PROPERTY_VALUE="true" FREAD_ONLY="FALSE"/> + + <!-- How long to keep alerts around --> + <data ID="36" PROPERTY_KEY="ALERT_PURGE" PROPERTY_VALUE="2678400000" + DEFAULT_PROPERTY_VALUE="2678400000" FREAD_ONLY="FALSE"/> + + <!-- How long to keep events around (1209600000 millis == 14 days) --> + <data ID="51" PROPERTY_KEY="EVENT_PURGE" PROPERTY_VALUE="1209600000" + DEFAULT_PROPERTY_VALUE="1209600000" FREAD_ONLY="FALSE"/> + + <!-- How long an agent is allowed to be quiet before we consider it down and backfill it --> + <data ID="52" PROPERTY_KEY="AGENT_MAX_QUIET_TIME_ALLOWED" PROPERTY_VALUE="900000" + DEFAULT_PROPERTY_VALUE="900000" FREAD_ONLY="FALSE"/> + + <!-- Will our server-cloud support agents auto-updating themselves? --> + <data ID="53" PROPERTY_KEY="ENABLE_AGENT_AUTO_UPDATE" PROPERTY_VALUE="true" + DEFAULT_PROPERTY_VALUE="true" FREAD_ONLY="FALSE"/> + + <!-- How old does a trait have to be in order to get purged --> + <data ID="54" PROPERTY_KEY="TRAIT_PURGE" PROPERTY_VALUE="31536000000" + DEFAULT_PROPERTY_VALUE="31536000000" FREAD_ONLY="FALSE"/> + + <!-- How old does availability have to be in order to get purged --> + <data ID="55" PROPERTY_KEY="AVAILABILITY_PURGE" PROPERTY_VALUE="31536000000" + DEFAULT_PROPERTY_VALUE="31536000000" FREAD_ONLY="FALSE"/> + + </table> + +<!-- END: sysconfig-data.xml --> +<!-- BEGIN: measurement-data.xml --> + + <table name="RHQ_NUMBERS"> + <data i="0"/> + <data i="1"/> + <data i="2"/> + <data i="3"/> + <data i="4"/> + <data i="5"/> + <data i="6"/> + <data i="7"/> + <data i="8"/> + <data i="9"/> + <data i="10"/> + <data i="11"/> + <data i="12"/> + <data i="13"/> + <data i="14"/> + <data i="15"/> + <data i="16"/> + <data i="17"/> + <data i="18"/> + <data i="19"/> + <data i="20"/> + <data i="21"/> + <data i="22"/> + <data i="23"/> + <data i="24"/> + <data i="25"/> + <data i="26"/> + <data i="27"/> + <data i="28"/> + <data i="29"/> + <data i="30"/> + <data i="31"/> + <data i="32"/> + <data i="33"/> + <data i="34"/> + <data i="35"/> + <data i="36"/> + <data i="37"/> + <data i="38"/> + <data i="39"/> + <data i="40"/> + <data i="41"/> + <data i="42"/> + <data i="43"/> + <data i="44"/> + <data i="45"/> + <data i="46"/> + <data i="47"/> + <data i="48"/> + <data i="49"/> + <data i="50"/> + <data i="51"/> + <data i="52"/> + <data i="53"/> + <data i="54"/> + <data i="55"/> + <data i="56"/> + <data i="57"/> + <data i="58"/> + <data i="59"/> + </table> + +<!-- END: measurement-data.xml --> +<!-- BEGIN: content-data.xml --> + + <table name="RHQ_ARCHITECTURE"> + <data id="1" name="noarch"/> + <data id="2" name="i386"/> + <data id="3" name="i486"/> + <data id="4" name="i586"/> + <data id="5" name="i686"/> + <data id="6" name="alpha"/> + <data id="7" name="alphaev6"/> + <data id="8" name="ia64"/> + <data id="9" name="sparc"/> + <data id="10" name="sparcv9"/> + <data id="11" name="sparc64"/> + <data id="12" name="src"/> + <data id="13" name="s390"/> + <data id="14" name="athlon"/> + <data id="15" name="s390x"/> + <data id="16" name="ppc"/> + <data id="17" name="ppc64"/> + <data id="18" name="pSeries"/> + <data id="19" name="iSeries"/> + <data id="20" name="x86_64"/> + <data id="21" name="ppc64iseries"/> + <data id="22" name="ppc64pseries"/> + <data id="23" name="sparc-solaris"/> + <data id="24" name="sparc.sun4u-solaris"/> + <data id="25" name="tar"/> + <data id="26" name="ia32e"/> + <data id="27" name="amd64"/> + <data id="28" name="i386-solaris"/> + <data id="29" name="nosrc"/> + <data id="30" name="sparc-solaris-patch"/> + <data id="31" name="i386-solaris-patch"/> + <data id="32" name="sparc-solaris-patch-cluster"/> + <data id="33" name="i386-solaris-patch-cluster"/> + <data id="34" name="noarch-solaris"/> + <data id="35" name="noarch-solaris-patch"/> + <data id="36" name="noarch-solaris-patch-cluster"/> + <data id="37" name="solaris-patch"/> + <data id="38" name="solaris-patch-cluster"/> + </table> + + <table name="RHQ_REPO_GROUP_TYPE"> + <data id="1" name="family"/> + </table> + + <table name="RHQ_REPO_RELATION_TYPE"> + <data id="1" name="parent"/> + <data id="2" name="clone"/> + </table> + + <table name="RHQ_DISTRIBUTION_TYPE"> + <data id="1" name="kickstart" description="Linux kickstart distribution"/> + <data id="2" name="jumpstart" description="solaris jumpstart distribution"/> + </table> + +<!-- END: content-data.xml --> +<!-- BEGIN: jms-data.xml --> + +<!-- the schema matches that which would be automatically created by the JMS subsystem --> +<!-- see deploy/jms/rhq-jdbc-state-service.xml and rhq-jdbc2-service.xml --> +<!-- the data must match that which is expected in conf/login-config.xml --> + + + <table name="JMS_USERS"> + <data USERID="guest" PASSWD="guest" /> + </table> + + <table name="JMS_ROLES"> + <data ROLEID="guest" USERID="guest" /> + </table> + +<!-- END: jms-data.xml --> +</dbsetup> diff --git a/modules/helpers/perftest-support/src/main/resources/db-schema-combined.2.94.xml b/modules/helpers/perftest-support/src/main/resources/db-schema-combined.2.94.xml new file mode 100644 index 0000000..5a798b5 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/resources/db-schema-combined.2.94.xml @@ -0,0 +1,2518 @@ +<?xml version="1.0" encoding="UTF-8"?> +<dbsetup name="schema"> +<!-- BEGIN: config-schema.xml --> + + + <!-- Definition or Metadata tables --> + + <table name="RHQ_CONFIG_DEF"> + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="NAME" type="VARCHAR2" required="true" size="100"/> + <column name="DESCRIPTION" type="VARCHAR2" required="false" size="250"/> + <column name="VERSION" type="VARCHAR2" required="false" size="50"/> + <column name="CONFIG_FORMAT" type="VARCHAR2" required="false" size="32"/> + </table> + + <table name="RHQ_CONFIG_PROP_GRP_DEF"> + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="NAME" type="VARCHAR2" required="true" size="100"/> + <column name="DISPLAY_NAME" type="VARCHAR2" required="false" size="100"/> + <column name="DESCRIPTION" type="VARCHAR2" required="false" size="250"/> + <column name="DEFAULT_HIDDEN" type="BOOLEAN" required="false"/> + <column name="ORDER_INDEX" type="INTEGER" required="false"/> + </table> + + <table name="RHQ_CONFIG_PROP_DEF"> + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="NAME" type="VARCHAR2" required="false" size="255"/> + <column name="DISPLAY_NAME" type="VARCHAR2" required="false" size="100"/> + <column name="DESCRIPTION" type="VARCHAR2" required="false" size="1000"/> + <column name="DEFAULT_VALUE" type="VARCHAR2" required="false" size="2000"/> + <column name="REQUIRED" type="BOOLEAN" required="false"/> + <column name="READONLY" type="BOOLEAN" required="false"/> + <column name="SUMMARY" type="BOOLEAN" required="false"/> + <column name="ACTIVATION_POLICY" type="VARCHAR2" required="false" size="20"/> + <column name="GROUP_ID" type="INTEGER" required="false" references="RHQ_CONFIG_PROP_GRP_DEF"/> + <column name="ORDER_INDEX" type="INTEGER" required="false"/> + <column name="VERSION" type="VARCHAR2" required="false" size="50"/> + <column name="PARENT_MAP_DEFINITION_ID" type="INTEGER" required="false" references="RHQ_CONFIG_PROP_DEF"/> + <column name="PARENT_LIST_DEFINITION_ID" type="INTEGER" required="false" references="RHQ_CONFIG_PROP_DEF"/> + <column name="SIMPLE_TYPE" type="VARCHAR2" required="false" size="20"/> + <column name="ALLOW_CUSTOM_ENUM_VALUE" type="BOOLEAN" required="false"/> + <column name="DTYPE" type="VARCHAR2" required="true" size="10"/> + <column name="CONFIG_DEF_ID" type="INTEGER" required="false" references="RHQ_CONFIG_DEF"/> + + <!-- only simple properties (not lists and maps) have this --> + <column name="UNITS" type="SMALLINT" required="false"/> + + <!-- only dynamic properties (not simple) have this --> + <column name="DYNAMIC_TYPE" type="VARCHAR2" size="20" required="false"/> + <column name="DYNAMIC_KEY" type="VARCHAR2" size="128" required="false"/> + </table> + + <table name="RHQ_CONF_PROP_DEF_ENUM"> + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="STRING_VALUE" type="VARCHAR2" required="false" size="500"/> + <column name="ORDER_INDEX" type="INTEGER" required="false"/> + <column name="IS_DEFAULT" type="BOOLEAN" required="false"/> + <column name="NAME" type="VARCHAR2" required="false" size="100"/> + <column name="PROPERTY_DEF_ID" type="INTEGER" required="false" references="RHQ_CONFIG_PROP_DEF"/> + </table> + + <table name="RHQ_CONFIG_PROP_CONSTR"> + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="DTYPE" type="VARCHAR2" required="true" size="15"/> + <column name="DETAILS" type="VARCHAR2" required="false" size="250"/> + <column name="CONFIG_PROP_DEF_ID" type="INTEGER" required="false" references="RHQ_CONFIG_PROP_DEF"/> + <column name="ORDER_INDEX" type="INTEGER" required="false"/> + </table> + + + <!-- Content or value tables --> + + <table name="RHQ_CONFIG"> + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="NOTES" type="VARCHAR2" required="false" size="512"/> + <column name="VERSION" type="VARCHAR2" required="false" size="50"/> + <column name="CTIME" type="LONG" required="true"/> + <column name="MTIME" type="LONG" required="true"/> + </table> + + <table name="RHQ_CONFIG_PROPERTY"> + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="CONFIGURATION_ID" type="INTEGER" required="false" references="RHQ_CONFIG" ondelete="cascade"/> + <column name="STRING_VALUE" type="VARCHAR2" required="false" size="2000"/> + <column name="OVERRIDE" type="BOOLEAN" required="false"/> + <column name="NAME" type="VARCHAR2" required="true" size="255"/> + <column name="DTYPE" type="VARCHAR2" required="true" size="10"/> + <!-- Recursive cascade path to RHQ_CONFIG_PROPERTY causes constraint creation errors on SQL Server, see + http://support.microsoft.com/kb/321843 --> + <column name="PARENT_LIST_ID" type="INTEGER" required="false" references="RHQ_CONFIG_PROPERTY" ondelete="cascade" /> + <column name="PARENT_MAP_ID" type="INTEGER" required="false" references="RHQ_CONFIG_PROPERTY" ondelete="cascade" /> + <column name="LIST_INDEX" type="INTEGER"/> + <column name="ERROR_MESSAGE" type="LONGVARCHAR" required="false"/> + <index name="RHQ_CONFIG_PROP_idx_prop_key" unique="false"> + <field ref="CONFIGURATION_ID"/> + <field ref="NAME"/> + </index> + <index name="RHQ_CONFIG_PROP_idx_map_key" unique="false"> + <field ref="PARENT_MAP_ID"/> + <field ref="NAME"/> + </index> + <index name="RHQ_CONFIG_PROP_idx_list_key" unique="false"> + <field ref="PARENT_LIST_ID"/> + </index> + <!-- List entries all have the same name --> + </table> + + <table name="RHQ_CONFIG_TEMPLATE"> + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="NAME" type="VARCHAR2" required="false" size="100"/> + <column name="DESCRIPTION" type="VARCHAR2" required="false" size="500"/> + <column name="CONFIG_ID" type="INTEGER" required="false" references="RHQ_CONFIG"/> + <column name="CONFIG_DEF_ID" type="INTEGER" required="false" references="RHQ_CONFIG_DEF"/> + <column name="IS_DEFAULT" type="BOOLEAN" required="false"/> + </table> + + <table name="RHQ_RAW_CONFIG"> + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="CONFIG_ID" type="INTEGER" required="true" references="RHQ_CONFIG(ID)"/> + <column name="PATH" type="VARCHAR2" required="false" size="512"/> + <column name="CONTENTS" type="CLOB" required="true"/> + <column name="SHA256" type="VARCHAR2" size="64" required="true"/> + <column name="CTIME" type="LONG" required="true"/> + <column name="MTIME" type="LONG" required="true"/> + </table> + +<!-- END: config-schema.xml --> +<!-- BEGIN: cluster-schema.xml --> + + <table name="RHQ_AFFINITY_GROUP"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" required="true" size="255" type="VARCHAR2"/> + </table> + + <table name="RHQ_SERVER"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" required="true" size="255" type="VARCHAR2"/> + <column name="ADDRESS" required="true" size="255" type="VARCHAR2"/> + <column name="PORT" required="true" type="INTEGER"/> + <column name="SECURE_PORT" required="true" type="INTEGER"/> + <column name="CTIME" required="true" type="LONG"/> + <column name="MTIME" required="true" type="LONG"/> + <column name="AFFINITY_GROUP_ID" type="INTEGER" references="RHQ_AFFINITY_GROUP" required="false"/> + <column name="COMPUTE_POWER" required="true" type="INTEGER"/> + <column name="OPERATION_MODE" required="true" size="32" type="VARCHAR2"/> + <column name="STATUS" type="INTEGER" required="false" default="0" /> + + <!-- This index is for constraint, not performance --> + <index name="RHQ_SERVER_NAME_UNIQUE" unique="true"> + <field ref="NAME"/> + </index> + </table> + + <!-- new agent --> + <table name="RHQ_AGENT"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" required="true" size="255" type="VARCHAR2"/> + <column name="ADDRESS" required="true" size="255" type="VARCHAR2"/> + <column name="PORT" required="true" type="INTEGER"/> + <column name="AGENTTOKEN" required="true" size="100" type="VARCHAR2"/> + <column name="REMOTE_ENDPOINT" required="false" size="4000" type="VARCHAR2"/> + <column name="CTIME" required="true" type="LONG"/> + <column name="MTIME" required="true" type="LONG"/> + <column name="LAST_AVAILABILITY_REPORT" required="false" type="LONG"/> + <column name="AFFINITY_GROUP_ID" type="INTEGER" references="RHQ_AFFINITY_GROUP" required="false"/> + <column name="SERVER_ID" type="INTEGER" references="RHQ_SERVER" required="false"/> + <column name="STATUS" type="INTEGER" required="false" default="0" /> + <column name="BACKFILLED" type="BOOLEAN" required="true" /> + + <index name="RHQ_AGENT_NAME_UNIQUE" unique="true"> + <field ref="NAME"/> + </index> + + <index name="RHQ_AGENT_ADDRESS_PORT" unique="true"> + <field ref="ADDRESS"/> + <field ref="PORT"/> + </index> + + <index name="RHQ_AGENT_TOKEN_UNIQUE" unique="true"> + <field ref="AGENTTOKEN"/> + </index> + </table> + + <table name="RHQ_PARTITION_EVENT"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="SUBJECT_NAME" required="true" size="100" type="VARCHAR2"/> + <column name="CTIME" required="true" type="LONG"/> + <column name="EVENT_TYPE" required="true" size="50" type="VARCHAR2"/> + <column name="EVENT_DETAIL" required="false" size="512" type="VARCHAR2"/> + <column name="EXECUTION_STATUS" required="true" size="32" type="VARCHAR2"/> + </table> + + <table name="RHQ_PARTITION_DETAILS"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="PARTITION_EVENT_ID" type="INTEGER" references="RHQ_PARTITION_EVENT" required="true"/> + <column name="AGENT_NAME" type="VARCHAR2" size="255" required="true"/> + <column name="SERVER_NAME" type="VARCHAR2" size="255" required="true"/> + </table> + + <table name="RHQ_FAILOVER_LIST"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="PARTITION_EVENT_ID" type="INTEGER" references="RHQ_PARTITION_EVENT" required="true"/> + <column name="AGENT_ID" type="INTEGER" references="RHQ_AGENT" required="true"/> + <column name="CTIME" required="true" type="LONG"/> + </table> + + <table name="RHQ_FAILOVER_DETAILS"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="FAILOVER_LIST_ID" type="INTEGER" references="RHQ_FAILOVER_LIST" required="true"/> + <column name="SERVER_ID" type="INTEGER" references="RHQ_SERVER" required="true"/> + <column name="ORDINAL" type = "INTEGER" required="true"/> + </table> + +<!-- END: cluster-schema.xml --> +<!-- BEGIN: inventory-schema.xml --> + + + <!-- NEW RESOURCE TYPES --> + <table name="RHQ_RESOURCE_TYPE"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" type="VARCHAR2" size="100" required="true"/> + <column name="CATEGORY" type="VARCHAR2" size="16" required="true"/> + <column name="CREATION_DATA_TYPE" type="VARCHAR2" size="16" required="true"/> + <column name="CREATE_DELETE_POLICY" type="VARCHAR2" size="16" required="true"/> + <column name="SINGLETON" type="BOOLEAN" required="true"/> + <column name="SUPPORTS_MANUAL_ADD" type="BOOLEAN" required="true"/> + <column name="DESCRIPTION" type="VARCHAR2" size="1000"/> + <column name="PLUGIN" type="VARCHAR2" size="100"/> + <column name="CTIME" type="LONG"/> + <column name="MTIME" type="LONG"/> + <column name="SUBCATEGORY_ID" type="INTEGER"/> + <!-- + TODO add support to DB setup for tables with circular dependencies and then add back this RI + <column name="SUBCATEGORY_ID" type="INTEGER" references="RHQ_RESOURCE_SUBCAT" /> + --> + <column name="PLUGIN_CONFIG_DEF_ID" type="INTEGER" references="RHQ_CONFIG_DEF(ID)"/> + <column name="RES_CONFIG_DEF_ID" type="INTEGER" references="RHQ_CONFIG_DEF(ID)"/> + + <index name="RHQ_RES_TYPE_IDX_PLG_NAME" unique="true"> + <field ref="NAME"/> + <field ref="PLUGIN"/> + </index> + </table> + + <!-- NEW RESOURCE SUBCATEGORIES --> + <table name="RHQ_RESOURCE_SUBCAT"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" type="VARCHAR2" size="100"/> + <column name="DISPLAY_NAME" type="VARCHAR2" size="100"/> + <column name="DESCRIPTION" type="VARCHAR2" size="1000"/> + <column name="CTIME" type="LONG"/> + <column name="MTIME" type="LONG"/> + <column name="PARENT_SUBCATEGORY_ID" type="INTEGER" references="RHQ_RESOURCE_SUBCAT"/> + <!-- resourceTypeId is not required on child sub categories --> + <column name="RESOURCE_TYPE_ID" type="INTEGER" references="RHQ_RESOURCE_TYPE"/> + </table> + + <!-- Many To Many mapping for resource type to its parents --> + <table name="RHQ_RESOURCE_TYPE_PARENTS"> + <column name="RESOURCE_TYPE_ID" required="true" type="INTEGER" references="RHQ_RESOURCE_TYPE"/> + <column name="PARENT_RESOURCE_TYPE_ID" required="true" type="INTEGER" references="RHQ_RESOURCE_TYPE"/> + + <!-- not using full words to fit index name length --> + <constraint name="RHQ_RES_TYPE_PARENTS_KEY"> + <primaryKey> + <field ref="RESOURCE_TYPE_ID"/> + <field ref="PARENT_RESOURCE_TYPE_ID"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_PROCESS_SCAN"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="QUERY" type="VARCHAR2" size="256" required="true"/> + <column name="NAME" type="VARCHAR2" size="100" required="false"/> + <column name="RESOURCE_TYPE_ID" type="INTEGER" references="RHQ_RESOURCE_TYPE"/> + + <index name="RHQ_PROCESS_SCAN_QUERY_INDEX" unique="true"> + <field ref="QUERY"/> + <field ref="RESOURCE_TYPE_ID"/> + </index> + </table> + + <table name="RHQ_PRD_VER"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="VERSION" type="VARCHAR2" size="50" required="true"/> + <column name="RES_TYPE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE_TYPE"/> + </table> + + <table name="RHQ_RESOURCE"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="RESOURCE_TYPE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE_TYPE"/> + <column name="UUID" type="CHAR" size="36" required="true"/> + <column name="NAME" type="VARCHAR2" size="500"/> + <column name="RESOURCE_KEY" type="VARCHAR2" required="true" size="500"/> + <column name="AGENT_ID" required="false" type="INTEGER" references="RHQ_AGENT(id)"/> + <column name="INVENTORY_STATUS" type="VARCHAR2" size="20"/> + <column name="CONNECTED" type="BOOLEAN"/> + <column name="DESCRIPTION" type="VARCHAR2" size="1000"/> + <column name="VERSION" type="VARCHAR2" size="50"/> + <column name="CTIME" type="LONG"/> + <column name="MTIME" type="LONG"/> + <column name="ITIME" type="LONG"/> + <column name="RES_CONFIGURATION_ID" type="INTEGER" references="RHQ_CONFIG"/> + <column name="PLUGIN_CONFIGURATION_ID" type="INTEGER" references="RHQ_CONFIG"/> + <column name="MODIFIED_BY" required="false" size="100" type="VARCHAR2"/> + <column name="LOCATION" required="false" size="100" type="VARCHAR2"/> + <column name="PARENT_RESOURCE_ID" type="INTEGER" references="RHQ_RESOURCE"/> + <column name="PRODUCT_VERSION_ID" type="INTEGER" references="RHQ_PRD_VER"/> + + <index name="RHQ_RESOURCE_idx_key"> + <field ref="RESOURCE_KEY"/> + </index> + + <index name="RHQ_RESOURCE_idx_type"> + <field ref="RESOURCE_TYPE_ID"/> + </index> + + <index name="RHQ_RESOURCE_idx_agent"> + <field ref="AGENT_ID"/> + </index> + + <index name="RHQ_RESOURCE_idx_parent"> + <field ref="PARENT_RESOURCE_ID"/> + </index> + + </table> + + <table name="RHQ_RESOURCE_ERROR"> + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="RESOURCE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE"/> + <column name="TIME_OCCURRED" type="LONG" required="true"/> + <column name="ERROR_TYPE" type="VARCHAR2" required="true" size="32"/> + <column name="SUMMARY" type="VARCHAR2" required="true" size="1000"/> + <column name="DETAIL" type="LONGVARCHAR" required="false"/> + + <index name="RHQ_RES_ERROR_IDX_RES_ID"> + <field ref="RESOURCE_ID"/> + </index> + </table> + + <table name="RHQ_GROUP_DEF"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" required="true" size="100" type="VARCHAR2"/> + <column name="DESCRIPTION" size="100" type="VARCHAR2"/> + <column name="CTIME" type="LONG"/> + <column name="MTIME" type="LONG"/> + <column name="CALC_TIME" type="LONG"/> + <column name="CALC_INTERVAL" type="LONG"/> + <column name="RECURSIVE" type="BOOLEAN"/> + <column name="EXPRESSION" type="VARCHAR2" size="1000"/> + + <index name="RHQ_GROUP_DEF_NAME" unique="true"> + <field ref="NAME"/> + </index> + </table> + + <table name="RHQ_RESOURCE_GROUP"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <!-- this name can be longer than the size of the GROUP_BY column, which is used to uniquely identify it --> + <!-- Max bytes for Oracle Varchar2 to accommodate large cluster keys --> + <column name="NAME" required="true" size="4000" type="VARCHAR2"/> + <column name="DESCRIPTION" size="100" type="VARCHAR2"/> + <column name="LOCATION" required="false" size="100" type="VARCHAR2"/> + <column name="RESOURCE_TYPE_ID" type="INTEGER" references="RHQ_RESOURCE_TYPE"/> + <!-- Compatible groups only --> + <column name="CTIME" type="LONG"/> + <column name="MTIME" type="LONG"/> + <column name="MODIFIED_BY" required="false" size="100" type="VARCHAR2"/> + <column name="RECURSIVE" type="BOOLEAN"/> + + <column name="GROUP_DEFINITION_ID" required="false" type="INTEGER" references="RHQ_GROUP_DEF"/> + <column name="GROUP_BY" size="500" type="VARCHAR2"/> + + <column name="CATEGORY" type="VARCHAR2" size="20" required="true"/> + + <column name="CLUSTER_KEY" type="VARCHAR2" size="4000" required="false"/> + + <!-- These two only set if this is a backing group for a resource cluster --> + <column name="CLUSTER_RESOURCE_GROUP_ID" type="INTEGER" references="RHQ_RESOURCE_GROUP"/> + + <column name="VISIBLE" type="BOOLEAN"/> + + <index name="RHQ_RES_GROUP_NAME" unique="false"> + <field ref="NAME"/> + </index> + </table> + + <!-- Many To Many mapping for groups to implicit resources --> + <table name="RHQ_RESOURCE_GROUP_RES_IMP_MAP"> + <column name="RESOURCE_ID" required="true" type="INTEGER" references="RHQ_RESOURCE"/> + <column name="RESOURCE_GROUP_ID" required="true" type="INTEGER" references="RHQ_RESOURCE_GROUP"/> + + <!-- not using full words to fit index name length --> + <constraint name="RHQ_RES_GROUP_RES_IMP_MAP_KEY"> + <primaryKey> + <field ref="RESOURCE_ID"/> + <field ref="RESOURCE_GROUP_ID"/> + </primaryKey> + </constraint> + </table> + + <!-- Many To Many mapping for groups to explicit resources --> + <table name="RHQ_RESOURCE_GROUP_RES_EXP_MAP"> + <column name="RESOURCE_ID" required="true" type="INTEGER" references="RHQ_RESOURCE"/> + <column name="RESOURCE_GROUP_ID" required="true" type="INTEGER" references="RHQ_RESOURCE_GROUP"/> + + <!-- not using full words to fit index name length --> + <constraint name="RHQ_RES_GROUP_RES_EXP_MAP_KEY"> + <primaryKey> + <field ref="RESOURCE_ID"/> + <field ref="RESOURCE_GROUP_ID"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_CONFIG_GROUP_UPDATE"> + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="GROUP_ID" type="INTEGER" required="true" references="RHQ_RESOURCE_GROUP"/> + <column name="CONFIGURATION_ID" type="INTEGER" required="true" references="RHQ_CONFIG"/> + <column name="STATUS" type="VARCHAR2" required="true" size="16"/> + <column name="ERROR_MESSAGE" type="LONGVARCHAR" required="false"/> + <column name="SUBJECT_NAME" type="VARCHAR2" required="false" size="100"/> + <column name="CTIME" type="LONG" required="true"/> + <column name="MTIME" type="LONG" required="true"/> + <column name="DTYPE" type="VARCHAR2" required="true" size="10"/> + </table> + + <table name="RHQ_CONFIG_UPDATE"> + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="CONFIGURATION_ID" type="INTEGER" required="true" references="RHQ_CONFIG" ondelete="cascade"/> + <column name="STATUS" type="VARCHAR2" required="true" size="16"/> + <column name="ERROR_MESSAGE" type="LONGVARCHAR" required="false"/> + <column name="SUBJECT_NAME" type="VARCHAR2" required="false" size="100"/> + <column name="CTIME" type="LONG" required="true"/> + <column name="MTIME" type="LONG" required="true"/> + <column name="CONFIG_RES_ID" type="INTEGER" required="false" references="RHQ_RESOURCE"/> + <column name="PLUGIN_CONFIG_RES_ID" type="INTEGER" required="false" references="RHQ_RESOURCE"/> + <column name="AGG_RES_UPDATE_ID" type="INTEGER" required="false" references="RHQ_CONFIG_GROUP_UPDATE"/> + <column name="AGG_PLUGIN_UPDATE_ID" type="INTEGER" required="false" references="RHQ_CONFIG_GROUP_UPDATE"/> + <column name="DTYPE" type="VARCHAR2" required="true" size="10"/> + </table> + + + <table name="RHQ_TAGGING"> + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="NAMESPACE" type="VARCHAR2" required="false" size="20"/> + <column name="SEMANTIC" type="VARCHAR2" required="false" size="50"/> + <column name="NAME" type="VARCHAR2" required="true" size="100"/> + </table> + + <table name="RHQ_TAGGING_RESOURCE_MAP"> + <column name="RESOURCE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE"/> + <column name="TAG_ID" type="INTEGER" required="true" references="RHQ_TAGGING"/> + <constraint name="RHQ_TAGGING_RESOURCE_MAP_KEY"> + <primaryKey> + <field ref="RESOURCE_ID"/> + <field ref="TAG_ID"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_TAGGING_RES_GROUP_MAP"> + <column name="RESOURCE_GROUP_ID" type="INTEGER" required="true" references="RHQ_RESOURCE_GROUP"/> + <column name="TAG_ID" type="INTEGER" required="true" references="RHQ_TAGGING"/> + <constraint name="RHQ_TAGGING_RES_GROUP_MAP_KEY"> + <primaryKey> + <field ref="RESOURCE_GROUP_ID"/> + <field ref="TAG_ID"/> + </primaryKey> + </constraint> + </table> + +<!-- END: inventory-schema.xml --> +<!-- BEGIN: auth-schema.xml --> + + + <table name="RHQ_PRINCIPAL"> + + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="PRINCIPAL" required="true" type="VARCHAR2" size="100"/> + <column name="PASSWORD" required="true" type="VARCHAR2" size="64"/> + + <!-- ensure that principals are unique --> + <index name="RHQ_PRINCIPAL_PRINCIPAL_KEY" unique="true"> + <field ref="PRINCIPAL"/> + </index> + + </table> + +<!-- END: auth-schema.xml --> +<!-- BEGIN: authz-schema.xml --> + + + <table name="RHQ_ROLE"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" required="true" size="100" type="VARCHAR2"/> + <column name="DESCRIPTION" size="100" type="VARCHAR2"/> + <column name="FSYSTEM" type="BOOLEAN" default="false"/> + + <index name="RHQ_ROLE_NAME_KEY" unique="true"> + <field ref="NAME"/> + </index> + </table> + + <table name="RHQ_ROLE_RESOURCE_GROUP_MAP"> + <column name="ROLE_ID" required="true" type="INTEGER" references="RHQ_ROLE"/> + <column name="RESOURCE_GROUP_ID" required="true" type="INTEGER" references="RHQ_RESOURCE_GROUP"/> + + <constraint name="RHQ_ROLE_RES_GROUP_MAP_KEY"> + <primaryKey> + <field ref="ROLE_ID"/> + <field ref="RESOURCE_GROUP_ID"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_ROLE_LDAP_GROUP"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="ROLE_ID" required="true" type="INTEGER" references="RHQ_ROLE"/> + <column name="LDAP_GROUP_NAME" size="128" required="true" type="VARCHAR2"/> + + <index name="RHQ_ROLE_LDAP_GROUP_IDX" unique="true"> + <field ref="ROLE_ID"/> + <field ref="LDAP_GROUP_NAME"/> + </index> + </table> + + <table name="RHQ_PERMISSION"> + <column name="ROLE_ID" type="INTEGER" references="RHQ_ROLE" required="true"/> + <column name="OPERATION" type="INTEGER" required="true"/> + <constraint name="RHQ_PERMISSION_PK"> + <primaryKey> + <field ref="ROLE_ID"/> + <field ref="OPERATION"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_SUBJECT"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" required="true" size="100" type="VARCHAR2"/> + <column name="CONFIGURATION_ID" type="INTEGER" references="RHQ_CONFIG"/> + <column name="FIRST_NAME" required="false" size="100" type="VARCHAR2"/> + <column name="LAST_NAME" required="false" size="100" type="VARCHAR2"/> + <column name="EMAIL_ADDRESS" size="100" type="VARCHAR2"/> + <column name="SMS_ADDRESS" size="100" type="VARCHAR2"/> + <column name="PHONE_NUMBER" size="100" type="VARCHAR2"/> + <column name="DEPARTMENT" size="100" type="VARCHAR2"/> + <column name="FACTIVE" required="true" type="BOOLEAN" default="true"/> + <column name="FSYSTEM" required="true" type="BOOLEAN" default="false"/> + + <index name="RHQ_SUBJECT_AUTH_KEY" unique="true"> + <field ref="NAME"/> + </index> + </table> + + <table name="RHQ_SUBJECT_ROLE_MAP"> + <column name="SUBJECT_ID" required="true" type="INTEGER" references="RHQ_SUBJECT"/> + <column name="ROLE_ID" required="true" type="INTEGER" references="RHQ_ROLE"/> + + <constraint name="RHQ_SUBJECT_ROLE_MAPPING_KEY"> + <primaryKey> + <field ref="SUBJECT_ID"/> + <field ref="ROLE_ID"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_SUBJECT_ROLE_LDAP_MAP"> + <column name="SUBJECT_ID" required="true" type="INTEGER" references="RHQ_SUBJECT"/> + <column name="ROLE_ID" required="true" type="INTEGER" references="RHQ_ROLE"/> + <constraint name="RHQ_SUBJECT_ROLE_LDAP_MAP_PK"> + <primaryKey> + <field ref="SUBJECT_ID" /> + <field ref="ROLE_ID"/> + </primaryKey> + </constraint> + </table> +<!-- END: authz-schema.xml --> +<!-- BEGIN: search-schema.xml --> + + + <table name="RHQ_SAVED_SEARCH"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="CONTEXT" type="VARCHAR2" size="25" required="true"/> + + <column name="NAME" type="VARCHAR2" size="200" required="true"/> + <column name="DESCRIPTION" type="VARCHAR2" size="500" required="false"/> + <column name="PATTERN" type="VARCHAR2" size="1000" required="true"/> + + <column name="LAST_COMPUTE_TIME" type="LONG" required="true"/> + <column name="RESULT_COUNT" type="LONG" required="false"/> + + <column name="SUBJECT_ID" type="INTEGER" references="RHQ_SUBJECT" required="true"/> + <column name="GLOBAL" type="BOOLEAN" required="true"/> + </table> + +<!-- END: search-schema.xml --> +<!-- BEGIN: dashboard-schema.xml --> + + + + <table name="RHQ_DASHBOARD"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" type="VARCHAR2" size="200" required="true"/> + <column name="SUBJECT_ID" type="INTEGER" required="true"/> + <column name="SHARED" type="BOOLEAN" required="true"/> + <column name="CONFIGURATION_ID" type="INTEGER" required="false" references="RHQ_CONFIG"/> + </table> + + + <table name="RHQ_DASHBOARD_PORTLET"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" type="VARCHAR2" size="200" required="true"/> + <column name="PORTLET_KEY" type="VARCHAR2" size="200" required="true"/> + <column name="COL" type="INTEGER" required="true"/> + <column name="COL_INDEX" type="INTEGER" required="true"/> + <column name="HEIGHT" type="INTEGER" required="true"/> + <column name="CONFIGURATION_ID" type="INTEGER" required="false" references="RHQ_CONFIG"/> + <column name="DASHBOARD_ID" type="INTEGER" required="false" references="RHQ_DASHBOARD"/> + </table> + +<!-- END: dashboard-schema.xml --> +<!-- BEGIN: operation-schema.xml --> + + + <table name="RHQ_OPERATION_DEF"> + + <!-- === required columns === --> + + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="RESOURCE_TYPE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE_TYPE(ID)"/> + <column name="NAME" type="VARCHAR2" required="true" size="100"/> + + <!-- === optional columns === --> + + <!-- an OSGI version range - if null, the operation def applies to all versions of the associated resource type --> + <column name="RESOURCE_VERSION_RANGE" type="VARCHAR2" size="100"/> + + <!-- A parameter config definition is only required for operations that have parameters. --> + <!-- A results config definition is only required for operations that return data. --> + <column name="PARAMETER_CONFIG_DEF_ID" type="INTEGER" references="RHQ_CONFIG_DEF(ID)"/> + <column name="RESULTS_CONFIG_DEF_ID" type="INTEGER" references="RHQ_CONFIG_DEF(ID)"/> + <column name="DISPLAY_NAME" type="VARCHAR2" size="100"/> + <column name="DESCRIPTION" type="VARCHAR2" size="4000"/> + <column name="TIMEOUT" type="INTEGER"/> + + <!-- === business key (RESOURCE_TYPE_ID + NAME) === --> + <index name="RHQ_OPERATION_DEF_KEY_IDX" unique="true"> + <field ref="RESOURCE_TYPE_ID"/> + <field ref="NAME"/> + </index> + + </table> + + <table name="RHQ_OPERATION_HISTORY"> + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="DTYPE" type="VARCHAR2" required="true" size="8"/> + <column name="JOB_NAME" type="VARCHAR2" required="true" size="100"/> + <column name="JOB_GROUP" type="VARCHAR2" required="true" size="100"/> + <column name="OPERATION_DEF_ID" type="INTEGER" required="true" references="RHQ_OPERATION_DEF"/> + <column name="STATUS" type="VARCHAR2" required="true" size="16"/> + <column name="ERROR_MESSAGE" type="LONGVARCHAR" required="false"/> + <column name="SUBJECT_NAME" type="VARCHAR2" required="true" size="100"/> + <column name="CTIME" type="LONG" required="true"/> + <column name="STIME" type="LONG" required="true"/> + <column name="MTIME" type="LONG" required="true"/> + <column name="PARAMETERS_CONFIG_ID" type="INTEGER" required="false" references="RHQ_CONFIG"/> + + <!-- for resource history --> + <column name="RESOURCE_ID" type="INTEGER" required="false" references="RHQ_RESOURCE"/> + <column name="RESULTS_CONFIG_ID" type="INTEGER" required="false" references="RHQ_CONFIG"/> + <column name="GROUP_HISTORY_ID" type="INTEGER" required="false" references="RHQ_OPERATION_HISTORY"/> + + <!-- for group history --> + <column name="GROUP_ID" type="INTEGER" required="false" references="RHQ_RESOURCE_GROUP"/> + + <index name="RHQ_OPERATION_HISTORY_JOB_IDX" unique="true"> + <field ref="JOB_NAME"/> + <field ref="JOB_GROUP"/> + <field ref="CTIME"/> + </index> + + </table> + + <!-- + This table is really just to support some specific use-cases. + Specifically, to be able to get a list of histories for a specific schedule (aka quartz job) + and to be able to query a list of all schedules along with their associated resource/group IDs + possibly sorted by their next fire time. + Note that a NULL next fire time means it won't fire again and the row is probaby about to be deleted; + we can probably not even insert rows with NULL and make it a non-nullable field. But rather than + code special conditions into the session bean, we'll allow a short-lived NULL next fire time row. + --> + <table name="RHQ_OPERATION_SCHEDULE"> + <column name="JOB_NAME" type="VARCHAR2" required="true" size="100"/> + <column name="JOB_GROUP" type="VARCHAR2" required="true" size="100"/> + <column name="DTYPE" type="VARCHAR2" required="true" size="8"/> + <column name="NEXT_FIRE_TIME" type="LONG" required="false"/> + + <!-- for resource history --> + <column name="RESOURCE_ID" type="INTEGER" required="false" references="RHQ_RESOURCE"/> + + <!-- for group history --> + <column name="GROUP_ID" type="INTEGER" required="false" references="RHQ_RESOURCE_GROUP"/> + + <!-- + Note that this is the same primary key that Quartz uses for its schedules (RHQ_qrtz_job_details). + We do not need to add DTYPE to the key, because we ensure the name/group are unique + across resource/group schedules + --> + <constraint name="RHQ_OPERATION_SCHEDULE_KEY"> + <primaryKey> + <field ref="JOB_NAME"/> + <field ref="JOB_GROUP"/> + </primaryKey> + </constraint> + </table> + +<!-- END: operation-schema.xml --> +<!-- BEGIN: event-schema.xml --> + + + <!-- metadata --> + + <table name="RHQ_EVENT_DEF"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="RESOURCE_TYPE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE_TYPE(ID)"/> + + <column name="NAME" type="VARCHAR2" size="100" required="true"/> + <column name="DISPLAY_NAME" type="VARCHAR2" size="100"/> + <column name="DESCRIPTION" type="VARCHAR2" size="1000"/> + + <index name="RHQ_EVENT_DEF_IDX" unique="true"> + <field ref="RESOURCE_TYPE_ID"/> + <field ref="NAME"/> + </index> + </table> + + <!-- instance data --> + + <table name="RHQ_EVENT_SOURCE"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="EVENT_DEF_ID" type="INTEGER" required="true" references="RHQ_EVENT_DEF(ID)"/> + <column name="RESOURCE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE(ID)"/> + + <column name="LOCATION" required="true" size="2000" type="VARCHAR2"/> + + <index name="RHQ_EVENT_SOURCE_IDX" unique="true"> + <field ref="EVENT_DEF_ID"/> + <field ref="RESOURCE_ID"/> + <field ref="LOCATION"/> + </index> + </table> + + <table name="RHQ_EVENT"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="EVENT_SOURCE_ID" type="INTEGER" required="true" references="RHQ_EVENT_SOURCE(ID)"/> + + <column name="TIMESTAMP" required="true" type="LONG"/> + <column name="SEVERITY" required="true" size="20" type="VARCHAR2"/> + <column name="DETAIL" required="true" size="4000" type="VARCHAR2"/> + <index name="RHQ_EVENT_IDX" unique="false"> + <field ref="EVENT_SOURCE_ID"/> + <field ref="TIMESTAMP"/> + </index> + </table> + +<!-- END: event-schema.xml --> +<!-- BEGIN: alert-schema.xml --> + + + <table name="RHQ_ALERT_DEFINITION"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" required="true" size="100" type="VARCHAR2"/> + <column name="CTIME" type="LONG" required="true"/> + <column name="MTIME" type="LONG" required="true"/> + <column name="PARENT_ID" type="INTEGER" required="false"/> + <column name="GROUP_ALERT_DEF_ID" type="INTEGER" required="false"/> + <column name="DESCRIPTION" required="false" size="250" type="VARCHAR2"/> + <column name="PRIORITY" type="VARCHAR2" size="15" required="true"/> + <column name="RESOURCE_TYPE_ID" type="INTEGER" references="RHQ_RESOURCE_TYPE" required="false"/> + <column name="RESOURCE_ID" type="INTEGER" references="RHQ_RESOURCE" required="false"/> + <column name="RESOURCE_GROUP_ID" type="INTEGER" references="RHQ_RESOURCE_GROUP" required="false"/> + <column name="ENABLED" required="true" default="TRUE" type="BOOLEAN"/> + + <column name="REQUIRED" required="true" type="SMALLINT"/> + + <column name="RECOVERY_ID" type="INTEGER" required="true"/> + <!-- required, but 0 effectively means null --> + <column name="WILL_RECOVER" required="true" default="false" type="BOOLEAN"/> + <column name="NOTIFY_FILTERED" required="true" default="false" type="BOOLEAN"/> + <column name="CONTROL_FILTERED" required="true" default="FALSE" type="BOOLEAN"/> + + <column name="DELETED" required="true" default="FALSE" type="BOOLEAN"/> + <column name="READ_ONLY" required="true" default="FALSE" type="BOOLEAN"/> + + <column name="DAMPENING_CATEGORY" type="SMALLINT" required="true"/> + <column name="DAMPENING_VALUE" type="INTEGER"/> + <column name="DAMPENING_VALUE_UNITS" type="SMALLINT"/> + <column name="DAMPENING_PERIOD" type="INTEGER"/> + <column name="DAMPENING_PERIOD_UNITS" type="SMALLINT"/> + </table> + + <table name="RHQ_ALERT_DAMPEN_EVENT"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="ALERT_DEFINITION_ID" required="false" type="INTEGER" references="RHQ_ALERT_DEFINITION(ID)"/> + <column name="EVENT_TYPE" required="true" type="SMALLINT"/> + <column name="EVENT_TIMESTAMP" required="true" type="LONG"/> + + <index name="RHQ_DAMPENING_EVENT_TYPE_IDX"> + <field ref="EVENT_TYPE"/> + </index> + <index name="RHQ_DAMPENING_EVENT_TS_IDX"> + <field ref="EVENT_TIMESTAMP"/> + </index> + </table> + + <table name="RHQ_ALERT_CONDITION"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="TYPE" required="true" type="VARCHAR2" size="15"/> + <!-- + <column name="REQUIRED" required="true" type="BOOLEAN"/> + --> + <column name="MEASUREMENT_DEFINITION_ID" required="false" type="INTEGER"/> + <column name="NAME" required="false" size="100" type="VARCHAR2"/> + <column name="COMPARATOR" required="false" size="2" type="VARCHAR2"/> + <column name="THRESHOLD" required="false" type="DOUBLE"/> + <!-- event-based conditions use OPTION_STATUS for the string match, so should be a decent length --> + <column name="OPTION_STATUS" required="false" size="256" type="VARCHAR2"/> + <column name="ALERT_DEFINITION_ID" required="false" type="INTEGER" references="RHQ_ALERT_DEFINITION(ID)"/> + <column name="TRIGGER_ID" required="false" type="INTEGER"/> + </table> + + <table name="RHQ_ALERT" tablespace="@@@LARGE_TABLESPACE_FOR_DATA@@@" + storage-options="freelists 5" cache="true" logging="false"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="ALERT_DEFINITION_ID" required="false" type="INTEGER" references="RHQ_ALERT_DEFINITION(ID)"/> + <column name="CTIME" required="true" type="LONG"/> + <column name="RECOVERY_ID" type="INTEGER" required="true"/> + <!-- required, but 0 effectively means null --> + <column name="WILL_RECOVER" required="true" default="false" type="BOOLEAN"/> + <column name="ACK_TIME" required="false" type="LONG"/> + <column name="ACK_SUBJECT" required="false" size="100" type="VARCHAR2"/> + <index name="RHQ_ALERT_IDX_TIME" unique="false"> + <field ref="CTIME"/> + </index> + <index name="RHQ_ALERT_IDX_ALERTDEF" unique="false"> + <field ref="ALERT_DEFINITION_ID"/> + </index> + </table> + + <table name="RHQ_ALERT_NOTIF_LOG" tablespace="@@@LARGE_TABLESPACE_FOR_DATA@@@" + storage-options="freelists 5" cache="true" logging="false"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="ALERT_ID" required="true" type="INTEGER" references="RHQ_ALERT(ID)"/> + <index name="RHQ_ALERT_IDX_ALERT" unique="false"> + <field ref="ALERT_ID"/> + </index> + <column name="SENDER" required="false" size="100" type="VARCHAR2"/> + <column name="RESULT_STATE" required="false" size="20" type="VARCHAR2"/> + <column name="MESSAGE" required="false" size="4000" type="VARCHAR2"/> + </table> + + <table name="RHQ_ALERT_CONDITION_LOG" tablespace="@@@LARGE_TABLESPACE_FOR_DATA@@@" + storage-options="freelists 5" cache="true" logging="false"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="CTIME" required="true" type="LONG"/> + <column name="ALERT_ID" required="false" type="INTEGER" references="RHQ_ALERT(ID)"/> + <column name="CONDITION_ID" required="true" type="INTEGER" references="RHQ_ALERT_CONDITION(ID)"/> + <column name="VALUE" required="false" size="250" type="VARCHAR2"/> + <index name="RHQ_ALERT_COND_LOG_IDX_TIME"> + <field ref="CTIME" /> + </index> + <index name="RHQ_ALERT_COND_LOG_IDX_ALERT"> + <field ref="ALERT_ID"/> + </index> + </table> + + <table name="RHQ_ALERT_NOTIFICATION" tablespace="@@@LARGE_TABLESPACE_FOR_DATA@@@" + storage-options="freelists 5" cache="true" logging="false"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="ALERT_DEFINITION_ID" required="false" type="INTEGER" references="RHQ_ALERT_DEFINITION(ID)"/> + <column name="SENDER_CONFIG_ID" required="false" type="INTEGER" references="RHQ_CONFIG(ID)"/> + <column name="EXTRA_CONFIG_ID" required="false" type="INTEGER" references="RHQ_CONFIG(ID)"/> + <column name="SENDER_NAME" required="true" size="100" type="VARCHAR2" /> + </table> + +<!-- END: alert-schema.xml --> +<!-- BEGIN: sysconfig-schema.xml --> + + + <table name="RHQ_SYSTEM_CONFIG"> + <column name="ID" default="sequence-only" initial="10001" + primarykey="true" required="true" type="INTEGER"/> + <column name="PROPERTY_KEY" type="VARCHAR2" size="80"/> + <column name="PROPERTY_VALUE" type="VARCHAR2" size="300"/> + <column name="DEFAULT_PROPERTY_VALUE" type="VARCHAR2" size="300"/> + <column name="FREAD_ONLY" type="BOOLEAN" default="FALSE"/> + + <index name="RHQ_SYSTEM_CONFIG_KEY_INDX" unique="true"> + <field ref="PROPERTY_KEY"/> + </index> + </table> + +<!-- END: sysconfig-schema.xml --> +<!-- BEGIN: scheduler-schema.xml --> + + + <table name="RHQ_QRTZ_JOB_DETAILS"> + <column name="JOB_NAME" required="true" type="VARCHAR2" size="80"/> + <column name="JOB_GROUP" required="true" type="VARCHAR2" size="80"/> + <column name="DESCRIPTION" required="false" type="VARCHAR2" size="120"/> + <column name="JOB_CLASS_NAME" required="true" type="VARCHAR2" size="128"/> + <column name="IS_DURABLE" required="true" type="BOOLEAN" default="FALSE"/> + <column name="IS_VOLATILE" required="true" type="BOOLEAN"/> + <column name="IS_STATEFUL" required="true" type="BOOLEAN" default="FALSE"/> + <column name="REQUESTS_RECOVERY" required="true" type="BOOLEAN" default="FALSE"/> + <column name="JOB_DATA" required="false" type="BLOB"/> + + <constraint name="RHQ_PK_QRTZ_JOB_DETAILS"> + <primaryKey> + <field ref="JOB_NAME"/> + <field ref="JOB_GROUP"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_QRTZ_JOB_LISTENERS"> + <column name="JOB_NAME" required="true" type="VARCHAR2" size="80"/> + <column name="JOB_GROUP" required="true" type="VARCHAR2" size="80"/> + <column name="JOB_LISTENER" required="true" type="VARCHAR2" size="80"/> + + <constraint name="RHQ_PK_QRTZ_JOB_LISTENERS"> + <primaryKey> + <field ref="JOB_NAME"/> + <field ref="JOB_GROUP"/> + <field ref="JOB_LISTENER"/> + </primaryKey> + </constraint> + <constraint name="RHQ_FK_QRTZ_JOB_LSTNRS_JN_JG"> + <foreignKey local="JOB_NAME,JOB_GROUP" + references="RHQ_QRTZ_JOB_DETAILS(JOB_NAME,JOB_GROUP)" + ondelete="cascade"/> + </constraint> + </table> + + <table name="RHQ_QRTZ_TRIGGERS"> + <column name="TRIGGER_NAME" type="VARCHAR2" required="true" size="80"/> + <column name="TRIGGER_GROUP" type="VARCHAR2" required="true" size="80"/> + <column name="JOB_NAME" type="VARCHAR2" required="true" size="80"/> + <column name="JOB_GROUP" type="VARCHAR2" required="true" size="80"/> + <column name="IS_VOLATILE" type="BOOLEAN" required="true"/> + <column name="DESCRIPTION" type="VARCHAR2" required="false" size="120"/> + <column name="NEXT_FIRE_TIME" type="LONG" required="false"/> + <column name="PREV_FIRE_TIME" type="LONG" required="false"/> + <column name="PRIORITY" type="INTEGER" required="false"/> + <column name="TRIGGER_STATE" type="VARCHAR" required="true" size="16"/> + <column name="TRIGGER_TYPE" type="VARCHAR" required="true" size="8"/> + <column name="START_TIME" type="LONG" required="true"/> + <column name="END_TIME" type="LONG" required="false"/> + <column name="CALENDAR_NAME" type="VARCHAR2" required="false" size="80"/> + <column name="MISFIRE_INSTR" type="INTEGER" required="false"/> + <column name="JOB_DATA" type="BLOB" required="false"/> + + <constraint name="RHQ_PK_QRTZ_TRIGGERS"> + <primaryKey> + <field ref="TRIGGER_NAME"/> + <field ref="TRIGGER_GROUP"/> + </primaryKey> + </constraint> + <constraint name="RHQ_FK_QRTZ_TRIGGERS_JN_JG"> + <foreignKey local="JOB_NAME,JOB_GROUP" + references="RHQ_QRTZ_JOB_DETAILS(JOB_NAME,JOB_GROUP)" + ondelete="cascade"/> + </constraint> + + <!-- Quartz docs recommend these indexes. --> + <index name="RHQ_QRTZ_TRIGGERS_JN_JG_IDX"> + <field ref="JOB_NAME"/> + <field ref="JOB_GROUP"/> + </index> + <index name="RHQ_QRTZ_TRIGGERS_NFT_IDX"> + <field ref="NEXT_FIRE_TIME"/> + </index> + <index name="RHQ_QRTZ_TRIGGERS_TS_IDX"> + <field ref="TRIGGER_STATE"/> + </index> + <index name="RHQ_QRTZ_TRIGGERS_TS_NFT_IDX"> + <field ref="TRIGGER_STATE"/> + <field ref="NEXT_FIRE_TIME"/> + </index> + + </table> + + <table name="RHQ_QRTZ_SIMPLE_TRIGGERS"> + <column name="TRIGGER_NAME" type="VARCHAR2" required="true" size="80"/> + <column name="TRIGGER_GROUP" type="VARCHAR2" required="true" size="80"/> + <column name="REPEAT_COUNT" type="LONG" required="true"/> + <column name="REPEAT_INTERVAL" type="LONG" required="true"/> + <column name="TIMES_TRIGGERED" type="LONG" required="true"/> + + <constraint name="RHQ_PK_QRTZ_SIMPLE_TRIGGERS"> + <primaryKey> + <field ref="TRIGGER_NAME"/> + <field ref="TRIGGER_GROUP"/> + </primaryKey> + </constraint> + <constraint name="RHQ_FK_QRTZ_SIMPLE_TRGRS_TN_TG"> + <foreignKey local="TRIGGER_NAME,TRIGGER_GROUP" + references="RHQ_QRTZ_TRIGGERS(TRIGGER_NAME,TRIGGER_GROUP)" + ondelete="cascade"/> + </constraint> + + <!-- Quartz docs recommend this index. --> + <!-- Commenting out, because Oracle auto-creates an index for the + primary key column(s) and fails if you try to create another + index for the same column(s) (ips, 03/29/07). + --> + <!-- + <index name="RHQ_QRTZ_SIMPLE_TRGRS_TN_TG_IDX"> + <field ref="TRIGGER_NAME"/> + <field ref="TRIGGER_GROUP"/> + </index> + --> + </table> + + <table name="RHQ_QRTZ_CRON_TRIGGERS"> + <column name="TRIGGER_NAME" type="VARCHAR2" size="80" required="true"/> + <column name="TRIGGER_GROUP" type="VARCHAR2" size="80" required="true"/> + <column name="CRON_EXPRESSION" type="VARCHAR2" size="80" required="true"/> + <column name="TIME_ZONE_ID" type="VARCHAR2" size="80" required="false"/> + + <constraint name="RHQ_PK_QRTZ_CRON_TRIGGERS"> + <primaryKey> + <field ref="TRIGGER_NAME"/> + <field ref="TRIGGER_GROUP"/> + </primaryKey> + </constraint> + <constraint name="RHQ_FK_QRTZ_CRON_TRIG_TN_TG"> + <foreignKey local="TRIGGER_NAME,TRIGGER_GROUP" + references="RHQ_QRTZ_TRIGGERS(TRIGGER_NAME,TRIGGER_GROUP)" + ondelete="cascade"/> + </constraint> + + <!-- Quartz docs recommend this index. --> + <!-- Commenting out, because Oracle auto-creates an index for the + primary key column(s) and fails if you try to create another + index for the same column(s) (ips, 03/29/07). + --> + <!-- + <index name="RHQ_QRTZ_CRON_TRGRS_TN_TG_IDX"> + <field ref="TRIGGER_NAME"/> + <field ref="TRIGGER_GROUP"/> + </index> + --> + </table> + + <table name="RHQ_QRTZ_BLOB_TRIGGERS"> + <column name="TRIGGER_NAME" type="VARCHAR2" size="80" required="true"/> + <column name="TRIGGER_GROUP" type="VARCHAR2" size="80" required="true"/> + <column name="BLOB_DATA" type="BLOB" required="false"/> + + <constraint name="RHQ_PK_QRTZ_BLOB_TRIGGERS"> + <primaryKey> + <field ref="TRIGGER_NAME"/> + <field ref="TRIGGER_GROUP"/> + </primaryKey> + </constraint> + <constraint name="RHQ_FK_QRTZ_BLOB_TRIGG_TN_TG"> + <foreignKey local="TRIGGER_NAME,TRIGGER_GROUP" + references="RHQ_QRTZ_TRIGGERS(TRIGGER_NAME,TRIGGER_GROUP)" + ondelete="cascade"/> + </constraint> + + <!-- Quartz docs recommend this index. --> + <!-- Commenting out, because Oracle auto-creates an index for the + primary key column(s) and fails if you try to create another + index for the same column(s) (ips, 03/29/07). + --> + <!-- + <index name="RHQ_QRTZ_BLOB_TRGRS_TN_TG_IDX"> + <field ref="TRIGGER_NAME"/> + <field ref="TRIGGER_GROUP"/> + </index> + --> + </table> + + <table name="RHQ_QRTZ_TRIGGER_LISTENERS"> + <column name="TRIGGER_NAME" type="VARCHAR2" size="80" required="true"/> + <column name="TRIGGER_GROUP" type="VARCHAR2" size="80" required="true"/> + <column name="TRIGGER_LISTENER" type="VARCHAR2" size="80" required="true"/> + + <constraint name="RHQ_PK_QRTZ_TRIGGER_LISTENERS"> + <primaryKey> + <field ref="TRIGGER_NAME"/> + <field ref="TRIGGER_GROUP"/> + <field ref="TRIGGER_LISTENER"/> + </primaryKey> + </constraint> + <constraint name="RHQ_FK_QRTZ_TRGR_LSTNRS_TN_TG"> + <foreignKey local="TRIGGER_NAME,TRIGGER_GROUP" + references="RHQ_QRTZ_TRIGGERS(TRIGGER_NAME,TRIGGER_GROUP)" + ondelete="cascade"/> + </constraint> + + <!-- Quartz docs recommend this index. --> + <index name="RHQ_QRTZ_TRGR_LSTNRS_TN_TG_IDX"> + <field ref="TRIGGER_NAME"/> + <field ref="TRIGGER_GROUP"/> + </index> + + </table> + + <table name="RHQ_QRTZ_FIRED_TRIGGERS"> + <column name="ENTRY_ID" primarykey="true" type="VARCHAR2" size="95" required="true"/> + <column name="TRIGGER_NAME" type="VARCHAR2" size="80" required="true"/> + <column name="TRIGGER_GROUP" type="VARCHAR2" size="80" required="true"/> + <column name="INSTANCE_NAME" type="VARCHAR2" size="80" required="true"/> + <column name="FIRED_TIME" type="LONG" required="true"/> + <column name="PRIORITY" type="INTEGER" required="false"/> + <column name="STATE" type="VARCHAR2" size="16" required="true"/> + <column name="IS_VOLATILE" type="BOOLEAN" required="true"/> + <column name="JOB_NAME" type="VARCHAR2" size="80" required="false"/> + <column name="JOB_GROUP" type="VARCHAR2" size="80" required="false"/> + <column name="IS_STATEFUL" type="BOOLEAN" required="false"/> + <column name="REQUESTS_RECOVERY" type="BOOLEAN" required="false"/> + + <!-- Quartz docs recommend these indexes. --> + <index name="RHQ_QRTZ_FIRED_TRGRS_TN_IDX"> + <field ref="TRIGGER_NAME"/> + </index> + <index name="RHQ_QRTZ_FIRED_TRGRS_TG_IDX"> + <field ref="TRIGGER_GROUP"/> + </index> + <index name="RHQ_QRTZ_FIRED_TRGRS_TN_TG_IDX"> + <field ref="TRIGGER_NAME"/> + <field ref="TRIGGER_GROUP"/> + </index> + <index name="RHQ_QRTZ_FIRED_TRGRS_IN_IDX"> + <field ref="INSTANCE_NAME"/> + </index> + <index name="RHQ_QRTZ_FIRED_TRGRS_JN_IDX"> + <field ref="JOB_NAME"/> + </index> + <index name="RHQ_QRTZ_FIRED_TRGRS_JG_IDX"> + <field ref="JOB_GROUP"/> + </index> + + </table> + + <table name="RHQ_QRTZ_CALENDARS"> + <column name="CALENDAR_NAME" primarykey="true" type="VARCHAR2" size="80" required="true"/> + <column name="CALENDAR" type="BLOB" required="true"/> + </table> + + <table name="RHQ_QRTZ_PAUSED_TRIGGER_GRPS"> + <column name="TRIGGER_GROUP" primarykey="true" type="VARCHAR2" size="80" required="true"/> + </table> + + <table name="RHQ_QRTZ_SCHEDULER_STATE"> + <column name="INSTANCE_NAME" primarykey="true" type="VARCHAR2" size="80" required="true"/> + <column name="LAST_CHECKIN_TIME" type="LONG" required="true"/> + <column name="CHECKIN_INTERVAL" type="LONG" required="true"/> + <column name="RECOVERER" type="VARCHAR2" size="80" required="false"/> + </table> + + <table name="RHQ_QRTZ_LOCKS"> + <column name="LOCK_NAME" primarykey="true" type="VARCHAR2" size="40" required="true"/> + <data LOCK_NAME="TRIGGER_ACCESS"/> + <data LOCK_NAME="JOB_ACCESS"/> + <data LOCK_NAME="CALENDAR_ACCESS"/> + <data LOCK_NAME="STATE_ACCESS"/> + <data LOCK_NAME="MISFIRE_ACCESS"/> + </table> + +<!-- END: scheduler-schema.xml --> +<!-- BEGIN: amps-schema.xml --> + + + <table name="RHQ_PLUGIN"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="200" type="VARCHAR2" required="true"/> + <column name="DISPLAY_NAME" size="200" type="VARCHAR2" required="true"/> + <column name="DESCRIPTION" size="4000" type="VARCHAR2" required="false"/> + <column name="VERSION" size="200" type="VARCHAR2" required="false"/> + <column name="AMPS_VERSION" size="16" type="VARCHAR2" required="false"/> + <column name="ENABLED" type="BOOLEAN" required="true"/> + <column name="STATUS" size="16" type="VARCHAR2" required="true"/> + <column name="HELP" type="CLOB" required="false"/> + <column name="PATH" size="500" type="VARCHAR2" required="true"/> + <column name="MD5" size="100" type="VARCHAR2" required="true"/> + <column name="CTIME" type="LONG" required="true"/> + <column name="MTIME" type="LONG" required="true"/> + <column name="DEPLOYMENT" size="8" type="VARCHAR2" required="true"/> + <column name="PTYPE" size="200" type="VARCHAR2" required="false"/> + <column name="PLUGIN_CONFIG_ID" type="INTEGER" references="RHQ_CONFIG" required="false"/> + <column name="JOBS_CONFIG_ID" type="INTEGER" references="RHQ_CONFIG" required="false"/> + <column name="CONTENT" type="BLOB" required="false"/> + + <index name="RHQ_PLUGIN_NAME_DEPLOY_IDX" unique="true"> + <field ref="NAME"/> + <field ref="DEPLOYMENT"/> + </index> + </table> + +<!-- END: amps-schema.xml --> +<!-- BEGIN: measurement-schema.xml --> + + <table name="RHQ_MEASUREMENT_DEF"> + + <!-- === required columns === --> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="RESOURCE_TYPE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE_TYPE(ID)"/> + <column name="NAME" type="VARCHAR2" size="100" required="true"/> + + <!-- === optional columns === --> + <!-- an OSGI version range - if null, the metric def applies to all versions of the associated resource type --> + <column name="RESOURCE_VERSION_RANGE" type="VARCHAR2" size="100"/> + <column name="CATEGORY" type="SMALLINT"/> + <column name="UNITS" type="SMALLINT"/> + <column name="NUMERIC_TYPE" type="SMALLINT"/> + <column name="DISPLAY_TYPE" type="SMALLINT"/> + <column name="DATA_TYPE" type="SMALLINT"/> + <column name="RAW_NUMERIC_TYPE" type="SMALLINT"/> + <column name="DEFAULT_ON" type="BOOLEAN" default="false"/> + <column name="DEFAULT_INTERVAL" type="LONG" /> + <column name="DISPLAY_NAME" type="VARCHAR2" size="100"/> + <column name="DISPLAY_ORDER" type="INTEGER" default="1000"/> + <column name="DESCRIPTION" type="VARCHAR2" size="500"/> + <column name="DESTINATION_TYPE" type="VARCHAR2" size="100"/> + + <column name="VERSION" type="INTEGER"/> + <!-- for optimistic locking --> + + <!-- === business key (RESOURCE_TYPE_ID + NAME + RAW_NUMERIC_TYPE) === --> + <index name="RHQ_METRIC_DEF_KEY_IDX" unique="true"> + <field ref="RESOURCE_TYPE_ID"/> + <field ref="NAME"/> + <field ref="RAW_NUMERIC_TYPE"/> + </index> + <index name="RHQ_METRIC_DEF_NT_IDX"> + <field ref="NUMERIC_TYPE"/> + </index> + </table> + + + <table name="RHQ_MEASUREMENT_SCHED"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + + <column name="ENABLED" type="BOOLEAN" default="false"/> + <column name="MTIME" type="LONG" /> + <column name="DEFINITION" type="INTEGER" references="RHQ_MEASUREMENT_DEF(ID)"/> + <column name="VERSION" type="INTEGER" /> + <column name="COLL_INTERVAL" type="LONG" /> + <column name="RESOURCE_ID" type="INTEGER" references="RHQ_RESOURCE(ID)"/> + <index name="RHQ_MEAS_SCHED_UNIQ" unique="true"> + <field ref="RESOURCE_ID"/> + <field ref="DEFINITION"/> + </index> + </table> + + + <table name="RHQ_MEASUREMENT_BLINE"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + + <column name="BL_USER_ENTERED" type="BOOLEAN" default="false" required="true"/> + <column name="BL_MIN" type="DOUBLE" required="true"/> + <column name="BL_MAX" type="DOUBLE" required="true"/> + <column name="BL_MEAN" type="DOUBLE" required="true"/> + <column name="BL_COMPUTE_TIME" type="LONG" required="true"/> + <column name="SCHEDULE_ID" type="INTEGER" required="true" references="RHQ_MEASUREMENT_SCHED(ID)"/> + <index name="RHQ_MEAS_BASELINE_CTIME_IDX"> + <field ref="BL_COMPUTE_TIME"/> + </index> + <index name="RHQ_MEAS_BASELINE_SID_IDX"> + <field ref="SCHEDULE_ID"/> + </index> + </table> + + + <table name="RHQ_MEASUREMENT_DATA_NUM_1H" logging="false" cache="true" + tablespace="@@@LARGE_TABLESPACE_FOR_DATA@@@" storage-options="freelists 20"> + + <column name="TIME_STAMP" required="true" type="LONG"/> + <column name="SCHEDULE_ID" required="true" type="INTEGER"/> + <column name="VALUE" required="false" type="DOUBLE"/> + <column name="MINVALUE" required="false" type="DOUBLE"/> + <column name="MAXVALUE" required="false" type="DOUBLE"/> + + <constraint name="RHQ_MEAS_DATA_1H_ID_TIME_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + + <index name="RHQ_MEAS_DATA_1H_TIME_IDX"> + <field ref="TIME_STAMP"/> + </index> + </table> + + + <table name="RHQ_MEASUREMENT_DATA_NUM_6H" logging="false" cache="true" + tablespace="@@@LARGE_TABLESPACE_FOR_DATA@@@" storage-options="freelists 20"> + + <column name="TIME_STAMP" required="true" type="LONG"/> + <column name="SCHEDULE_ID" required="true" type="INTEGER"/> + <column name="VALUE" required="false" type="DOUBLE"/> + <column name="MINVALUE" required="false" type="DOUBLE"/> + <column name="MAXVALUE" required="false" type="DOUBLE"/> + + <constraint name="RHQ_MEAS_DATA_6H_ID_TIME_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + + <index name="RHQ_MEAS_DATA_6H_TIME_IDX"> + <field ref="TIME_STAMP"/> + </index> + </table> + + + <table name="RHQ_MEASUREMENT_DATA_NUM_1D" logging="false" cache="true" + tablespace="@@@LARGE_TABLESPACE_FOR_DATA@@@" storage-options="freelists 20"> + + <column name="TIME_STAMP" required="true" type="LONG"/> + <column name="SCHEDULE_ID" required="true" type="INTEGER"/> + <column name="VALUE" required="false" type="DOUBLE"/> + <column name="MINVALUE" required="false" type="DOUBLE"/> + <column name="MAXVALUE" required="false" type="DOUBLE"/> + + <constraint name="RHQ_MEAS_DATA_1D_ID_TIME_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + </table> + + + <table name="RHQ_MEASUREMENT_DATA_TRAIT"> + <column name="TIME_STAMP" type="LONG"/> + <column name="SCHEDULE_ID" type="INTEGER" /> + <column name="VALUE" type="VARCHAR2" size="4000" /> + <constraint name="RHQ_MEAS_DATA_TRAIT_ID_TIME_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + </table> + + + <table name="RHQ_CALLTIME_DATA_KEY"> + <column name="ID" type="INTEGER" default="sequence-only" initial="10001" primarykey="true" required="true"/> + <column name="SCHEDULE_ID" type="INTEGER" required="true"/> + <column name="CALL_DESTINATION" type="VARCHAR2" size="4000" required="true"/> + <index name="RHQ_CALLTIME_DATA_KEY_IDX" unique="true"> + <field ref="SCHEDULE_ID"/> + <field ref="CALL_DESTINATION"/> + </index> + </table> + + + <table name="RHQ_CALLTIME_DATA_VALUE"> + <column name="ID" type="INTEGER" default="sequence-only" initial="10001" primarykey="true" required="true"/> + <column name="KEY_ID" type="INTEGER" references="RHQ_CALLTIME_DATA_KEY" required="true"/> + <column name="BEGIN_TIME" type="LONG" required="true"/> + <column name="END_TIME" type="LONG" required="true"/> + <column name="MINIMUM" type="DOUBLE" required="true"/> + <column name="MAXIMUM" type="DOUBLE" required="true"/> + <column name="TOTAL" type="DOUBLE" required="true"/> + <column name="COUNT" type="LONG" required="true"/> + <index name="RHQ_CT_DA_VA_END_TIM_IDX"> + <field ref="END_TIME"/> + </index> + </table> + + + <table name="RHQ_AVAILABILITY"> + <column name="ID" type="INTEGER" default="sequence-only" initial="10001" primarykey="true" required="true"/> + <column name="RESOURCE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE(ID)"/> + <column name="START_TIME" type="LONG" required="true" /> + <column name="END_TIME" type="LONG" required="false" /> + <column name="AVAILABILITY_TYPE" type="SMALLINT" required="false" /> + <index name="RHQ_AVAIL_RESOURCE_START_IDX"> + <field ref="RESOURCE_ID"/> + <field ref="START_TIME"/> + </index> + <!-- only one null row can exist for any resource --> + <index name="RHQ_AVAIL_RESOURCE_END_IDX" condition="END_TIME IS NULL"> + <field ref="RESOURCE_ID"/> + <field ref="END_TIME" /> + </index> + </table> + + <table name="RHQ_RESOURCE_AVAIL"> + <column name="ID" type="INTEGER" default="sequence-only" initial="10001" primarykey="true" required="true"/> + <column name="RESOURCE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE(ID)" ondelete="cascade"/> + <column name="AVAILABILITY_TYPE" type="SMALLINT" required="false" /> + <index name="RHQ_RESOURCE_AVAIL_IDX"> + <field ref="RESOURCE_ID" /> + </index> + </table> + + <table name="RHQ_MEASUREMENT_OOB"> + <column name="SCHEDULE_ID" type="INTEGER" references="RHQ_MEASUREMENT_SCHED(ID)" required="true"/> + <column name="TIME_STAMP" type="LONG" required="true"/> + <column name="OOB_FACTOR" type="INTEGER" required="true" /> + <constraint name="RHQ_MEAS_OOB_ID_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_MEASUREMENT_OOB_TMP"> + <column name="SCHEDULE_ID" type="INTEGER" required="true"/> + <column name="TIME_STAMP" type="LONG" required="true"/> + <column name="OOB_FACTOR" type="INTEGER" required="true" /> + <constraint name="RHQ_MEAS_OOB_TMP_ID_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_NUMBERS"> + <column name="i" type="INTEGER" default="sequence-only" initial="10001" primarykey="true" required="true" /> + </table> + + + <table name="RHQ_MEAS_DATA_NUM_R00"> + <column name="TIME_STAMP" type="LONG"/> + <column name="SCHEDULE_ID" type="INTEGER"/> + <column name="VALUE" type="DOUBLE"/> + <index name="RHQ_MEAS_DATA_R00_TS_IDX"> + <field ref="TIME_STAMP"/> + </index> + <constraint name="RHQ_MEAS_DATA_NUM_R00_ID_T_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + </table> + <table name="RHQ_MEAS_DATA_NUM_R01"> + <column name="TIME_STAMP" type="LONG"/> + <column name="SCHEDULE_ID" type="INTEGER"/> + <column name="VALUE" type="DOUBLE"/> + <index name="RHQ_MEAS_DATA_R01_TS_IDX"> + <field ref="TIME_STAMP"/> + </index> + <constraint name="RHQ_MEAS_DATA_NUM_R01_ID_T_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + </table> + <table name="RHQ_MEAS_DATA_NUM_R02"> + <column name="TIME_STAMP" type="LONG"/> + <column name="SCHEDULE_ID" type="INTEGER"/> + <column name="VALUE" type="DOUBLE"/> + <index name="RHQ_MEAS_DATA_R02_TS_IDX"> + <field ref="TIME_STAMP"/> + </index> + <constraint name="RHQ_MEAS_DATA_NUM_R02_ID_T_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + </table> + <table name="RHQ_MEAS_DATA_NUM_R03"> + <column name="TIME_STAMP" type="LONG"/> + <column name="SCHEDULE_ID" type="INTEGER"/> + <column name="VALUE" type="DOUBLE"/> + <index name="RHQ_MEAS_DATA_R03_TS_IDX"> + <field ref="TIME_STAMP"/> + </index> + <constraint name="RHQ_MEAS_DATA_NUM_R03_ID_T_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + </table> + <table name="RHQ_MEAS_DATA_NUM_R04"> + <column name="TIME_STAMP" type="LONG"/> + <column name="SCHEDULE_ID" type="INTEGER"/> + <column name="VALUE" type="DOUBLE"/> + <index name="RHQ_MEAS_DATA_R04_TS_IDX"> + <field ref="TIME_STAMP"/> + </index> + <constraint name="RHQ_MEAS_DATA_NUM_R04_ID_T_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + </table> + <table name="RHQ_MEAS_DATA_NUM_R05"> + <column name="TIME_STAMP" type="LONG"/> + <column name="SCHEDULE_ID" type="INTEGER"/> + <column name="VALUE" type="DOUBLE"/> + <index name="RHQ_MEAS_DATA_R05_TS_IDX"> + <field ref="TIME_STAMP"/> + </index> + <constraint name="RHQ_MEAS_DATA_NUM_R05_ID_T_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + </table> + <table name="RHQ_MEAS_DATA_NUM_R06"> + <column name="TIME_STAMP" type="LONG"/> + <column name="SCHEDULE_ID" type="INTEGER"/> + <column name="VALUE" type="DOUBLE"/> + <index name="RHQ_MEAS_DATA_R06_TS_IDX"> + <field ref="TIME_STAMP"/> + </index> + <constraint name="RHQ_MEAS_DATA_NUM_R06_ID_T_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + </table> + <table name="RHQ_MEAS_DATA_NUM_R07"> + <column name="TIME_STAMP" type="LONG"/> + <column name="SCHEDULE_ID" type="INTEGER"/> + <column name="VALUE" type="DOUBLE"/> + <index name="RHQ_MEAS_DATA_R07_TS_IDX"> + <field ref="TIME_STAMP"/> + </index> + <constraint name="RHQ_MEAS_DATA_NUM_R07_ID_T_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + </table> + <table name="RHQ_MEAS_DATA_NUM_R08"> + <column name="TIME_STAMP" type="LONG"/> + <column name="SCHEDULE_ID" type="INTEGER"/> + <column name="VALUE" type="DOUBLE"/> + <index name="RHQ_MEAS_DATA_R08_TS_IDX"> + <field ref="TIME_STAMP"/> + </index> + <constraint name="RHQ_MEAS_DATA_NUM_R08_ID_T_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + </table> + <table name="RHQ_MEAS_DATA_NUM_R09"> + <column name="TIME_STAMP" type="LONG"/> + <column name="SCHEDULE_ID" type="INTEGER"/> + <column name="VALUE" type="DOUBLE"/> + <index name="RHQ_MEAS_DATA_R09_TS_IDX"> + <field ref="TIME_STAMP"/> + </index> + <constraint name="RHQ_MEAS_DATA_NUM_R09_ID_T_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + </table> + <table name="RHQ_MEAS_DATA_NUM_R10"> + <column name="TIME_STAMP" type="LONG"/> + <column name="SCHEDULE_ID" type="INTEGER"/> + <column name="VALUE" type="DOUBLE"/> + <index name="RHQ_MEAS_DATA_R10_TS_IDX"> + <field ref="TIME_STAMP"/> + </index> + <constraint name="RHQ_MEAS_DATA_NUM_R10_ID_T_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + </table> + <table name="RHQ_MEAS_DATA_NUM_R11"> + <column name="TIME_STAMP" type="LONG"/> + <column name="SCHEDULE_ID" type="INTEGER"/> + <column name="VALUE" type="DOUBLE"/> + <index name="RHQ_MEAS_DATA_R11_TS_IDX"> + <field ref="TIME_STAMP"/> + </index> + <constraint name="RHQ_MEAS_DATA_NUM_R11_ID_T_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + </table> + <table name="RHQ_MEAS_DATA_NUM_R12"> + <column name="TIME_STAMP" type="LONG"/> + <column name="SCHEDULE_ID" type="INTEGER"/> + <column name="VALUE" type="DOUBLE"/> + <index name="RHQ_MEAS_DATA_R12_TS_IDX"> + <field ref="TIME_STAMP"/> + </index> + <constraint name="RHQ_MEAS_DATA_NUM_R12_ID_T_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + </table> + <table name="RHQ_MEAS_DATA_NUM_R13"> + <column name="TIME_STAMP" type="LONG"/> + <column name="SCHEDULE_ID" type="INTEGER"/> + <column name="VALUE" type="DOUBLE"/> + <index name="RHQ_MEAS_DATA_R13_TS_IDX"> + <field ref="TIME_STAMP"/> + </index> + <constraint name="RHQ_MEAS_DATA_NUM_R13_ID_T_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + </table> + <table name="RHQ_MEAS_DATA_NUM_R14"> + <column name="TIME_STAMP" type="LONG"/> + <column name="SCHEDULE_ID" type="INTEGER"/> + <column name="VALUE" type="DOUBLE"/> + <index name="RHQ_MEAS_DATA_R14_TS_IDX"> + <field ref="TIME_STAMP"/> + </index> + <constraint name="RHQ_MEAS_DATA_NUM_R14_ID_T_PK"> + <primaryKey> + <field ref="SCHEDULE_ID"/> + <field ref="TIME_STAMP"/> + </primaryKey> + </constraint> + </table> + +<!-- END: measurement-schema.xml --> +<!-- BEGIN: content-schema.xml --> + + + <table name="RHQ_ARCHITECTURE"> + <column name="ID" default="sequence-only" initial="100" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="50" type="VARCHAR2" required="true"/> + <index name="RHQ_ARCHITECTURE_NAME_IDX" unique="true"> + <field ref="NAME"/> + </index> + </table> + + <table name="RHQ_REPO_GROUP_TYPE"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="200" type="VARCHAR2" required="true"/> + <column name="DESCRIPTION" size="500" type="VARCHAR2" required="false"/> + </table> + + + <table name="RHQ_REPO_GROUP"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="200" type="VARCHAR2" required="true"/> + <column name="DESCRIPTION" size="500" type="VARCHAR2" required="false"/> + + <column name="REPO_GROUP_TYPE_ID" type="INTEGER" references="RHQ_REPO_GROUP_TYPE" required="true"/> + + <index name="RHQ_REPO_GROUP_IDX" unique="true"> + <field ref="NAME"/> + <field ref="REPO_GROUP_TYPE_ID"/> + </index> + </table> + + + <table name="RHQ_CONTENT_SOURCE_TYPE"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="200" type="VARCHAR2" required="true"/> + <column name="DISPLAY_NAME" size="200" type="VARCHAR2" required="false"/> + <column name="DESCRIPTION" size="500" type="VARCHAR2" required="false"/> + <column name="PLUGIN_NAME" size="100" type="VARCHAR2" required="false"/> + <!-- we might want this as part of natural key --> + <column name="DEFAULT_LAZY_LOAD" type="BOOLEAN" required="true"/> + <column name="DEFAULT_DOWNLOAD_MODE" size="16" type="VARCHAR2" required="true"/> + <column name="DEFAULT_SYNC_SCHEDULE" size="64" type="VARCHAR2" required="false"/> + <column name="API_CLASS" size="100" type="VARCHAR2" required="true"/> + + <column name="SOURCE_CONFIG_DEF_ID" type="INTEGER" references="RHQ_CONFIG_DEF" required="false"/> + + <index name="RHQ_CONTENT_SOURCE_TYPE_IDX" unique="true"> + <field ref="NAME"/> + <!-- <field ref="PLUGIN_NAME"/> --> + </index> + </table> + + <table name="RHQ_CONTENT_SOURCE"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="200" type="VARCHAR2" required="true"/> + <column name="DESCRIPTION" size="500" type="VARCHAR2" required="false"/> + <column name="LAZY_LOAD" type="BOOLEAN" required="true"/> + <column name="DOWNLOAD_MODE" size="16" type="VARCHAR2" required="true"/> + <column name="SYNC_SCHEDULE" size="64" type="VARCHAR2" required="false"/> + <column name="LOAD_ERROR_MESSAGE" type="LONGVARCHAR" required="false"/> + <column name="CREATION_TIME" type="LONG" required="true"/> + <column name="LAST_MODIFIED_TIME" type="LONG" required="true"/> + + <column name="CONTENT_SOURCE_TYPE_ID" type="INTEGER" references="RHQ_CONTENT_SOURCE_TYPE" required="true"/> + <column name="CONFIGURATION_ID" type="INTEGER" references="RHQ_CONFIG" required="false"/> + + <index name="RHQ_CONTENT_SOURCE_IDX" unique="true"> + <field ref="NAME"/> + <field ref="CONTENT_SOURCE_TYPE_ID"/> + </index> + </table> + + <table name="RHQ_REPO"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="200" type="VARCHAR2" required="true"/> + <column name="DESCRIPTION" size="500" type="VARCHAR2" required="false"/> + <column name="CREATION_TIME" type="LONG" required="true"/> + <column name="LAST_MODIFIED_TIME" type="LONG" required="true"/> + <column name="IS_CANDIDATE" type="BOOLEAN" required="true"/> + <column name="SYNC_SCHEDULE" size="64" type="VARCHAR2" required="false"/> + + <index name="RHQ_REPO_IDX" unique="true"> + <field ref="NAME"/> + </index> + </table> + + + <table name="RHQ_REPO_RELATION_TYPE"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="200" type="VARCHAR2" required="true"/> + <column name="DESCRIPTION" size="500" type="VARCHAR2" required="false"/> + </table> + + + <table name="RHQ_REPO_RELATION"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="RELATED_REPO_ID" type="INTEGER" references="RHQ_REPO" required="true"/> + <column name="REPO_RELATION_TYPE_ID" type="INTEGER" references="RHQ_REPO_RELATION_TYPE" required="true"/> + </table> + + + + <table name="RHQ_PACKAGE_TYPE"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="200" type="VARCHAR2" required="true"/> + <column name="DISPLAY_NAME" size="200" type="VARCHAR2" required="false"/> + <column name="DESCRIPTION" size="500" type="VARCHAR2" required="false"/> + <column name="CATEGORY" size="50" type="VARCHAR2" required="false"/> + <column name="DISCOVERY_INTERVAL" type="INTEGER" required="false"/> + <column name="IS_CREATION_DATA" type="BOOLEAN" required="true"/> + <column name="SUPPORTS_ARCHITECTURE" type="BOOLEAN" required="true"/> + + <column name="RESOURCE_TYPE_ID" type="INTEGER" references="RHQ_RESOURCE_TYPE" required="true"/> + <column name="DEPLOYMENT_CONFIG_DEF_ID" type="INTEGER" references="RHQ_CONFIG_DEF" required="false"/> + <column name="PACKAGE_EXTRA_CONFIG_ID" type="INTEGER" references="RHQ_CONFIG_DEF" required="false"/> + + <index name="RHQ_PACKAGE_TYPE_IDX" unique="true"> + <field ref="NAME"/> + <field ref="RESOURCE_TYPE_ID"/> + </index> + + </table> + + <table name="RHQ_PACKAGE"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="200" type="VARCHAR2" required="true"/> + <column name="CLASSIFICATION" size="200" type="VARCHAR2" required="false"/> + + <column name="PACKAGE_TYPE_ID" type="INTEGER" references="RHQ_PACKAGE_TYPE" required="true"/> + + <index name="RHQ_PACKAGE_IDX" unique="true"> + <field ref="NAME"/> + <field ref="PACKAGE_TYPE_ID"/> + </index> + </table> + + <table name="RHQ_PACKAGE_BITS"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="BITS" type="LARGEOBJECT" required="false"/> + </table> + + <table name="RHQ_PACKAGE_VERSION"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="DISPLAY_NAME" size="200" type="VARCHAR2" required="false"/> + <column name="SHORT_DESCRIPTION" size="10000" type="CLOB" required="false"/> + <column name="LONG_DESCRIPTION" size="50000" type="CLOB" required="false"/> + <column name="VERSION" size="500" type="VARCHAR2" required="true"/> + <column name="DISPLAY_VERSION" size="500" type="VARCHAR2" required="false"/> + <column name="FILE_NAME" size="255" type="VARCHAR2" required="false"/> + <column name="FILE_SIZE" type="LONG" required="false"/> + <column name="FILE_MD5" size="32" type="VARCHAR2" required="false"/> + <column name="FILE_SHA256" size="64" type="VARCHAR2" required="false"/> + <column name="FILE_CREATION_TIME" type="LONG" required="false"/> + <column name="LICENSE_NAME" size="255" type="VARCHAR2" required="false"/> + <column name="LICENSE_VERSION" size="20" type="VARCHAR2" required="false"/> + <column name="METADATA" type="BLOB" required="false"/> + + <column name="PACKAGE_ID" type="INTEGER" references="RHQ_PACKAGE" required="true"/> + <column name="ARCHITECTURE_ID" type="INTEGER" references="RHQ_ARCHITECTURE" required="true"/> + <column name="CONFIG_ID" type="INTEGER" references="RHQ_CONFIG" required="false"/> + <column name="PACKAGE_BITS_ID" type="INTEGER" references="RHQ_PACKAGE_BITS" required="false"/> + + <index name="RHQ_PACKAGE_VERSION_IDX" unique="true"> + <field ref="PACKAGE_ID"/> + <field ref="VERSION"/> + <field ref="ARCHITECTURE_ID"/> + </index> + + </table> + + <table name="RHQ_CONTENT_REQ"> + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="RESOURCE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE"/> + <column name="STATUS" type="VARCHAR2" required="true" size="16"/> + <column name="ERROR_MESSAGE" type="LONGVARCHAR" required="false"/> + <column name="SUBJECT_NAME" type="VARCHAR2" required="true" size="100"/> + <column name="CTIME" type="LONG" required="true"/> + <column name="MTIME" type="LONG" required="true"/> + <column name="REQUEST_TYPE" type="VARCHAR2" required="true" size="20"/> + <column name="NOTES" type="VARCHAR2" required="false" size="512"/> + </table> + + <table name="RHQ_INSTALLED_PACKAGE"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="INSTALLATION_TIME" type="LONG" required="false"/> + + <column name="RESOURCE_ID" type="INTEGER" references="RHQ_RESOURCE" required="true"/> + <column name="PACKAGE_VERSION_ID" type="INTEGER" references="RHQ_PACKAGE_VERSION" required="true"/> + <column name="SUBJECT_ID" type="INTEGER" references="RHQ_SUBJECT" required="false"/> + </table> + + <table name="RHQ_INSTALLED_PKG_HIST"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="STATUS" type="VARCHAR2" size="24" required="true"/> + <column name="ERROR_MESSAGE" type="LONGVARCHAR" required="false"/> + <column name="HISTORY_TIMESTAMP" type="LONG" required="false"/> + + <column name="PACKAGE_VERSION_ID" type="INTEGER" references="RHQ_PACKAGE_VERSION" required="true"/> + <column name="RESOURCE_ID" type="INTEGER" references="RHQ_RESOURCE" required="true"/> + <column name="DEPLOYMENT_CONFIG_ID" type="INTEGER" references="RHQ_CONFIG" required="false"/> + <column name="CONTENT_SERVICE_REQUEST_ID" type="INTEGER" references="RHQ_CONTENT_REQ" required="false"/> + </table> + + <table name="RHQ_CONTENT_SRC_SYNC"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="STATUS" type="VARCHAR2" size="16" required="true"/> + <column name="START_TIME" type="LONG" required="true"/> + <column name="END_TIME" type="LONG" required="false"/> + <column name="RESULTS" type="LONGVARCHAR" required="false"/> + <column name="CONTENT_SRC_ID" type="INTEGER" required="true" references="RHQ_CONTENT_SOURCE"/> + </table> + + <table name="RHQ_REPO_SYNC"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="STATUS" type="VARCHAR2" size="16" required="true"/> + <column name="START_TIME" type="LONG" required="true"/> + <column name="END_TIME" type="LONG" required="false"/> + <column name="RESULTS" type="LONGVARCHAR" required="false"/> + <column name="PERCENT_COMPLETE" type="LONG" required="false"/> + <column name="REPO_ID" type="INTEGER" required="true" references="RHQ_REPO"/> + </table> + + + <table name="RHQ_PACKAGE_INST_STEP"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="STEP_KEY" type="VARCHAR2" size="500" required="true"/> + <column name="STEP_ORDER" type="INTEGER" required="true"/> + <column name="DESCRIPTION" type="VARCHAR2" size="4000" required="true"/> + <column name="ERROR_MSG" type="LONGVARCHAR" required="false"/> + <column name="RESULT" type="VARCHAR2" size="25" required="true"/> + + <column name="INSTALLED_PKG_HIST_ID" type="INTEGER" references="RHQ_INSTALLED_PKG_HIST"/> + </table> + + <table name="RHQ_REPO_RESOURCE_MAP"> + <column name="REPO_ID" type="INTEGER" required="true" references="RHQ_REPO"/> + <column name="RESOURCE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE"/> + <column name="CTIME" type="LONG" required="true"/> + + <constraint name="RHQ_REPO_RESOURCE_MAP_KEY"> + <primaryKey> + <field ref="REPO_ID"/> + <field ref="RESOURCE_ID"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_REPO_CONTENT_SRC_MAP"> 1 + <column name="REPO_ID" type="INTEGER" required="true" references="RHQ_REPO"/> + <column name="CONTENT_SRC_ID" type="INTEGER" required="true" references="RHQ_CONTENT_SOURCE"/> + <column name="CTIME" type="LONG" required="true"/> + + <constraint name="RHQ_REPO_CONTENT_SRC_MAP_KEY"> + <primaryKey> + <field ref="REPO_ID"/> + <field ref="CONTENT_SRC_ID"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_REPO_REPO_GROUP_MAP"> + <column name="REPO_ID" type="INTEGER" required="true" references="RHQ_REPO"/> + <column name="REPO_GROUP_ID" type="INTEGER" required="true" references="RHQ_REPO_GROUP"/> + <column name="CTIME" type="LONG" required="true"/> + + <constraint name="RHQ_REPO_REPO_GROUP_MAP_KEY"> + <primaryKey> + <field ref="REPO_ID"/> + <field ref="REPO_GROUP_ID"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_REPO_REPO_RELATION_MAP"> + <column name="REPO_ID" type="INTEGER" required="true" references="RHQ_REPO"/> + <column name="REPO_RELATION_ID" type="INTEGER" required="true" references="RHQ_REPO_RELATION"/> + <column name="CTIME" type="LONG" required="true"/> + + <constraint name="RHQ_REPO_REPO_RELATION_MAP_KEY"> + <primaryKey> + <field ref="REPO_ID"/> + <field ref="REPO_RELATION_ID"/> + </primaryKey> + </constraint> + </table> + + + <table name="RHQ_REPO_PKG_VERSION_MAP"> + <column name="REPO_ID" type="INTEGER" required="true" references="RHQ_REPO"/> + <column name="PACKAGE_VERSION_ID" type="INTEGER" required="true" references="RHQ_PACKAGE_VERSION"/> + <column name="CTIME" type="LONG" required="true"/> + + <constraint name="RHQ_REPO_PKG_VER_MAP_KEY"> + <primaryKey> + <field ref="REPO_ID"/> + <field ref="PACKAGE_VERSION_ID"/> + </primaryKey> + </constraint> + <index name="RHQ_REPO_PKG_VER_MAP_IDX" unique="false"> + <field ref="PACKAGE_VERSION_ID"/> + </index> + </table> + + <table name="RHQ_PKG_VER_CONTENT_SRC_MAP"> + <column name="PACKAGE_VERSION_ID" type="INTEGER" required="true" references="RHQ_PACKAGE_VERSION"/> + <column name="CONTENT_SRC_ID" type="INTEGER" required="true" references="RHQ_CONTENT_SOURCE"/> + <column name="LOCATION" type="VARCHAR2" size="4000" required="true"/> + + <constraint name="RHQ_PKG_VER_CONTENT_SRC_KEY"> + <primaryKey> + <field ref="PACKAGE_VERSION_ID"/> + <field ref="CONTENT_SRC_ID"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_PKG_PRD_MAP"> + <column name="PKG_ID" type="INTEGER" required="true" references="RHQ_PACKAGE_VERSION"/> + <column name="PRD_ID" type="INTEGER" required="true" references="RHQ_PRD_VER"/> + + <constraint name="RHQ_PKG_PRD_KEY"> + <primaryKey> + <field ref="PKG_ID"/> + <field ref="PRD_ID"/> + </primaryKey> + </constraint> + + </table> + + <table name="RHQ_DISTRIBUTION_TYPE"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="200" type="VARCHAR2" required="true"/> + <column name="DESCRIPTION" size="500" type="VARCHAR2" required="false"/> + + </table> + + <table name="RHQ_DISTRIBUTION"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="DISTRIBUTION_TYPE_ID" type="INTEGER" required="true" references="RHQ_DISTRIBUTION_TYPE"/> + <column name="LABEL" size="64" type="VARCHAR2" required="true"/> + <column name="BASE_PATH" size="256" type="VARCHAR2" required="true"/> + <column name="LAST_MODIFIED" type="LONG" required="true"/> + + <index name="RHQ_DISTRIBUTION_IDX" unique="true"> + <field ref="LABEL"/> + <field ref="BASE_PATH"/> + </index> + + </table> + + <table name="RHQ_REPO_DISTRIBUTION"> + <column name="REPO_ID" type="INTEGER" required="true" references="RHQ_REPO"/> + <column name="DISTRIBUTION_ID" type="INTEGER" required="true" references="RHQ_DISTRIBUTION"/> + <column name="LAST_MODIFIED" type="LONG" required="true"/> + + <constraint name="RHQ_REPO_DIST_MAP_KEY"> + <primaryKey> + <field ref="REPO_ID"/> + <field ref="DISTRIBUTION_ID"/> + </primaryKey> + </constraint> + </table> + + + + <table name="RHQ_DISTRIBUTION_FILE"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="DISTRIBUTION_ID" type="INTEGER" required="true" references="RHQ_DISTRIBUTION"/> + <column name="RELATIVE_FILENAME" size="256" type="VARCHAR2" required="true"/> + <!--<column name="FILE_SIZE" type="NUMBER" required="true"/>--> + <column name="MD5SUM" size="64" type="VARCHAR2" required="true"/> + <column name="LAST_MODIFIED" type="LONG" required="true"/> + <!--<column name="CTIME" type="LONG" required="true"/>--> + + <index name="RHQ_DISTRIBUTION_FILE_IDX" unique="true"> + <field ref="DISTRIBUTION_ID"/> + <field ref="RELATIVE_FILENAME"/> + </index> + </table> + + + + + <table name="RHQ_ADVISORY"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="ADVISORY" size="64" type="VARCHAR2" required="true"/> + <column name="ADVISORY_TYPE" size="64" type="VARCHAR2" required="true" /> + <column name="ADVISORY_REL" size="64" type="VARCHAR2" required="false"/> + <column name="ADVISORY_NAME" size="64" type="VARCHAR2" required="false"/> + <column name="DESCRIPTION" size="4000" type="VARCHAR2" required="false"/> + <column name="SYNOPSIS" size="4000" type="VARCHAR2" required="true"/> + <column name="TOPIC" size="4000" type="VARCHAR2" required="false"/> + <column name="SOLUTION" size="4000" type="VARCHAR2" required="false"/> + <column name="SEVERITY" size="64" type="VARCHAR2" required="false"/> + <column name="ISSUE_DATE" type="LONG" required="false"/> + <column name="UPDATE_DATE" type="LONG" required="false"/> + <column name="CTIME" type="LONG" required="true"/> + <column name="LAST_MODIFIED" type="LONG" required="true"/> + + <index name="RHQ_ADVISORY_NAME_UQ" unique="true"> + <field ref="ADVISORY_NAME"/> + </index> + + <index name="RHQ_ADVISORY_UQ" unique="true"> + <field ref="ADVISORY"/> + </index> + + <index name="RHQ_ADVISORY_UDATE_IDX" unique="false"> + <field ref="UPDATE_DATE"/> + </index> + </table> + + <table name="RHQ_ADVISORY_PACKAGE"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="ADVISORY_ID" type="INTEGER" required="true" references="RHQ_ADVISORY"/> + <column name="PACKAGE_VERSION_ID" type="INTEGER" required="true" references="RHQ_PACKAGE_VERSION"/> + <column name="LAST_MODIFIED" type="LONG" required="true"/> + + <index name="RHQ_ADVISORY_PKG_IDX" unique="true"> + <field ref="ADVISORY_ID"/> + <field ref="PACKAGE_VERSION_ID"/> + </index> + </table> + + <table name="RHQ_CVE"> + <column name="ID" default="sequence-only" initial="101" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="64" type="VARCHAR2" required="true"/> + </table> + + <table name="RHQ_ADVISORY_CVE"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="ADVISORY_ID" type="INTEGER" required="true" references="RHQ_ADVISORY"/> + <column name="CVE_ID" type="INTEGER" required="true" references="RHQ_CVE"/> + <column name="LAST_MODIFIED" type="LONG" required="true"/> + + <index name="RHQ_ADVISORY_CVE_IDX" unique="true"> + <field ref="ADVISORY_ID"/> + <field ref="CVE_ID"/> + </index> + + </table> + + <table name="RHQ_ADVISORY_BUGLIST"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="ADVISORY_ID" type="INTEGER" required="true" references="RHQ_ADVISORY"/> + <column name="BUG_ID" size="256" type="VARCHAR2" required="true"/> + <column name="LAST_MODIFIED" type="LONG" required="true"/> + + <index name="RHQ_ADVISORY_BUG_IDX" unique="true"> + <field ref="ADVISORY_ID"/> + <field ref="BUG_ID"/> + </index> + </table> + + + <table name="RHQ_REPO_ADVISORY"> + <column name="REPO_ID" type="INTEGER" required="true" references="RHQ_REPO"/> + <column name="ADVISORY_ID" type="INTEGER" required="true" references="RHQ_ADVISORY"/> + <column name="LAST_MODIFIED" type="LONG" required="true"/> + + <constraint name="RHQ_REPO_ADV_MAP_KEY"> + <primaryKey> + <field ref="REPO_ID"/> + <field ref="ADVISORY_ID"/> + </primaryKey> + </constraint> + </table> + + <!-- BUNDLE_TYPE is things like "Cobbler profile" or "file-based bundle" or "puppet recipe" --> + <table name="RHQ_BUNDLE_TYPE"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="200" type="VARCHAR2" required="true"/> + <column name="RESOURCE_TYPE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE_TYPE"/> + + <!-- This index is for constraint, not performance --> + <index name="RHQ_BUNDLE_TYPE_UNIQUE" unique="true"> + <field ref="NAME"/> + </index> + </table> + + <!-- BUNDLE is a named piece of content that can be versioned and installed somewhere --> + <table name="RHQ_BUNDLE"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="200" type="VARCHAR2" required="true"/> + <column name="DESCRIPTION" size="500" type="VARCHAR2" required="false"/> + <column name="BUNDLE_TYPE_ID" type="INTEGER" required="true" references="RHQ_BUNDLE_TYPE"/> + <column name="PACKAGE_TYPE_ID" type="INTEGER" required="true" references="RHQ_PACKAGE_TYPE"/> + <column name="REPO_ID" type="INTEGER" required="true" references="RHQ_REPO"/> + + <!-- This index is for constraint, not performance --> + <index name="RHQ_BUNDLE_UNIQUE" unique="true"> + <field ref="BUNDLE_TYPE_ID"/> + <field ref="NAME"/> + </index> + </table> + + <!-- BUNDLE_VERSION represents an actual piece of content that needs to be installed somewhere --> + <table name="RHQ_BUNDLE_VERSION"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="200" type="VARCHAR2" required="true"/> + <column name="DESCRIPTION" size="500" type="VARCHAR2" required="false"/> + <column name="VERSION" size="500" type="VARCHAR2" required="true"/> + <column name="VERSION_ORDER" type="INTEGER" required="true"/> + <column name="ACTION" type="CLOB" required="true"/> + <column name="CONFIG_DEF_ID" type="INTEGER" required="false" references="RHQ_CONFIG_DEF" /> + <column name="BUNDLE_ID" type="INTEGER" required="true" references="RHQ_BUNDLE"/> + + <!-- This index is for constraint, not performance --> + <index name="RHQ_BUNDLE_VERSION_UNIQUE" unique="true"> + <field ref="BUNDLE_ID"/> + <field ref="NAME"/> + <field ref="VERSION"/> + </index> + </table> + + <!-- Many-to-many table that links many repos to a particular bundle version. destination platforms --> + <!-- would be required to have associations to the specified repos (to access required content --> + <table name="RHQ_BUNDLE_VERSION_REPO"> + <column name="BUNDLE_VERSION_ID" type="INTEGER" required="true" references="RHQ_BUNDLE_VERSION"/> + <column name="REPO_ID" type="INTEGER" required="true" references="RHQ_REPO"/> + + <constraint name="RHQ_BUNDLE_VERSION_REPO_KEY"> + <primaryKey> + <field ref="BUNDLE_VERSION_ID"/> + <field ref="REPO_ID"/> + </primaryKey> + </constraint> + </table> + + <!-- BUNDLE_FILE represents a file that is associated with (possibly bundled inside) a bundle version --> + <table name="RHQ_BUNDLE_FILE"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="BUNDLE_VERSION_ID" type="INTEGER" required="true" references="RHQ_BUNDLE_VERSION"/> + <column name="PACKAGE_VERSION_ID" type="INTEGER" required="true" references="RHQ_PACKAGE_VERSION"/> + </table> + + <!-- A logical destination for a bundle deployment. Defines the platforms and directory on those targets. --> + <table name="RHQ_BUNDLE_DESTINATION"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="200" type="VARCHAR2" required="true"/> + <column name="DESCRIPTION" size="500" type="VARCHAR2" required="false"/> + <column name="CTIME" type="LONG" required="true"/> + <column name="MTIME" type="LONG" required="true"/> + <column name="BUNDLE_ID" type="INTEGER" required="true" references="RHQ_BUNDLE"/> + <column name="GROUP_ID" type="INTEGER" required="true" references="RHQ_RESOURCE_GROUP"/> + <column name="DEPLOY_DIR" size="256" type="VARCHAR2" required="true"/> + + <!-- This index is for constraint, not performance --> + <index name="RHQ_BUNDLE_DESTINATION_UNIQUE" unique="true"> + <field ref="BUNDLE_ID"/> + <field ref="GROUP_ID"/> + <field ref="DEPLOY_DIR"/> + </index> + </table> + + <!-- An actual deployment of a bundle version to a destination, with a specific config. Bundle deployments + can differ only on ctime, which is assumed to be different --> + <table name="RHQ_BUNDLE_DEPLOYMENT"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="200" type="VARCHAR2" required="true"/> + <column name="DESCRIPTION" size="500" type="VARCHAR2" required="false"/> + <column name="CTIME" type="LONG" required="true"/> + <column name="MTIME" type="LONG" required="true"/> + <column name="BUNDLE_VERSION_ID" type="INTEGER" required="true" references="RHQ_BUNDLE_VERSION"/> + <column name="BUNDLE_DESTINATION_ID" type="INTEGER" required="true" references="RHQ_BUNDLE_DESTINATION"/> + <column name="CONFIG_ID" type="INTEGER" required="false" references="RHQ_CONFIG" /> + <column name="SUBJECT_NAME" type="VARCHAR2" required="false" size="255"/> + <column name="STATUS" type="VARCHAR2" required="true" size="16"/> + <column name="ERROR_MESSAGE" type="LONGVARCHAR" required="false"/> + <column name="IS_LIVE" type="BOOLEAN" required="true"/> + <column name="REPLACED_BUNDLE_DEPLOYMENT_ID" type="INTEGER" required="false" references="RHQ_BUNDLE_DEPLOYMENT"/> + </table> + + <!-- Represents a bundle version that is deployed on a platform resource --> + <table name="RHQ_BUNDLE_RES_DEPLOY"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="BUNDLE_DEPLOYMENT_ID" type="INTEGER" required="true" references="RHQ_BUNDLE_DEPLOYMENT" /> + <column name="RESOURCE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE" /> + <column name="STATUS" type="VARCHAR2" required="true" size="16"/> + <column name="CTIME" type="LONG" required="true"/> + + <index name="RHQ_BUNDLE_RES_DEPLOY_IDX" unique="true"> + <field ref="BUNDLE_DEPLOYMENT_ID"/> + <field ref="RESOURCE_ID"/> + </index> + </table> + + <table name="RHQ_BUNDLE_RES_DEP_HIST"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="BUNDLE_RES_DEPLOY_ID" type="INTEGER" required="true" references="RHQ_BUNDLE_RES_DEPLOY" /> + <column name="SUBJECT_NAME" required="false" size="255" type="VARCHAR2"/> + <column name="AUDIT_TIME" required="true" type="LONG"/> + <column name="ACTION" required="true" size="128" type="VARCHAR2"/> + <column name="INFO" required="true" size="512" type="VARCHAR2"/> + <column name="CATEGORY" required="false" size="32" type="VARCHAR2"/> + <column name="STATUS" required="true" type="VARCHAR2" size="16"/> + <column name="MESSAGE" required="false" type="LONGVARCHAR"/> + <column name="ATTACHMENT" required="false" type="LONGVARCHAR"/> + </table> + + <table name="RHQ_TAGGING_BUNDLE_MAP"> + <column name="BUNDLE_ID" type="INTEGER" required="true" references="RHQ_BUNDLE"/> + <column name="TAG_ID" type="INTEGER" required="true" references="RHQ_TAGGING"/> + <constraint name="RHQ_TAGGING_BUNDLE_MAP_KEY"> + <primaryKey> + <field ref="BUNDLE_ID"/> + <field ref="TAG_ID"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_TAGGING_BUNDLE_VERSION_MAP"> + <column name="BUNDLE_VERSION_ID" type="INTEGER" required="true" references="RHQ_BUNDLE_VERSION"/> + <column name="TAG_ID" type="INTEGER" required="true" references="RHQ_TAGGING"/> + <constraint name="RHQ_TAGGING_BUNDLE_VER_MAP_KEY"> + <primaryKey> + <field ref="BUNDLE_VERSION_ID"/> + <field ref="TAG_ID"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_TAGGING_BUNDLE_DEPLOY_MAP"> + <column name="BUNDLE_DEPLOYMENT_ID" type="INTEGER" required="true" references="RHQ_BUNDLE_DEPLOYMENT"/> + <column name="TAG_ID" type="INTEGER" required="true" references="RHQ_TAGGING"/> + <constraint name="RHQ_TAGGING_BUNDLE_DEP_MAP_KEY"> + <primaryKey> + <field ref="BUNDLE_DEPLOYMENT_ID"/> + <field ref="TAG_ID"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_TAGGING_BUNDLE_DEST_MAP"> + <column name="BUNDLE_DESTINATION_ID" type="INTEGER" required="true" references="RHQ_BUNDLE_DESTINATION"/> + <column name="TAG_ID" type="INTEGER" required="true" references="RHQ_TAGGING"/> + <constraint name="RHQ_TAGGING_BUNDLE_DES_MAP_KEY"> + <primaryKey> + <field ref="BUNDLE_DESTINATION_ID"/> + <field ref="TAG_ID"/> + </primaryKey> + </constraint> + </table> + + +<!-- END: content-schema.xml --> +<!-- BEGIN: resource-request-schema.xml --> + + + <table name="RHQ_CREATE_RES_HIST"> + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="PARENT_RESOURCE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE"/> + <column name="CREATED_RESOURCE_NAME" type="VARCHAR2" size="500" required="false"/> + <column name="NEW_RESOURCE_KEY" type="VARCHAR2" required="false" size="500"/> + <column name="STATUS" type="VARCHAR2" required="true" size="16"/> + <column name="ERROR_MESSAGE" type="LONGVARCHAR" required="false"/> + <column name="SUBJECT_NAME" type="VARCHAR2" required="true" size="100"/> + <column name="CTIME" type="LONG" required="true"/> + <column name="MTIME" type="LONG" required="true"/> + <column name="RESOURCE_TYPE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE_TYPE"/> + <column name="CONFIGURATION_ID" type="INTEGER" required="false" references="RHQ_CONFIG"/> + <column name="INSTALLED_PACKAGE_ID" type="INTEGER" required="false" references="RHQ_INSTALLED_PACKAGE"/> + </table> + + <table name="RHQ_DELETE_RES_HIST"> + <column name="ID" type="INTEGER" required="true" default="sequence-only" initial="10001" primarykey="true"/> + <column name="ERROR_MESSAGE" type="LONGVARCHAR" required="false"/> + <column name="SUBJECT_NAME" type="VARCHAR2" required="true" size="100"/> + <column name="CTIME" type="LONG" required="true"/> + <column name="MTIME" type="LONG" required="true"/> + <column name="STATUS" type="VARCHAR2" required="true" size="16"/> + <column name="RESOURCE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE"/> + </table> + +<!-- END: resource-request-schema.xml --> +<!-- BEGIN: jms-schema.xml --> + +<!-- the schema matches that which would be automatically created by the JMS subsystem --> +<!-- see deploy/jms/rhq-jdbc-state-service.xml and rhq-jdbc2-service.xml --> + + + <table name="JMS_MESSAGES"> + <column name="MESSAGEID" required="true" type="INTEGER" /> + <column name="DESTINATION" required="true" type="VARCHAR2" size="255" /> + <column name="TXID" required="false" type="INTEGER" /> + <column name="TXOP" required="false" type="CHAR" size="1" /> + <column name="MESSAGEBLOB" required="false" type="BLOB" /> + + <constraint name="JMS_MESSAGES_PKEY"> + <primaryKey> + <field ref="MESSAGEID"/> + <field ref="DESTINATION"/> + </primaryKey> + </constraint> + + <index name="JMS_MESSAGES_TXOP_TXID"> + <field ref="TXOP"/> + <field ref="TXID"/> + </index> + <index name="JMS_MESSAGES_DESTINATION"> + <field ref="DESTINATION"/> + </index> + </table> + + <table name="JMS_TRANSACTIONS"> + <column name="TXID" required="true" type="INTEGER" primarykey="true" /> + </table> + + <table name="JMS_USERS"> + <column name="USERID" required="true" type="VARCHAR2" size="32" primarykey="true" /> + <column name="PASSWD" required="true" type="VARCHAR2" size="32" /> + <column name="CLIENTID" required="false" type="VARCHAR2" size="128" /> + </table> + + <table name="JMS_ROLES"> + <column name="ROLEID" required="true" type="VARCHAR2" size="32" /> + <column name="USERID" required="true" type="VARCHAR2" size="32" /> + + <constraint name="JMS_ROLES_PKEY"> + <primaryKey> + <field ref="USERID"/> + <field ref="ROLEID"/> + </primaryKey> + </constraint> + </table> + + <table name="JMS_SUBSCRIPTIONS"> + <column name="CLIENTID" required="true" type="VARCHAR2" size="128" /> + <column name="SUBNAME" required="true" type="VARCHAR2" size="128" /> + <column name="TOPIC" required="true" type="VARCHAR2" size="255" /> + <column name="SELECTOR" required="false" type="VARCHAR2" size="255" /> + + <constraint name="JMS_SUBSCRIPTIONS_PKEY"> + <primaryKey> + <field ref="CLIENTID"/> + <field ref="SUBNAME"/> + </primaryKey> + </constraint> + </table> + +<!-- END: jms-schema.xml --> +<!-- BEGIN: obsolete-schema.xml --> + + + <!-- NOTE: The tables will be dropped in the *** REVERSE ORDER *** as listed in this file! --> + <!-- NOTE: So, put the table you want dropped first at the bottom, and so on... --> + + + <!-- !!! REMOVED FROM CONTENT-SCHEMA !!!! --> + + <table name="RHQ_BUNDLE_CONFIG" obsolete="true"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="CONFIG_ID" type="INTEGER" required="false" references="RHQ_CONFIG" /> + <!-- this probably needs a DTYPE discriminator so we know if its a bundle or a specific bundle version --> + <column name="BUNDLE_VERSION_ID" type="INTEGER" required="false" references="RHQ_BUNDLE_VERSION"/> + <column name="BUNDLE_ID" type="INTEGER" required="false" references="RHQ_BUNDLE"/> + </table> + + <table name="RHQ_CHANNEL" obsolete="true"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="200" type="VARCHAR2" required="true"/> + <column name="DESCRIPTION" size="500" type="VARCHAR2" required="false"/> + <column name="CREATION_TIME" type="LONG" required="true"/> + <column name="LAST_MODIFIED_TIME" type="LONG" required="true"/> + + <index name="RHQ_CHANNEL_IDX" unique="true"> + <field ref="NAME"/> + </index> + </table> + + <table name="RHQ_CHANNEL_RESOURCE_MAP" obsolete="true"> + <column name="CHANNEL_ID" type="INTEGER" required="true" references="RHQ_CHANNEL"/> + <column name="RESOURCE_ID" type="INTEGER" required="true" references="RHQ_RESOURCE"/> + <column name="CTIME" type="LONG" required="true"/> + + <constraint name="RHQ_CHANNEL_RESOURCE_MAP_KEY"> + <primaryKey> + <field ref="CHANNEL_ID"/> + <field ref="RESOURCE_ID"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_CHANNEL_CONTENT_SRC_MAP" obsolete="true"> + <column name="CHANNEL_ID" type="INTEGER" required="true" references="RHQ_CHANNEL"/> + <column name="CONTENT_SRC_ID" type="INTEGER" required="true" references="RHQ_CONTENT_SOURCE"/> + <column name="CTIME" type="LONG" required="true"/> + + <constraint name="RHQ_CHAN_CONTENT_SRC_MAP_KEY"> + <primaryKey> + <field ref="CHANNEL_ID"/> + <field ref="CONTENT_SRC_ID"/> + </primaryKey> + </constraint> + </table> + + <table name="RHQ_CHANNEL_PKG_VERSION_MAP" obsolete="true"> + <column name="CHANNEL_ID" type="INTEGER" required="true" references="RHQ_CHANNEL"/> + <column name="PACKAGE_VERSION_ID" type="INTEGER" required="true" references="RHQ_PACKAGE_VERSION"/> + <column name="CTIME" type="LONG" required="true"/> + + <constraint name="RHQ_CHANNEL_PKG_VER_MAP_KEY"> + <primaryKey> + <field ref="CHANNEL_ID"/> + <field ref="PACKAGE_VERSION_ID"/> + </primaryKey> + </constraint> + </table> + + <!-- !!! REMOVED FROM MEASUREMENT-SCHEMA !!!! --> + + <table name="RHQ_MEASUREMENT_OOB" obsolete="true"> + <column name="ID" type="INTEGER" default="sequence-only" initial="10001" primarykey="true" required="true"/> + <column name="SCHEDULE_ID" type="INTEGER" references="RHQ_MEASUREMENT_SCHED(ID)" required="true"/> + <column name="OCCURRED" type="LONG" required="true"/> + <column name="DIFF" type="DOUBLE" required="true"/> + + <index name="RHQ_MEASUREMENT_OOB_IDX" unique="true"> + <field ref="SCHEDULE_ID" /> + <field ref="OCCURRED" /> + </index> + </table> + + + <table name="RHQ_TAG" obsolete="true"> + <column name="ID" default="sequence-only" initial="10001" primarykey="true" required="true" type="INTEGER"/> + <column name="NAME" size="200" type="VARCHAR2" required="true"/> + <column name="DESCRIPTION" size="500" type="VARCHAR2" required="false"/> + </table> + + <table name="RHQ_REPO_TAG_MAP" obsolete="true"> + <column name="REPO_ID" type="INTEGER" required="true" references="RHQ_REPO"/> + <column name="TAG_ID" type="INTEGER" required="true" references="RHQ_TAG"/> + + <constraint name="RHQ_REPO_TAG_MAP_KEY"> + <primaryKey> + <field ref="REPO_ID"/> + <field ref="TAG_ID"/> + </primaryKey> + </constraint> + </table> + + +<!-- END: obsolete-schema.xml --> +</dbsetup>
commit 15dc4c63cdbd12065a9c852d914f5dd90dea13e8 Author: Lukas Krejci lkrejci@redhat.com Date: Thu Sep 16 12:38:30 2010 +0200
adding "exclude" attribute to relationship export configuration to enable "negative" configuration - "include all but these".
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Relationship.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Relationship.java index b9554c0..b5ad226 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Relationship.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Relationship.java @@ -35,6 +35,9 @@ public class Relationship { @XmlAttribute private String field;
+ @XmlAttribute + private Boolean exclude; + /** * @return the name of the field on the owning {@link Entity} that represents the relationship. */ @@ -49,6 +52,14 @@ public class Relationship { this.field = fromField; }
+ public boolean isExclude() { + return exclude != null && exclude.booleanValue(); + } + + public void setExclude(boolean exclude) { + this.exclude = exclude; + } + public int hashCode() { int hash = field == null ? 1 : field.hashCode(); return hash; diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ConfigurableDependencyInclusionResolver.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ConfigurableDependencyInclusionResolver.java index 9d2341b..a7d8045 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ConfigurableDependencyInclusionResolver.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ConfigurableDependencyInclusionResolver.java @@ -97,10 +97,6 @@ public class ConfigurableDependencyInclusionResolver implements DependencyInclus }
private boolean isValid(Entity entity, Field field) { - if (entity.isIncludeAllFields()) { - return true; - } - if (field == null) { return false; } @@ -108,10 +104,12 @@ public class ConfigurableDependencyInclusionResolver implements DependencyInclus for (Relationship relationship : entity.getRelationships()) { String fieldName = relationship.getField(); if (field.getName().equals(fieldName)) { - return true; + return !relationship.isExclude(); } }
- return false; + //check the includeAll flag as the last so that explicit exclusions can + //override it in the loop above. + return entity.isIncludeAllFields(); } }
commit 56427b65ec70c91507814392d203ed99e750cdb2 Author: Heiko W. Rupp hwr@redhat.com Date: Thu Sep 16 17:36:51 2010 +0200
Set the correct database type factory for the database in use.
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java index 4ff7700..cc23514 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java @@ -26,11 +26,14 @@ import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Method; import java.sql.Connection; +import java.sql.SQLException;
import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.dbunit.database.DatabaseConfig; import org.dbunit.database.DatabaseDataSourceConnection; import org.dbunit.database.IDatabaseConnection; +import org.dbunit.dataset.datatype.IDataTypeFactory; import org.rhq.helpers.perftest.support.FileFormat; import org.rhq.helpers.perftest.support.Importer; import org.rhq.helpers.perftest.support.Input; @@ -73,14 +76,14 @@ public class DatabaseSetupInterceptor implements IInvokedMethodListener { IDatabaseConnection connection = new DatabaseDataSourceConnection(new InitialContext(), "java:/RHQDS");
+ setDatabaseType(connection); + FileFormat format = state.format();
Input input = format.getInput(streamProvider);
try { -LOG.warn("--- 1") ; Importer.run(connection, input); -LOG.warn("--- 2"); } finally { input.close(); } @@ -89,6 +92,26 @@ LOG.warn("--- 2"); } }
+ private void setDatabaseType(IDatabaseConnection connection) throws SQLException { + DatabaseConfig config = connection.getConfig(); + String name = connection.getConnection().getMetaData().getDatabaseProductName().toLowerCase(); + int major = connection.getConnection().getMetaData().getDatabaseMajorVersion(); + IDataTypeFactory type = null; + if (name.contains("postgres")) { + type = new org.dbunit.ext.postgresql.PostgresqlDataTypeFactory(); + } else if (name.contains("oracle")) { + if (major>=10) { + type = new org.dbunit.ext.oracle.Oracle10DataTypeFactory(); + } else { + type = new org.dbunit.ext.oracle.OracleDataTypeFactory(); + } + } + if (type!=null) { + LOG.info("setting db type for dbunit to " + type.getClass().getCanonicalName()); + config.setProperty("http://www.dbunit.org/properties/datatypeFactory%22,type); + } + } + public void afterInvocation(IInvokedMethod method, ITestResult testResult) { //nothing to do }
commit dbc07c9e98e9ce2b4b0c557253619ebd46771929 Author: Heiko W. Rupp hwr@redhat.com Date: Thu Sep 16 17:35:39 2010 +0200
Bump dbunit version
diff --git a/modules/helpers/perftest-support/pom.xml b/modules/helpers/perftest-support/pom.xml index 2dbe9c9..f4e8538 100644 --- a/modules/helpers/perftest-support/pom.xml +++ b/modules/helpers/perftest-support/pom.xml @@ -14,7 +14,7 @@ <dependency> <groupId>org.dbunit</groupId> <artifactId>dbunit</artifactId> - <version>2.4.7</version> + <version>2.4.8</version> <exclusions> <exclusion> <artifactId>junit</artifactId> @@ -88,5 +88,5 @@ </plugin> </plugins> </build> - + </project> \ No newline at end of file
commit b41d4dee1254e12dd2205595aa067c41b7e1dcae Author: Heiko W. Rupp hwr@redhat.com Date: Thu Sep 16 17:13:23 2010 +0200
Move the data .zip into the perftest/ directory, to make it more obvious what this is for. Use a JNDI based connection provider instead of a JDBC based one.
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index 2335887..327b659 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -33,10 +33,10 @@ import org.testng.annotations.Test; */ @Test(groups = "PERF") @Listeners({ DatabaseSetupInterceptor.class }) -@JdbcConnectionProviderMethod("getConnection") //defined in AbstractEJB3Test +//@JdbcConnectionProviderMethod("getConnection") //defined in AbstractEJB3Test public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest {
- @DatabaseState(url = "AvailabilityInsertPurgeTest-testOne-data.xml.zip") + @DatabaseState(url = "perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip") public void testOne() throws Exception { startTiming();
diff --git a/modules/enterprise/server/jar/src/test/resources/AvailabilityInsertPurgeTest-testOne-data.xml.zip b/modules/enterprise/server/jar/src/test/resources/AvailabilityInsertPurgeTest-testOne-data.xml.zip deleted file mode 100644 index 811c952..0000000 Binary files a/modules/enterprise/server/jar/src/test/resources/AvailabilityInsertPurgeTest-testOne-data.xml.zip and /dev/null differ diff --git a/modules/enterprise/server/jar/src/test/resources/perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip b/modules/enterprise/server/jar/src/test/resources/perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip new file mode 100644 index 0000000..811c952 Binary files /dev/null and b/modules/enterprise/server/jar/src/test/resources/perftest/AvailabilityInsertPurgeTest-testOne-data.xml.zip differ diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java index 00724fe..44eb8f3 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java @@ -31,18 +31,18 @@ import org.rhq.helpers.perftest.support.dbunit.DbUnitUtil;
/** * Utility method to import the data previously produced by the {@link Exporter}. - * + * * @author Lukas Krejci */ public class Importer { - + private Importer() { - + } - + /** * Imports the data from the input into a database using the provided JDBC connection. - * + * * @param jdbcConnection * @param input * @throws Exception @@ -50,22 +50,22 @@ public class Importer { public static void run(Connection jdbcConnection, Input input) throws Exception { run(new DatabaseConnection(jdbcConnection), input); } - + public static void run(Properties settings, Input input) throws Exception { run(DbUnitUtil.getConnection(settings), input); } - - private static void run(IDatabaseConnection connection, Input input) throws Exception { + + public static void run(IDatabaseConnection connection, Input input) throws Exception { ReplacementDataSet dataSet = new ReplacementDataSet(new StreamingDataSet(input.getProducer())); dataSet.addReplacementObject(Settings.NULL_REPLACEMENT, null); - + DatabaseOperation.DELETE_ALL.execute(connection, dataSet);
input.close(); - + dataSet = new ReplacementDataSet(new StreamingDataSet(input.getProducer())); dataSet.addReplacementObject(Settings.NULL_REPLACEMENT, null); - - DatabaseOperation.INSERT.execute(connection, dataSet); + + DatabaseOperation.INSERT.execute(connection, dataSet); } } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java index 605caf6..4ff7700 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java @@ -29,6 +29,8 @@ import java.sql.Connection;
import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.dbunit.database.DatabaseDataSourceConnection; +import org.dbunit.database.IDatabaseConnection; import org.rhq.helpers.perftest.support.FileFormat; import org.rhq.helpers.perftest.support.Importer; import org.rhq.helpers.perftest.support.Input; @@ -39,14 +41,16 @@ import org.testng.IInvokedMethod; import org.testng.IInvokedMethodListener; import org.testng.ITestResult;
+import javax.naming.InitialContext; + /** * An {@link IInvokedMethodListener method listener} that performs the database setup * for appropriately annotated test methods. - * To add database setup support to a test class, annotate the class with + * To add database setup support to a test class, annotate the class with * <code> * @Listeners({org.rhq.helpers.perftest.support.testng.DatabaseSetupInterceptor.class}) * </code> - * + * * @author Lukas Krejci */ public class DatabaseSetupInterceptor implements IInvokedMethodListener { @@ -55,24 +59,28 @@ public class DatabaseSetupInterceptor implements IInvokedMethodListener {
public void beforeInvocation(IInvokedMethod method, ITestResult testResult) { DatabaseState state = getRequiredDatabaseState(method); - + if (state == null) { return; } - - Method connectionProviderMethod = getConnectionProviderMethod(method, state); - + +// Method connectionProviderMethod = getConnectionProviderMethod(method, state); + try { InputStreamProvider streamProvider = getInputStreamProvider(state.url(), state.storage(), method); - Object classInstance = method.getTestMethod().getInstances()[0]; - Connection connection = (Connection) connectionProviderMethod.invoke(classInstance, (Object[]) null); +// Object classInstance = method.getTestMethod().getInstances()[0]; +// Connection connection = (Connection) connectionProviderMethod.invoke(classInstance, (Object[]) null); + IDatabaseConnection connection = new DatabaseDataSourceConnection(new InitialContext(), + "java:/RHQDS");
FileFormat format = state.format(); - - Input input = format.getInput(streamProvider); + + Input input = format.getInput(streamProvider);
try { +LOG.warn("--- 1") ; Importer.run(connection, input); +LOG.warn("--- 2"); } finally { input.close(); }
commit aeda2d8b8d41cc1f3906c0c5e1c461c55655d05b Author: Heiko W. Rupp hwr@redhat.com Date: Thu Sep 16 16:51:38 2010 +0200
Convert to valid JPA
diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java index 4c0e5ef..288cf69 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java @@ -1033,7 +1033,7 @@ public class AvailabilityManagerTest extends AbstractEJB3Test { }
try { - Query q = em.createQuery("SELECT count(*) FROM Availability"); + Query q = em.createQuery("SELECT count(a) FROM Availability a"); long count = (Long) q.getSingleResult(); return count; } finally { @@ -1137,7 +1137,7 @@ public class AvailabilityManagerTest extends AbstractEJB3Test {
/** * Convenience method for persisting availability. Availability data can no longer be directly merged - * by the EntityManager because it does not update the corresponding currentAvailability data on the + * by the EntityManager because it does not update the corresponding currentAvailability data on the * Resource entity. This method will update the necessary objects for you. */ private void persistAvailability(Availability... availabilities) {
commit abd46ec003fe12dea0a60bd39463e1091493199c Author: Lukas Krejci lkrejci@redhat.com Date: Tue Sep 14 17:02:53 2010 +0200
Adding log4j configuration to the data export/import tool.
diff --git a/modules/helpers/perftest-support/src/main/resources/log4j.properties b/modules/helpers/perftest-support/src/main/resources/log4j.properties new file mode 100644 index 0000000..d384e4b --- /dev/null +++ b/modules/helpers/perftest-support/src/main/resources/log4j.properties @@ -0,0 +1,5 @@ +log4j.rootCategory=INFO, CONSOLE + +log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender +log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout +log4j.appender.CONSOLE.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c] %m%n
commit b99a2e31fd204f94e1d8f576e28cf0a600e9d38b Author: Lukas Krejci lkrejci@redhat.com Date: Tue Sep 14 16:55:19 2010 +0200
Reimplementing the (still largely unimplemented) AvailabilityInsertPurgeTest to use the perftest-support infrastructure.
diff --git a/modules/enterprise/server/jar/pom.xml b/modules/enterprise/server/jar/pom.xml index 04d3557..335b76c 100644 --- a/modules/enterprise/server/jar/pom.xml +++ b/modules/enterprise/server/jar/pom.xml @@ -401,6 +401,12 @@ <scope>test</scope> </dependency>
+ <dependency> + <groupId>org.rhq.helpers</groupId> + <artifactId>perftest-support</artifactId> + <version>${project.version}</version> + <scope>test</scope> + </dependency> </dependencies>
<build> diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java index a289960..2335887 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java @@ -18,49 +18,26 @@ */ package org.rhq.enterprise.server.performance.test;
-import java.io.FileNotFoundException; -import java.io.FileReader; -import java.io.IOException; -import java.net.URL; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import au.com.bytecode.opencsv.CSVReader; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -import org.rhq.core.domain.plugin.Plugin; -import org.rhq.core.domain.resource.Agent; -import org.rhq.core.domain.resource.ResourceCategory; -import org.rhq.core.domain.resource.ResourceType; import org.rhq.enterprise.server.test.AbstractEJB3PerformanceTest; - +import org.rhq.helpers.perftest.support.testng.JdbcConnectionProviderMethod; +import org.rhq.helpers.perftest.support.testng.DatabaseSetupInterceptor; +import org.rhq.helpers.perftest.support.testng.DatabaseState; +import org.testng.annotations.Listeners; import org.testng.annotations.Test;
/** * Performance test the availabilities subsystem * * @author Heiko W. Rupp + * @author Lukas Krejci */ @Test(groups = "PERF") +@Listeners({ DatabaseSetupInterceptor.class }) +@JdbcConnectionProviderMethod("getConnection") //defined in AbstractEJB3Test public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest {
- private final Log log = LogFactory.getLog(AvailabilityInsertPurgeTest.class); - - /* - * we need to replace the ids in the csv files with the ids that we get back from the - * databse in relations. So store them as pair <csv-id,new entity-id> - */ - private Map<Integer,Integer> agentsTranslationTable = new HashMap<Integer,Integer>(); - private Map<Integer,Integer> pluginsTranslationTable = new HashMap<Integer,Integer>(); - private Map<Integer,Integer> resourceTypeTranslationTable = new HashMap<Integer,Integer>(); - - private Map<Integer,Integer> childParentTypeMap = new HashMap<Integer, Integer>(); - + @DatabaseState(url = "AvailabilityInsertPurgeTest-testOne-data.xml.zip") public void testOne() throws Exception { - setup(); startTiming();
Thread.sleep(1234); @@ -70,187 +47,4 @@ public class AvailabilityInsertPurgeTest extends AbstractEJB3PerformanceTest { commitTimings();
} - - private void setup() { - setupAgents(); - setupPlugins(); - setupResourceTypes(); - // TODO set up resources - - } - - private void setupAgents() { - String descriptorFile = "perftest/agents.csv"; - URL descriptorUrl = this.getClass().getClassLoader().getResource(descriptorFile); - FileReader fr = null; - try { - String fileName = descriptorUrl.getFile(); - fr = new FileReader(fileName); - } catch (FileNotFoundException e) { - e.printStackTrace(); // TODO: Customise this generated block - return; - } - try { - CSVReader reader = new CSVReader(fr,',','"',1); // Skip 1st line, use " as quote char and , as separator - - List<String[]> lines = reader.readAll(); - System.out.println("# of lines: " + lines.size()); - for (String[] line : lines) { - if (line[0].startsWith("#")) - continue; // comment - - int originalId = Integer.parseInt(line[0]); - Agent agent = new Agent(line[1],line[2],Integer.parseInt(line[3]),line[5],line[4]);// TODO more information? - getEntityManager().persist(agent); - int id = agent.getId(); - - agentsTranslationTable.put(originalId,id); - - - } - } - catch (IOException ioe) { - ioe.printStackTrace(); - } - finally { - try { - fr.close(); - } catch (IOException e) { - e.printStackTrace(); // TODO: Customise this generated block - } - } - - } - - private void setupPlugins() { - String descriptorFile = "perftest/plugins.csv"; - URL descriptorUrl = this.getClass().getClassLoader().getResource(descriptorFile); - FileReader fr = null; - try { - String fileName = descriptorUrl.getFile(); - fr = new FileReader(fileName); - } catch (FileNotFoundException e) { - e.printStackTrace(); // TODO: Customise this generated block - return; - } - try { - CSVReader reader = new CSVReader(fr,',','"',1); - - List<String[]> lines = reader.readAll(); - System.out.println("# of lines: " + lines.size()); - for (String[] line : lines) { - if (line[0].startsWith("#")) - continue; // comment - - int originalId = Integer.parseInt(line[0]); - Plugin plugin = new Plugin(line[1],line[5],line[6]); - plugin.setDisplayName(line[2]); - plugin.setVersion(line[3]); - plugin.setAmpsVersion(line[4]); - getEntityManager().persist(plugin); - - int id = plugin.getId(); - pluginsTranslationTable.put(originalId,id); - } - } - catch (IOException ioe) { - ioe.printStackTrace(); - } - finally { - try { - fr.close(); - } catch (IOException e) { - e.printStackTrace(); // TODO: Customise this generated block - } - } - - } - private void setupResourceTypes() { - - - // first pull in the parentResourceTypes.csv file to get a mapping for them. - String descriptorFile = "perftest/parentResourceTypes.csv"; - URL descriptorUrl = this.getClass().getClassLoader().getResource(descriptorFile); - FileReader fr = null; - try { - String fileName = descriptorUrl.getFile(); - fr = new FileReader(fileName); - } catch (FileNotFoundException e) { - e.printStackTrace(); // TODO: Customise this generated block - return; - } - try { - CSVReader reader = new CSVReader(fr,',','"',1); - List<String[]> lines = reader.readAll(); - System.out.println("# of lines: " + lines.size()); - for (String[] line: lines) { - Integer typeId = Integer.parseInt(line[0]); - Integer parentTypeId = Integer.parseInt(line[1]); - childParentTypeMap.put(typeId,parentTypeId); - } - } - catch (IOException ioe) { - ioe.printStackTrace(); - } - finally { - try { - fr.close(); - } catch (IOException e) { - e.printStackTrace(); // TODO: Customise this generated block - } - } - - // now the ResourceTypes themselves - - descriptorFile = "perftest/resourceTypes.csv"; - descriptorUrl = this.getClass().getClassLoader().getResource(descriptorFile); - fr = null; - try { - String fileName = descriptorUrl.getFile(); - fr = new FileReader(fileName); - } catch (FileNotFoundException e) { - e.printStackTrace(); // TODO: Customise this generated block - return; - } - try { - CSVReader reader = new CSVReader(fr,',','"',1); - - List<String[]> lines = reader.readAll(); - System.out.println("# of lines: " + lines.size()); - for (String[] line : lines) { - if (line[0].startsWith("#")) - continue; // comment - - int originalId = Integer.parseInt(line[0]); - ResourceType parentType = findResourceType(originalId); - ResourceCategory category = ResourceCategory.valueOf(line[2]); - ResourceType rt = new ResourceType(line[1],line[3],category,parentType); - getEntityManager().persist(rt); - - int id = rt.getId(); - resourceTypeTranslationTable.put(originalId,id); - } - } - catch (IOException ioe) { - ioe.printStackTrace(); - } - finally { - try { - fr.close(); - } catch (IOException e) { - e.printStackTrace(); // TODO: Customise this generated block - } - } - - } - - private ResourceType findResourceType(int originalId) { - - if (childParentTypeMap.containsKey(originalId)) { - int id = childParentTypeMap.get(originalId); - int translatedId = resourceTypeTranslationTable.get(id); - ResourceType parentType = getEntityManager().find(ResourceType.class,translatedId); - } - return null; - } } diff --git a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3Test.java b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3Test.java index 3425ebb..4d5859d 100644 --- a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3Test.java +++ b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3Test.java @@ -19,6 +19,7 @@ package org.rhq.enterprise.server.test;
import java.sql.Connection; +import java.sql.SQLException; import java.util.Hashtable; import java.util.Properties;
@@ -138,7 +139,7 @@ public abstract class AbstractEJB3Test extends AssertJUnit { public static void startTest() { if (DatabaseTypeFactory.getDefaultDatabaseType() == null) { try { - Connection conn = LookupUtil.getDataSource().getConnection(); + Connection conn = getConnection(); DatabaseTypeFactory.setDefaultDatabaseType(DatabaseTypeFactory.getDatabaseType(conn)); } catch (Exception e) { System.err.println("!!! WARNING !!! cannot set default database type, some tests may fail"); @@ -149,6 +150,10 @@ public abstract class AbstractEJB3Test extends AssertJUnit { start = stats.getQueryExecutionCount(); }
+ public static Connection getConnection() throws SQLException { + return LookupUtil.getDataSource().getConnection(); + } + @AfterMethod public static void endTest() { //System.out.println("Connections used: " + (stats.getQueryExecutionCount() - start)); diff --git a/modules/enterprise/server/jar/src/test/resources/AvailabilityInsertPurgeTest-testOne-data.xml.zip b/modules/enterprise/server/jar/src/test/resources/AvailabilityInsertPurgeTest-testOne-data.xml.zip new file mode 100644 index 0000000..811c952 Binary files /dev/null and b/modules/enterprise/server/jar/src/test/resources/AvailabilityInsertPurgeTest-testOne-data.xml.zip differ
commit d03ff13faf2283af81b7f97b85524fc58e467e96 Author: Lukas Krejci lkrejci@redhat.com Date: Tue Sep 14 16:52:27 2010 +0200
Reshuffling, renaming and reorganizing stuff so it's slightly more logical.
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/FileFormat.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/FileFormat.java index a0c6d1c..60f7736 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/FileFormat.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/FileFormat.java @@ -19,11 +19,146 @@
package org.rhq.helpers.perftest.support;
+import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.OutputStream; + +import org.rhq.helpers.perftest.support.input.CsvInput; +import org.rhq.helpers.perftest.support.input.FileInputStreamProvider; +import org.rhq.helpers.perftest.support.input.InputStreamProvider; +import org.rhq.helpers.perftest.support.input.SystemInProvider; +import org.rhq.helpers.perftest.support.input.XmlInput; +import org.rhq.helpers.perftest.support.input.ZipInputStreamProviderDecorator; +import org.rhq.helpers.perftest.support.input.ZippedCsvInput; +import org.rhq.helpers.perftest.support.output.CsvOutput; +import org.rhq.helpers.perftest.support.output.XmlOutput; +import org.rhq.helpers.perftest.support.output.ZippedCsvOutput; +import org.rhq.helpers.perftest.support.output.ZippedXmlOutput; + /** * Represents a file format to export/import database data to/from. * * @author Lukas Krejci */ public enum FileFormat { - XML, CSV -} \ No newline at end of file + + /** + * XML file format. The input/output specification is understood to be a path to an input/output file. + */ + XML { + public Input getInput(String inputSpec) throws IOException { + InputStreamProvider isp = inputSpec == null ? new SystemInProvider() : new FileInputStreamProvider( + new File(inputSpec)); + return new XmlInput(isp, inputSpec != null); + } + + public Input getInput(InputStreamProvider provider) throws IOException { + return new XmlInput(provider, true); + } + + public Output getOutput(String outputSpec) throws IOException { + OutputStream stream = outputSpec == null ? System.out : new FileOutputStream(outputSpec); + + return new XmlOutput(stream, outputSpec != null); + } + }, + + /** + * CSV file format. The input/output specification is understood to be a path to a pre-existing + * directory that should contain the input/output files. + */ + CSV { + public Input getInput(String inputSpec) throws IOException { + File directory = new File(inputSpec); + + return new CsvInput(directory); + } + + public Input getInput(InputStreamProvider provider) throws IOException { + throw new UnsupportedOperationException(); + } + + public Output getOutput(String outputSpec) throws IOException { + File directory = new File(outputSpec); + return new CsvOutput(directory); + } + }, + + /** + * Zipped XML format. The input/output specification is understood to be a path to a zip file + * containing the xml file. + */ + ZIPPED_XML { + public Input getInput(String inputSpec) throws IOException { + InputStreamProvider isp = inputSpec == null ? new SystemInProvider() : new FileInputStreamProvider( + new File(inputSpec)); + return new XmlInput(new ZipInputStreamProviderDecorator(isp, true), inputSpec != null); + } + + public Input getInput(InputStreamProvider provider) { + return new XmlInput(new ZipInputStreamProviderDecorator(provider, true), true); + } + + public Output getOutput(String outputSpec) throws IOException { + OutputStream stream = outputSpec == null ? System.out : new FileOutputStream(outputSpec); + return new ZippedXmlOutput(stream, outputSpec != null); + } + }, + + /** + * Zipped CSV format. The input/output specification is understood to be a path to a zip file + * containing the compressed directory with the CSV files. + */ + ZIPPED_CSV { + public Input getInput(String inputSpec) throws IOException { + File file = new File(inputSpec); + + return new ZippedCsvInput(new ZipInputStreamProviderDecorator(new FileInputStreamProvider(file), false)); + } + + public Input getInput(InputStreamProvider provider) throws IOException { + if (provider instanceof ZipInputStreamProviderDecorator) { + return new ZippedCsvInput((ZipInputStreamProviderDecorator)provider); + } else { + return new ZippedCsvInput(new ZipInputStreamProviderDecorator(provider, false)); + } + } + + public Output getOutput(String outputSpec) throws IOException { + File file = new File(outputSpec); + return new ZippedCsvOutput(file); + } + }; + + /** + * Returns an {@link Input} instance based on the input specification. + * The format of the input specification is file format dependent. + * + * @param inputSpec the "location" of the input + * @return an {@link Input} instance able to process the inputSpec + */ + public abstract Input getInput(String inputSpec) throws IOException; + + /** + * Returns an {@link Input} instance initialized with the specified + * {@link InputStreamProvider}. This enables more "low-level" usage than + * the {@link #getInput(String)} method which assumes that the inputSpec can + * specify the input location without any other contextual information. + * + * @param provider + * @return + * @throws IOException + * @throws UnsupportedOperationException if this file format doesn't support this type of initialization. + */ + public abstract Input getInput(InputStreamProvider provider) throws IOException; + + /** + * Returns an {@link Output} instance based on the output specification. + * The format of the output specification is file format dependent. + * + * @param outputSpec the "location" of the output + * @return an {@link Output} instance able to process the outputSpec + */ + public abstract Output getOutput(String outputSpec) throws IOException; +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Settings.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Settings.java index 6d031b4..51f7079 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Settings.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Settings.java @@ -19,19 +19,7 @@
package org.rhq.helpers.perftest.support;
-import java.io.File; -import java.io.FileInputStream; -import java.io.FileNotFoundException; -import java.io.FileOutputStream; import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; - -import org.rhq.helpers.perftest.support.input.CsvInput; -import org.rhq.helpers.perftest.support.input.InputStreamProvider; -import org.rhq.helpers.perftest.support.input.XmlInput; -import org.rhq.helpers.perftest.support.output.CsvOutput; -import org.rhq.helpers.perftest.support.output.XmlOutput;
/** * @@ -62,11 +50,11 @@ public class Settings { * to which the CSV files corresponding to database tables will be written. * * @param fileFormat one of the values specified in {@link FileFormat} (case-insensitive) + * @param zipped true if the output should be ZIP compressed * @param outputSpec format dependent specifier of output location * @return an output object - * @throws FileNotFoundException */ - public static Output getOutputObject(String fileFormat, final String outputSpec) throws FileNotFoundException { + public static Output getOutputObject(String fileFormat, final String outputSpec) throws IOException {
FileFormat format = fileFormat == null ? FileFormat.XML : Enum.valueOf(FileFormat.class, fileFormat.toUpperCase()); @@ -74,16 +62,8 @@ public class Settings { if (format == null) { throw new IllegalArgumentException("Unknown file format specified: " + fileFormat); } - - switch (format) { - case XML: - OutputStream stream = outputSpec == null ? System.out : new FileOutputStream(new File(outputSpec)); - return new XmlOutput(stream, stream != System.out); - case CSV: - return new CsvOutput(new File(outputSpec)); - default: - throw new IllegalStateException("FileFormat defined, but don't know how to create it: " + format); - } + + return format.getOutput(outputSpec); }
/** @@ -101,17 +81,6 @@ public class Settings { throw new IllegalArgumentException("Unknown file format specified: " + fileFormat); }
- switch (format) { - case XML: - return new XmlInput(new InputStreamProvider() { - public InputStream createInputStream() throws FileNotFoundException { - return inputSpec == null ? System.in : new FileInputStream(new File(inputSpec)); - } - }, inputSpec != null); - case CSV: - return new CsvInput(new File(inputSpec)); - default: - throw new IllegalStateException("FileFormat defined, but don't know how to create it: " + format); - } + return format.getInput(inputSpec); } } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/CsvInput.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/CsvInput.java index be3b083..a1d522d 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/CsvInput.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/CsvInput.java @@ -40,6 +40,14 @@ public class CsvInput implements Input { this.directory = directory; }
+ protected File getDirectory() { + return directory; + } + + protected CsvProducer getCsvProducer() { + return producer; + } + public IDataSetProducer getProducer() throws Exception { if (producer == null) { if (!directory.isDirectory()) { diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/FileInputStreamProvider.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/FileInputStreamProvider.java new file mode 100644 index 0000000..cc83692 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/FileInputStreamProvider.java @@ -0,0 +1,44 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.input; + +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.io.InputStream; + +/** + * An {@link InputStreamProvider} implementation returning a {@link FileInputStream}. + * + * @author Lukas Krejci + */ +public class FileInputStreamProvider implements InputStreamProvider { + + private File file; + + public FileInputStreamProvider(File file) { + this.file = file; + } + + public InputStream createInputStream() throws IOException { + return new FileInputStream(file); + } + +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/SystemInProvider.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/SystemInProvider.java new file mode 100644 index 0000000..a6c2f85 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/SystemInProvider.java @@ -0,0 +1,36 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.input; + +import java.io.IOException; +import java.io.InputStream; + +/** + * {@link InputStreamProvider} implementation that returns {@link System#in}. + * + * @author Lukas Krejci + */ +public class SystemInProvider implements InputStreamProvider { + + public InputStream createInputStream() throws IOException { + return System.in; + } + +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/ZipInputStreamProviderDecorator.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/ZipInputStreamProviderDecorator.java new file mode 100644 index 0000000..bae9f64 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/ZipInputStreamProviderDecorator.java @@ -0,0 +1,49 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.input; + +import java.io.IOException; +import java.util.zip.ZipInputStream; + +/** + * This is a wrapper around another {@link InputStreamProvider} that returns + * a {@link ZipInputStream} wrapped around the stream provided by the decorated provider. + * + * @author Lukas Krejci + */ +public class ZipInputStreamProviderDecorator implements InputStreamProvider { + + private InputStreamProvider inner; + private boolean openEntry; + + public ZipInputStreamProviderDecorator(InputStreamProvider inner, boolean openEntry) { + this.inner = inner; + this.openEntry = openEntry; + } + + public ZipInputStream createInputStream() throws IOException { + ZipInputStream stream = new ZipInputStream(inner.createInputStream()); + if (openEntry) { + stream.getNextEntry(); + } + return stream; + } + +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/ZippedCsvInput.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/ZippedCsvInput.java new file mode 100644 index 0000000..0537e37 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/ZippedCsvInput.java @@ -0,0 +1,123 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.input; + +import java.io.BufferedInputStream; +import java.io.BufferedOutputStream; +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.util.zip.ZipEntry; +import java.util.zip.ZipInputStream; + +import org.dbunit.dataset.stream.IDataSetProducer; + +/** + * Represents a zipped CSV input. + * + * @author Lukas Krejci + */ +public class ZippedCsvInput extends CsvInput { + + private ZipInputStreamProviderDecorator sourceFile; + + /** + * + * @param zipFileProvider a provider that creates a stream to read the zip file. + * @throws IOException + */ + public ZippedCsvInput(ZipInputStreamProviderDecorator zipFileProvider) throws IOException { + super(createTempDirectory()); + sourceFile = zipFileProvider; + } + + @Override + public void close() throws IOException { + super.close(); + delete(getDirectory()); + } + + @Override + public IDataSetProducer getProducer() throws Exception { + if (getCsvProducer() == null) { + unzip(sourceFile.createInputStream(), getDirectory()); + } + return super.getProducer(); + } + + private static File createTempDirectory() throws IOException { + File tmpFile = File.createTempFile("perftest-support-csv-output", null); + tmpFile.delete(); + tmpFile.mkdir(); + + return tmpFile; + } + + private static void unzip(ZipInputStream zipFile, File target) throws RuntimeException, IOException { + ZipEntry entry = null; + while((entry = zipFile.getNextEntry()) != null) { + File f = new File(target, entry.getName()); + + if (entry.isDirectory()) { + f.mkdirs(); + } else { + String parentDirectory = f.getParent(); + File parentDirectoryFile = new File(parentDirectory); + parentDirectoryFile.mkdirs(); + + BufferedOutputStream outputStream = new BufferedOutputStream(new FileOutputStream(f)); + try { + copy(zipFile, outputStream); + } finally { + outputStream.close(); + } + } + } + } + + private static void delete(File f) { + if (f.isDirectory()) { + for (File child : f.listFiles()) { + delete(child); + } + f.delete(); + } else { + f.delete(); + } + } + + private static void copy(InputStream input, OutputStream output) throws IOException { + long numBytesCopied = 0; + int bufferSize = 32768; + + input = new BufferedInputStream(input, bufferSize); + + byte[] buffer = new byte[bufferSize]; + + for (int bytesRead = input.read(buffer); bytesRead != -1; bytesRead = input.read(buffer)) { + output.write(buffer, 0, bytesRead); + numBytesCopied += bytesRead; + } + + output.flush(); + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/CsvOutput.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/CsvOutput.java index 6230ffc..407992b 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/CsvOutput.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/CsvOutput.java @@ -40,6 +40,10 @@ public class CsvOutput implements Output { this.directory = directory; }
+ protected File getDirectory() { + return directory; + } + public IDataSetConsumer getConsumer() throws Exception { if (consumer == null) { consumer = new CsvDataSetWriter(directory); diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/XmlOutput.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/XmlOutput.java index 2ec8de0..247cf67 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/XmlOutput.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/XmlOutput.java @@ -27,7 +27,7 @@ import org.dbunit.dataset.xml.FlatXmlWriter; import org.rhq.helpers.perftest.support.Output;
/** - * Implements the {@link Output} interface to ouput the database data into an XML file using + * Implements the {@link Output} interface to output the database data into an XML file using * {@link FlatXmlWriter}. * * @author Lukas Krejci diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/ZippedCsvOutput.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/ZippedCsvOutput.java new file mode 100644 index 0000000..dc5043d --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/ZippedCsvOutput.java @@ -0,0 +1,118 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.output; + +import java.io.BufferedInputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.util.zip.ZipEntry; +import java.util.zip.ZipOutputStream; + +/** + * Represents a CSV output compressed to a zip file. + * + * @author Lukas Krejci + */ +public class ZippedCsvOutput extends CsvOutput { + + private File targetFile; + + /** + * @param file the target zip file + * @throws IOException + */ + public ZippedCsvOutput(File file) throws IOException { + super(createTempDirectory()); + targetFile = file; + } + + public void close() throws IOException { + super.close(); + ZipOutputStream stream = null; + try { + stream = new ZipOutputStream(new FileOutputStream(targetFile)); + zipFileOrDir(super.getDirectory(), stream); + } finally { + if (stream != null) { + stream.close(); + } + delete(super.getDirectory()); + } + } + + private static File createTempDirectory() throws IOException { + File tmpFile = File.createTempFile("perftest-support-csv-output", null); + tmpFile.delete(); + tmpFile.mkdir(); + + return tmpFile; + } + + private static void zipFileOrDir(File f, ZipOutputStream zipFile) throws IOException { + if (f.isDirectory()) { + for (File child : f.listFiles()) { + zipFileOrDir(child, zipFile); + } + } else { + FileInputStream fis = null; + try { + fis = new FileInputStream(f); + ZipEntry zipEntry = new ZipEntry(f.getPath()); + zipFile.putNextEntry(zipEntry); + copy(fis, zipFile); + } finally { + if (fis != null) { + fis.close(); + } + } + } + } + + private static void copy(InputStream input, OutputStream output) throws IOException { + long numBytesCopied = 0; + int bufferSize = 32768; + + input = new BufferedInputStream(input, bufferSize); + + byte[] buffer = new byte[bufferSize]; + + for (int bytesRead = input.read(buffer); bytesRead != -1; bytesRead = input.read(buffer)) { + output.write(buffer, 0, bytesRead); + numBytesCopied += bytesRead; + } + + output.flush(); + } + + private static void delete(File f) { + if (f.isDirectory()) { + for (File child : f.listFiles()) { + delete(child); + } + f.delete(); + } else { + f.delete(); + } + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/ZippedXmlOutput.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/ZippedXmlOutput.java new file mode 100644 index 0000000..c9ada08 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/ZippedXmlOutput.java @@ -0,0 +1,50 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.output; + +import java.io.IOException; +import java.io.OutputStream; +import java.util.zip.ZipEntry; +import java.util.zip.ZipOutputStream; + +/** + * Represents a zipped XML output. + * + * @author Lukas Krejci + */ +public class ZippedXmlOutput extends XmlOutput { + + /** + * + * @param stream the stream to write the data to. + * @param doClose + * @throws IOException + */ + public ZippedXmlOutput(OutputStream stream, boolean doClose) throws IOException { + super(getNewZipStream(stream), doClose); + } + + private static ZipOutputStream getNewZipStream(OutputStream stream) throws IOException { + ZipOutputStream zipStream = new ZipOutputStream(stream); + zipStream.putNextEntry(new ZipEntry("data")); + + return zipStream; + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/ConnectionProviderMethod.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/ConnectionProviderMethod.java deleted file mode 100644 index f453598..0000000 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/ConnectionProviderMethod.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * RHQ Management Platform - * Copyright (C) 2005-2010 Red Hat, Inc. - * All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -package org.rhq.helpers.perftest.support.testng; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -import java.sql.Connection; - -/** - * Specifies the method on the annotated class that can provide JDBC connections to the caller. - * The method must accept no arguments and return a {@link Connection} instance. - * - * @author Lukas Krejci - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface ConnectionProviderMethod { - - String value(); -} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java index 2f8ff3f..605caf6 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java @@ -29,7 +29,10 @@ import java.sql.Connection;
import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.rhq.helpers.perftest.support.FileFormat; import org.rhq.helpers.perftest.support.Importer; +import org.rhq.helpers.perftest.support.Input; +import org.rhq.helpers.perftest.support.input.FileInputStreamProvider; import org.rhq.helpers.perftest.support.input.InputStreamProvider; import org.rhq.helpers.perftest.support.input.XmlInput; import org.testng.IInvokedMethod; @@ -60,11 +63,13 @@ public class DatabaseSetupInterceptor implements IInvokedMethodListener { Method connectionProviderMethod = getConnectionProviderMethod(method, state);
try { - InputStreamProvider dataInput = getDataInput(state.url(), state.storage(), method); + InputStreamProvider streamProvider = getInputStreamProvider(state.url(), state.storage(), method); Object classInstance = method.getTestMethod().getInstances()[0]; Connection connection = (Connection) connectionProviderMethod.invoke(classInstance, (Object[]) null);
- XmlInput input = new XmlInput(dataInput, true); + FileFormat format = state.format(); + + Input input = format.getInput(streamProvider);
try { Importer.run(connection, input); @@ -90,7 +95,7 @@ public class DatabaseSetupInterceptor implements IInvokedMethodListener { String methodName = state.connectionProviderMethod(); Class<?> declaringClass = method.getTestMethod().getMethod().getDeclaringClass(); if (methodName == null || methodName.trim().isEmpty()) { - ConnectionProviderMethod methodAnnotation = declaringClass.getAnnotation(ConnectionProviderMethod.class); + JdbcConnectionProviderMethod methodAnnotation = declaringClass.getAnnotation(JdbcConnectionProviderMethod.class); if (methodAnnotation == null) { throw new IllegalStateException( "Neither 'connectionProviderMethod' attribute of the @DatabaseState annotation nor @ConnectionProviderMethod annotation could be found. Cannot initialize the database state without being able to get a connection."); @@ -109,7 +114,7 @@ public class DatabaseSetupInterceptor implements IInvokedMethodListener {
}
- private static InputStreamProvider getDataInput(final String url, DatabaseStateStorage storage, final IInvokedMethod method) + private static InputStreamProvider getInputStreamProvider(final String url, DatabaseStateStorage storage, final IInvokedMethod method) throws FileNotFoundException { switch (storage) { case CLASSLOADER: @@ -120,11 +125,7 @@ public class DatabaseSetupInterceptor implements IInvokedMethodListener { } }; case FILESYSTEM: - return new InputStreamProvider() { - public InputStream createInputStream() throws IOException { - return new FileInputStream(new File(url)); - } - }; + return new FileInputStreamProvider(new File(url)); default: return null; } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java index aaa216b..af9e94c 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java @@ -24,6 +24,8 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target;
+import org.rhq.helpers.perftest.support.FileFormat; + /** * An annotation to associate a test method with a required state of the database. * @@ -44,8 +46,13 @@ public @interface DatabaseState { DatabaseStateStorage storage() default DatabaseStateStorage.CLASSLOADER;
/** + * The format of the export file (defaults to zipped xml). + */ + FileFormat format() default FileFormat.ZIPPED_XML; + + /** * The name of the method to provide a JDBC connection object. - * If the method is not specified, the value of the {@link ConnectionProviderMethod} annotation + * If the method is not specified, the value of the {@link JdbcConnectionProviderMethod} annotation * is used. */ String connectionProviderMethod() default ""; diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/JdbcConnectionProviderMethod.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/JdbcConnectionProviderMethod.java new file mode 100644 index 0000000..8f04045 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/JdbcConnectionProviderMethod.java @@ -0,0 +1,39 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.testng; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; +import java.sql.Connection; + +/** + * Specifies the method on the annotated class that can provide JDBC connections to the caller. + * The method must accept no arguments and return a {@link Connection} instance. + * + * @author Lukas Krejci + */ +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface JdbcConnectionProviderMethod { + + String value(); +}
commit 4c3bb35d30b46f969b1a05cbcea887fbef17b306 Author: Lukas Krejci lkrejci@redhat.com Date: Tue Sep 14 16:48:03 2010 +0200
Added a bit of usage blurb and validation to the data export/import tool Main class.
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Main.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Main.java index 1e7d03d..bdd815c 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Main.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Main.java @@ -24,6 +24,7 @@ import gnu.getopt.LongOpt;
import java.io.FileReader; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.Properties;
@@ -58,7 +59,7 @@ public class Main { longOptions[8] = new LongOpt("file", LongOpt.REQUIRED_ARGUMENT, null, 'f'); longOptions[9] = new LongOpt("format", LongOpt.REQUIRED_ARGUMENT, null, 'o');
- Getopt options = new Getopt("datagen", args, "eihr:u:p:d:c:f:o:", longOptions); + Getopt options = new Getopt("data", args, "eihr:u:p:d:c:f:o:", longOptions);
String url = null; String user = null; @@ -118,7 +119,9 @@ public class Main { putNotNull(settings, "password", password); putNotNull(settings, "driverClass", driverClass);
- validate(settings); + if (!validate(settings)) { + System.exit(1); + }
ExportConfiguration config = null;
@@ -172,14 +175,30 @@ public class Main { } }
- private static void validate(Properties settings) { - //TODO implement + private static boolean validate(Properties settings) { + boolean ok = true; + + if (!settings.containsKey("url")) { + System.err.println("The url of the database to connect to is missing."); + ok = false; + } + + return ok; }
private static void usage() { System.out.println("Usage:");
- //TODO implement + System.out.println("data(.sh|.bat) (--export|--import) [<other-options>] [entity-names...]"); + System.out.println(); + System.out.println("--url : the JDBC URL to the database"); + System.out.println("--username : the database username"); + System.out.println("--password : the database password"); + System.out.println("--driver-class : the full name of the JDBC driver class"); + System.out.println("--config-file : The configuration file specifying what entities to export"); + System.out.println("--file : the file to export the data to or to import the data from (defaults to standard output or input respectively)"); + System.out.println("--format : one of " + Arrays.asList(FileFormat.values())); + System.out.println("--help : this info");
System.exit(0); }
commit 26031f85f7e3c55f2084e1d337525f44b973ca24 Author: Lukas Krejci lkrejci@redhat.com Date: Tue Sep 14 16:47:13 2010 +0200
Adding a Linux specific script to start the data exporter/importer.
diff --git a/modules/helpers/perftest-support/data.sh b/modules/helpers/perftest-support/data.sh new file mode 100755 index 0000000..e7cccdf --- /dev/null +++ b/modules/helpers/perftest-support/data.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +java -cp 'target/dependency/*':target/perftest-support-4.0.0-SNAPSHOT.jar org.rhq.helpers.perftest.support.Main $@ diff --git a/modules/helpers/perftest-support/pom.xml b/modules/helpers/perftest-support/pom.xml index 82094ff..2dbe9c9 100644 --- a/modules/helpers/perftest-support/pom.xml +++ b/modules/helpers/perftest-support/pom.xml @@ -68,7 +68,6 @@ <configuration> <archive> <manifest> - <addClasspath>true</addClasspath> <mainClass>org.rhq.helpers.perftest.support.Main</mainClass> </manifest> </archive>
commit 7edb6c1e0012f517dc3dc60203ff151ad59f39d8 Author: Lukas Krejci lkrejci@redhat.com Date: Tue Sep 14 16:45:28 2010 +0200
Upping the TestNG version to 5.13.1 so that we can use the @Listeners annotation. Made the TestNG version consistent throughout the codebase.
diff --git a/modules/cli-tests/pom.xml b/modules/cli-tests/pom.xml index 6eed8b4..34fd6c1 100644 --- a/modules/cli-tests/pom.xml +++ b/modules/cli-tests/pom.xml @@ -30,8 +30,7 @@ <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> - <version>5.8</version> - <classifier>jdk15</classifier> + <version>${testng.version}</version> </dependency>
<dependency> diff --git a/modules/enterprise/remoting/cli/pom.xml b/modules/enterprise/remoting/cli/pom.xml index 6bf2f26..cf0c24a 100644 --- a/modules/enterprise/remoting/cli/pom.xml +++ b/modules/enterprise/remoting/cli/pom.xml @@ -63,9 +63,8 @@ <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> - <version>5.9</version> + <version>${testng.version}</version> <!-- Yes, this is actually meant to be compile, and not test, scoped. --> - <classifier>jdk15</classifier> </dependency>
<dependency> diff --git a/modules/enterprise/remoting/cli/src/main/scripts/rhq-client.build.xml b/modules/enterprise/remoting/cli/src/main/scripts/rhq-client.build.xml index 142e87b..b80f900 100644 --- a/modules/enterprise/remoting/cli/src/main/scripts/rhq-client.build.xml +++ b/modules/enterprise/remoting/cli/src/main/scripts/rhq-client.build.xml @@ -63,7 +63,7 @@ <copy file="${settings.localRepository}/javax/persistence/persistence-api/${persistence-api.version}/persistence-api-${persistence-api.version}.jar" tofile="${lib.home}/persistence-api-${persistence-api.version}.jar" verbose="true" /> <copy file="${basedir}/target/${project.artifactId}-${project.version}.jar" tofile="${lib.home}/${project.artifactId}-${project.version}.jar" verbose="true" /> <copy file="${settings.localRepository}/net/sf/opencsv/opencsv/${opencsv.version}/opencsv-${opencsv.version}.jar" tofile="${lib.home}/opencsv-${opencsv.version}.jar" verbose="true" /> - <copy file="${settings.localRepository}/org/testng/testng/${testng.version}/testng-${testng.version}-jdk15.jar" tofile="${lib.home}/testng-${testng.version}-jdk15.jar" verbose="true" /> + <copy file="${settings.localRepository}/org/testng/testng/${testng.version}/testng-${testng.version}.jar" tofile="${lib.home}/testng-${testng.version}.jar" verbose="true" /> </target>
</project> diff --git a/modules/enterprise/remoting/webservices/pom.xml b/modules/enterprise/remoting/webservices/pom.xml index 71e2f93..e85d0d4 100644 --- a/modules/enterprise/remoting/webservices/pom.xml +++ b/modules/enterprise/remoting/webservices/pom.xml @@ -76,7 +76,6 @@ <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>${testng.version}</version> - <classifier>jdk15</classifier> </dependency>
</dependencies> diff --git a/modules/helpers/perftest-support/pom.xml b/modules/helpers/perftest-support/pom.xml index a9e3322..82094ff 100644 --- a/modules/helpers/perftest-support/pom.xml +++ b/modules/helpers/perftest-support/pom.xml @@ -34,9 +34,7 @@ <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> - <version>5.9</version> <!-- replace with ${testng.version} once it's correctly integrated in the build --> - <!-- <version>${testng.version}</version> --> - <classifier>jdk15</classifier> + <version>${testng.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> diff --git a/modules/plugins/augeas/pom.xml b/modules/plugins/augeas/pom.xml index cc1edd1..f8dd571 100644 --- a/modules/plugins/augeas/pom.xml +++ b/modules/plugins/augeas/pom.xml @@ -44,8 +44,7 @@ <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> - <version>5.9</version> - <classifier>jdk15</classifier> + <version>${testng.version}</version> </dependency>
<dependency> diff --git a/modules/test-utils/pom.xml b/modules/test-utils/pom.xml index 5f96131..54d18cc 100644 --- a/modules/test-utils/pom.xml +++ b/modules/test-utils/pom.xml @@ -13,9 +13,8 @@ <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> - <version>5.9</version> + <version>${testng.version}</version> <scope>compile</scope> - <classifier>jdk15</classifier> </dependency> <dependency> <groupId>org.jmock</groupId> diff --git a/pom.xml b/pom.xml index 7888b45..b236c13 100644 --- a/pom.xml +++ b/pom.xml @@ -96,7 +96,7 @@ <jna.version>3.2.5</jna.version> <twitter4j.version>2.1.2</twitter4j.version> <commons-codec.version>1.4</commons-codec.version> - <testng.version>5.9</testng.version> + <testng.version>5.13.1</testng.version>
<!-- defaults for datasource used by integration tests - @@ -445,9 +445,8 @@ <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> - <version>5.9</version> + <version>${testng.version}</version> <scope>test</scope> - <classifier>jdk15</classifier> </dependency>
<!-- for the Nullable/NotNull annotations -->
commit a2971dc30a123ff7032ca72faf4aea0b7c7dc0e4 Author: Lukas Krejci lkrejci@redhat.com Date: Mon Sep 13 13:42:56 2010 +0200
Fix the generation of the export configuration from a pre-existing entity dependency graph.
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/ExportConfiguration.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/ExportConfiguration.java index 1e72333..580ca0d 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/ExportConfiguration.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/ExportConfiguration.java @@ -151,7 +151,10 @@ public class ExportConfiguration {
for (Edge edge : node.getEdges()) { if (edge.getFrom() == node) { - edges.add(fromRealEdge(node, edge, realToSerialized)); + Relationship r = fromRealEdge(node, edge, realToSerialized); + if (r != null) { + edges.add(r); + } } }
@@ -179,10 +182,14 @@ public class ExportConfiguration { if (currentNode.equals(edge.getFrom())) { if (edge.getFromField() != null) { ret.setField(edge.getFromField().getName()); + } else { + return null; } } else { if (edge.getToField() != null) { ret.setField(edge.getToField().getName()); + } else { + return null; } } return ret;
commit b7444a022e29931e19834e7b23229652f99e12ee Author: Lukas Krejci lkrejci@redhat.com Date: Mon Sep 13 13:26:02 2010 +0200
Include the perftest-support module in the parent module and call it a proper name.
diff --git a/modules/helpers/perftest-support/pom.xml b/modules/helpers/perftest-support/pom.xml index 5f29ea8..a9e3322 100644 --- a/modules/helpers/perftest-support/pom.xml +++ b/modules/helpers/perftest-support/pom.xml @@ -6,7 +6,7 @@ <version>4.0.0-SNAPSHOT</version> </parent> <groupId>org.rhq.helpers</groupId> - <artifactId>data-gen</artifactId> + <artifactId>perftest-support</artifactId> <version>4.0.0-SNAPSHOT</version> <name>Performance Testing Support</name> <description>To support performance testing, this is a basic tool to support extracting and later reimporting of data from/to a database.</description> diff --git a/modules/helpers/pom.xml b/modules/helpers/pom.xml index a26b7f2..4108570 100644 --- a/modules/helpers/pom.xml +++ b/modules/helpers/pom.xml @@ -38,7 +38,7 @@ <module>pluginGen</module> <module>pluginAnnotations</module> <module>bundleGen</module> - <module>perftest-data-gen</module> + <module>perftest-support</module>
</modules>
commit b4e37380333980fdbc472c369d0ce7d70155de73 Author: Lukas Krejci lkrejci@redhat.com Date: Mon Sep 13 13:25:31 2010 +0200
Javadoc and formatting for perftest-support.
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Exporter.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Exporter.java index e435284..45df4ac 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Exporter.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Exporter.java @@ -45,7 +45,8 @@ import org.rhq.helpers.perftest.support.jpa.ConfigurableDependencyInclusionResol import org.rhq.helpers.perftest.support.jpa.mapping.MappingTranslator;
/** - * + * A utility class to run an export. + * * @author Lukas Krejci */ public class Exporter { @@ -54,6 +55,14 @@ public class Exporter {
}
+ /** + * Runs the export using given export configuration and supplies the data to the provided + * consumer (which should convert it to some kind of output). + * + * @param config + * @param consumer + * @throws Exception + */ public static void run(ExportConfiguration config, IDataSetConsumer consumer) throws Exception { IDatabaseConnection connection = DbUnitUtil.getConnection(config.getSettings()); try { diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java index 42c5206..00724fe 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java @@ -30,7 +30,8 @@ import org.dbunit.operation.DatabaseOperation; import org.rhq.helpers.perftest.support.dbunit.DbUnitUtil;
/** - * + * Utility method to import the data previously produced by the {@link Exporter}. + * * @author Lukas Krejci */ public class Importer { @@ -39,6 +40,13 @@ public class Importer {
}
+ /** + * Imports the data from the input into a database using the provided JDBC connection. + * + * @param jdbcConnection + * @param input + * @throws Exception + */ public static void run(Connection jdbcConnection, Input input) throws Exception { run(new DatabaseConnection(jdbcConnection), input); } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Entity.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Entity.java index 2bc92a0..cc2ef96 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Entity.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Entity.java @@ -30,7 +30,8 @@ import javax.xml.bind.annotation.XmlID; import javax.xml.bind.annotation.XmlRootElement;
/** - * + * Represents an entity in the dependency graph. + * * @author Lukas Krejci */ @XmlRootElement @@ -40,24 +41,30 @@ public class Entity { @XmlID @XmlAttribute private String name; - + @XmlAttribute private Boolean includeAllFields; - + @XmlElement(name = "rel") private Set<Relationship> relationships = new HashSet<Relationship>(); - + @XmlElement(name = "filter") private String filter; - + + /** + * @return the relationships defined on this entity. + */ public Set<Relationship> getRelationships() { return relationships; } - + public void setRelationships(Set<Relationship> relationships) { this.relationships = relationships; } - + + /** + * @return the name of this entity + */ public String getName() { return name; } @@ -67,10 +74,11 @@ public class Entity { }
/** - * @return the allDependents + * @return true if all fields on this entity are considered as included + * (as opposed to explicitly defined in the {@link #getRelationships()}). */ public boolean isIncludeAllFields() { - return includeAllFields == null ? false :includeAllFields; + return includeAllFields == null ? false : includeAllFields; }
/** @@ -81,29 +89,28 @@ public class Entity { }
/** - * @return the filter + * @return the SQL statement that returns the primary keys to be considered. */ public String getFilter() { return filter; } - + /** * @param filter the filter to set */ public void setFilter(String filter) { this.filter = filter; } - + public int hashCode() { return name.hashCode(); } - + public boolean equals(Object other) { if (!(other instanceof Entity)) { return false; } - - return name.equals(((Entity)other).name); + + return name.equals(((Entity) other).name); } } - diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Relationship.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Relationship.java index 9f0d99b..b9554c0 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Relationship.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Relationship.java @@ -25,7 +25,7 @@ import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement;
/** - * + * Represents a relationship between two {@link Entity entities}. * @author Lukas Krejci */ @XmlRootElement(name = "rel") @@ -36,7 +36,7 @@ public class Relationship { private String field;
/** - * @return the fromField + * @return the name of the field on the owning {@link Entity} that represents the relationship. */ public String getField() { return field; diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipFilter.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipFilter.java index 3ee2e57..0d6bf9a 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipFilter.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipFilter.java @@ -19,30 +19,22 @@
package org.rhq.helpers.perftest.support.dbunit;
-import java.io.StringReader; -import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; -import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashSet; import java.util.Map; import java.util.Set;
-import javax.xml.bind.JAXBContext; -import javax.xml.bind.Unmarshaller; - -import org.dbunit.database.DatabaseConnection; import org.dbunit.database.DatabaseSequenceFilter; import org.dbunit.database.IDatabaseConnection; import org.dbunit.dataset.DataSetException; import org.dbunit.dataset.IDataSet; import org.dbunit.dataset.ITableIterator; -import org.rhq.helpers.perftest.support.config.ExportConfiguration; +import org.dbunit.dataset.filter.ITableFilter; import org.rhq.helpers.perftest.support.jpa.ColumnValues; -import org.rhq.helpers.perftest.support.jpa.ConfigurableDependencyInclusionResolver; import org.rhq.helpers.perftest.support.jpa.DependencyInclusionResolver; import org.rhq.helpers.perftest.support.jpa.DependencyType; import org.rhq.helpers.perftest.support.jpa.Edge; @@ -53,7 +45,15 @@ import org.rhq.helpers.perftest.support.jpa.mapping.EntityTranslation; import org.rhq.helpers.perftest.support.jpa.mapping.RelationshipTranslation;
/** - * + * This is an implementation of {@link ITableFilter} interface acts as a proxy + * between the {@link EntityDependencyGraph} and the dbUnit. + * <p> + * This filter is able to produce a table iterator that traverses the tables in the + * correct order so that foreign key constraints are obeyed during insertion of data. + * <p> + * It is also able to filter the data from the tables corresponding to the entities by only + * allowing entities (and the underlying table rows) of certain primary key values to be included. + * * @author Lukas Krejci */ public class EntityRelationshipFilter extends DatabaseSequenceFilter { @@ -72,6 +72,7 @@ public class EntityRelationshipFilter extends DatabaseSequenceFilter { RESOLUTION_IN_CONSTRUCTOR.set(null); }
+ @Override public ITableIterator iterator(IDataSet dataSet, boolean reversed) throws DataSetException { return new EntityRelationshipTableIterator(super.iterator(dataSet, reversed), resolvedPks); } @@ -453,30 +454,4 @@ public class EntityRelationshipFilter extends DatabaseSequenceFilter {
return ret; } - - public static void main(String[] args) throws Exception { - HashMap<Class<?>, Set<ColumnValues>> allowed = new HashMap<Class<?>, Set<ColumnValues>>(); - allowed.put(Class.forName("org.rhq.core.domain.resource.Resource"), ColumnValues.setOf(10001)); - - Class.forName("org.postgresql.Driver"); - DatabaseConnection con = new DatabaseConnection(DriverManager.getConnection( - "jdbc:postgresql://127.0.0.1:5432/rhqdev", "rhqadmin", "rhqadmin")); - -// EntityRelationshipFilter f = new EntityRelationshipFilter(con, allowed, new EagerMappingInclusionResolver()); -// System.out.println(f.edg); -// -// f.iterator(con.createDataSet(), false); - - String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n" - + "<graph packagePrefix="org.rhq.core.domain">\n" - + " <entity name="resource.Resource" includeAllDependents="true" />\n" + "</graph>"; - - JAXBContext c = ExportConfiguration.getJAXBContext(); - Unmarshaller um = c.createUnmarshaller(); - ExportConfiguration edg = (ExportConfiguration) um.unmarshal(new StringReader(xml)); - - EntityRelationshipFilter f2 = new EntityRelationshipFilter(con, allowed, - new ConfigurableDependencyInclusionResolver(edg)); - f2.iterator(con.createDataSet(), false); - } } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipTableIterator.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipTableIterator.java index 52433fa..b8f7d20 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipTableIterator.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipTableIterator.java @@ -20,7 +20,6 @@ package org.rhq.helpers.perftest.support.dbunit;
import java.util.ArrayList; -import java.util.LinkedHashSet; import java.util.List; import java.util.Set;
@@ -33,7 +32,8 @@ import org.rhq.helpers.perftest.support.jpa.ColumnValues; import org.rhq.helpers.perftest.support.jpa.mapping.ColumnValuesTableMap;
/** - * + * This is a table iterator able to filter out rows with disallowed primary key values. + * * @author Lukas Krejci */ public class EntityRelationshipTableIterator implements ITableIterator { diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/CsvInput.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/CsvInput.java index fbf1c85..be3b083 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/CsvInput.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/CsvInput.java @@ -27,7 +27,8 @@ import org.dbunit.dataset.stream.IDataSetProducer; import org.rhq.helpers.perftest.support.Input;
/** - * + * Implements the {@link Input} interface for the set of CSV files using the {@link CsvProducer}. + * * @author Lukas Krejci */ public class CsvInput implements Input { diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/XmlInput.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/XmlInput.java index a5367c3..992a80a 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/XmlInput.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/XmlInput.java @@ -28,6 +28,7 @@ import org.rhq.helpers.perftest.support.Input; import org.xml.sax.InputSource;
/** + * Implements the {@link Input} interface for the XML files using the {@link FlatXmlProducer}. * * @author Lukas Krejci */ diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Annotations.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Annotations.java index c23b86a..b191a85 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Annotations.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Annotations.java @@ -23,7 +23,9 @@ import java.util.HashMap; import java.util.Map;
/** - * + * A minimal extension of {@link HashMap} with {@link Class} keys and Object values. + * Provides only a convenience {@link #get(Class)} method. + * * @author Lukas Krejci */ public class Annotations extends HashMap<Class<?>, Object> { @@ -46,8 +48,17 @@ public class Annotations extends HashMap<Class<?>, Object> { super(m); }
+ /** + * Returns the annotation of given class (if present in this map) cast + * to the class. This is a convenience method for the users of this class + * so that they don't have to cast the annotation object themselves. + * + * @param <T> + * @param annotationClass + * @return + */ public <T> T get(Class<T> annotationClass) { - Object annotation = get((Object)annotationClass); + Object annotation = get((Object) annotationClass); return annotationClass.cast(annotation); } } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ColumnValues.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ColumnValues.java index 0207f1e..beef0f5 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ColumnValues.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ColumnValues.java @@ -28,12 +28,17 @@ import java.util.Map; import java.util.Set;
/** - * Represents a (composite) primary key of a table. + * Represents a number of columns along with their values. * * @author Lukas Krejci */ public class ColumnValues implements Iterable<ColumnValues.Column>, Cloneable {
+ /** + * Presents a single column-value pair. + * + * @author Lukas Krejci + */ public static class Column { private String name; private Object value; diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ConfigurableDependencyInclusionResolver.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ConfigurableDependencyInclusionResolver.java index ea1181e..9d2341b 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ConfigurableDependencyInclusionResolver.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ConfigurableDependencyInclusionResolver.java @@ -26,17 +26,47 @@ import org.rhq.helpers.perftest.support.config.ExportConfiguration; import org.rhq.helpers.perftest.support.config.Relationship;
/** - * + * An implementation of {@link DependencyInclusionResolver} interface that can be configured + * to include/exclude relationships by being provided a dependency graph in the form of {@link ExportConfiguration} instance. + * * @author Lukas Krejci */ public class ConfigurableDependencyInclusionResolver implements DependencyInclusionResolver {
private ExportConfiguration edg;
+ /** + * @param edg the dependency graph of allowed entities and relations among them. + */ public ConfigurableDependencyInclusionResolver(ExportConfiguration edg) { this.edg = edg; }
+ /** + * An edge (relationship) is considered valid based on the dependency graph provided in this instance's + * constructor. + * These are the naming conventions used in the rules below: + * <ul> + * <li>Source Entity is an {@link Entity} in the {@link ExportConfiguration configuration} that corresponds + * to the "from node" {@link Edge#getFrom()} of the provided edge of the full dependency graph. + * <li>Target Entity is the {@link Entity} corresponding to the {@link Edge#getTo()}. + * <li>Source relationship is the {@link Relationship} defined on the source entity that corresponds to the {@link Edge#getFromField()} (i.e. has the same name). + * <li>Target relationship is the {@link Relationship} on the target entity corresponding to the {@link Edge#getToField()}. + * </ul> + * + * <p> + * An edge is considered valid if at least one of the following conditions is true: + * <ul> + * <li>The configuration specifies to include all explicit dependent entities and the edge has a non-null {@link Edge#getFromField() from field} (i.e. the dependency is explicitly defined). + * <li>The source entity specifies to include all fields ({@link Entity#isIncludeAllFields()}). + * <li>The target entity specifies to include all fields ({@link Entity#isIncludeAllFields()}). + * <li>The source relationship is defined. + * <li>The target relationship is defined. + * </ul> + * + * @param edge the edge from the full entity dependency graph to check the validity of. + * @return true if valid (i.e. to be included in the output), false otherwise. + */ public boolean isValid(Edge edge) { Entity from = edg.getEntity(edge.getFrom().getEntity()); Entity to = edg.getEntity(edge.getTo().getEntity()); @@ -74,7 +104,7 @@ public class ConfigurableDependencyInclusionResolver implements DependencyInclus if (field == null) { return false; } - + for (Relationship relationship : entity.getRelationships()) { String fieldName = relationship.getField(); if (field.getName().equals(fieldName)) { diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/DependencyInclusionResolver.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/DependencyInclusionResolver.java index 7ef906b..ccb73f7 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/DependencyInclusionResolver.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/DependencyInclusionResolver.java @@ -32,5 +32,9 @@ import org.rhq.helpers.perftest.support.dbunit.EntityRelationshipFilter; */ public interface DependencyInclusionResolver {
+ /** + * @param edge + * @return true if the edge should be traversed, false otherwise + */ boolean isValid(Edge edge); } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/DependencyType.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/DependencyType.java index fc2e6bb..05a22a3 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/DependencyType.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/DependencyType.java @@ -25,6 +25,12 @@ import javax.persistence.ManyToMany; import javax.persistence.OneToMany; import javax.persistence.OneToOne;
+/** + * Names the possible JPA dependency types. {@link OneToMany} and {@link ManyToOne} are considered + * the same as they represent the opposite sides of a single relationship. + * + * @author Lukas Krejci + */ public enum DependencyType { ONE_TO_ONE { public Class<? extends Annotation> annotationType() { diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EagerMappingInclusionResolver.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EagerMappingInclusionResolver.java index f126ef5..51de596 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EagerMappingInclusionResolver.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EagerMappingInclusionResolver.java @@ -27,7 +27,12 @@ import javax.persistence.OneToMany; import javax.persistence.OneToOne;
/** - * + * A {@link DependencyInclusionResolver} implementation that consideres an edge valid + * if the JPA defines the fetch type as {@link FetchType#EAGER}. + * <p> + * Note that this is just an example implementation of the interface with no practical use because + * of the lack of flexibility of this simple rule. + * * @author Lukas Krejci */ public class EagerMappingInclusionResolver implements DependencyInclusionResolver { diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Edge.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Edge.java index 598ac1b..3f13ee1 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Edge.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Edge.java @@ -23,6 +23,11 @@ import java.lang.reflect.Field;
import org.rhq.helpers.perftest.support.jpa.mapping.RelationshipTranslation;
+/** + * Represents an edge in the {@link EntityDependencyGraph}. + * + * @author Lukas Krejci + */ public class Edge {
private Node from; @@ -46,28 +51,28 @@ public class Edge { }
/** - * @return the from + * @return the node this edge comes from. */ public Node getFrom() { return from; }
/** - * @return the to + * @return the node this edge goes to. */ public Node getTo() { return to; }
/** - * @return the fromField + * @return the field on the "from node"'s class that this edge represents. */ public Field getFromField() { return fromField; }
/** - * @return the toField + * @return the field on the "to node"'s class that this edge represents. */ public Field getToField() { return toField; @@ -80,6 +85,10 @@ public class Edge { return dependencyType; }
+ /** + * The translation of this edge to the terms of SQL table and column names. + * @return + */ public RelationshipTranslation getTranslation() { return translation; } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EntityDependencyGraph.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EntityDependencyGraph.java index 390c2db..73eef94 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EntityDependencyGraph.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EntityDependencyGraph.java @@ -44,7 +44,11 @@ import org.apache.commons.logging.LogFactory; import org.rhq.helpers.perftest.support.jpa.mapping.MappingTranslator;
/** - * + * Produces a graph of {@link Node}s linked to each other by {@link Edge}s. + * Each {@link Node} corresponds to a single JPA entity and each {@link Edge} between them + * corresponds to a single relationship between the JPA entities (i.e. one of {@link OneToOne}, + * {@link OneToMany}, {@link ManyToOne} or {@link ManyToMany}). + * * @author Lukas Krejci */ public class EntityDependencyGraph { @@ -54,6 +58,14 @@ public class EntityDependencyGraph { Map<Node, Node> nodes = new HashMap<Node, Node>(); private MappingTranslator mappingTranslator = new MappingTranslator();
+ /** + * Adds a single entity to the dependency graph and analyzes it. This will cause + * all the dependent and depending entities to be included in the graph as well. + * + * @param entity + * @return the {@link Node} instance corresponding to the provided entity class or null + * if the class doesn't represent a JPA entity. + */ public Node addEntity(Class<?> entity) { Node n = new Node(entity); n = analyze(n); @@ -63,10 +75,22 @@ public class EntityDependencyGraph { return n; }
+ /** + * A convenience method to add a number of entities to the graph at once. + * + * @param entities + * @return the set of nodes corresponding to the provided entities. + */ public Set<Node> addEntities(Class<?>... entities) { return addEntities(Arrays.asList(entities)); }
+ /** + * A convenience method to add a number of entities to the graph at once. + * + * @param entities + * @return the set of nodes corresponding to the provided entities. + */ public Set<Node> addEntities(Collection<Class<?>> entities) { Set<Node> ret = new HashSet<Node>(); for (Class<?> e : entities) { @@ -78,14 +102,24 @@ public class EntityDependencyGraph { return ret; }
+ /** + * @return all the nodes in the dependency graph + */ public Set<Node> getAllNodes() { return nodes.keySet(); }
+ /** + * @param entityClass the class of an entity + * @return the node from the dependency graph corresponding to the given class or null if such node is not present. + */ public Node getNode(Class<?> entityClass) { return nodes.get(new Node(entityClass)); }
+ /** + * @return all the nodes from the dependency graph with no parents (i.e. with no edges leading to them). + */ public Set<Node> getRootNodes() { Set<Node> ret = new HashSet<Node>();
@@ -97,6 +131,9 @@ public class EntityDependencyGraph { return ret; }
+ /** + * @return all the nodes from the dependency graph with no children (i.e. no edges leading from them). + */ public Set<Node> getLeafNodes() { Set<Node> ret = new HashSet<Node>();
@@ -335,11 +372,4 @@ public class EntityDependencyGraph { return (Class<?>) typeParameter; } } - - public static void main(String[] args) throws Exception { - EntityDependencyGraph g = new EntityDependencyGraph(); - //g.addEntity(Class.forName("org.rhq.core.domain.configuration.Configuration")); - g.addEntity(Class.forName("org.rhq.core.domain.resource.Resource")); - System.out.println(g); - } } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/JPAUtil.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/JPAUtil.java index dcd4ab8..4226066 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/JPAUtil.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/JPAUtil.java @@ -32,32 +32,56 @@ import java.util.Set; import javax.persistence.Embedded; import javax.persistence.Entity;
- /** - * + * A set of utility methods to work with JPA annotated classes. + * * @author Lukas Krejci */ public class JPAUtil {
private JPAUtil() { - + } - + + /** + * Returns true if the class is annotated with {@link Entity} annotation. + * @param clazz + * @return true if class is a JPA entity, false otherwise + */ public static boolean isEntity(Class<?> clazz) { return clazz.getAnnotation(Entity.class) != null; }
+ /** + * Returns all the JPA annotations declared on the class. + * + * @param clazz + * @return + */ public static Annotations getJPAAnnotations(Class<?> clazz) { return extractJPAAnnotations(clazz.getAnnotations()); }
+ /** + * Returns all the JPA annotations declared on the field. + * + * @param field + * @return + */ public static Annotations getJPAAnnotations(Field field) { return extractJPAAnnotations(field.getAnnotations()); } - + + /** + * Returns all the JPA annotated fields on given class along with their annotations. + * Note that this also returns all the JPA annotated fields declared in the super classes of the provided class. + * + * @param clazz + * @return + */ public static Map<Field, Annotations> getJPAFields(Class<?> clazz) { HashMap<Field, Annotations> ret = new HashMap<Field, Annotations>(); - + for (Field f : getAllFields(clazz)) { if (f.getAnnotation(Embedded.class) == null) { ret.put(f, extractJPAAnnotations(f.getAnnotations())); @@ -65,36 +89,44 @@ public class JPAUtil { ret.putAll(getJPAFields(f.getType())); } } - + return ret; } - + + /** + * Returns all the fields of given class that have the desired annotation defined. + * This returns also the fields declared in the class' super classes. + * + * @param clazz + * @param desiredAnnotation + * @return + */ public static Set<Field> getJPAFields(Class<?> clazz, Class<? extends Annotation> desiredAnnotation) { HashSet<Field> ret = new HashSet<Field>(); - - for(Field f : getAllFields(clazz)) { + + for (Field f : getAllFields(clazz)) { if (f.getAnnotation(desiredAnnotation) != null) { ret.add(f); } else if (f.getAnnotation(Embedded.class) != null) { ret.addAll(getJPAFields(f.getType(), desiredAnnotation)); } } - + return ret; } - + private static Annotations extractJPAAnnotations(Annotation[] annotations) { Annotations ret = new Annotations(); - + for (Annotation annon : annotations) { if (annon.annotationType().getPackage().getName().startsWith("javax.persistence")) { ret.put(annon.annotationType(), annon); } } - + return ret; } - + public static Field getField(Class<?> clazz, String name) { while (clazz != null) { Field f = null; @@ -105,27 +137,28 @@ public class JPAUtil { } catch (NoSuchFieldException e) { //let's continue below } - + if (f != null) { return f; } else { clazz = clazz.getSuperclass(); } } - + return null; } + private static List<Field> getAllFields(Class<?> clazz) { ArrayList<Field> fields = new ArrayList<Field>(); - + fields.addAll(Arrays.asList(clazz.getDeclaredFields())); - + Class<?> superClass = clazz.getSuperclass(); - + if (superClass != null) { fields.addAll(getAllFields(clazz.getSuperclass())); } - + return fields; } } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Node.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Node.java index d477d6f..55c01ba 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Node.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Node.java @@ -27,31 +27,52 @@ import java.util.TreeSet;
import org.rhq.helpers.perftest.support.jpa.mapping.EntityTranslation;
+/** + * Represents a node in the entity dependency graph. + * + * @author Lukas Krejci + */ public class Node implements Comparable<Node> { - + private Class<?> entity; - + private Set<Edge> edges; - + private EntityTranslation translation; - + public Node(Class<?> entity) { this.entity = entity; edges = new HashSet<Edge>(); }
+ /** + * The class of the JPA entity this node represents. + */ public Class<?> getEntity() { return entity; }
+ /** + * @return the translation of this entity to the SQL terms. + */ public EntityTranslation getTranslation() { return translation; } - + public void setTranslation(EntityTranslation translation) { this.translation = translation; } - + + /** + * Add a parent node. This creates a new edge with the parent node + * set as the "from" node and this node as the "to" node. The edge instance is + * shared in both this' and parent's edge set. + * + * @param parent the parent node + * @param parentField the field on the parent node's entity that the edge is to be linked with + * @param thisField the field on this node's entity that the edge is to be linked with + * @param dependencyType the type of the JPA dependency + */ public void addParent(Node parent, Field parentField, Field thisField, DependencyType dependencyType) { Edge edge = new Edge(parent, this, parentField, thisField, dependencyType);
@@ -60,6 +81,15 @@ public class Node implements Comparable<Node> { } }
+ /** + * Similar to {@link #addParent(Node, Field, Field, DependencyType)} but creates an edge + * with this node being the "from" and the child node being the "to" of the newly created edge. + * + * @param child + * @param childField + * @param thisField + * @param dependencyType + */ public void addChild(Node child, Field childField, Field thisField, DependencyType dependencyType) { Edge edge = new Edge(this, child, thisField, childField, dependencyType);
@@ -67,120 +97,165 @@ public class Node implements Comparable<Node> { child.addEdge(edge); } } - + + /** + * This method is called from {@link #addParent(Node, Field, Field, DependencyType)} and + * {@link #addChild(Node, Field, Field, DependencyType)} methods to actually store an instance + * of an edge in this instance's edge set. + * + * @param edge + */ protected void addEdge(Edge edge) { edges.add(edge); } - + + /** + * @return all the edges leading from or to this node. + */ public Set<Edge> getEdges() { return edges; }
+ /** + * @return the edges going out of this node (i.e. edges leading to children of this node) + */ public Set<Edge> getOutgoingEdges() { Set<Edge> ret = new HashSet<Edge>(); - for(Edge e : edges) { + for (Edge e : edges) { if (this == e.getFrom()) { ret.add(e); } } - + return ret; } - + + /** + * @return the edges coming to this node (i.e. edges leading from parents of this node) + */ public Set<Edge> getIncomingEdges() { Set<Edge> ret = new HashSet<Edge>(); - for(Edge e : edges) { + for (Edge e : edges) { if (this == e.getTo()) { ret.add(e); } } - + return ret; } - + + /** + * Return the parents of this node. + * When the <code>onlyExplicitRelations</code> is true, then only + * the edges that have and non-null {@link Edge#getFromField() "from" field} are considered. + * This means that only parents that explicitly link to this entity are considered. + * A null from field means that the relation was only defined on the "to" side and that + * the parent entity has no explicit knowledge of the relationship. + * + * @param onlyExplicitRelations + * @return + */ public SortedSet<Node> getParents(boolean onlyExplicitRelations) { SortedSet<Node> ret = new TreeSet<Node>(); - - for(Edge e : edges) { + + for (Edge e : edges) { //== *is* correct here - if (e.getTo() == this && (onlyExplicitRelations ? e.getFromField() != null : true)) { + if (e.getTo() == this && (onlyExplicitRelations ? e.getFromField() != null : true)) { ret.add(e.getFrom()); } } - + return ret; } - + + /** + * Returns the children of this node. + * The <code>onlyExplicitRelations</code> argument has the same meaning as for the {@link #getParents(boolean)} method. + * + * @param onlyExplicitRelations + * @return + */ public SortedSet<Node> getChildren(boolean onlyExplicitRelations) { SortedSet<Node> ret = new TreeSet<Node>(); - - for(Edge e : edges) { + + for (Edge e : edges) { //== *is* correct here if (e.getFrom() == this && (onlyExplicitRelations ? e.getToField() != null : true)) { ret.add(e.getTo()); } } - + return ret; } - + + /** + * Returns this node, its parents, their parents, etc, recursively up the dependency graph. + * + * @param onlyExplicitRelations the same meaning as for {@link #getParents(boolean)} + * @return + */ public SortedSet<Node> getTransitiveParents(boolean onlyExplicitRelations) { SortedSet<Node> ret = new TreeSet<Node>(); - + ret.add(this); - + Set<Node> currentParents = getParents(onlyExplicitRelations); - + while (!currentParents.isEmpty()) { Set<Node> parentsCopy = new HashSet<Node>(currentParents); - + if (!ret.addAll(currentParents)) { //if the returned set already contained all the current parents, //then we're inside a cycle and there's no need to continue. break; } - + currentParents.clear(); - + for (Node p : parentsCopy) { currentParents.addAll(p.getParents(onlyExplicitRelations)); } } - + return ret; } - + + /** + * Returns this node, its children, their children, etc. recursively. + * + * @param onlyExplicitRelations the same meaning as for {@link #getParents(boolean)} + * @return + */ public SortedSet<Node> getTransitiveChildren(boolean onlyExplicitRelations) { SortedSet<Node> ret = new TreeSet<Node>(); - + ret.add(this); - + Set<Node> currentChildren = getChildren(onlyExplicitRelations); - + while (!currentChildren.isEmpty()) { Set<Node> childrenCopy = new HashSet<Node>(currentChildren); - + if (!ret.addAll(currentChildren)) { //if the returned set already contained all the current children, //then we're inside a cycle and there's no need to continue. break; } - + currentChildren.clear(); - + for (Node c : childrenCopy) { currentChildren.addAll(c.getChildren(onlyExplicitRelations)); } } - + return ret; } - + public int hashCode() { return entity.hashCode(); }
- @SuppressWarnings("unchecked") @Override public boolean equals(Object other) { if (!(other instanceof Node)) { @@ -189,33 +264,35 @@ public class Node implements Comparable<Node> {
return entity.equals(((Node) other).getEntity()); } - + public int compareTo(Node o) { return entity.getName().compareTo(o.entity.getName()); } - + public String toString() { StringBuilder bld = new StringBuilder(); - + bld.append(entity.getSimpleName()).append("[\n"); bld.append("attachment=").append(translation).append("\n"); - for(Edge e : edges) { + for (Edge e : edges) { String fromField = e.getFromField() != null ? e.getFromField().getName() : "?"; String toField = e.getToField() != null ? e.getToField().getName() : "?"; - + if (e.getFrom() == this) { bld.append("(").append(fromField); - bld.append(") -").append(e.getDependencyType()).append("> ").append(e.getTo().getEntity().getSimpleName()); + bld.append(") -").append(e.getDependencyType()).append("> ") + .append(e.getTo().getEntity().getSimpleName()); bld.append("(").append(toField).append(")"); } else { bld.append("(").append(toField); - bld.append(") <").append(e.getDependencyType()).append("- ").append(e.getFrom().getEntity().getSimpleName()); + bld.append(") <").append(e.getDependencyType()).append("- ") + .append(e.getFrom().getEntity().getSimpleName()); bld.append("(").append(fromField).append(")"); } bld.append("\n").append("(attachment=").append(e.getTranslation()).append(")\n"); } bld.append("]"); - + return bld.toString(); } -} \ No newline at end of file +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/ColumnValuesTableMap.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/ColumnValuesTableMap.java index dbfc5f9..7d6dd1a 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/ColumnValuesTableMap.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/ColumnValuesTableMap.java @@ -26,20 +26,31 @@ import java.util.Set; import org.rhq.helpers.perftest.support.jpa.ColumnValues;
/** - * + * Represents a map where keys are names of database tables and values are sets of column values ({@link ColumnValues} instances). + * + * Adds {@link #getOrCreate(Object)} method to safely retrieve initialized values even for previously non-existent keys. + * * @author Lukas Krejci */ public class ColumnValuesTableMap extends HashMap<String, Set<ColumnValues>> {
private static final long serialVersionUID = 1L;
+ /** + * Retrieves a set of column values for given table name. + * If there was no entry for the table name in this map, a new + * empty set is created, added to the map and returned. + * + * @param key the name of the table + * @return a set of column values + */ public Set<ColumnValues> getOrCreate(Object key) { Set<ColumnValues> ret = super.get(key); if (ret == null) { ret = new LinkedHashSet<ColumnValues>(); - put((String)key, ret); + put((String) key, ret); } - + return ret; } } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/CsvOutput.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/CsvOutput.java index dab03a4..6230ffc 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/CsvOutput.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/CsvOutput.java @@ -27,23 +27,24 @@ import org.dbunit.dataset.stream.IDataSetConsumer; import org.rhq.helpers.perftest.support.Output;
/** - * + * Implements the {@link Output} interface to support output to a set of CSV files using {@link CsvDataSetWriter}. + * * @author Lukas Krejci */ public class CsvOutput implements Output {
private File directory; private CsvDataSetWriter consumer; - + public CsvOutput(File directory) { this.directory = directory; } - + public IDataSetConsumer getConsumer() throws Exception { if (consumer == null) { consumer = new CsvDataSetWriter(directory); } - + return consumer; }
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/XmlOutput.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/XmlOutput.java index deafa65..2ec8de0 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/XmlOutput.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/XmlOutput.java @@ -27,7 +27,9 @@ import org.dbunit.dataset.xml.FlatXmlWriter; import org.rhq.helpers.perftest.support.Output;
/** - * + * Implements the {@link Output} interface to ouput the database data into an XML file using + * {@link FlatXmlWriter}. + * * @author Lukas Krejci */ public class XmlOutput implements Output { diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/ConnectionProviderMethod.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/ConnectionProviderMethod.java index a70ebdc..f453598 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/ConnectionProviderMethod.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/ConnectionProviderMethod.java @@ -23,9 +23,12 @@ import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +import java.sql.Connection;
/** - * + * Specifies the method on the annotated class that can provide JDBC connections to the caller. + * The method must accept no arguments and return a {@link Connection} instance. + * * @author Lukas Krejci */ @Retention(RetentionPolicy.RUNTIME) diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java index 850fc0f..2f8ff3f 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java @@ -37,7 +37,13 @@ import org.testng.IInvokedMethodListener; import org.testng.ITestResult;
/** - * + * An {@link IInvokedMethodListener method listener} that performs the database setup + * for appropriately annotated test methods. + * To add database setup support to a test class, annotate the class with + * <code> + * @Listeners({org.rhq.helpers.perftest.support.testng.DatabaseSetupInterceptor.class}) + * </code> + * * @author Lukas Krejci */ public class DatabaseSetupInterceptor implements IInvokedMethodListener { diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java index afb0580..aaa216b 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java @@ -25,16 +25,28 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target;
/** - * + * An annotation to associate a test method with a required state of the database. + * * @author Lukas Krejci */ @Retention(value = RetentionPolicy.RUNTIME) @Target(value = { ElementType.METHOD }) public @interface DatabaseState {
+ /** + * The location of the database state export file. + */ String url(); - + + /** + * Where is the export file accessible from (defaults to {@link DatabaseStateStorage#CLASSLOADER}). + */ DatabaseStateStorage storage() default DatabaseStateStorage.CLASSLOADER;
+ /** + * The name of the method to provide a JDBC connection object. + * If the method is not specified, the value of the {@link ConnectionProviderMethod} annotation + * is used. + */ String connectionProviderMethod() default ""; } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseStateStorage.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseStateStorage.java index bff3977..4ab2522 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseStateStorage.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseStateStorage.java @@ -20,9 +20,18 @@ package org.rhq.helpers.perftest.support.testng;
/** - * + * Specifies where is the database state export file locatable from. + * * @author Lukas Krejci */ public enum DatabaseStateStorage { - FILESYSTEM, CLASSLOADER + /** + * The export file is to be found in the file system. + */ + FILESYSTEM, + + /** + * The export file is to be found in the classloader resources. + */ + CLASSLOADER }
commit e701216af80af738dca71d96312a7d98cb40b15d Author: Lukas Krejci lkrejci@redhat.com Date: Tue Sep 7 16:31:56 2010 +0200
added support for the correct insertion order of self-dependent tables.
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipFilter.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipFilter.java index d03a4f8..3ee2e57 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipFilter.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipFilter.java @@ -59,12 +59,12 @@ import org.rhq.helpers.perftest.support.jpa.mapping.RelationshipTranslation; public class EntityRelationshipFilter extends DatabaseSequenceFilter {
private ColumnValuesTableMap resolvedPks; - + //we need to compute the resolvedPks *AND* provide the tables necessary for inclusion //to the super-constructor. Use this hack to help store away the resolution for initialization //until after the super constructor call. private static final ThreadLocal<ColumnValuesTableMap> RESOLUTION_IN_CONSTRUCTOR = new ThreadLocal<ColumnValuesTableMap>(); - + public EntityRelationshipFilter(IDatabaseConnection connection, Map<Class<?>, Set<ColumnValues>> allowedPks, DependencyInclusionResolver inclusionResolver) throws DataSetException, SQLException { super(connection, getNeccesaryTablesAndSetResolution(connection, inclusionResolver, allowedPks)); @@ -76,30 +76,34 @@ public class EntityRelationshipFilter extends DatabaseSequenceFilter { return new EntityRelationshipTableIterator(super.iterator(dataSet, reversed), resolvedPks); }
- private static String[] getNeccesaryTablesAndSetResolution(IDatabaseConnection connection, DependencyInclusionResolver inclusionResolver, Map<Class<?>, Set<ColumnValues>> primaryPks) throws SQLException { - ColumnValuesTableMap resolution = resolve(connection, inclusionResolver, primaryPks); + private static String[] getNeccesaryTablesAndSetResolution(IDatabaseConnection connection, + DependencyInclusionResolver inclusionResolver, Map<Class<?>, Set<ColumnValues>> primaryPks) throws SQLException { + ColumnValuesTableMap resolution = resolve(connection, inclusionResolver, primaryPks); RESOLUTION_IN_CONSTRUCTOR.set(resolution); - + Set<String> tables = new HashSet<String>(); - - for(String t : resolution.keySet()) { + + for (String t : resolution.keySet()) { tables.add(t.toLowerCase()); } return tables.toArray(new String[tables.size()]); } - - private static ColumnValuesTableMap resolve(IDatabaseConnection connection, DependencyInclusionResolver inclusionResolver, Map<Class<?>, Set<ColumnValues>> primaryPks) throws SQLException { + + private static ColumnValuesTableMap resolve(IDatabaseConnection connection, + DependencyInclusionResolver inclusionResolver, Map<Class<?>, Set<ColumnValues>> primaryPks) throws SQLException { ColumnValuesTableMap resolution = new ColumnValuesTableMap();
EntityDependencyGraph edg = new EntityDependencyGraph(); edg.addEntities(primaryPks.keySet()); - + resolvePks(connection, edg, inclusionResolver, primaryPks, resolution); - + return resolution; } - - private static void resolvePks(IDatabaseConnection connection, EntityDependencyGraph edg, DependencyInclusionResolver inclusionResolver, Map<Class<?>, Set<ColumnValues>> primaryPks, ColumnValuesTableMap resolvedPks) throws SQLException { + + private static void resolvePks(IDatabaseConnection connection, EntityDependencyGraph edg, + DependencyInclusionResolver inclusionResolver, Map<Class<?>, Set<ColumnValues>> primaryPks, + ColumnValuesTableMap resolvedPks) throws SQLException { for (Map.Entry<Class<?>, Set<ColumnValues>> entry : primaryPks.entrySet()) { Node node = edg.getNode(entry.getKey()); Set<ColumnValues> pks = entry.getValue(); @@ -122,7 +126,8 @@ public class EntityRelationshipFilter extends DatabaseSequenceFilter { } }
- private static void resolvePks(IDatabaseConnection connection, DependencyInclusionResolver inclusionResolver, Node node, Set<ColumnValues> nodePks, ColumnValuesTableMap resolvedPks) throws SQLException { + private static void resolvePks(IDatabaseConnection connection, DependencyInclusionResolver inclusionResolver, + Node node, Set<ColumnValues> nodePks, ColumnValuesTableMap resolvedPks) throws SQLException { Set<ColumnValues> unresolvedPks;
Set<ColumnValues> resolvedTablePks = resolvedPks.get(node.getTranslation().getTableName()); @@ -154,9 +159,7 @@ public class EntityRelationshipFilter extends DatabaseSequenceFilter { }
if (unresolvedPks != null) { - if (!unresolvedPks.isEmpty()) { - resolvedPks.getOrCreate(node.getTranslation().getTableName()).addAll(unresolvedPks); - } else { + if (unresolvedPks.isEmpty()) { //there are no data to include for this table. bale out. return; } @@ -164,33 +167,35 @@ public class EntityRelationshipFilter extends DatabaseSequenceFilter { resolvedPks.put(node.getTranslation().getTableName(), null); }
- for (Edge e : node.getEdges()) { - if (e.getFrom() == node) { - //only include the dependents if the relationship - //is actually defined on the entity (i.e. don't include - //"back-references", like combined @JoinColumn @ManyToOne defined only on the target - //entity - if (e.getFromField() != null && inclusionResolver.isValid(e)) { - Set<ColumnValues> dependentPks = resolveDependentPks(connection, e, unresolvedPks, resolvedPks); - resolvePks(connection, inclusionResolver, e.getTo(), dependentPks, resolvedPks); - } else { - //add nothing or create a new record for this table - //this will mark it as "done" - resolvedPks.getOrCreate(e.getTo().getTranslation().getTableName()); - } + for (Edge e : node.getIncomingEdges()) { + if (e.getToField() != null) { + Set<ColumnValues> dependingPks = resolveDependingPks(connection, e, unresolvedPks, resolvedPks); + resolvePks(connection, inclusionResolver, e.getFrom(), dependingPks, resolvedPks); } else { - if (e.getToField() != null) { - Set<ColumnValues> dependingPks = resolveDependingPks(connection, e, unresolvedPks, resolvedPks); - resolvePks(connection, inclusionResolver, e.getFrom(), dependingPks, resolvedPks); - } else { - resolvedPks.getOrCreate(e.getFrom().getTranslation().getTableName()); - } + resolvedPks.getOrCreate(e.getFrom().getTranslation().getTableName()); + } + } + + resolvedPks.getOrCreate(node.getTranslation().getTableName()).addAll(unresolvedPks); + + for (Edge e : node.getOutgoingEdges()) { + //only include the dependents if the relationship + //is actually defined on the entity (i.e. don't include + //"back-references", like combined @JoinColumn @ManyToOne defined only on the target + //entity + if (e.getFromField() != null && inclusionResolver.isValid(e)) { + Set<ColumnValues> dependentPks = resolveDependentPks(connection, e, unresolvedPks, resolvedPks); + resolvePks(connection, inclusionResolver, e.getTo(), dependentPks, resolvedPks); + } else { + //add nothing or create a new record for this table + //this will mark it as "done" + resolvedPks.getOrCreate(e.getTo().getTranslation().getTableName()); } } }
- private static Set<ColumnValues> - resolveDependentPks(IDatabaseConnection connection, Edge edge, Set<ColumnValues> fromPks, ColumnValuesTableMap resolvedPks) throws SQLException { + private static Set<ColumnValues> resolveDependentPks(IDatabaseConnection connection, Edge edge, + Set<ColumnValues> fromPks, ColumnValuesTableMap resolvedPks) throws SQLException {
RelationshipTranslation translation = edge.getTranslation();
@@ -223,8 +228,8 @@ public class EntityRelationshipFilter extends DatabaseSequenceFilter { translation.getRelationTableFromColumns().length, translation.getRelationTableToColumns().length);
if (fromPks != null) { - Set<ColumnValues> fromAndToValues = getValuesFromTable(connection, translation.getRelationTable(), fromAndToCols, - columnValues); + Set<ColumnValues> fromAndToValues = getValuesFromTable(connection, translation.getRelationTable(), + fromAndToCols, columnValues);
//add the relation table to the resolvedPks using fromAndToValues as its primary keys resolvedPks.getOrCreate(translation.getRelationTable()).addAll(fromAndToValues); @@ -253,8 +258,8 @@ public class EntityRelationshipFilter extends DatabaseSequenceFilter { }
//get the values of the "fromColumns" of the relation from the "from" table - Set<ColumnValues> columnValues = getValuesFromTable(connection, edge.getFrom().getTranslation().getTableName(), - translation.getFromColumns(), fromPks); + Set<ColumnValues> columnValues = getValuesFromTable(connection, edge.getFrom().getTranslation() + .getTableName(), translation.getFromColumns(), fromPks);
//now change the names of the columns in columnValues to correspond to the ones //in the "to" table (this assumes that the columns in fromColumns and toColumns @@ -265,15 +270,15 @@ public class EntityRelationshipFilter extends DatabaseSequenceFilter { } }
- Set<ColumnValues> ret = getValuesFromTable(connection, edge.getTo().getTranslation().getTableName(), edge.getTo() - .getTranslation().getPkColumns(), columnValues); + Set<ColumnValues> ret = getValuesFromTable(connection, edge.getTo().getTranslation().getTableName(), edge + .getTo().getTranslation().getPkColumns(), columnValues);
return removeValuesWithNullColumn(ret); } }
- private static Set<ColumnValues> resolveDependingPks(IDatabaseConnection connection, Edge edge, Set<ColumnValues> toPks, ColumnValuesTableMap resolvedPks) - throws SQLException { + private static Set<ColumnValues> resolveDependingPks(IDatabaseConnection connection, Edge edge, + Set<ColumnValues> toPks, ColumnValuesTableMap resolvedPks) throws SQLException {
RelationshipTranslation translation = edge.getTranslation();
@@ -283,8 +288,8 @@ public class EntityRelationshipFilter extends DatabaseSequenceFilter { }
//get the foreign keys in the "to" table - Set<ColumnValues> columnValues = getValuesFromTable(connection, edge.getTo().getTranslation().getTableName(), - translation.getToColumns(), toPks); + Set<ColumnValues> columnValues = getValuesFromTable(connection, edge.getTo().getTranslation() + .getTableName(), translation.getToColumns(), toPks);
//now rename the foreign keys to their foreign key counterparts in the "from" table for (int i = 0; i < translation.getFromColumns().length; ++i) { @@ -295,8 +300,8 @@ public class EntityRelationshipFilter extends DatabaseSequenceFilter {
//now translate the foreign keys into primary keys EntityTranslation fromTranslation = edge.getFrom().getTranslation(); - columnValues = getValuesFromTable(connection, fromTranslation.getTableName(), fromTranslation.getPkColumns(), - removeValuesWithNullColumn(columnValues)); + columnValues = getValuesFromTable(connection, fromTranslation.getTableName(), + fromTranslation.getPkColumns(), removeValuesWithNullColumn(columnValues));
return removeValuesWithNullColumn(columnValues); } else { @@ -400,8 +405,8 @@ public class EntityRelationshipFilter extends DatabaseSequenceFilter { return bld.substring(1); }
- private static Set<ColumnValues> getValuesFromTable(IDatabaseConnection connection, String tableName, String[] valueColumns, - Set<ColumnValues> knownlColumns) throws SQLException { + private static Set<ColumnValues> getValuesFromTable(IDatabaseConnection connection, String tableName, + String[] valueColumns, Set<ColumnValues> knownlColumns) throws SQLException { //I know, doing this one by one is super lame, but prevents the 1000 IN clause members limit of Oracle StringBuilder sqlCommon = new StringBuilder("SELECT ").append(colNamesToSql(valueColumns)).append(" FROM ") .append(tableName).append(" WHERE "); diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipTableIterator.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipTableIterator.java index 841cd4e..52433fa 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipTableIterator.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipTableIterator.java @@ -20,7 +20,7 @@ package org.rhq.helpers.perftest.support.dbunit;
import java.util.ArrayList; -import java.util.HashSet; +import java.util.LinkedHashSet; import java.util.List; import java.util.Set;
@@ -131,19 +131,24 @@ public class EntityRelationshipTableIterator implements ITableIterator { if (pks.isEmpty()) { return ret; } - - ColumnValues sample = pks.iterator().next();
- for (int i = 0; i < table.getRowCount(); ++i) { - ColumnValues rowValues = new ColumnValues(); - for (ColumnValues.Column c : sample) { - Object val = table.getValue(i, c.getName()); - rowValues.add(c.getName(), val); + //now this is extremely inefficient, but retains the order of the pks + //as defined in the pks set (which is a linked hash set) + for (ColumnValues pk : pks) { + for (int i = 0; i < table.getRowCount(); ++i) { + boolean add = true; + for (ColumnValues.Column c : pk) { + Object val = table.getValue(i, c.getName()); + if (c.getValue() == null ? val != null : !c.getValue().equals(val)) { + add = false; + break; + } + } + + if (add) { + ret.add(i); + } } - - if (pks.contains(rowValues)) { - ret.add(i); - } }
return ret; diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/ColumnValuesTableMap.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/ColumnValuesTableMap.java index d6e669a..dbfc5f9 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/ColumnValuesTableMap.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/ColumnValuesTableMap.java @@ -20,7 +20,6 @@ package org.rhq.helpers.perftest.support.jpa.mapping;
import java.util.HashMap; -import java.util.HashSet; import java.util.LinkedHashSet; import java.util.Set;
commit 243851e9977a462f7d958b31b6136d2c648126b7 Author: Lukas Krejci lkrejci@redhat.com Date: Tue Sep 7 15:31:39 2010 +0200
remove the original data gen code.
diff --git a/modules/helpers/perftest-data-gen/install_files.sh b/modules/helpers/perftest-data-gen/install_files.sh deleted file mode 100644 index 3513612..0000000 --- a/modules/helpers/perftest-data-gen/install_files.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -set -x - -pwd - -if [ ! -d ../../enterprise/server/jar/src/test/resources/perftest/ ] -then - mkdir -p ../../enterprise/server/jar/src/test/resources/perftest/ -fi -cp target/*.csv ../../enterprise/server/jar/src/test/resources/perftest/ diff --git a/modules/helpers/perftest-data-gen/pom.xml b/modules/helpers/perftest-data-gen/pom.xml deleted file mode 100644 index b9dafce..0000000 --- a/modules/helpers/perftest-data-gen/pom.xml +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd%22%3E - <parent> - <artifactId>rhq-helpers</artifactId> - <groupId>org.rhq.helpers</groupId> - <version>4.0.0-SNAPSHOT</version> - </parent> - <modelVersion>4.0.0</modelVersion> - - <name>Perftest-data-gen</name> - <groupId>org.rhq.helpers</groupId> - <artifactId>perftest-data-gen</artifactId> - <version>4.0.0-SNAPSHOT</version> - <description>Create performance unit test csv files from database</description> - - - <dependencies> - <dependency> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - <version>${commons-logging.version}</version> - </dependency> - - <dependency> - <groupId>net.sf.opencsv</groupId> - <artifactId>opencsv</artifactId> - <version>2.0</version> - </dependency> - <dependency> - <groupId>org.rhq</groupId> - <artifactId>rhq-core-dbutils</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>postgresql</groupId> - <artifactId>postgresql</artifactId> - <version>${postgresql.version}</version> - </dependency> - </dependencies> - -</project> \ No newline at end of file diff --git a/modules/helpers/perftest-data-gen/src/main/java/org/rhq/etc/perftestDataGen/DataGen.java b/modules/helpers/perftest-data-gen/src/main/java/org/rhq/etc/perftestDataGen/DataGen.java deleted file mode 100644 index f51973f..0000000 --- a/modules/helpers/perftest-data-gen/src/main/java/org/rhq/etc/perftestDataGen/DataGen.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - * RHQ Management Platform - * Copyright (C) 2005-2010 Red Hat, Inc. - * All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ -package org.rhq.etc.perftestDataGen; - -import java.io.File; -import java.io.FileWriter; -import java.sql.Connection; -import java.sql.ResultSet; -import java.sql.Statement; - -import au.com.bytecode.opencsv.CSVWriter; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -import org.rhq.core.db.DbUtil; - -/** - * // TODO: Document this - * @author Heiko W. Rupp - */ -public class DataGen { - - private final Log log = LogFactory.getLog(DataGen.class); - private static final String TARGET = "target/"; - private static final String DOTCSV = ".csv"; - - private static final String[][] props = {// - // filename , table , columns , oderby column - {"agents","RHQ_Agent","id,name,address,port,agenttoken,remote_endpoint","id"}, - {"plugins","RHQ_Plugin","id,name,display_name,version,amps_version,path,md5","id"}, - {"resourceTypes","RHQ_resource_type","id,name,category,plugin","id"}, - {"parentResourceTypes","RHQ_RESOURCE_TYPE_PARENTS","resource_type_id,parent_resource_type_id",null}, - {"resources","RHQ_resource","id,uuid,resource_key,name,resource_type_id,parent_resource_id","id"} // TODO child resources? - }; - - public static void main(String[] args) { - - DataGen dg = new DataGen(); - - dg.run(args); - } - - private void run(String[] args) { - - if (args.length<3) { - System.err.println("Usage: DataGen jdbcurl user pass"); - return; - } - - - String url = args[0]; - String user = args[1]; - String pass = args[2]; - - try { - Connection conn = DbUtil.getConnection(url,user,pass); - - for (String[] prop : props) { - exportTable(conn, prop); - } - } catch (Exception e) { - e.printStackTrace(); - } - } - - private void exportTable(Connection conn, String[] prop) throws Exception { - - String fileName = prop[0]; - String tableName = prop[1]; - String columns = prop[2]; - String orderBy = prop[3]; - - - File agents = new File(TARGET + fileName + DOTCSV); - System.out.println("Writing file: " + agents.getAbsolutePath()); - CSVWriter writer = new CSVWriter(new FileWriter(agents)); - Statement stm = conn.createStatement(); - String query = "SELECT " + columns + " FROM " + tableName ; - if (orderBy!=null) { - query += " ORDER BY " + orderBy + " ASC"; - } - System.out.println(" using query: [" + query + "]"); - System.out.flush(); - ResultSet rs = stm.executeQuery(query); - writer.writeAll(rs,true); - rs.close(); - writer.close(); - stm.close(); - - } -} diff --git a/modules/helpers/perftest-support/hs_err_pid10752.log b/modules/helpers/perftest-support/hs_err_pid10752.log deleted file mode 100644 index 2f17c72..0000000 --- a/modules/helpers/perftest-support/hs_err_pid10752.log +++ /dev/null @@ -1,266 +0,0 @@ -# -# A fatal error has been detected by the Java Runtime Environment: -# -# SIGSEGV (0xb) at pc=0xb701d3ec, pid=10752, tid=1905032048 -# -# JRE version: 6.0_20-b02 -# Java VM: Java HotSpot(TM) Server VM (16.3-b01 mixed mode linux-x86 ) -# Problematic frame: -# V [libjvm.so+0x4813ec] -# -# If you would like to submit a bug report, please visit: -# http://java.sun.com/webapps/bugreport/crash.jsp -# - ---------------- T H R E A D --------------- - -Current thread (0xb6a9e000): JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_vm, id=10766, stack(0x71877000,0x718c8000)] - -siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0xd1b3e228 - -Registers: -EAX=0x08f7ed04, EBX=0xb72f51e0, ECX=0x00000000, EDX=0x722f0150 -ESP=0x718c6c60, EBP=0x718c6cc8, ESI=0x08f7dce8, EDI=0xb6a9e7e8 -EIP=0xb701d3ec, CR2=0xd1b3e228, EFLAGS=0x00010206 - -Top of Stack: (sp=0x718c6c60) -0x718c6c60: 718c6c8c b6a97410 b730b7e0 b6a9e84c -0x718c6c70: 722f0150 0000000c 08f7dce8 0000000f -0x718c6c80: 718c6c90 b6a9e000 718c6cb8 b6a9e850 -0x718c6c90: b6a9e000 b6a9e7c8 b6a9e7e0 b6a9e7e8 -0x718c6ca0: b6a9ebd4 718c7000 00000000 b7131694 -0x718c6cb0: b6f239d9 b72f51e0 00000000 b72f51e0 -0x718c6cc0: b6a04580 718c6cf0 718c6d38 b6fbb5e6 -0x718c6cd0: b6a04580 7249f5b8 718c6d58 718c6d54 - -Instructions: (pc=0xb701d3ec) -0xb701d3dc: 50 51 e8 1d 19 ee ff 8b 75 b0 8b 55 a8 83 c4 10 -0xb701d3ec: 89 04 96 8b 75 ac 8b 45 b4 46 89 75 ac 39 45 ac - -Stack: [0x71877000,0x718c8000], sp=0x718c6c60, free space=13f718c65f0k -Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) -V [libjvm.so+0x4813ec] -V [libjvm.so+0x41f5e6] -C [libjdwp.so+0x6a00] -C [libjdwp.so+0x6b20] -C [libjdwp.so+0x13143] -C [libjdwp.so+0x27fd5] -C [libjdwp.so+0x282d3] -V [libjvm.so+0x4988e9] -V [libjvm.so+0x64cfde] -V [libjvm.so+0x55f24e] -C [libpthread.so.0+0x6919] - - ---------------- P R O C E S S --------------- - -Java Threads: ( => current thread ) - 0xb6aa7400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10776, stack(0x71682000,0x716d3000)] - 0xb6aa4000 JavaThread "CompilerThread1" daemon [_thread_blocked, id=10775, stack(0x716d3000,0x71754000)] - 0xb6aa2400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10774, stack(0x71754000,0x717d5000)] - 0x08edac00 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=10769, stack(0x717d5000,0x71826000)] - 0xb6aa0800 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=10768, stack(0x71826000,0x71877000)] -=>0xb6a9e000 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_vm, id=10766, stack(0x71877000,0x718c8000)] - 0xb6a96000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10764, stack(0x718c8000,0x71919000)] - 0xb6a86000 JavaThread "Finalizer" daemon [_thread_blocked, id=10763, stack(0x71919000,0x7196a000)] - 0xb6a84800 JavaThread "Reference Handler" daemon [_thread_blocked, id=10762, stack(0x71c2e000,0x71c7f000)] - 0xb6a07400 JavaThread "main" [_thread_blocked, id=10757, stack(0xb6b4b000,0xb6b9c000)] - -Other Threads: - 0xb6a81c00 VMThread [stack: 0x71c7f000,0x71d00000] [id=10761] - 0xb6aa9000 WatcherThread [stack: 0x71601000,0x71682000] [id=10777] - -VM state:not at safepoint (normal execution) - -VM Mutex/Monitor currently owned by a thread: None - -Heap - PSYoungGen total 18304K, used 3195K [0x9f050000, 0xa04b0000, 0xb36f0000) - eden space 15744K, 20% used [0x9f050000,0x9f36ed30,0x9ffb0000) - from space 2560K, 0% used [0xa0230000,0xa0230000,0xa04b0000) - to space 2560K, 0% used [0x9ffb0000,0x9ffb0000,0xa0230000) - PSOldGen total 41856K, used 0K [0x762f0000, 0x78bd0000, 0x9f050000) - object space 41856K, 0% used [0x762f0000,0x762f0000,0x78bd0000) - PSPermGen total 16384K, used 2510K [0x722f0000, 0x732f0000, 0x762f0000) - object space 16384K, 15% used [0x722f0000,0x72563a70,0x732f0000) - -Dynamic libraries: -008bd000-008db000 r-xp 00000000 fd:01 16965 /lib/ld-2.12.so -008db000-008dc000 r-xp 0001d000 fd:01 16965 /lib/ld-2.12.so -008dc000-008dd000 rwxp 0001e000 fd:01 16965 /lib/ld-2.12.so -008df000-00a64000 r-xp 00000000 fd:01 17044 /lib/libc-2.12.so -00a64000-00a65000 ---p 00185000 fd:01 17044 /lib/libc-2.12.so -00a65000-00a67000 r-xp 00185000 fd:01 17044 /lib/libc-2.12.so -00a67000-00a68000 rwxp 00187000 fd:01 17044 /lib/libc-2.12.so -00a68000-00a6b000 rwxp 00000000 00:00 0 -00a6d000-00a95000 r-xp 00000000 fd:01 71600 /lib/libm-2.12.so -00a95000-00a96000 r-xp 00027000 fd:01 71600 /lib/libm-2.12.so -00a96000-00a97000 rwxp 00028000 fd:01 71600 /lib/libm-2.12.so -00a99000-00a9c000 r-xp 00000000 fd:01 23961 /lib/libdl-2.12.so -00a9c000-00a9d000 r-xp 00002000 fd:01 23961 /lib/libdl-2.12.so -00a9d000-00a9e000 rwxp 00003000 fd:01 23961 /lib/libdl-2.12.so -00aa0000-00ab7000 r-xp 00000000 fd:01 20003 /lib/libpthread-2.12.so -00ab7000-00ab8000 r-xp 00016000 fd:01 20003 /lib/libpthread-2.12.so -00ab8000-00ab9000 rwxp 00017000 fd:01 20003 /lib/libpthread-2.12.so -00ab9000-00abb000 rwxp 00000000 00:00 0 -00ad2000-00ad9000 r-xp 00000000 fd:01 44483 /lib/librt-2.12.so -00ad9000-00ada000 r-xp 00006000 fd:01 44483 /lib/librt-2.12.so -00ada000-00adb000 rwxp 00007000 fd:01 44483 /lib/librt-2.12.so -0282b000-02842000 r-xp 00000000 fd:01 20600 /lib/libnsl-2.12.so -02842000-02843000 r-xp 00016000 fd:01 20600 /lib/libnsl-2.12.so -02843000-02844000 rwxp 00017000 fd:01 20600 /lib/libnsl-2.12.so -02844000-02846000 rwxp 00000000 00:00 0 -08048000-08052000 r-xp 00000000 fd:01 2107316 /home/metlos/Progs/jdk1.6.0_20/bin/java -08052000-08053000 rwxp 00009000 fd:01 2107316 /home/metlos/Progs/jdk1.6.0_20/bin/java -08ed9000-08fa1000 rwxp 00000000 00:00 0 [heap] -71300000-713c4000 rwxp 00000000 00:00 0 -713c4000-71400000 ---p 00000000 00:00 0 -71493000-71500000 r-xs 0048c000 fd:01 551714 /home/metlos/.m2/repository/com/google/gwt/gwt-user/2.0.3/gwt-user-2.0.3.jar -71500000-715fd000 rwxp 00000000 00:00 0 -715fd000-71600000 ---p 00000000 00:00 0 -71601000-71602000 ---p 00000000 00:00 0 -71602000-71682000 rwxp 00000000 00:00 0 -71682000-71685000 ---p 00000000 00:00 0 -71685000-716d3000 rwxp 00000000 00:00 0 -716d3000-716d6000 ---p 00000000 00:00 0 -716d6000-71754000 rwxp 00000000 00:00 0 -71754000-71757000 ---p 00000000 00:00 0 -71757000-717d5000 rwxp 00000000 00:00 0 -717d5000-717d8000 ---p 00000000 00:00 0 -717d8000-71826000 rwxp 00000000 00:00 0 -71826000-71829000 ---p 00000000 00:00 0 -71829000-71877000 rwxp 00000000 00:00 0 -71877000-7187a000 ---p 00000000 00:00 0 -7187a000-718c8000 rwxp 00000000 00:00 0 -718c8000-718cb000 ---p 00000000 00:00 0 -718cb000-71919000 rwxp 00000000 00:00 0 -71919000-7191c000 ---p 00000000 00:00 0 -7191c000-7196a000 rwxp 00000000 00:00 0 -7196a000-71b00000 r-xs 02fd0000 fd:01 2109027 /home/metlos/Progs/jdk1.6.0_20/jre/lib/rt.jar -71b00000-71b21000 rwxp 00000000 00:00 0 -71b21000-71c00000 ---p 00000000 00:00 0 -71c29000-71c2c000 r-xs 0000a000 fd:01 365242 /home/metlos/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar -71c2c000-71c2e000 r-xs 0000e000 fd:01 363886 /home/metlos/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar -71c2e000-71c31000 ---p 00000000 00:00 0 -71c31000-71c7f000 rwxp 00000000 00:00 0 -71c7f000-71c80000 ---p 00000000 00:00 0 -71c80000-71d00000 rwxp 00000000 00:00 0 -71d00000-71d21000 rwxp 00000000 00:00 0 -71d21000-71e00000 ---p 00000000 00:00 0 -71e00000-71e02000 r-xs 00004000 fd:01 363882 /home/metlos/.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar -71e02000-71e05000 r-xs 00013000 fd:01 363879 /home/metlos/.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar -71e05000-71e26000 r-xs 00208000 fd:01 365233 /home/metlos/.m2/repository/hibernate/hibernate3/3.2.r14201-2/hibernate3-3.2.r14201-2.jar -71e26000-71e28000 r-xs 0000e000 fd:01 1835099 /home/metlos/.m2/repository/i18nlog/i18nlog/1.0.10/i18nlog-1.0.10.jar -71e28000-71e2e000 r-xs 0006e000 fd:01 530888 /home/metlos/.m2/repository/postgresql/postgresql/8.4-701.jdbc3/postgresql-8.4-701.jdbc3.jar -71e2e000-71e3b000 r-xs 000c4000 fd:01 262976 /home/metlos/.m2/repository/org/testng/testng/5.9/testng-5.9-jdk15.jar -71e3b000-71e49000 r-xs 0007f000 fd:01 365637 /home/metlos/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar -71e49000-71e7c000 rwxp 00000000 00:00 0 -71e7c000-71e7d000 ---p 00000000 00:00 0 -71e7d000-71efd000 rwxp 00000000 00:00 0 -71efd000-71efe000 ---p 00000000 00:00 0 -71efe000-71f86000 rwxp 00000000 00:00 0 -71f86000-71f9e000 rwxp 00000000 00:00 0 -71f9e000-71fb3000 rwxp 00000000 00:00 0 -71fb3000-720e5000 rwxp 00000000 00:00 0 -720e5000-720ed000 rwxp 00000000 00:00 0 -720ed000-72105000 rwxp 00000000 00:00 0 -72105000-7211a000 rwxp 00000000 00:00 0 -7211a000-7224b000 rwxp 00000000 00:00 0 -7224b000-72256000 rwxp 00000000 00:00 0 -72256000-722ef000 rwxp 00000000 00:00 0 -722ef000-732f0000 rwxp 00000000 00:00 0 -732f0000-762f0000 rwxp 00000000 00:00 0 -762f0000-78bd0000 rwxp 00000000 00:00 0 -78bd0000-9f050000 rwxp 00000000 00:00 0 -9f050000-a04b0000 rwxp 00000000 00:00 0 -a04b0000-b36f0000 rwxp 00000000 00:00 0 -b36f1000-b36f4000 r-xs 00023000 fd:01 362729 /home/metlos/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar -b36f4000-b36f7000 r-xs 0001b000 fd:01 363895 /home/metlos/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar -b36f7000-b3700000 rwxp 00000000 00:00 0 -b3700000-b37b7000 rwxp 00000000 00:00 0 -b37b7000-b39f7000 rwxp 00000000 00:00 0 -b39f7000-b67b7000 rwxp 00000000 00:00 0 -b67b7000-b67c3000 r-xp 00000000 fd:01 42253 /lib/libnss_files-2.12.so -b67c3000-b67c4000 r-xp 0000b000 fd:01 42253 /lib/libnss_files-2.12.so -b67c4000-b67c5000 rwxp 0000c000 fd:01 42253 /lib/libnss_files-2.12.so -b67c5000-b69c5000 r-xp 00000000 fd:01 79711 /usr/lib/locale/locale-archive -b69c5000-b69ff000 r-xp 00000000 fd:01 2104785 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libjdwp.so -b69ff000-b6a00000 rwxp 00039000 fd:01 2104785 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libjdwp.so -b6a00000-b6aff000 rwxp 00000000 00:00 0 -b6aff000-b6b00000 ---p 00000000 00:00 0 -b6b00000-b6b01000 r-xs 00001000 fd:01 2257666 /home/metlos/.m2/repository/org/slf4j/slf4j-jcl/1.5.6/slf4j-jcl-1.5.6.jar -b6b01000-b6b03000 r-xs 0000c000 fd:01 363873 /home/metlos/.m2/repository/commons-logging/commons-logging/1.1.0.jboss/commons-logging-1.1.0.jboss.jar -b6b03000-b6b0d000 r-xs 00085000 fd:01 1720803 /home/metlos/.m2/repository/org/dbunit/dbunit/2.4.7/dbunit-2.4.7.jar -b6b0d000-b6b1c000 r-xp 00000000 fd:01 2104728 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libzip.so -b6b1c000-b6b1e000 rwxp 0000e000 fd:01 2104728 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libzip.so -b6b1e000-b6b26000 rwxs 00000000 fd:01 2765120 /tmp/hsperfdata_metlos/10752 -b6b26000-b6b49000 r-xp 00000000 fd:01 2104718 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libjava.so -b6b49000-b6b4b000 rwxp 00023000 fd:01 2104718 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libjava.so -b6b4b000-b6b4e000 ---p 00000000 00:00 0 -b6b4e000-b6b9c000 rwxp 00000000 00:00 0 -b6b9c000-b72a8000 r-xp 00000000 fd:01 2104699 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/server/libjvm.so -b72a8000-b72f9000 rwxp 0070b000 fd:01 2104699 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/server/libjvm.so -b72f9000-b7719000 rwxp 00000000 00:00 0 -b7719000-b7720000 r-xp 00000000 fd:01 2104726 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/jli/libjli.so -b7720000-b7722000 rwxp 00006000 fd:01 2104726 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/jli/libjli.so -b7722000-b7723000 r-xs 0000d000 fd:01 366079 /home/metlos/.m2/repository/gnu-getopt/getopt/1.0.13/getopt-1.0.13.jar -b7723000-b7725000 r-xs 00004000 fd:01 902240 /home/metlos/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar -b7725000-b7728000 r-xp 00000000 fd:01 2104786 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libdt_socket.so -b7728000-b7729000 rwxp 00003000 fd:01 2104786 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libdt_socket.so -b7729000-b772c000 r-xp 00000000 fd:01 2104729 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libnpt.so -b772c000-b772d000 rwxp 00002000 fd:01 2104729 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libnpt.so -b772d000-b7733000 r-xp 00000000 fd:01 2104697 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/native_threads/libhpi.so -b7733000-b7734000 rwxp 00006000 fd:01 2104697 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/native_threads/libhpi.so -b7734000-b7735000 rwxp 00000000 00:00 0 -b7735000-b7736000 r-xp 00000000 00:00 0 -b7736000-b7741000 r-xp 00000000 fd:01 2104716 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libverify.so -b7741000-b7742000 rwxp 0000b000 fd:01 2104716 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libverify.so -b7742000-b7743000 rwxp 00000000 00:00 0 -b7743000-b7744000 r-xp 00000000 00:00 0 [vdso] -bfae5000-bfafb000 rwxp 00000000 00:00 0 [stack] - -VM Arguments: -jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:36513 -Dfile.encoding=UTF-8 -java_command: org.rhq.helpers.perftest.support.EntityDependencyGraph -Launcher Type: SUN_STANDARD - -Environment Variables: -JAVA_HOME=/home/metlos/Progs/jdk1.6.0_14 -PATH=/home/metlos/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/RealPlayer11:/home/metlos/Progs/java6/bin:/home/metlos/bin:/home/metlos/Progs/jdk1.6.0_14/bin -LD_LIBRARY_PATH=/home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/server:/home/metlos/Progs/jdk1.6.0_20/jre/lib/i386:/home/metlos/Progs/jdk1.6.0_20/jre/../lib/i386:/home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/client:/home/metlos/Progs/jdk1.6.0_20/jre/lib/i386:/usr/lib/xulrunner-1.9.2:/usr/lib/xulrunner-1.9.2 -SHELL=/bin/bash -DISPLAY=:0.0 - -Signal Handlers: -SIGSEGV: [libjvm.so+0x68d5c0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGBUS: [libjvm.so+0x68d5c0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGFPE: [libjvm.so+0x55cb30], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGPIPE: [libjvm.so+0x55cb30], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGXFSZ: [libjvm.so+0x55cb30], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGILL: [libjvm.so+0x55cb30], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 -SIGUSR2: [libjvm.so+0x55f770], sa_mask[0]=0x00000004, sa_flags=0x10000004 -SIGHUP: [libjvm.so+0x55f4a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGINT: [libjvm.so+0x55f4a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGTERM: [libjvm.so+0x55f4a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGQUIT: [libjvm.so+0x55f4a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 - - ---------------- S Y S T E M --------------- - -OS:Fedora release 13 (Goddard) - -uname:Linux 2.6.33.8-149.fc13.i686.PAE #1 SMP Tue Aug 17 22:39:27 UTC 2010 i686 -libc:glibc 2.12 NPTL 2.12 -rlimit: STACK 10240k, CORE 0k, NPROC 1024, NOFILE 1024, AS infinity -load average:0.19 0.34 0.37 - -CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1 - -Memory: 4k page, physical 4014072k(133448k free), swap 5111800k(5111668k free) - -vm_info: Java HotSpot(TM) Server VM (16.3-b01) for linux-x86 JRE (1.6.0_20-b02), built on Apr 12 2010 13:58:11 by "java_re" with gcc 3.2.1-7a (J2SE release) - -time: Fri Aug 27 12:46:44 2010 -elapsed time: 2686 seconds -
commit e685193cc11819f33d7d6c6f9dafc66016e55ff6 Author: Lukas Krejci lkrejci@redhat.com Date: Tue Sep 7 15:31:14 2010 +0200
remove the temporary file.
diff --git a/modules/helpers/perftest-support/tmp.xml b/modules/helpers/perftest-support/tmp.xml deleted file mode 100644 index 88dc891..0000000 --- a/modules/helpers/perftest-support/tmp.xml +++ /dev/null @@ -1,3731 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<dataset> - <rhq_bundle_type id="10001" name="File Template Bundle" resource_type_id="10166"/> - <rhq_bundle_type id="10002" name="Ant Bundle" resource_type_id="10196"/> - <rhq_event_def id="10001" resource_type_id="10001" name="SnmpTrap" display_name="Snmp Trap" description="One single incoming trap"/> - <rhq_event_def id="10002" resource_type_id="10004" name="TwitterEvent" display_name="Twitter Event" description="%NULL%"/> - <rhq_event_def id="10003" resource_type_id="10005" name="FeedEvent" display_name="Feed Event" description="%NULL%"/> - <rhq_event_def id="10004" resource_type_id="10007" name="Event Log" display_name="Event Log" description="Windows event log"/> - <rhq_event_def id="10005" resource_type_id="10008" name="Event Log" display_name="Event Log" description="Syslog event logs"/> - <rhq_event_def id="10006" resource_type_id="10009" name="Event Log" display_name="Event Log" description="Syslog event logs"/> - <rhq_event_def id="10007" resource_type_id="10013" name="Event Log" display_name="Event Log" description="Syslog event logs"/> - <rhq_event_def id="10008" resource_type_id="10048" name="logEntry" display_name="Log Entry" description="a log message"/> - <rhq_event_def id="10009" resource_type_id="10063" name="logEntry" display_name="Log Entry" description="an entry was appended to a log file"/> - <rhq_event_def id="10010" resource_type_id="10121" name="logEntry" display_name="Log Entry" description="an entry in a log file"/> - <rhq_event_def id="10011" resource_type_id="10190" name="errorLogEntry" display_name="Error Log Entry" description="an entry in the error log file"/> - <rhq_measurement_def id="10001" resource_type_id="10001" name="trap_count" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Trap_count" display_order="1" description="Trap_count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10002" resource_type_id="10001" name="trap_count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Trap_count per Minute" display_order="2" description="Trap_count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10003" resource_type_id="10003" name="lastSuccessfulBuildNumber" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Last Successful Build Number" display_order="1" description="Last Successful Build Number" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10004" resource_type_id="10003" name="lastSuccessfulBuildTime" resource_version_range="%NULL%" category="1" units="14" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Last Successful Build Time" display_order="2" description="Last Successful Build Time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10005" resource_type_id="10003" name="lastBuildNumber" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Last Build Number" display_order="3" description="Last Build Number" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10006" resource_type_id="10003" name="lastBuildTime" resource_version_range="%NULL%" category="1" units="14" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Last Build Time" display_order="4" description="Last Build Time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10007" resource_type_id="10003" name="lastBuildResult" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Last Build Result" display_order="5" description="Last Build Result" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10008" resource_type_id="10003" name="healthScore" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Health Score" display_order="6" description="Health Score" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10009" resource_type_id="10003" name="lastBuildDuration" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Last Build Duration" display_order="7" description="Last Build Duration" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10010" resource_type_id="10004" name="tweetCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Tweet count" display_order="1" description="Number of new tweets since last poll" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10011" resource_type_id="10004" name="followerCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="14400000" display_name="Follower count" display_order="2" description="Number of followers" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10012" resource_type_id="10005" name="tweetCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Tweet count" display_order="1" description="Number of new tweets since last poll" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10013" resource_type_id="10007" name="Native.MemoryInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Free Memory" display_order="1" description="The total free system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10014" resource_type_id="10007" name="Native.MemoryInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Memory" display_order="2" description="The total used system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10015" resource_type_id="10007" name="Native.MemoryInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Memory" display_order="3" description="The total system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10016" resource_type_id="10007" name="Native.SwapInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Free Swap Space" display_order="4" description="The total free system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10017" resource_type_id="10007" name="Native.SwapInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Swap Space" display_order="5" description="The total used system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10018" resource_type_id="10007" name="Native.SwapInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Swap Space" display_order="6" description="The total system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10019" resource_type_id="10007" name="CpuPerc.idle" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Idle" display_order="7" description="Idle percentage of all CPUs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10020" resource_type_id="10007" name="CpuPerc.sys" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="System Load" display_order="8" description="Percentage of all CPUs running in system mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10021" resource_type_id="10007" name="CpuPerc.user" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="User Load" display_order="9" description="Percentage of all CPUs running in user mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10022" resource_type_id="10007" name="CpuPerc.wait" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Wait Load" display_order="10" description="Percentage of all CPUs waiting on I/O" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10023" resource_type_id="10007" name="Trait.hostname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hostname" display_order="11" description="Name that this platform is known as" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10024" resource_type_id="10007" name="Trait.osname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Name" display_order="12" description="Name that the operating system is known as" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10025" resource_type_id="10007" name="Trait.osversion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Version" display_order="13" description="Version of the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10026" resource_type_id="10007" name="Trait.sysarch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Architecture" display_order="14" description="Hardware architecture of the platform" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10027" resource_type_id="10008" name="Native.MemoryInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Free Memory" display_order="1" description="The total free system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10028" resource_type_id="10008" name="Native.MemoryInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Memory" display_order="2" description="The total used system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10029" resource_type_id="10008" name="Native.MemoryInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Memory" display_order="3" description="The total system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10030" resource_type_id="10008" name="Native.SwapInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Free Swap Space" display_order="4" description="The total free system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10031" resource_type_id="10008" name="Native.SwapInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Swap Space" display_order="5" description="The total used system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10032" resource_type_id="10008" name="Native.SwapInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Swap Space" display_order="6" description="The total system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10033" resource_type_id="10008" name="CpuPerc.idle" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Idle" display_order="7" description="Idle percentage of all CPUs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10034" resource_type_id="10008" name="CpuPerc.sys" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="System Load" display_order="8" description="Percentage of all CPUs running in system mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10035" resource_type_id="10008" name="CpuPerc.user" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="User Load" display_order="9" description="Percentage of all CPUs running in user mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10036" resource_type_id="10008" name="CpuPerc.wait" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Wait Load" display_order="10" description="Percentage of all CPUs waiting on I/O" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10037" resource_type_id="10008" name="Trait.hostname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hostname" display_order="11" description="Name that this platform is known as" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10038" resource_type_id="10008" name="Trait.osname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Name" display_order="12" description="Name that the operating system is known as" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10039" resource_type_id="10008" name="Trait.osversion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Version" display_order="13" description="Version of the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10040" resource_type_id="10008" name="Trait.sysarch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Architecture" display_order="14" description="Hardware architecture of the platform" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10041" resource_type_id="10008" name="distro.name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Distribution Name" display_order="15" description="name of the Linux distribution" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10042" resource_type_id="10008" name="distro.version" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Distribution Version" display_order="16" description="version of the Linux distribution" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10043" resource_type_id="10009" name="Native.MemoryInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Free Memory" display_order="1" description="The total free system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10044" resource_type_id="10009" name="Native.MemoryInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Memory" display_order="2" description="The total used system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10045" resource_type_id="10009" name="Native.MemoryInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Memory" display_order="3" description="The total system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10046" resource_type_id="10009" name="Native.SwapInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Free Swap Space" display_order="4" description="The total free system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10047" resource_type_id="10009" name="Native.SwapInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Swap Space" display_order="5" description="The total used system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10048" resource_type_id="10009" name="Native.SwapInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Swap Space" display_order="6" description="The total system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10049" resource_type_id="10009" name="CpuPerc.idle" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Idle" display_order="7" description="Idle percentage of all CPUs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10050" resource_type_id="10009" name="CpuPerc.sys" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="System Load" display_order="8" description="Percentage of all CPUs running in system mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10051" resource_type_id="10009" name="CpuPerc.user" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="User Load" display_order="9" description="Percentage of all CPUs running in user mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10052" resource_type_id="10009" name="CpuPerc.wait" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Wait Load" display_order="10" description="Percentage of all CPUs waiting on I/O" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10053" resource_type_id="10009" name="Trait.hostname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hostname" display_order="11" description="Name that this platform is known as" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10054" resource_type_id="10009" name="Trait.osname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Name" display_order="12" description="Name that the operating system is known as" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10055" resource_type_id="10009" name="Trait.osversion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Version" display_order="13" description="Version of the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10056" resource_type_id="10009" name="Trait.sysarch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Architecture" display_order="14" description="Hardware architecture of the platform" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10057" resource_type_id="10010" name="Native.MemoryInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Free Memory" display_order="1" description="The total free system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10058" resource_type_id="10010" name="Native.MemoryInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Memory" display_order="2" description="The total used system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10059" resource_type_id="10010" name="Native.MemoryInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Memory" display_order="3" description="The total system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10060" resource_type_id="10010" name="Native.SwapInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Free Swap Space" display_order="4" description="The total free system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10061" resource_type_id="10010" name="Native.SwapInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Swap Space" display_order="5" description="The total used system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10062" resource_type_id="10010" name="Native.SwapInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Swap Space" display_order="6" description="The total system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10063" resource_type_id="10010" name="CpuPerc.idle" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Idle" display_order="7" description="Idle percentage of all CPUs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10064" resource_type_id="10010" name="CpuPerc.sys" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="System Load" display_order="8" description="Percentage of all CPUs running in system mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10065" resource_type_id="10010" name="CpuPerc.user" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="User Load" display_order="9" description="Percentage of all CPUs running in user mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10066" resource_type_id="10010" name="CpuPerc.wait" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Wait Load" display_order="10" description="Percentage of all CPUs waiting on I/O" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10067" resource_type_id="10010" name="Trait.hostname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hostname" display_order="11" description="Name that this platform is known as" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10068" resource_type_id="10010" name="Trait.osname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Name" display_order="12" description="Name that the operating system is known as" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10069" resource_type_id="10010" name="Trait.osversion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Version" display_order="13" description="Version of the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10070" resource_type_id="10010" name="Trait.sysarch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Architecture" display_order="14" description="Hardware architecture of the platform" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10071" resource_type_id="10011" name="Native.MemoryInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Free Memory" display_order="1" description="The total free system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10072" resource_type_id="10011" name="Native.MemoryInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Memory" display_order="2" description="The total used system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10073" resource_type_id="10011" name="Native.MemoryInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Memory" display_order="3" description="The total system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10074" resource_type_id="10011" name="Native.SwapInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Free Swap Space" display_order="4" description="The total free system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10075" resource_type_id="10011" name="Native.SwapInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Swap Space" display_order="5" description="The total used system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10076" resource_type_id="10011" name="Native.SwapInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Swap Space" display_order="6" description="The total system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10077" resource_type_id="10011" name="CpuPerc.idle" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Idle" display_order="7" description="Idle percentage of all CPUs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10078" resource_type_id="10011" name="CpuPerc.sys" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="System Load" display_order="8" description="Percentage of all CPUs running in system mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10079" resource_type_id="10011" name="CpuPerc.user" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="User Load" display_order="9" description="Percentage of all CPUs running in user mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10080" resource_type_id="10011" name="CpuPerc.wait" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Wait Load" display_order="10" description="Percentage of all CPUs waiting on I/O" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10081" resource_type_id="10011" name="Trait.hostname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hostname" display_order="11" description="Name that this platform is known as" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10082" resource_type_id="10011" name="Trait.osname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Name" display_order="12" description="Name that the operating system is known as" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10083" resource_type_id="10011" name="Trait.osversion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Version" display_order="13" description="Version of the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10084" resource_type_id="10011" name="Trait.sysarch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Architecture" display_order="14" description="Hardware architecture of the platform" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10085" resource_type_id="10012" name="Native.MemoryInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Free Memory" display_order="1" description="The total free system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10086" resource_type_id="10012" name="Native.MemoryInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Memory" display_order="2" description="The total used system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10087" resource_type_id="10012" name="Native.MemoryInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Memory" display_order="3" description="The total system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10088" resource_type_id="10012" name="Native.SwapInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Free Swap Space" display_order="4" description="The total free system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10089" resource_type_id="10012" name="Native.SwapInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Swap Space" display_order="5" description="The total used system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10090" resource_type_id="10012" name="Native.SwapInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Swap Space" display_order="6" description="The total system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10091" resource_type_id="10012" name="CpuPerc.idle" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Idle" display_order="7" description="Idle percentage of all CPUs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10092" resource_type_id="10012" name="CpuPerc.sys" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="System Load" display_order="8" description="Percentage of all CPUs running in system mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10093" resource_type_id="10012" name="CpuPerc.user" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="User Load" display_order="9" description="Percentage of all CPUs running in user mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10094" resource_type_id="10012" name="CpuPerc.wait" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Wait Load" display_order="10" description="Percentage of all CPUs waiting on I/O" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10095" resource_type_id="10012" name="Trait.hostname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hostname" display_order="11" description="Name that this platform is known as" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10096" resource_type_id="10012" name="Trait.osname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Name" display_order="12" description="Name that the operating system is known as" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10097" resource_type_id="10012" name="Trait.osversion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Version" display_order="13" description="Version of the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10098" resource_type_id="10012" name="Trait.sysarch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Architecture" display_order="14" description="Hardware architecture of the platform" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10099" resource_type_id="10013" name="Native.MemoryInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Free Memory" display_order="1" description="The total free system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10100" resource_type_id="10013" name="Native.MemoryInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Memory" display_order="2" description="The total used system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10101" resource_type_id="10013" name="Native.MemoryInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Memory" display_order="3" description="The total system memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10102" resource_type_id="10013" name="Native.SwapInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Free Swap Space" display_order="4" description="The total free system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10103" resource_type_id="10013" name="Native.SwapInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Swap Space" display_order="5" description="The total used system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10104" resource_type_id="10013" name="Native.SwapInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Swap Space" display_order="6" description="The total system swap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10105" resource_type_id="10013" name="CpuPerc.idle" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Idle" display_order="7" description="Idle percentage of all CPUs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10106" resource_type_id="10013" name="CpuPerc.sys" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="System Load" display_order="8" description="Percentage of all CPUs running in system mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10107" resource_type_id="10013" name="CpuPerc.user" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="User Load" display_order="9" description="Percentage of all CPUs running in user mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10108" resource_type_id="10013" name="CpuPerc.wait" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Wait Load" display_order="10" description="Percentage of all CPUs waiting on I/O" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10109" resource_type_id="10013" name="Trait.hostname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hostname" display_order="11" description="Name that this platform is known as" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10110" resource_type_id="10013" name="Trait.osname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Name" display_order="12" description="Name that the operating system is known as" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10111" resource_type_id="10013" name="Trait.osversion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Version" display_order="13" description="Version of the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10112" resource_type_id="10013" name="Trait.sysarch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Architecture" display_order="14" description="Hardware architecture of the platform" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10113" resource_type_id="10014" name="Trait.hostname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hostname" display_order="1" description="Name that this platform is known as" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10114" resource_type_id="10014" name="Trait.osname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Name" display_order="2" description="Name that the operating system is known as" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10115" resource_type_id="10014" name="Trait.osversion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Version" display_order="3" description="Version of the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10116" resource_type_id="10014" name="Trait.sysarch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Architecture" display_order="4" description="Hardware architecture of the platform" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10117" resource_type_id="10015" name="Process.cpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="User Time" display_order="1" description="The aggregate amount of CPU user time spent by all processes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10118" resource_type_id="10015" name="Process.cpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="User Time per Minute" display_order="2" description="The aggregate amount of CPU user time spent by all processes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10119" resource_type_id="10015" name="Process.cpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Kernel Time" display_order="3" description="The aggregate amount of CPU kernel time spent by all processes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10120" resource_type_id="10015" name="Process.cpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Kernel Time per Minute" display_order="4" description="The aggregate amount of CPU kernel time spent by all processes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10121" resource_type_id="10015" name="Process.cpu.percent" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="CPU Percentage" display_order="5" description="The percentage of CPU currently being used by all processes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10122" resource_type_id="10015" name="Process.memory.resident" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical Memory" display_order="6" description="The aggregate amount of resident memory used by all processes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10123" resource_type_id="10015" name="Process.memory.size" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Virtual Memory" display_order="7" description="The aggregate amount of virtual memory used by all processes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10124" resource_type_id="10015" name="Process.fileDescriptor.total" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Open File Descriptors" display_order="8" description="The aggregate number of file descriptors open by all processes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10125" resource_type_id="10016" name="fileSystemUsage.free" resource_version_range="%NULL%" category="1" units="3" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Space" display_order="1" description="The total free bytes on filesystem" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10126" resource_type_id="10016" name="fileSystemUsage.usePercent" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Used Percentage" display_order="2" description="The percentage of disk used" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10127" resource_type_id="10016" name="fileSystemUsage.total" resource_version_range="%NULL%" category="1" units="3" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="Capacity" display_order="3" description="The total size of the filesystem" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10128" resource_type_id="10016" name="fileSystem.typeName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Volume Type" display_order="4" description="The filesystem's generic type name" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10129" resource_type_id="10016" name="fileSystem.sysTypeName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Drive Type" display_order="5" description="The filesystem's operating system-specific type name" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10130" resource_type_id="10016" name="fileSystem.devName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="name" display_order="6" description="The name of this device" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10131" resource_type_id="10016" name="fileSystemUsage.freeFiles" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Free Files" display_order="7" description="The number of free file nodes on the filesystem" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10132" resource_type_id="10016" name="fileSystem.flags" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="Flags" display_order="8" description="The filesystem's flags" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10133" resource_type_id="10016" name="fileSystemUsage.used" resource_version_range="%NULL%" category="1" units="3" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Used" display_order="9" description="The total bytes used on the filesystem" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10134" resource_type_id="10016" name="fileSystemUsage.diskReads" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Disk Reads" display_order="10" description="The number of physical disk reads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10135" resource_type_id="10016" name="fileSystemUsage.diskReads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Disk Reads per Minute" display_order="11" description="The number of physical disk reads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10136" resource_type_id="10016" name="fileSystemUsage.diskWrites" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Disk Writes" display_order="12" description="The number of physical disk writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10137" resource_type_id="10016" name="fileSystemUsage.diskWrites" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Disk Writes per Minute" display_order="13" description="The number of physical disk writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10138" resource_type_id="10016" name="fileSystemUsage.diskReadBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Disk Read Bytes" display_order="14" description="The number of physical disk bytes read" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10139" resource_type_id="10016" name="fileSystemUsage.diskReadBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Disk Read Bytes per Minute" display_order="15" description="The number of physical disk bytes read" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10140" resource_type_id="10016" name="fileSystemUsage.diskWriteBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Disk Write Bytes" display_order="16" description="The number of physical disk bytes written" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10141" resource_type_id="10016" name="fileSystemUsage.diskWriteBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Disk Write Bytes per Minute" display_order="17" description="The number of physical disk bytes written" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10142" resource_type_id="10016" name="fileSystemUsage.diskQueue" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Disk Queue" display_order="18" description="The number of I/Os currently in progress" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10143" resource_type_id="10017" name="Trait.net4.address" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Inet4Address" display_order="1" description="IP address of the network adaptor" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10144" resource_type_id="10017" name="Trait.interfaceFlags" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Interface Flags" display_order="2" description="Flag constants for network related ops" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10145" resource_type_id="10017" name="rxBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Bytes Received" display_order="3" description="The total number of bytes received across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10146" resource_type_id="10017" name="rxBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Bytes Received per Minute" display_order="4" description="The total number of bytes received across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10147" resource_type_id="10017" name="rxPackets" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Packets Received" display_order="5" description="The total number of packets received across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10148" resource_type_id="10017" name="rxPackets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Packets Received per Minute" display_order="6" description="The total number of packets received across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10149" resource_type_id="10017" name="txBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Bytes Transmitted" display_order="7" description="The total number of bytes transmitted across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10150" resource_type_id="10017" name="txBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Bytes Transmitted per Minute" display_order="8" description="The total number of bytes transmitted across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10151" resource_type_id="10017" name="txPackets" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Packets Transmitted" display_order="9" description="The total number of packets transmitted across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10152" resource_type_id="10017" name="txPackets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Packets Transmitted per Minute" display_order="10" description="The total number of packets transmitted across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10153" resource_type_id="10017" name="rxErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Receive Errors" display_order="11" description="'errors' statistic for received packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10154" resource_type_id="10017" name="rxErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Receive Errors per Minute" display_order="12" description="'errors' statistic for received packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10155" resource_type_id="10017" name="rxDropped" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Receive Packets Dropped" display_order="13" description="'dropped' statistic for received packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10156" resource_type_id="10017" name="rxDropped" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Receive Packets Dropped per Minute" display_order="14" description="'dropped' statistic for received packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10157" resource_type_id="10017" name="rxOverruns" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Receive Overrurns" display_order="15" description="'overruns' statistic for received packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10158" resource_type_id="10017" name="rxOverruns" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Receive Overrurns per Minute" display_order="16" description="'overruns' statistic for received packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10159" resource_type_id="10017" name="rxFrame" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Receive Frame" display_order="17" description="'frame' statistic for received packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10160" resource_type_id="10017" name="rxFrame" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Receive Frame per Minute" display_order="18" description="'frame' statistic for received packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10161" resource_type_id="10017" name="txErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Transmit Errors" display_order="19" description="'errors' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10162" resource_type_id="10017" name="txErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Transmit Errors per Minute" display_order="20" description="'errors' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10163" resource_type_id="10017" name="txDropped" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Transmit Packets Dropped" display_order="21" description="'dropped' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10164" resource_type_id="10017" name="txDropped" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Transmit Packets Dropped per Minute" display_order="22" description="'dropped' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10165" resource_type_id="10017" name="txOverruns" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Transmit Overruns" display_order="23" description="'overruns' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10166" resource_type_id="10017" name="txOverruns" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Transmit Overruns per Minute" display_order="24" description="'overruns' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10167" resource_type_id="10017" name="txCollisions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Transmit Collisions" display_order="25" description="'collisions' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10168" resource_type_id="10017" name="txCollisions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Transmit Collisions per Minute" display_order="26" description="'collisions' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10169" resource_type_id="10017" name="txCarrier" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Transmit Carrier" display_order="27" description="'carrier' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10170" resource_type_id="10017" name="txCarrier" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Transmit Carrier per Minute" display_order="28" description="'carrier' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10171" resource_type_id="10018" name="CpuPerc.idle" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Idle" display_order="1" description="Idle percentage of this CPU" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10172" resource_type_id="10018" name="CpuPerc.sys" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="System Load" display_order="2" description="Percentage of this CPU running in system mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10173" resource_type_id="10018" name="CpuPerc.user" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="User Load" display_order="3" description="Percentage of this CPU running in user mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10174" resource_type_id="10018" name="CpuPerc.wait" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Wait Load" display_order="4" description="Percentage of this CPU waiting on I/O" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10175" resource_type_id="10018" name="Cpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Time" display_order="5" description="The total system CPU user time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10176" resource_type_id="10018" name="Cpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="User Time per Minute" display_order="6" description="The total system CPU user time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10177" resource_type_id="10018" name="Cpu.nice" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Nice Time" display_order="7" description="The total system CPU nice time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10178" resource_type_id="10018" name="Cpu.nice" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Nice Time per Minute" display_order="8" description="The total system CPU nice time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10179" resource_type_id="10018" name="Cpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="System Time" display_order="9" description="The total system CPU kernel time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10180" resource_type_id="10018" name="Cpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="System Time per Minute" display_order="10" description="The total system CPU kernel time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10181" resource_type_id="10018" name="Cpu.idle" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Idle Time" display_order="11" description="The total system CPU idle time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10182" resource_type_id="10018" name="Cpu.idle" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Idle Time per Minute" display_order="12" description="The total system CPU idle time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10183" resource_type_id="10018" name="Cpu.wait" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Wait Time" display_order="13" description="The total system CPU I/O wait time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10184" resource_type_id="10018" name="Cpu.wait" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Wait Time per Minute" display_order="14" description="The total system CPU I/O wait time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10185" resource_type_id="10018" name="CpuTrait.vendor" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="3600000" display_name="Vendor" display_order="15" description="Vendor of this CPU" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10186" resource_type_id="10018" name="CpuTrait.model" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="3600000" display_name="CPU Model" display_order="16" description="Model of this CPU" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10187" resource_type_id="10018" name="CpuTrait.mhz" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="3600000" display_name="CPU Speed" display_order="17" description="Speed of this CPU in Mhz" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10188" resource_type_id="10018" name="CpuTrait.cacheSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="3600000" display_name="Cache size" display_order="18" description="Cache Size of this CPU" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10189" resource_type_id="10019" name="connectTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Connect Time" display_order="1" description="The to connect to the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10190" resource_type_id="10019" name="readTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Read Time" display_order="2" description="The time to transfer the requested content" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10191" resource_type_id="10019" name="contentLength" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Content Length" display_order="3" description="The size of the returned content" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10192" resource_type_id="10019" name="contentAge" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Content Age" display_order="4" description="The declared age of the requested page" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10193" resource_type_id="10020" name="ipAddress" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Ip Address" display_order="1" description="The ip address of the host" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10194" resource_type_id="10020" name="hostName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Host Name" display_order="2" description="The hostname of the host" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10195" resource_type_id="10020" name="responseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Response Time" display_order="3" description="Time to ping the address" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10196" resource_type_id="10022" name="FreePhysicalMemorySize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Physical Memory" display_order="1" description="The amount of free physical memory for the OS" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10197" resource_type_id="10022" name="FreeSwapSpaceSize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Swap Memory" display_order="2" description="The amount of free swap space for the OS" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10198" resource_type_id="10022" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Process CPU Time" display_order="3" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10199" resource_type_id="10022" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Process CPU Time per Minute" display_order="4" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10200" resource_type_id="10022" name="CommittedVirtualMemorySize" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Committed Virtual Memory" display_order="5" description="Size of virtual memory used by this process" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10201" resource_type_id="10023" name="LoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Loaded Classes" display_order="1" description="The number of classes currently loaded in the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10202" resource_type_id="10023" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Classes Loaded" display_order="2" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10203" resource_type_id="10023" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total Classes Loaded per Minute" display_order="3" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10204" resource_type_id="10023" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Unloaded Classes" display_order="4" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10205" resource_type_id="10023" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Unloaded Classes per Minute" display_order="5" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10206" resource_type_id="10024" name="{HeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Usage" display_order="1" description="Current heap memory usage" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10207" resource_type_id="10024" name="{HeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Committed" display_order="2" description="Current heap memory allocated. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10208" resource_type_id="10024" name="{NonHeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Usage" display_order="3" description="Current memory usage outside the heap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10209" resource_type_id="10024" name="{NonHeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Committed" display_order="4" description="Current memory allocated outside the heap. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10210" resource_type_id="10024" name="ObjectPendingFinalizationCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Objects Pending Finalization" display_order="5" description="The approximate number of objects for which finalization is pending." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10211" resource_type_id="10024" name="{HeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Initial Size" display_order="6" description="The amount of heap that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10212" resource_type_id="10024" name="{HeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Maximum Size" display_order="7" description="Maximum amount of heap that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10213" resource_type_id="10024" name="{NonHeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Initial Size" display_order="8" description="The amount of non-heap memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10214" resource_type_id="10024" name="{NonHeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Maximum Size" display_order="9" description="Maximum amount of non-heap memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10215" resource_type_id="10025" name="TotalCompilationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Total Compilation Time" display_order="1" description="The approximate accumulated elapsed time spent in compilation" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10216" resource_type_id="10027" name="ThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Thread Count" display_order="1" description="Number of active threads in the system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10217" resource_type_id="10027" name="PeakThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Peak Thread Count" display_order="2" description="Peak count of active threads in the system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10218" resource_type_id="10027" name="TotalStartedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Total Started Thread Count" display_order="3" description="Count of threads started since system start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10219" resource_type_id="10027" name="DaemonThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Daemon Thread Count" display_order="4" description="Count of threads marked as daemons in the system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10220" resource_type_id="10027" name="SuspendedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Suspended Thread Count" display_order="5" description="Count of suspended threads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10221" resource_type_id="10027" name="DeadLockedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Deadlocked Thread Count" display_order="6" description="Count of threads that are deadlocked waiting to acquire object monitors. This is a CPU-time consuming metric." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10222" resource_type_id="10028" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Count" display_order="1" description="Number of collections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10223" resource_type_id="10028" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Count per Minute" display_order="2" description="Number of collections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10224" resource_type_id="10028" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Time" display_order="3" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10225" resource_type_id="10028" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Time per Minute" display_order="4" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10226" resource_type_id="10028" name="MemoryPoolNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Pool Names" display_order="5" description="The names of the memory pools used by this type of garbage collector" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10227" resource_type_id="10029" name="{Usage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Used" display_order="1" description="Current memory usage" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10228" resource_type_id="10029" name="{Usage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Committed" display_order="2" description="Current memory allocated" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10229" resource_type_id="10029" name="{Usage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Initial Size" display_order="3" description="The amount of memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10230" resource_type_id="10029" name="{Usage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum Size" display_order="4" description="Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10231" resource_type_id="10029" name="MemoryManagerNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Manager Names" display_order="5" description="Garbage collectors for this space" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10232" resource_type_id="10029" name="Type" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Type" display_order="6" description="Pool location" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10233" resource_type_id="10030" name="Catalina:type=Server:serverInfo" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Server Identifier" display_order="1" description="Tomcat server release identifier" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10234" resource_type_id="10033" name="Catalina:type=GlobalRequestProcessor,name=%handler%%address%-%port%:maxTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Maximum Request Time" display_order="1" description="Maximum time it took to process a request." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10235" resource_type_id="10033" name="Catalina:type=GlobalRequestProcessor,name=%handler%%address%-%port%:requestCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Request count" display_order="2" description="Total number of requests processed since last restart." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10236" resource_type_id="10033" name="Catalina:type=GlobalRequestProcessor,name=%handler%%address%-%port%:requestCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Request count per Minute" display_order="3" description="Total number of requests processed since last restart." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10237" resource_type_id="10033" name="Catalina:type=GlobalRequestProcessor,name=%handler%%address%-%port%:errorCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Error count" display_order="4" description="Number of errors while processing since last restart." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10238" resource_type_id="10033" name="Catalina:type=GlobalRequestProcessor,name=%handler%%address%-%port%:errorCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Error count per Minute" display_order="5" description="Number of errors while processing since last restart." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10239" resource_type_id="10033" name="Catalina:type=ThreadPool,name=%handler%%address%-%port%:currentThreadsBusy" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Threadpool Threads Active" display_order="6" description="Number of current busy threads." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10240" resource_type_id="10033" name="Catalina:type=ThreadPool,name=%handler%%address%-%port%:currentThreadCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Threadpool Threads Allocated" display_order="7" description="Number of current threads." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10241" resource_type_id="10033" name="Catalina:type=ThreadPool,name=%handler%%address%-%port%:maxThreads" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Threadpool Max Threads" display_order="8" description="Maximum number of threads that can be allocated for the ThreadPool." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10242" resource_type_id="10036" name="ThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Thread Count" display_order="1" description="Number of active threads in the system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10243" resource_type_id="10036" name="PeakThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Peak Thread Count" display_order="2" description="Peak count of active threads in the system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10244" resource_type_id="10036" name="TotalStartedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Total Started Thread Count" display_order="3" description="Count of threads started since system start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10245" resource_type_id="10036" name="DaemonThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Daemon Thread Count" display_order="4" description="Count of threads marked as daemons in the system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10246" resource_type_id="10036" name="SuspendedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Suspended Thread Count" display_order="5" description="Count of suspended threads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10247" resource_type_id="10036" name="DeadLockedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Deadlocked Thread Count" display_order="6" description="Count of threads that are deadlocked waiting to acquire object monitors. This is a CPU-time consuming metric." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10248" resource_type_id="10037" name="Application.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded deployment" display_order="1" description="Whether deployed as a .war file or an exploded directory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10249" resource_type_id="10037" name="Servlet.NumRequests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Requests served" display_order="2" description="Number of requests served by servlets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10250" resource_type_id="10037" name="Servlet.NumRequests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Requests served per Minute" display_order="3" description="Number of requests served by servlets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10251" resource_type_id="10037" name="Servlet.NumErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Processing Errors" display_order="4" description="Number of errors while processing servlets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10252" resource_type_id="10037" name="Servlet.NumErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Processing Errors per Minute" display_order="5" description="Number of errors while processing servlets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10253" resource_type_id="10037" name="Session.activeSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Currently Active Sessions" display_order="6" description="Number active sessions for the webapp right now" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10254" resource_type_id="10037" name="Session.maxActive" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Maximum number of Active Sessions" display_order="7" description="Maximum number of active sessions for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10255" resource_type_id="10037" name="Session.sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Sessions created" display_order="8" description="Number of sessions created for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10256" resource_type_id="10037" name="Session.sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Sessions created per Minute" display_order="9" description="Number of sessions created for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10257" resource_type_id="10037" name="Session.expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Expired Sessions" display_order="10" description="Number of expired sessions for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10258" resource_type_id="10037" name="Session.expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Expired Sessions per Minute" display_order="11" description="Number of expired sessions for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10259" resource_type_id="10037" name="Session.rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Rejected Sessions" display_order="12" description="Number of sessions rejected for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10260" resource_type_id="10037" name="Session.rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Rejected Sessions per Minute" display_order="13" description="Number of sessions rejected for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10261" resource_type_id="10037" name="Session.sessionAverageAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Session Average alive time" display_order="14" description="Average alive time of a Session" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10262" resource_type_id="10037" name="Session.sessionMaxAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Session alive time" display_order="15" description="Maximum alive time of a Session" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10263" resource_type_id="10037" name="VHost.name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="Virtual Hosts" display_order="16" description="Virtual hosts this app runs on" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10264" resource_type_id="10037" name="ResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="60000" display_name="HTTP Response Time" display_order="17" description="the minimum, maximum, and average response times for HTTP requests serviced by this web application" destination_type="URL" version="0"/> - <rhq_measurement_def id="10265" resource_type_id="10039" name="TotalCompilationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Total Compilation Time" display_order="1" description="The approximate accumulated elapsed time spent in compilation" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10266" resource_type_id="10041" name="{HeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Usage" display_order="1" description="Current heap memory usage" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10267" resource_type_id="10041" name="{HeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Committed" display_order="2" description="Current heap memory allocated. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10268" resource_type_id="10041" name="{NonHeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Usage" display_order="3" description="Current memory usage outside the heap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10269" resource_type_id="10041" name="{NonHeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Committed" display_order="4" description="Current memory allocated outside the heap. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10270" resource_type_id="10041" name="ObjectPendingFinalizationCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Objects Pending Finalization" display_order="5" description="The approximate number of objects for which finalization is pending." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10271" resource_type_id="10041" name="{HeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Initial Size" display_order="6" description="The amount of heap that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10272" resource_type_id="10041" name="{HeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Maximum Size" display_order="7" description="Maximum amount of heap that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10273" resource_type_id="10041" name="{NonHeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Initial Size" display_order="8" description="The amount of non-heap memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10274" resource_type_id="10041" name="{NonHeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Maximum Size" display_order="9" description="Maximum amount of non-heap memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10275" resource_type_id="10042" name="LoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Loaded Classes" display_order="1" description="The number of classes currently loaded in the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10276" resource_type_id="10042" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Classes Loaded" display_order="2" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10277" resource_type_id="10042" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total Classes Loaded per Minute" display_order="3" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10278" resource_type_id="10042" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Unloaded Classes" display_order="4" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10279" resource_type_id="10042" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Unloaded Classes per Minute" display_order="5" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10280" resource_type_id="10043" name="FreePhysicalMemorySize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Physical Memory" display_order="1" description="The amount of free physical memory for the OS" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10281" resource_type_id="10043" name="FreeSwapSpaceSize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Swap Memory" display_order="2" description="The amount of free swap space for the OS" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10282" resource_type_id="10043" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Process CPU Time" display_order="3" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10283" resource_type_id="10043" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Process CPU Time per Minute" display_order="4" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10284" resource_type_id="10043" name="CommittedVirtualMemorySize" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Committed Virtual Memory" display_order="5" description="Size of virtual memory used by this process" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10285" resource_type_id="10045" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Count" display_order="1" description="Number of collections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10286" resource_type_id="10045" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Count per Minute" display_order="2" description="Number of collections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10287" resource_type_id="10045" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Time" display_order="3" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10288" resource_type_id="10045" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Time per Minute" display_order="4" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10289" resource_type_id="10045" name="MemoryPoolNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Pool Names" display_order="5" description="The names of the memory pools used by this type of garbage collector" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10290" resource_type_id="10046" name="accessCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Access Count" display_order="1" description="Number of cache accesses" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10291" resource_type_id="10046" name="hitsCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hits Count" display_order="2" description="Number of cache hits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10292" resource_type_id="10046" name="cacheSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Cache Size" display_order="3" description="Number of cache entries" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10293" resource_type_id="10046" name="cacheMaxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Cache Max Size" display_order="4" description="Maximum number of cache entries" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10294" resource_type_id="10047" name="{Usage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Used" display_order="1" description="Current memory usage" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10295" resource_type_id="10047" name="{Usage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Committed" display_order="2" description="Current memory allocated" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10296" resource_type_id="10047" name="{Usage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Initial Size" display_order="3" description="The amount of memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10297" resource_type_id="10047" name="{Usage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum Size" display_order="4" description="Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10298" resource_type_id="10047" name="MemoryManagerNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Manager Names" display_order="5" description="Garbage collectors for this space" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10299" resource_type_id="10047" name="Type" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Type" display_order="6" description="Pool location" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10300" resource_type_id="10048" name="Trait.SigarVersion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="SIGAR Version" display_order="1" description="The version of the SIGAR (System Information Gatherer and Reporter) native library used by the Agent" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10301" resource_type_id="10048" name="Trait.ReasonForLastRestart" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Reason For Last Restart" display_order="2" description="Indicates what caused the last agent restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10302" resource_type_id="10048" name="Trait.AgentHomeDirectory" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="86400000" display_name="Agent Home Directory" display_order="3" description="The directory where the agent is installed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10303" resource_type_id="10048" name="NumberAgentRestarts" resource_version_range="%NULL%" category="0" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number of Agent Restarts" display_order="4" description="Number of times the agent was restarted during the lifetime of its Java Virtual Machine" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10304" resource_type_id="10048" name="AgentServerClockDifference" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="Agent-Server Clock Difference" display_order="5" description="Number of milliseconds the agent's clock differs from its server's clock" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10305" resource_type_id="10048" name="Uptime" resource_version_range="%NULL%" category="0" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Up Time" display_order="6" description="Total number of seconds since the agent was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10306" resource_type_id="10048" name="NumberTotalCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total Number Of Commands Received" display_order="7" description="Total number of messages this agent has received from the RHQ Server" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10307" resource_type_id="10048" name="NumberTotalCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total Number Of Commands Received per Minute" display_order="8" description="Total number of messages this agent has received from the RHQ Server" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10308" resource_type_id="10048" name="NumberSuccessfulCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of Commands Received Successfully" display_order="9" description="Number of messages this agent has received from the RHQ Server and succesfully processed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10309" resource_type_id="10048" name="NumberSuccessfulCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number of Commands Received Successfully per Minute" display_order="10" description="Number of messages this agent has received from the RHQ Server and succesfully processed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10310" resource_type_id="10048" name="NumberFailedCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of Commands Received but Failed " display_order="11" description="Number of messages this agent has received from the RHQ Server but failed to process" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10311" resource_type_id="10048" name="NumberFailedCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number of Commands Received but Failed per Minute" display_order="12" description="Number of messages this agent has received from the RHQ Server but failed to process" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10312" resource_type_id="10048" name="AverageExecutionTimeReceived" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Avg Execution Time Commands Received Successfully" display_order="13" description="Average time it took to process incoming commands that are ultimately successful" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10313" resource_type_id="10048" name="AverageExecutionTimeSent" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Avg Execution Time Commands Sent Successfully" display_order="14" description="Average time it took to send commands that are ultimately successful" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10314" resource_type_id="10048" name="NumberTotalCommandsSent" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total Number of Commands Sent" display_order="15" description="Total number of messages this agent has sent to the RHQ Server" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10315" resource_type_id="10048" name="NumberTotalCommandsSent" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total Number of Commands Sent per Minute" display_order="16" description="Total number of messages this agent has sent to the RHQ Server" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10316" resource_type_id="10048" name="NumberSuccessfulCommandsSent" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of Commands Successfully Sent" display_order="17" description="Number of messages this agent has sent to the RHQ Server successfully" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10317" resource_type_id="10048" name="NumberSuccessfulCommandsSent" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number of Commands Successfully Sent per Minute" display_order="18" description="Number of messages this agent has sent to the RHQ Server successfully" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10318" resource_type_id="10048" name="NumberFailedCommandsSent" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of Commands Sent but Failed" display_order="19" description="Number of messages this agent has either tried, but failed, to send or were not processed succesfully by the RHQ Server" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10319" resource_type_id="10048" name="NumberFailedCommandsSent" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number of Commands Sent but Failed per Minute" display_order="20" description="Number of messages this agent has either tried, but failed, to send or were not processed succesfully by the RHQ Server" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10320" resource_type_id="10048" name="NumberCommandsActiveSent" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Number Of Active Commands Being Sent" display_order="21" description="The number of messages this agent is currently sending" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10321" resource_type_id="10048" name="NumberCommandsInQueue" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Number of Commands In Queue" display_order="22" description="Number of messages currently queued waiting to be sent to the RHQ Server" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10322" resource_type_id="10048" name="NumberCommandsSpooled" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number of Commands Spooled To Disk" display_order="23" description="Number of messages spooled to disk waiting to be sent to the RHQ Server" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10323" resource_type_id="10048" name="JVMFreeMemory" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="JVM Free Memory" display_order="24" description="The amount of free memory the agent JVM has in its heap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10324" resource_type_id="10048" name="JVMTotalMemory" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="JVM Total Memory" display_order="25" description="The amount of total memory the agent JVM has in its heap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10325" resource_type_id="10048" name="JVMActiveThreads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="JVM Active Threads" display_order="26" description="The number of active threads currently running in the agent JVM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10326" resource_type_id="10049" name="CurrentlyScheduleMeasurements" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Currently Schedule Measurements" display_order="1" description="The total number of active measurement schedules currently being collected by this RHQ Agent" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10327" resource_type_id="10049" name="MeasurementsCollected" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Measurements Collected" display_order="2" description="The total number of measurements collected since this RHQ Agent was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10328" resource_type_id="10049" name="MeasurementsCollected" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Measurements Collected per Minute" display_order="3" description="The total number of measurements collected since this RHQ Agent was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10329" resource_type_id="10049" name="TotalTimeCollectingMeasurements" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Time Collecting Measurements" display_order="4" description="The amount of time this RHQ Agent has spent collecting measurements since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10330" resource_type_id="10049" name="TotalTimeCollectingMeasurements" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Time Collecting Measurements per Minute" display_order="5" description="The amount of time this RHQ Agent has spent collecting measurements since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10331" resource_type_id="10049" name="FailedCollections" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Failed Collections" display_order="6" description="The number of individual measurement collections that have failed since this RHQ Agent was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10332" resource_type_id="10049" name="FailedCollections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Failed Collections per Minute" display_order="7" description="The number of individual measurement collections that have failed since this RHQ Agent was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10333" resource_type_id="10049" name="LateCollections" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Late Collections" display_order="8" description="The number of individual measurement collections that have fallen behind from their desired schedule" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10334" resource_type_id="10049" name="LateCollections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Late Collections per Minute" display_order="9" description="The number of individual measurement collections that have fallen behind from their desired schedule" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10335" resource_type_id="10053" name="NumberOfPluginClassLoaders" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="3600000" display_name="Number Of Plugin Class Loaders" display_order="1" description="The total number of plugin classloaders currently created and actively managed." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10336" resource_type_id="10053" name="NumberOfDiscoveryClassLoaders" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="3600000" display_name="Number Of Discovery Class Loaders" display_order="2" description="The total number of discovery classloaders currently created and actively managed." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10337" resource_type_id="10053" name="NumberOfResourceClassLoaders" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number Of Resource Class Loaders" display_order="3" description="The total number of individual resource classloaders currently created and assigned to resources." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10338" resource_type_id="10055" name="ThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Thread Count" display_order="1" description="Number of active threads in the system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10339" resource_type_id="10055" name="PeakThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Peak Thread Count" display_order="2" description="Peak count of active threads in the system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10340" resource_type_id="10055" name="TotalStartedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Total Started Thread Count" display_order="3" description="Count of threads started since system start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10341" resource_type_id="10055" name="DaemonThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Daemon Thread Count" display_order="4" description="Count of threads marked as daemons in the system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10342" resource_type_id="10055" name="SuspendedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Suspended Thread Count" display_order="5" description="Count of suspended threads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10343" resource_type_id="10055" name="DeadLockedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Deadlocked Thread Count" display_order="6" description="Count of threads that are deadlocked waiting to acquire object monitors. This is a CPU-time consuming metric." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10344" resource_type_id="10056" name="TotalCompilationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Total Compilation Time" display_order="1" description="The approximate accumulated elapsed time spent in compilation" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10345" resource_type_id="10057" name="FreePhysicalMemorySize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Physical Memory" display_order="1" description="The amount of free physical memory for the OS" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10346" resource_type_id="10057" name="FreeSwapSpaceSize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Swap Memory" display_order="2" description="The amount of free swap space for the OS" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10347" resource_type_id="10057" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Process CPU Time" display_order="3" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10348" resource_type_id="10057" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Process CPU Time per Minute" display_order="4" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10349" resource_type_id="10057" name="CommittedVirtualMemorySize" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Committed Virtual Memory" display_order="5" description="Size of virtual memory used by this process" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10350" resource_type_id="10058" name="{HeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Usage" display_order="1" description="Current heap memory usage" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10351" resource_type_id="10058" name="{HeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Committed" display_order="2" description="Current heap memory allocated. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10352" resource_type_id="10058" name="{NonHeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Usage" display_order="3" description="Current memory usage outside the heap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10353" resource_type_id="10058" name="{NonHeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Committed" display_order="4" description="Current memory allocated outside the heap. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10354" resource_type_id="10058" name="ObjectPendingFinalizationCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Objects Pending Finalization" display_order="5" description="The approximate number of objects for which finalization is pending." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10355" resource_type_id="10058" name="{HeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Initial Size" display_order="6" description="The amount of heap that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10356" resource_type_id="10058" name="{HeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Maximum Size" display_order="7" description="Maximum amount of heap that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10357" resource_type_id="10058" name="{NonHeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Initial Size" display_order="8" description="The amount of non-heap memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10358" resource_type_id="10058" name="{NonHeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Maximum Size" display_order="9" description="Maximum amount of non-heap memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10359" resource_type_id="10060" name="LoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Loaded Classes" display_order="1" description="The number of classes currently loaded in the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10360" resource_type_id="10060" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Classes Loaded" display_order="2" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10361" resource_type_id="10060" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total Classes Loaded per Minute" display_order="3" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10362" resource_type_id="10060" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Unloaded Classes" display_order="4" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10363" resource_type_id="10060" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Unloaded Classes per Minute" display_order="5" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10364" resource_type_id="10061" name="{Usage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Used" display_order="1" description="Current memory usage" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10365" resource_type_id="10061" name="{Usage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Committed" display_order="2" description="Current memory allocated" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10366" resource_type_id="10061" name="{Usage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Initial Size" display_order="3" description="The amount of memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10367" resource_type_id="10061" name="{Usage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum Size" display_order="4" description="Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10368" resource_type_id="10061" name="MemoryManagerNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Manager Names" display_order="5" description="Garbage collectors for this space" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10369" resource_type_id="10061" name="Type" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Type" display_order="6" description="Pool location" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10370" resource_type_id="10062" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Count" display_order="1" description="Number of collections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10371" resource_type_id="10062" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Count per Minute" display_order="2" description="Number of collections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10372" resource_type_id="10062" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Time" display_order="3" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10373" resource_type_id="10062" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Time per Minute" display_order="4" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10374" resource_type_id="10062" name="MemoryPoolNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Pool Names" display_order="5" description="The names of the memory pools used by this type of garbage collector" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10375" resource_type_id="10063" name="MCBean|ServerConfig|*|partitionName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Cluster Partition Name" display_order="1" description="the name of the cluster partition this server belongs to" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10376" resource_type_id="10063" name="MCBean|ServerConfig|*|serverName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Server Name" display_order="2" description="the name of the active profile (i.e. configuration set) this server is using" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10377" resource_type_id="10063" name="MCBean|ServerConfig|*|serverHomeDir" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Server Home Dir" display_order="3" description="the full path of the configuration set directory this server is using (e.g. /opt/jboss-5.1.0.CR1/server/default)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10378" resource_type_id="10063" name="MCBean|MCServer|*|versionName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Version Name" display_order="5" description="the code name for the this app server instance's major version (AS 5.0 = Morpheus, AS 5.1 = The Oracle, AS 6.0 = Neo)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10379" resource_type_id="10063" name="MCBean|MCServer|*|buildDate" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Build Date" display_order="6" description="the date this app server was built" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10380" resource_type_id="10063" name="MCBean|MCServer|*|startDate" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Start Date" display_order="7" description="the date and time this app server instance was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10381" resource_type_id="10063" name="MCBean|ServerInfo|*|activeThreadCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Active Thread Count" display_order="8" description="The current number of active threads for this app server instance" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10382" resource_type_id="10063" name="MCBean|ServerInfo|*|activeThreadGroupCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Active Thread Group Count" display_order="9" description="The current number of active thread groups for this app server instance" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10383" resource_type_id="10063" name="MCBean|ServerInfo|*|freeMemory" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="JVM Free Memory" display_order="10" description="An approximation of the total amount of memory currently available in the app server JVM for future allocated objects, measured in bytes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10384" resource_type_id="10063" name="MCBean|ServerInfo|*|maxMemory" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="JVM Max Memory" display_order="11" description="The maximum amount of memory that the app server JVM will attempt to use, measured in bytes; if there is no inherent limit then the value Long.MAX_VALUE will be returned" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10385" resource_type_id="10063" name="MCBean|ServerInfo|*|totalMemory" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="JVM Total Memory" display_order="12" description="The total amount of memory currently available in the app server JVM for current and future objects, measured in bytes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10386" resource_type_id="10063" name="MCBean|JTA|*|transactionCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total Transactions" display_order="13" description="Total number of transactions since last restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10387" resource_type_id="10063" name="MCBean|JTA|*|transactionCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total Transactions per Minute" display_order="14" description="Total number of transactions since last restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10388" resource_type_id="10063" name="MCBean|JTA|*|commitCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transactions Committed" display_order="15" description="Number of transactions committed since last restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10389" resource_type_id="10063" name="MCBean|JTA|*|commitCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Transactions Committed per Minute" display_order="16" description="Number of transactions committed since last restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10390" resource_type_id="10063" name="MCBean|JTA|*|rollbackCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transactions Rolled Back" display_order="17" description="Number of transactions rolled back since last restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10391" resource_type_id="10063" name="MCBean|JTA|*|rollbackCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Transactions Rolled Back per Minute" display_order="18" description="Number of transactions rolled back since last restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10392" resource_type_id="10064" name="custom.path" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Path" display_order="1" description="the absolute path of this EAR file or directory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10393" resource_type_id="10064" name="custom.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded?" display_order="2" description="whether this EAR is deployed exploded (i.e. as a directory)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10394" resource_type_id="10068" name="runState" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="30000" display_name="Run State" display_order="1" description="Run State" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10395" resource_type_id="10068" name="poolJndiName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Pool JNDI Name" display_order="2" description="Pool JNDI Name" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10396" resource_type_id="10068" name="availableConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Available Connection Count" display_order="3" description="Number of available connections." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10397" resource_type_id="10068" name="connectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Count" display_order="4" description="Connection Count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10398" resource_type_id="10068" name="connectionCreatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Created Count" display_order="5" description="Connection Created Count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10399" resource_type_id="10068" name="connectionDestroyedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Destroyed Count" display_order="6" description="Connection Destroyed Count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10400" resource_type_id="10068" name="inUseConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="In Use Connection Count" display_order="7" description="Mumber of connections currently in use." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10401" resource_type_id="10068" name="maxConnectionsInUseCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Connections In Use Count" display_order="8" description="Maximum number of maximum connections that have been in use." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10402" resource_type_id="10068" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Size" display_order="9" description="Max Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10403" resource_type_id="10068" name="minSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Min Size" display_order="10" description="Min Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10404" resource_type_id="10069" name="custom.path" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Path" display_order="1" description="the absolute path of this WAR file or directory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10405" resource_type_id="10069" name="custom.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded?" display_order="2" description="whether this WAR is deployed exploded (i.e. as a directory)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10406" resource_type_id="10069" name="contextRoot" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Context Root" display_order="3" description="this context root of this WAR (e.g. jmx-console) - used as a unique path prefix for URLs corresponding to this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10407" resource_type_id="10069" name="virtualHosts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Virtual Hosts" display_order="4" description="the virtual host(s) to which this WAR is deployed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10408" resource_type_id="10070" name="custom.transactionType" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Transaction Type" display_order="1" description="The type of transactions used by this connection factory - Local or XA" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10409" resource_type_id="10070" name="runState" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="30000" display_name="Run State" display_order="2" description="Run State" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10410" resource_type_id="10070" name="poolJndiName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Pool JNDI Name" display_order="3" description="Pool JNDI Name" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10411" resource_type_id="10070" name="availableConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Available Connection Count" display_order="4" description="Number of available connections." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10412" resource_type_id="10070" name="connectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Count" display_order="5" description="Connection Count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10413" resource_type_id="10070" name="connectionCreatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Created Count" display_order="6" description="Connection Created Count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10414" resource_type_id="10070" name="connectionDestroyedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Destroyed Count" display_order="7" description="Connection Destroyed Count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10415" resource_type_id="10070" name="inUseConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="In Use Connection Count" display_order="8" description="Mumber of connections currently in use." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10416" resource_type_id="10070" name="maxConnectionsInUseCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Connections In Use Count" display_order="9" description="Maximum number of maximum connections that have been in use." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10417" resource_type_id="10070" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Size" display_order="10" description="Max Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10418" resource_type_id="10070" name="minSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Min Size" display_order="11" description="Min Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10419" resource_type_id="10071" name="custom.path" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Path" display_order="1" description="the absolute path of this EJB JAR file or directory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10420" resource_type_id="10071" name="custom.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded?" display_order="2" description="whether this EJB JAR is deployed exploded (i.e. as a directory)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10421" resource_type_id="10072" name="runState" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="30000" display_name="Run State" display_order="1" description="Run State" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10422" resource_type_id="10072" name="poolJndiName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Pool JNDI Name" display_order="2" description="the JNDI name of the connection pool for this datasource" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10423" resource_type_id="10072" name="availableConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Available Connection Count" display_order="3" description="the maximum number of connections that are available" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10424" resource_type_id="10072" name="connectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Count" display_order="4" description="the number of connections that are currently in the pool" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10425" resource_type_id="10072" name="connectionCreatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Created Count" display_order="5" description="the number of connections that have been created since the datasource was last started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10426" resource_type_id="10072" name="connectionDestroyedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Destroyed Count" display_order="6" description="the number of connections that have been destroyed since the datasource was last started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10427" resource_type_id="10072" name="inUseConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="In Use Connection Count" display_order="7" description="the number of connections that are currently in use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10428" resource_type_id="10072" name="local-transaction" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Local Transaction" display_order="8" description="Local Transaction" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10429" resource_type_id="10072" name="maxConnectionsInUseCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Connections In Use Count" display_order="9" description="the most connections that have been simultaneously in use since this datasource was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10430" resource_type_id="10072" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Size" display_order="10" description="Max Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10431" resource_type_id="10072" name="minSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Min Size" display_order="11" description="Min Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10432" resource_type_id="10073" name="custom.parent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Parent" display_order="1" description="the name of this EJB JAR's parent deployment" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10433" resource_type_id="10074" name="runState" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="30000" display_name="Run State" display_order="1" description="Run State" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10434" resource_type_id="10074" name="poolJndiName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Pool JNDI Name" display_order="2" description="the JNDI name of the connection pool for this datasource" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10435" resource_type_id="10074" name="availableConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Available Connection Count" display_order="3" description="the maximum number of connections that are available" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10436" resource_type_id="10074" name="connectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Count" display_order="4" description="the number of connections that are currently in the pool" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10437" resource_type_id="10074" name="connectionCreatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Created Count" display_order="5" description="the number of connections that have been created since the datasource was last started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10438" resource_type_id="10074" name="connectionDestroyedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Destroyed Count" display_order="6" description="the number of connections that have been destroyed since the datasource was last started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10439" resource_type_id="10074" name="inUseConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="In Use Connection Count" display_order="7" description="the number of connections that are currently in use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10440" resource_type_id="10074" name="local-transaction" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Local Transaction" display_order="8" description="Local Transaction" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10441" resource_type_id="10074" name="maxConnectionsInUseCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Connections In Use Count" display_order="9" description="the most connections that have been simultaneously in use since this datasource was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10442" resource_type_id="10074" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Size" display_order="10" description="Max Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10443" resource_type_id="10074" name="minSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Min Size" display_order="11" description="Min Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10444" resource_type_id="10076" name="runState" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="30000" display_name="Run State" display_order="1" description="Run State" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10445" resource_type_id="10076" name="poolJndiName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Pool JNDI Name" display_order="2" description="the JNDI name of the connection pool for this datasource" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10446" resource_type_id="10076" name="availableConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Available Connection Count" display_order="3" description="the maximum number of connections that are available" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10447" resource_type_id="10076" name="connectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Count" display_order="4" description="the number of connections that are currently in the pool" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10448" resource_type_id="10076" name="connectionCreatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Created Count" display_order="5" description="the number of connections that have been created since the datasource was last started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10449" resource_type_id="10076" name="connectionDestroyedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Destroyed Count" display_order="6" description="the number of connections that have been destroyed since the datasource was last started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10450" resource_type_id="10076" name="inUseConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="In Use Connection Count" display_order="7" description="the number of connections that are currently in use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10451" resource_type_id="10076" name="local-transaction" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Local Transaction" display_order="8" description="Local Transaction" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10452" resource_type_id="10076" name="maxConnectionsInUseCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Connections In Use Count" display_order="9" description="the most connections that have been simultaneously in use since this datasource was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10453" resource_type_id="10076" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Size" display_order="10" description="Max Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10454" resource_type_id="10076" name="minSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Min Size" display_order="11" description="Min Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10455" resource_type_id="10077" name="custom.path" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Path" display_order="1" description="the absolute path of this RAR file or directory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10456" resource_type_id="10077" name="custom.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded?" display_order="2" description="whether this RAR is deployed exploded (i.e. as a directory)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10457" resource_type_id="10078" name="custom.parent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Parent" display_order="1" description="the name of this RAR's parent deployment" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10458" resource_type_id="10079" name="activeBindingSetName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Active Binding Set" display_order="1" description="The active binding set used to obtain port bindings from." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10459" resource_type_id="10080" name="custom.parent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Parent" display_order="1" description="the name of this WAR's parent deployment" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10460" resource_type_id="10080" name="contextRoot" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Context Root" display_order="2" description="this context root of this WAR (e.g. jmx-console) - used as a unique path prefix for URLs corresponding to this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10461" resource_type_id="10080" name="virtualHosts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Virtual Hosts" display_order="3" description="the virtual host(s) to which this WAR is deployed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10462" resource_type_id="10081" name="custom.parent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Parent" display_order="1" description="the name of this EJB JAR's parent deployment" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10463" resource_type_id="10082" name="custom.path" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Path" display_order="1" description="the absolute path of this EJB JAR file or directory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10464" resource_type_id="10082" name="custom.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded?" display_order="2" description="whether this EJB JAR is deployed exploded (i.e. as a directory)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10465" resource_type_id="10083" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="1" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10466" resource_type_id="10083" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="2" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10467" resource_type_id="10083" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="3" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10468" resource_type_id="10083" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="4" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10469" resource_type_id="10083" name="CurrentPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Pool Size" display_order="5" description="The number of beans in the pool." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10470" resource_type_id="10083" name="MaxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Max Pool Size" display_order="6" description="The maximum pool size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10471" resource_type_id="10083" name="methodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="7" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> - <rhq_measurement_def id="10472" resource_type_id="10084" name="virtualHost" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Virtual Host" display_order="1" description="the virtual host with which this context is associated" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10473" resource_type_id="10084" name="responseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Response Time" display_order="2" description="the minimum, maximum, and average response times for requests serviced by this webapp" destination_type="URL" version="0"/> - <rhq_measurement_def id="10474" resource_type_id="10084" name="activeSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Currently Active Sessions" display_order="3" description="the number of sessions that are currently active for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10475" resource_type_id="10084" name="maxActive" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Maximum Active Sessions" display_order="4" description="the maximum number of sessions that have been active for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10476" resource_type_id="10084" name="sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Created Sessions" display_order="5" description="the number of sessions created for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10477" resource_type_id="10084" name="sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Created Sessions per Minute" display_order="6" description="the number of sessions created for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10478" resource_type_id="10084" name="expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Expired Sessions" display_order="7" description="the number of expired sessions for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10479" resource_type_id="10084" name="expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Expired Sessions per Minute" display_order="8" description="the number of expired sessions for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10480" resource_type_id="10084" name="rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Rejected Sessions" display_order="9" description="the number of sessions rejected for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10481" resource_type_id="10084" name="rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Rejected Sessions per Minute" display_order="10" description="the number of sessions rejected for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10482" resource_type_id="10084" name="sessionAverageAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Average Session Alive Time" display_order="11" description="the average alive time of sessions for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10483" resource_type_id="10084" name="sessionMaxAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Session Alive Time" display_order="12" description="the maximum alive time of sessions for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10484" resource_type_id="10084" name="Servlet.minimumResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Minimum Response Time" display_order="13" description="the minimum response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10485" resource_type_id="10084" name="Servlet.averageResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Average Response Time" display_order="14" description="the average response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10486" resource_type_id="10084" name="Servlet.maximumResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Maximum Response Time" display_order="15" description="the maximum response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10487" resource_type_id="10084" name="Servlet.totalResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Response Time" display_order="16" description="the total response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10488" resource_type_id="10084" name="Servlet.totalResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total Response Time per Minute" display_order="17" description="the total response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10489" resource_type_id="10084" name="Servlet.requestCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of Requests Serviced" display_order="18" description="the number of requests serviced by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10490" resource_type_id="10084" name="Servlet.requestCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number of Requests Serviced per Minute" display_order="19" description="the number of requests serviced by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10491" resource_type_id="10084" name="Servlet.errorCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of Error Responses" display_order="20" description="the number of error responses sent by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10492" resource_type_id="10084" name="Servlet.errorCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number of Error Responses per Minute" display_order="21" description="the number of error responses sent by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10493" resource_type_id="10085" name="{HeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Usage" display_order="1" description="Current heap memory usage" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10494" resource_type_id="10085" name="{HeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Committed" display_order="2" description="Current heap memory allocated. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10495" resource_type_id="10085" name="{NonHeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Usage" display_order="3" description="Current memory usage outside the heap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10496" resource_type_id="10085" name="{NonHeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Committed" display_order="4" description="Current memory allocated outside the heap. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10497" resource_type_id="10085" name="ObjectPendingFinalizationCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Objects Pending Finalization" display_order="5" description="The approximate number of objects for which finalization is pending." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10498" resource_type_id="10085" name="{HeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Initial Size" display_order="6" description="The amount of heap that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10499" resource_type_id="10085" name="{HeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Maximum Size" display_order="7" description="Maximum amount of heap that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10500" resource_type_id="10085" name="{NonHeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Initial Size" display_order="8" description="The amount of non-heap memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10501" resource_type_id="10085" name="{NonHeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Maximum Size" display_order="9" description="Maximum amount of non-heap memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10502" resource_type_id="10086" name="name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Name" display_order="1" description="The name of this binding set." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10503" resource_type_id="10086" name="defaultHostName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Default Host Name" display_order="2" description="The default host name of this binding set." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10504" resource_type_id="10086" name="portOffset" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Port Offset" display_order="3" description="The port offset of this binding set." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10505" resource_type_id="10087" name="runState" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="30000" display_name="Run State" display_order="1" description="Run State" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10506" resource_type_id="10087" name="createdProgrammatically" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Created Programmatically" display_order="2" description="Was this topic created programmatically? If Yes, the topic will not survive a restart of the application server. If No, the topic was created via a deployment XML file." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10507" resource_type_id="10087" name="messageCounterHistoryDayLimit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Message Counter History Day Limit" display_order="3" description="This topic's message counter history day limit - <0: unlimited, =0: history disabled, >0: maximum day count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10508" resource_type_id="10087" name="allMessageCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="All Message Count" display_order="4" description="The count of all messages in all subscriptions to this topic" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10509" resource_type_id="10087" name="allSubscriptionsCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="All Subscriptions Count" display_order="5" description="The count of all subscriptions to this topic" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10510" resource_type_id="10087" name="durableMessageCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Durable Message Count" display_order="6" description="The count of all messages for all durable subscriptions to this topic" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10511" resource_type_id="10087" name="durableSubscriptionsCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Durable Subscriptions Count" display_order="7" description="The count of all durable subscriptions to this topic" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10512" resource_type_id="10087" name="nonDurableMessageCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Non Durable Message Count" display_order="8" description="The count of all messages in all non durable subscriptions to this topic" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10513" resource_type_id="10087" name="nonDurableSubscriptionsCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Non Durable Subscriptions Count" display_order="9" description="The count of all non durable subscriptions to this topic" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10514" resource_type_id="10088" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="1" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10515" resource_type_id="10088" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="2" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10516" resource_type_id="10088" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="3" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10517" resource_type_id="10088" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="4" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10518" resource_type_id="10088" name="CurrentPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Pool Size" display_order="5" description="The number of beans in the pool." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10519" resource_type_id="10088" name="MaxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Max Pool Size" display_order="6" description="The maximum pool size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10520" resource_type_id="10088" name="CacheSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Cache Size" display_order="7" description="Cache Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10521" resource_type_id="10089" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="1" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10522" resource_type_id="10089" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="2" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10523" resource_type_id="10089" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="3" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10524" resource_type_id="10089" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="4" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10525" resource_type_id="10089" name="CurrentPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Pool Size" display_order="5" description="The number of beans in the pool." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10526" resource_type_id="10089" name="MaxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Max Pool Size" display_order="6" description="The maximum pool size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10527" resource_type_id="10089" name="methodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="7" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> - <rhq_measurement_def id="10528" resource_type_id="10090" name="name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="EJB Name" display_order="1" description="the name of this EJB" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10529" resource_type_id="10090" name="availableCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Available Count" display_order="2" description="The number of pooled instances of this EJB3 Session Bean in the method-ready state" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10530" resource_type_id="10090" name="createCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="3" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10531" resource_type_id="10090" name="createCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="4" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10532" resource_type_id="10090" name="currentSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current Count" display_order="5" description="The total number of currently pooled instances of this EJB3 Session Bean" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10533" resource_type_id="10090" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Size" display_order="6" description="The maximum number of instances that are allowed to be pooled" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10534" resource_type_id="10090" name="removeCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="7" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10535" resource_type_id="10090" name="removeCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="8" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10536" resource_type_id="10090" name="methodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="9" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> - <rhq_measurement_def id="10537" resource_type_id="10090" name="cacheSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Cache Size" display_order="10" description="Cache Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10538" resource_type_id="10090" name="passivatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Passivated Count" display_order="11" description="Passivated Count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10539" resource_type_id="10090" name="totalSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Total Size" display_order="12" description="Total Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10540" resource_type_id="10091" name="name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="EJB Name" display_order="1" description="the name of this EJB" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10541" resource_type_id="10091" name="availableCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Available Count" display_order="2" description="The number of pooled instances of this EJB3 Session Bean in the method-ready state" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10542" resource_type_id="10091" name="createCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="3" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10543" resource_type_id="10091" name="createCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="4" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10544" resource_type_id="10091" name="currentSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current Count" display_order="5" description="The total number of currently pooled instances of this EJB3 Session Bean" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10545" resource_type_id="10091" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Size" display_order="6" description="The maximum number of instances that are allowed to be pooled" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10546" resource_type_id="10091" name="removeCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="7" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10547" resource_type_id="10091" name="removeCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="8" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10548" resource_type_id="10091" name="methodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="9" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> - <rhq_measurement_def id="10549" resource_type_id="10093" name="name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="EJB Name" display_order="1" description="the name of this EJB" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10550" resource_type_id="10093" name="minPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Minimum Pool Size" display_order="2" description="Minimum Pool Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10551" resource_type_id="10093" name="maxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Maximum Pool Size" display_order="3" description="Maximum Pool Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10552" resource_type_id="10093" name="maxMessages" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Maximum number of Messages" display_order="4" description="Maximum number of Messages" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10553" resource_type_id="10094" name="maxTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Maximum Request Time" display_order="1" description="the maximum time it took to process a request since the last restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10554" resource_type_id="10094" name="requestCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Request Count" display_order="2" description="the total number of requests processed since the last restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10555" resource_type_id="10094" name="requestCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Request Count per Minute" display_order="3" description="the total number of requests processed since the last restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10556" resource_type_id="10094" name="errorCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Error Count" display_order="4" description="the number of errors while processing requests since the last restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10557" resource_type_id="10094" name="errorCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Error Count per Minute" display_order="5" description="the number of errors while processing requests since the last restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10558" resource_type_id="10094" name="ThreadPool|currentThreadsBusy" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Active Threads" display_order="6" description="the number of threads for this connector that are currently active" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10559" resource_type_id="10094" name="ThreadPool|currentThreadCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Thread Count" display_order="7" description="the number of threads for this connector that currently exist" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10560" resource_type_id="10095" name="LoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Loaded Classes" display_order="1" description="The number of classes currently loaded in the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10561" resource_type_id="10095" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Classes Loaded" display_order="2" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10562" resource_type_id="10095" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total Classes Loaded per Minute" display_order="3" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10563" resource_type_id="10095" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Unloaded Classes" display_order="4" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10564" resource_type_id="10095" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Unloaded Classes per Minute" display_order="5" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10565" resource_type_id="10096" name="name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="EJB Name" display_order="1" description="the name of this EJB" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10566" resource_type_id="10096" name="availableCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Available Count" display_order="2" description="The number of pooled instances of this EJB3 Session Bean in the method-ready state" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10567" resource_type_id="10096" name="createCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="3" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10568" resource_type_id="10096" name="createCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="4" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10569" resource_type_id="10096" name="currentSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current Count" display_order="5" description="The total number of currently pooled instances of this EJB3 Session Bean" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10570" resource_type_id="10096" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Size" display_order="6" description="The maximum number of instances that are allowed to be pooled" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10571" resource_type_id="10096" name="removeCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="7" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10572" resource_type_id="10096" name="removeCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="8" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10573" resource_type_id="10096" name="methodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="9" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> - <rhq_measurement_def id="10574" resource_type_id="10097" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="1" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10575" resource_type_id="10097" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="2" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10576" resource_type_id="10097" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="3" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10577" resource_type_id="10097" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="4" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10578" resource_type_id="10097" name="CurrentPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Pool Size" display_order="5" description="The number of beans in the pool." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10579" resource_type_id="10097" name="MaxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Max Pool Size" display_order="6" description="The maximum pool size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10580" resource_type_id="10097" name="methodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="7" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> - <rhq_measurement_def id="10581" resource_type_id="10097" name="PassivatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Passive Beans" display_order="8" description="The count of beans in the passivated state" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10582" resource_type_id="10098" name="aliases" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Aliases" display_order="1" description="the aliases for this virtual host, if any" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10583" resource_type_id="10099" name="CurrentPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Pool Size" display_order="1" description="The number of beans in the pool." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10584" resource_type_id="10099" name="MaxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Max Pool Size" display_order="2" description="The maximum pool size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10585" resource_type_id="10099" name="MessageCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Message Count" display_order="3" description="The number of messages sent/received" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10586" resource_type_id="10099" name="MessageCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Message Count per Minute" display_order="4" description="The number of messages sent/received" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10587" resource_type_id="10100" name="CurrentPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Pool Size" display_order="1" description="The number of beans in the pool." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10588" resource_type_id="10100" name="MaxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Max Pool Size" display_order="2" description="The maximum pool size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10589" resource_type_id="10100" name="MessageCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Message Count" display_order="3" description="The number of messages sent/received" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10590" resource_type_id="10100" name="MessageCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Message Count per Minute" display_order="4" description="The number of messages sent/received" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10591" resource_type_id="10101" name="runState" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="30000" display_name="Run State" display_order="1" description="Run State" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10592" resource_type_id="10101" name="createdProgrammatically" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Created Programmatically" display_order="2" description="Was this queue created programmatically? If Yes, the queue will not survive a restart of the application server. If No, the queue was created via a deployment XML file." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10593" resource_type_id="10101" name="messageCounterHistoryDayLimit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Message Counter History Day Limit" display_order="3" description="This queue's message counter history day limit - <0: unlimited, =0: history disabled, >0: maximum day count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10594" resource_type_id="10101" name="consumerCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Consumer Count" display_order="4" description="The number of consumers on the queue" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10595" resource_type_id="10101" name="deliveringCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Delivering Count" display_order="5" description="The number of messages currently being delivered" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10596" resource_type_id="10101" name="messageCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Message Count" display_order="6" description="The number of messages in the queue" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10597" resource_type_id="10101" name="scheduledMessageCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Scheduled Message Count" display_order="7" description="The number of scheduled messages in the queue" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10598" resource_type_id="10101" name="messageStatistics.count" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Count" display_order="8" description="The total message count since startup or last counter reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10599" resource_type_id="10101" name="messageStatistics.countDelta" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Count Delta" display_order="9" description="The message count delta since last method call" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10600" resource_type_id="10101" name="messageStatistics.depth" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Depth" display_order="10" description="The current message count of pending messages within the queue waiting for dispatch" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10601" resource_type_id="10101" name="messageStatistics.depthDelta" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Depth Delta" display_order="11" description="The message count delta of pending messages since last method call" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10602" resource_type_id="10101" name="messageStatistics.timeLastUpdate" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Time Last Update" display_order="12" description="The timestamp of the last message add" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10603" resource_type_id="10102" name="ThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Thread Count" display_order="1" description="Number of active threads in the system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10604" resource_type_id="10102" name="PeakThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Peak Thread Count" display_order="2" description="Peak count of active threads in the system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10605" resource_type_id="10102" name="TotalStartedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Total Started Thread Count" display_order="3" description="Count of threads started since system start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10606" resource_type_id="10102" name="DaemonThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Daemon Thread Count" display_order="4" description="Count of threads marked as daemons in the system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10607" resource_type_id="10102" name="SuspendedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Suspended Thread Count" display_order="5" description="Count of suspended threads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10608" resource_type_id="10102" name="DeadLockedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Deadlocked Thread Count" display_order="6" description="Count of threads that are deadlocked waiting to acquire object monitors. This is a CPU-time consuming metric." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10609" resource_type_id="10103" name="name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="EJB Name" display_order="1" description="the name of this EJB" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10610" resource_type_id="10103" name="minPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Minimum Pool Size" display_order="2" description="Minimum Pool Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10611" resource_type_id="10103" name="maxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Maximum Pool Size" display_order="3" description="Maximum Pool Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10612" resource_type_id="10103" name="maxMessages" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Maximum number of Messages" display_order="4" description="Maximum number of Messages" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10613" resource_type_id="10104" name="name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="EJB Name" display_order="1" description="the name of this EJB" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10614" resource_type_id="10104" name="availableCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Available Count" display_order="2" description="The number of pooled instances of this EJB3 Session Bean in the method-ready state" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10615" resource_type_id="10104" name="createCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="3" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10616" resource_type_id="10104" name="createCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="4" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10617" resource_type_id="10104" name="currentSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current Count" display_order="5" description="The total number of currently pooled instances of this EJB3 Session Bean" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10618" resource_type_id="10104" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Size" display_order="6" description="The maximum number of instances that are allowed to be pooled" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10619" resource_type_id="10104" name="removeCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="7" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10620" resource_type_id="10104" name="removeCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="8" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10621" resource_type_id="10104" name="methodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="9" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> - <rhq_measurement_def id="10622" resource_type_id="10104" name="cacheSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Cache Size" display_order="10" description="Cache Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10623" resource_type_id="10104" name="passivatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Passivated Count" display_order="11" description="Passivated Count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10624" resource_type_id="10104" name="totalSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Total Size" display_order="12" description="Total Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10625" resource_type_id="10105" name="virtualHost" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Virtual Host" display_order="1" description="the virtual host with which this context is associated" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10626" resource_type_id="10105" name="responseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Response Time" display_order="2" description="the minimum, maximum, and average response times for requests serviced by this webapp" destination_type="URL" version="0"/> - <rhq_measurement_def id="10627" resource_type_id="10105" name="activeSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Currently Active Sessions" display_order="3" description="the number of sessions that are currently active for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10628" resource_type_id="10105" name="maxActive" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Maximum Active Sessions" display_order="4" description="the maximum number of sessions that have been active for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10629" resource_type_id="10105" name="sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Created Sessions" display_order="5" description="the number of sessions created for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10630" resource_type_id="10105" name="sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Created Sessions per Minute" display_order="6" description="the number of sessions created for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10631" resource_type_id="10105" name="expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Expired Sessions" display_order="7" description="the number of expired sessions for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10632" resource_type_id="10105" name="expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Expired Sessions per Minute" display_order="8" description="the number of expired sessions for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10633" resource_type_id="10105" name="rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Rejected Sessions" display_order="9" description="the number of sessions rejected for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10634" resource_type_id="10105" name="rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Rejected Sessions per Minute" display_order="10" description="the number of sessions rejected for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10635" resource_type_id="10105" name="sessionAverageAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Average Session Alive Time" display_order="11" description="the average alive time of sessions for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10636" resource_type_id="10105" name="sessionMaxAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Session Alive Time" display_order="12" description="the maximum alive time of sessions for this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10637" resource_type_id="10105" name="Servlet.minimumResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Minimum Response Time" display_order="13" description="the minimum response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10638" resource_type_id="10105" name="Servlet.averageResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Average Response Time" display_order="14" description="the average response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10639" resource_type_id="10105" name="Servlet.maximumResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Maximum Response Time" display_order="15" description="the maximum response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10640" resource_type_id="10105" name="Servlet.totalResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Response Time" display_order="16" description="the total response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10641" resource_type_id="10105" name="Servlet.totalResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total Response Time per Minute" display_order="17" description="the total response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10642" resource_type_id="10105" name="Servlet.requestCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of Requests Serviced" display_order="18" description="the number of requests serviced by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10643" resource_type_id="10105" name="Servlet.requestCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number of Requests Serviced per Minute" display_order="19" description="the number of requests serviced by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10644" resource_type_id="10105" name="Servlet.errorCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of Error Responses" display_order="20" description="the number of error responses sent by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10645" resource_type_id="10105" name="Servlet.errorCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number of Error Responses per Minute" display_order="21" description="the number of error responses sent by this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10646" resource_type_id="10106" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="1" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10647" resource_type_id="10106" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="2" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10648" resource_type_id="10106" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="3" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10649" resource_type_id="10106" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="4" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10650" resource_type_id="10106" name="CurrentPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Pool Size" display_order="5" description="The number of beans in the pool." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10651" resource_type_id="10106" name="MaxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Max Pool Size" display_order="6" description="The maximum pool size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10652" resource_type_id="10106" name="CacheSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Cache Size" display_order="7" description="Cache Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10653" resource_type_id="10107" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="1" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10654" resource_type_id="10107" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="2" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10655" resource_type_id="10107" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="3" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10656" resource_type_id="10107" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="4" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10657" resource_type_id="10107" name="CurrentPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Pool Size" display_order="5" description="The number of beans in the pool." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10658" resource_type_id="10107" name="MaxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Max Pool Size" display_order="6" description="The maximum pool size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10659" resource_type_id="10107" name="methodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="7" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> - <rhq_measurement_def id="10660" resource_type_id="10107" name="PassivatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Passive Beans" display_order="8" description="The count of beans in the passivated state" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10661" resource_type_id="10108" name="TotalCompilationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Total Compilation Time" display_order="1" description="The approximate accumulated elapsed time spent in compilation" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10662" resource_type_id="10109" name="FreePhysicalMemorySize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Physical Memory" display_order="1" description="The amount of free physical memory for the OS" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10663" resource_type_id="10109" name="FreeSwapSpaceSize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Swap Memory" display_order="2" description="The amount of free swap space for the OS" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10664" resource_type_id="10109" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Process CPU Time" display_order="3" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10665" resource_type_id="10109" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Process CPU Time per Minute" display_order="4" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10666" resource_type_id="10109" name="CommittedVirtualMemorySize" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Committed Virtual Memory" display_order="5" description="Size of virtual memory used by this process" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10667" resource_type_id="10110" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Count" display_order="1" description="Number of collections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10668" resource_type_id="10110" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Count per Minute" display_order="2" description="Number of collections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10669" resource_type_id="10110" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Time" display_order="3" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10670" resource_type_id="10110" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Time per Minute" display_order="4" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10671" resource_type_id="10110" name="MemoryPoolNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Pool Names" display_order="5" description="The names of the memory pools used by this type of garbage collector" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10672" resource_type_id="10111" name="{Usage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Used" display_order="1" description="Current memory usage" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10673" resource_type_id="10111" name="{Usage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Committed" display_order="2" description="Current memory allocated" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10674" resource_type_id="10111" name="{Usage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Initial Size" display_order="3" description="The amount of memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10675" resource_type_id="10111" name="{Usage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum Size" display_order="4" description="Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10676" resource_type_id="10111" name="MemoryManagerNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Manager Names" display_order="5" description="Garbage collectors for this space" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10677" resource_type_id="10111" name="Type" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Type" display_order="6" description="Pool location" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10678" resource_type_id="10113" name="ClusterConfig" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Cluster Config" display_order="1" description="Cluster Config" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10679" resource_type_id="10113" name="NodeLockingScheme" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Node Locking Scheme" display_order="2" description="Node Locking Scheme" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10680" resource_type_id="10113" name="ExposeManagementStatistics" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Expose Management Statistics?" display_order="3" description="Expose Management Statistics?" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10681" resource_type_id="10113" name="RegisterJmxResource" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Register JMX Resource?" display_order="4" description="Register JMX Resource?" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10682" resource_type_id="10113" name="CacheLoaderConfiguration" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Cache Loader Configuration" display_order="5" description="Cache Loader Configuration" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10683" resource_type_id="10113" name="MultiplexerStack" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Multiplexer Stack" display_order="6" description="Multiplexer Stack" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10684" resource_type_id="10113" name="ReplQueueMaxElements" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Replication Queue Max Elements" display_order="7" description="Replication Queue Max Elements" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10685" resource_type_id="10113" name="NumberOfAttributes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Number of Attributes" display_order="8" description="Number of Attributes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10686" resource_type_id="10113" name="CacheLoaderConfig" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Cache Loader Config" display_order="9" description="Cache Loader Config" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10687" resource_type_id="10113" name="ClusterName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Cluster Name" display_order="10" description="Cluster Name" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10688" resource_type_id="10113" name="InactiveOnStartup" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Inactive on Startup?" display_order="11" description="Inactive on Startup?" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10689" resource_type_id="10113" name="CacheMode" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Cache Mode" display_order="12" description="Cache Mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10690" resource_type_id="10113" name="IsolationLevel" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Isolation Level" display_order="13" description="Isolation Level" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10691" resource_type_id="10113" name="ReplicationVersion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Replication Version" display_order="14" description="Replication Version" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10692" resource_type_id="10113" name="FetchInMemoryState" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Fetch In-Memory State?" display_order="15" description="Fetch In-Memory State?" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10693" resource_type_id="10113" name="InitialStateRetrievalTimeout" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Initial State Retrieval Timeout" display_order="16" description="Initial State Retrieval Timeout" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10694" resource_type_id="10113" name="BuddyReplicationConfig" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Buddy Replication Config" display_order="17" description="Buddy Replication Config" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10695" resource_type_id="10113" name="ReplQueueInterval" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Replication Queue Interval" display_order="18" description="Replication Queue Interval" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10696" resource_type_id="10113" name="UseReplQueue" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Use Replication Queue?" display_order="19" description="Use Replication Queue?" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10697" resource_type_id="10113" name="UseRegionBasedMarshalling" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Use Region-Based Marshalling?" display_order="20" description="Use Region-Based Marshalling?" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10698" resource_type_id="10113" name="LockAcquisitionTimeout" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Lock Acquisition Timeout" display_order="21" description="Lock Acquisition Timeout" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10699" resource_type_id="10113" name="NumberOfNodes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number of Nodes" display_order="22" description="Number of Nodes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10700" resource_type_id="10113" name="SyncCommitPhase" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Sync Commit Phase?" display_order="23" description="Sync Commit Phase?" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10701" resource_type_id="10113" name="SyncReplTimeout" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Sync Replication Timeout" display_order="24" description="Sync Replication Timeout" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10702" resource_type_id="10113" name="EvictionPolicyConfig" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Eviction Policy Config" display_order="25" description="Eviction Policy Config" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10703" resource_type_id="10113" name="State" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="State" display_order="26" description="State" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10704" resource_type_id="10113" name="StateRetrievalTimeout" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="State Retrieval Timeout" display_order="27" description="State Retrieval Timeout" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10705" resource_type_id="10113" name="TransactionManagerLookupClass" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Transaction Manager Lookup Class" display_order="28" description="Transaction Manager Lookup Class" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10706" resource_type_id="10113" name="ClusterProperties" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Cluster Properties" display_order="29" description="Cluster Properties" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10707" resource_type_id="10114" name="Commits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Commits" display_order="1" description="the number of transaction commits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10708" resource_type_id="10114" name="StatisticsEnabled" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Statistics Enabled?" display_order="2" description="a String representation of the transaction map" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10709" resource_type_id="10114" name="Rollbacks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Rollbacks" display_order="3" description="the number of transaction rollbacks" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10710" resource_type_id="10114" name="Prepares" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Prepares" display_order="4" description="the number of transaction prepares" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10711" resource_type_id="10114" name="numberOfSyncsRegistered" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number Of Syncs Registered" display_order="5" description="the number of transaction synchronizations currently registered" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10712" resource_type_id="10116" name="numRegions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Number of Regions" display_order="1" description="the total number of regions" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10713" resource_type_id="10117" name="Enabled" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="RPC Enabled?" display_order="1" description="whether or not the RPC Manager is used in this cache instance" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10714" resource_type_id="10117" name="ReplicationFailures" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Failed Replications" display_order="2" description="the number of failed replications" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10715" resource_type_id="10117" name="LocalAddressString" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Local Address" display_order="3" description="Local address" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10716" resource_type_id="10117" name="StatisticsEnabled" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Statistics Enabled" display_order="4" description="Statistics Enabled" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10717" resource_type_id="10117" name="ReplicationCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Successful Replications" display_order="5" description="the number of successful replications" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10718" resource_type_id="10117" name="SuccessRatio" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Success Ratio" display_order="6" description="RPC call success ratio" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10719" resource_type_id="10117" name="MembersString" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Members" display_order="7" description="cluster view" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10720" resource_type_id="10118" name="Evictions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Evictions" display_order="1" description="the number of cache eviction operations" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10721" resource_type_id="10118" name="Evictions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Evictions per Minute" display_order="2" description="the number of cache eviction operations" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10722" resource_type_id="10118" name="HitMissRatio" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hit/Miss Ratio" display_order="3" description="Hit/Miss Ratio" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10723" resource_type_id="10118" name="ReadWriteRatio" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Read/Write Ratio" display_order="4" description="Read/Write Ratio" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10724" resource_type_id="10118" name="NumberOfNodes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="NumberOfNodes" display_order="5" description="the number of nodes in the cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10725" resource_type_id="10118" name="Hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Hits" display_order="6" description="the number of cache attribute hits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10726" resource_type_id="10118" name="Hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Hits per Minute" display_order="7" description="the number of cache attribute hits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10727" resource_type_id="10118" name="NumberOfAttributes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number Of Attributes" display_order="8" description="the number of cache attributes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10728" resource_type_id="10118" name="StatisticsEnabled" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Statistics Enabled" display_order="9" description="Statistics Enabled" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10729" resource_type_id="10118" name="ElapsedTime" resource_version_range="%NULL%" category="3" units="20" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Elapsed Time" display_order="10" description="the time elapsed since the cache was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10730" resource_type_id="10118" name="ElapsedTime" resource_version_range="%NULL%" category="3" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Elapsed Time per Minute" display_order="11" description="the time elapsed since the cache was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10731" resource_type_id="10118" name="TimeSinceReset" resource_version_range="%NULL%" category="3" units="20" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Time Since Reset" display_order="12" description="the time elapsed since the cache statistics were last reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10732" resource_type_id="10118" name="TimeSinceReset" resource_version_range="%NULL%" category="3" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Time Since Reset per Minute" display_order="13" description="the time elapsed since the cache statistics were last reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10733" resource_type_id="10118" name="Misses" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Misses" display_order="14" description="the number of cache attribute misses" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10734" resource_type_id="10118" name="Misses" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Misses per Minute" display_order="15" description="the number of cache attribute misses" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10735" resource_type_id="10118" name="AverageWriteTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Average Write Time" display_order="16" description="the average amount of time per write operation" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10736" resource_type_id="10118" name="Stores" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Stores" display_order="17" description="the number of cache attribute put operations" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10737" resource_type_id="10118" name="Stores" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Stores per Minute" display_order="18" description="the number of cache attribute put operations" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10738" resource_type_id="10118" name="AverageReadTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Average Read Time" display_order="19" description="the average amount of time per read operation" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10739" resource_type_id="10119" name="numberOfRegisteredTransactions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number Of Registered Transactions" display_order="1" description="the number of registered transactions" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10740" resource_type_id="10119" name="transactionMap" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Transaction Map" display_order="2" description="a string representation of the transaction map" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10741" resource_type_id="10120" name="concurrency level" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Concurrency level" display_order="1" description="The concurrency level that the MVCC Lock Manager has been configured with." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10742" resource_type_id="10120" name="locks held" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Locks held" display_order="2" description="The number of exclusive locks that are held." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10743" resource_type_id="10121" name="partitionName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Partition Name" display_order="1" description="the name of the cluster partition this app server instance belongs to" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10744" resource_type_id="10121" name="jboss.system:type=Server:VersionName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Version Name" display_order="2" description="the code name for the this app server instance's major version (AS 3.2 = WonderLand, AS 4.0 = Zion, AS 4.2 = Trinity, EAP 4.x = EAP, SOA 4.x = SOA)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10745" resource_type_id="10121" name="jboss.system:type=Server:BuildDate" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Build Date" display_order="3" description="the date this app server was built" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10746" resource_type_id="10121" name="jboss.system:type=Server:StartDate" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Start Date" display_order="4" description="the date and time this app server instance was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10747" resource_type_id="10121" name="jboss.system:type=ServerInfo:ActiveThreadCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Active Thread Count" display_order="5" description="The current number of active threads for this app server instance" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10748" resource_type_id="10121" name="jboss.system:type=ServerInfo:ActiveThreadGroupCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Active Thread Group Count" display_order="6" description="The current number of active thread groups for this app server instance" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10749" resource_type_id="10121" name="jboss.system:type=ServerInfo:FreeMemory" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="JVM Free Memory" display_order="7" description="An approximation of the total amount of memory currently available in the app server JVM for future allocated objects, measured in bytes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10750" resource_type_id="10121" name="jboss.system:type=ServerInfo:MaxMemory" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="JVM Max Memory" display_order="8" description="The maximum amount of memory that the app server JVM will attempt to use, measured in bytes; if there is no inherent limit then the value Long.MAX_VALUE will be returned" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10751" resource_type_id="10121" name="jboss.system:type=ServerInfo:TotalMemory" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="JVM Total Memory" display_order="9" description="The total amount of memory currently available in the app server JVM for current and future objects, measured in bytes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10752" resource_type_id="10121" name="jboss:service=TransactionManager:TransactionCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total Transactions" display_order="10" description="Total number of transactions since last restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10753" resource_type_id="10121" name="jboss:service=TransactionManager:TransactionCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total Transactions per Minute" display_order="11" description="Total number of transactions since last restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10754" resource_type_id="10121" name="jboss:service=TransactionManager:CommitCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transactions Committed" display_order="12" description="Number of transactions commited since last restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10755" resource_type_id="10121" name="jboss:service=TransactionManager:CommitCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Transactions Committed per Minute" display_order="13" description="Number of transactions commited since last restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10756" resource_type_id="10121" name="jboss:service=TransactionManager:RollbackCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transactions Rolledback" display_order="14" description="Number of transactions commited since last restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10757" resource_type_id="10121" name="jboss:service=TransactionManager:RollbackCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Transactions Rolledback per Minute" display_order="15" description="Number of transactions commited since last restart" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10758" resource_type_id="10122" name="NumberOfLocksHeld" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number Of Locks Held" display_order="1" description="The number of entities locked for update / replication across the (clustered) tree cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10759" resource_type_id="10122" name="NumberOfNodes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number Of Nodes" display_order="2" description="The total number of entities currently cached across the (clustered) tree cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10760" resource_type_id="10124" name="jboss.mq:service=MessageCache:CacheHits" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="JMS Message Cache Hits" display_order="1" description="The number of cache hits to the JMS Message Cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10761" resource_type_id="10124" name="jboss.mq:service=MessageCache:CacheHits" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="300000" display_name="JMS Message Cache Hits per Minute" display_order="2" description="The number of cache hits to the JMS Message Cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10762" resource_type_id="10124" name="jboss.mq:service=MessageCache:CacheMisses" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="JMS Message Cache Misses" display_order="3" description="The number of cache misses to the JMS Message Cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10763" resource_type_id="10124" name="jboss.mq:service=MessageCache:CacheMisses" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="300000" display_name="JMS Message Cache Misses per Minute" display_order="4" description="The number of cache misses to the JMS Message Cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10764" resource_type_id="10124" name="jboss.mq:service=MessageCache:CurrentMemoryUsage" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="JMS Message Cache Current Memory Usage" display_order="5" description="The total memory currently in use by the JMS Message Cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10765" resource_type_id="10124" name="jboss.mq:service=MessageCache:HighMemoryMark" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="JMS Message Cache High Memory Mark" display_order="6" description="The peak amount of memory the JMS Message Cache has actively used since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10766" resource_type_id="10124" name="jboss.mq:service=MessageCache:MaxMemoryMark" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="JMS Message Cache Max Memory Mark" display_order="7" description="The maximum amount of memory the JMS Message Cache is allowed to use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10767" resource_type_id="10124" name="jboss.mq:service=MessageCache:TotalCacheSize" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="JMS Message Cache Size" display_order="8" description="The number of messages currently in the JMS Message Cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10768" resource_type_id="10125" name="jboss.messaging:service=ServerPeer:ProviderVersion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Version of the Provider" display_order="1" description="The version of JBoss Messaging in use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10769" resource_type_id="10126" name="ConnectionCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Total Connections" display_order="1" description="Total Number of Connections for the Connection Pool, both active and in-active." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10770" resource_type_id="10126" name="AvailableConnectionCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Available Connections" display_order="2" description="Number of available connections in the connection pool in-active and waiting." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10771" resource_type_id="10126" name="InUseConnectionCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Active Connections" display_order="3" description="Number of Connections currently supporting clients." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10772" resource_type_id="10126" name="ConnectionCreatedCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Connections Created" display_order="4" description="Number of Connections created since the Connection Pool was created." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10773" resource_type_id="10126" name="ConnectionCreatedCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Connections Created per Minute" display_order="5" description="Number of Connections created since the Connection Pool was created." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10774" resource_type_id="10126" name="ConnectionDestroyedCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Connections Destroyed" display_order="6" description="Number of Connections destroyed since the Connection Pool was created." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10775" resource_type_id="10126" name="ConnectionDestroyedCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Connections Destroyed per Minute" display_order="7" description="Number of Connections destroyed since the Connection Pool was created." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10776" resource_type_id="10127" name="{stats.createCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Calls" display_order="1" description="The number of instances of this EJB 1.x or 2.x Stateless Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10777" resource_type_id="10127" name="{stats.createCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Calls per Minute" display_order="2" description="The number of instances of this EJB 1.x or 2.x Stateless Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10778" resource_type_id="10127" name="{stats.removeCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Calls" display_order="3" description="The number of instances of this EJB 1.x or 2.x Stateless Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10779" resource_type_id="10127" name="{stats.removeCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Calls per Minute" display_order="4" description="The number of instances of this EJB 1.x or 2.x Stateless Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10780" resource_type_id="10127" name="{stats.methodReadyCount.current}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Method-Ready Beans" display_order="5" description="The number of pooled instances of this EJB 1.x or 2.x Stateless Session Bean in the method-ready state" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10781" resource_type_id="10127" name="{{jboss.j2ee:jndiName=%name%,plugin=pool,service=EJB}CurrentSize}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Pool Size" display_order="6" description="The total number of currently pooled instances of this EJB 1.x or 2.x Stateless Session Bean" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10782" resource_type_id="10127" name="{{jboss.j2ee:jndiName=%name%,plugin=pool,service=EJB}MaxSize}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Pool Size" display_order="7" description="The maximum number of instances that are allowed to be pooled" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10783" resource_type_id="10127" name="MethodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="8" description="the minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> - <rhq_measurement_def id="10784" resource_type_id="10128" name="Application.path" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Path" display_order="1" description="The absolute path of this EAR file or directory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10785" resource_type_id="10128" name="Application.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded?" display_order="2" description="Whether this EAR is deployed exploded (i.e. as a directory)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10786" resource_type_id="10129" name="AvailableConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Available Connection Count" display_order="1" description="Number of available connections." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10787" resource_type_id="10129" name="ConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Count" display_order="2" description="Connection Count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10788" resource_type_id="10129" name="ConnectionCreatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Created Count" display_order="3" description="Connection Created Count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10789" resource_type_id="10129" name="ConnectionDestroyedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Destroyed Count" display_order="4" description="Connection Destroyed Count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10790" resource_type_id="10129" name="InUseConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="In Use Connection Count" display_order="5" description="Mumber of connections currently in use." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10791" resource_type_id="10129" name="MaxConnectionsInUseCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Connections In Use Count" display_order="6" description="Maximum number of maximum connections that have been in use." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10792" resource_type_id="10129" name="MaxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Size" display_order="7" description="Max Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10793" resource_type_id="10129" name="MinSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Min Size" display_order="8" description="Min Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10794" resource_type_id="10131" name="Application.path" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Path" display_order="1" description="the absolute path of this WAR file or directory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10795" resource_type_id="10131" name="Application.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded?" display_order="2" description="whether this WAR is deployed exploded (i.e. as a directory)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10796" resource_type_id="10131" name="ContextRoot" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Context Root" display_order="3" description="this WAR's context root - used as a unique path prefix for URLs corresponding to this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10797" resource_type_id="10131" name="ResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="60000" display_name="HTTP Response Time" display_order="4" description="the minimum, maximum, and average response times for HTTP requests serviced by this webapp" destination_type="URL" version="0"/> - <rhq_measurement_def id="10798" resource_type_id="10131" name="Servlet.MinResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Min. Servlet Resp. Time" display_order="5" description="Minimum response time of a servlet" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10799" resource_type_id="10131" name="Servlet.AvgResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Avg. Servlet Resp. Time" display_order="6" description="Average response time of a servlet" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10800" resource_type_id="10131" name="Servlet.MaxResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max. Servlet Resp. Time" display_order="7" description="Maximum response time of a servlet" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10801" resource_type_id="10131" name="Servlet.TotalTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total processing time" display_order="8" description="Total processing time of the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10802" resource_type_id="10131" name="Servlet.TotalTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total processing time per Minute" display_order="9" description="Total processing time of the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10803" resource_type_id="10131" name="Servlet.NumRequests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Requests served" display_order="10" description="Number of requests served by servlets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10804" resource_type_id="10131" name="Servlet.NumRequests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Requests served per Minute" display_order="11" description="Number of requests served by servlets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10805" resource_type_id="10131" name="Servlet.NumErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Errors while processing" display_order="12" description="Number of errors while processing" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10806" resource_type_id="10131" name="Servlet.NumErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Errors while processing per Minute" display_order="13" description="Number of errors while processing" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10807" resource_type_id="10131" name="Session.activeSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Currently Active Sessions" display_order="14" description="Number active sessions for the webapp right now" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10808" resource_type_id="10131" name="Session.maxActive" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Maximum number of Active Sessions" display_order="15" description="Maximum number of active sessions for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10809" resource_type_id="10131" name="Session.sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Sessions created" display_order="16" description="Number of sessions created for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10810" resource_type_id="10131" name="Session.sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Sessions created per Minute" display_order="17" description="Number of sessions created for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10811" resource_type_id="10131" name="Session.expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Expired Sessions" display_order="18" description="Number of expired sessions for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10812" resource_type_id="10131" name="Session.expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Expired Sessions per Minute" display_order="19" description="Number of expired sessions for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10813" resource_type_id="10131" name="Session.rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Rejected Sessions" display_order="20" description="Number of sessions rejected for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10814" resource_type_id="10131" name="Session.rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Rejected Sessions per Minute" display_order="21" description="Number of sessions rejected for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10815" resource_type_id="10131" name="Session.sessionAverageAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Session Average alive time" display_order="22" description="Average alive time of a Sessions" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10816" resource_type_id="10131" name="Session.sessionMaxAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Session alive time" display_order="23" description="Maximum alive time of a Sessions" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10817" resource_type_id="10131" name="Vhost.name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="Vhost" display_order="24" description="Virtual hosts this app runs on" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10818" resource_type_id="10132" name="{stats.createCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Calls" display_order="1" description="The number of instances of this EJB 1.x or 2.x Stateful Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10819" resource_type_id="10132" name="{stats.createCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Calls per Minute" display_order="2" description="The number of instances of this EJB 1.x or 2.x Stateful Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10820" resource_type_id="10132" name="{stats.removeCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Calls" display_order="3" description="The number of instances of this EJB 1.x or 2.x Stateful Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10821" resource_type_id="10132" name="{stats.removeCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Calls per Minute" display_order="4" description="The number of instances of this EJB 1.x or 2.x Stateful Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10822" resource_type_id="10132" name="{stats.methodReadyCount.current}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Method-Ready Beans" display_order="5" description="The number of pooled instances of this EJB 1.x or 2.x Stateful Session Bean in the method-ready state" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10823" resource_type_id="10132" name="{stats.passiveCount.current}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Passive Beans" display_order="6" description="The number of pooled instances of this EJB 1.x or 2.x Stateful Session Bean in the passivated state" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10824" resource_type_id="10132" name="MethodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="7" description="the minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> - <rhq_measurement_def id="10825" resource_type_id="10133" name="CurrentSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current Count" display_order="1" description="The total number of currently pooled instances of this EJB3 Session Bean" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10826" resource_type_id="10133" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="2" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10827" resource_type_id="10133" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="3" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10828" resource_type_id="10133" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="4" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10829" resource_type_id="10133" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="5" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10830" resource_type_id="10133" name="AvailableCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Available Count" display_order="6" description="The number of pooled instances of this EJB3 Session Bean in the method-ready state" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10831" resource_type_id="10133" name="MaxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Size" display_order="7" description="The maximum number of instances that are allowed to be pooled" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10832" resource_type_id="10133" name="MethodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="8" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB; NOTE: this metric is only available if JBoss EJB3 RC9 Patch 1 or later is being used (a capable version of EJB3 is included with JBossAS 4.2.0.GA or later)" destination_type="Method Name" version="0"/> - <rhq_measurement_def id="10833" resource_type_id="10135" name="{stats.createCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Calls" display_order="1" description="The number of instances of this EJB 1.x or 2.x Message Driven Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10834" resource_type_id="10135" name="{stats.createCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Calls per Minute" display_order="2" description="The number of instances of this EJB 1.x or 2.x Message Driven Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10835" resource_type_id="10135" name="{stats.removeCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Calls" display_order="3" description="The number of instances of this EJB 1.x or 2.x Message Driven Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10836" resource_type_id="10135" name="{stats.removeCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Calls per Minute" display_order="4" description="The number of instances of this EJB 1.x or 2.x Message Driven Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10837" resource_type_id="10135" name="{stats.messageCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method-Ready Beans" display_order="5" description="The number of pooled instances of this EJB 1.x or 2.x Message Driven Bean in the method-ready state" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10838" resource_type_id="10135" name="{stats.messageCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Method-Ready Beans per Minute" display_order="6" description="The number of pooled instances of this EJB 1.x or 2.x Message Driven Bean in the method-ready state" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10839" resource_type_id="10136" name="{stats.createCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Calls" display_order="1" description="The number of instances of this EJB 1.x or 2.x Entity Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10840" resource_type_id="10136" name="{stats.createCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Calls per Minute" display_order="2" description="The number of instances of this EJB 1.x or 2.x Entity Bean that have been created since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10841" resource_type_id="10136" name="{stats.removeCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Calls" display_order="3" description="The number of instances of this EJB 1.x or 2.x Entity Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10842" resource_type_id="10136" name="{stats.removeCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Calls per Minute" display_order="4" description="The number of instances of this EJB 1.x or 2.x Entity Bean that have been removed since server start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10843" resource_type_id="10136" name="{stats.methodReadyCount.current}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Method-Ready Beans" display_order="5" description="The number of pooled instances of this EJB 1.x or 2.x Entity Bean in the method-ready state" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10844" resource_type_id="10136" name="{stats.pooledCount.current}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Pooled Beans" display_order="6" description="The total number of currently pooled instances of this EJB 1.x or 2.x Entity Bean" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10845" resource_type_id="10136" name="{{jboss.j2ee:jndiName=%name%,plugin=cache,service=EJB}CacheSize}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Cache Size" display_order="7" description="The total number of currently cached instances of this EJB 1.x or 2.x Entity Bean" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10846" resource_type_id="10136" name="{{jboss.j2ee:jndiName=%name%,plugin=cache,service=EJB}PassivatedCount}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Passivated Count" display_order="8" description="The number of pooled instances of this EJB 1.x or 2.x Entity Bean in the passivated state" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10847" resource_type_id="10136" name="{{jboss.j2ee:jndiName=%name%,plugin=cache,service=EJB}PassivatedCount}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Passivated Count per Minute" display_order="9" description="The number of pooled instances of this EJB 1.x or 2.x Entity Bean in the passivated state" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10848" resource_type_id="10136" name="{{jboss.j2ee:jndiName=%name%,plugin=pool,service=EJB}PoolSize}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Current Size" display_order="10" description="The total number of currently pooled instances of this EJB 1.x or 2.x Entity Bean" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10849" resource_type_id="10136" name="{{jboss.j2ee:jndiName=%name%,plugin=pool,service=EJB}MaxPoolSize}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Max Size" display_order="11" description="The maximum number of instances that are allowed to be pooled" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10850" resource_type_id="10137" name="{HeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Usage" display_order="1" description="Current heap memory usage" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10851" resource_type_id="10137" name="{HeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Committed" display_order="2" description="Current heap memory allocated. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10852" resource_type_id="10137" name="{NonHeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Usage" display_order="3" description="Current memory usage outside the heap" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10853" resource_type_id="10137" name="{NonHeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Committed" display_order="4" description="Current memory allocated outside the heap. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10854" resource_type_id="10137" name="ObjectPendingFinalizationCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Objects Pending Finalization" display_order="5" description="The approximate number of objects for which finalization is pending." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10855" resource_type_id="10137" name="{HeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Initial Size" display_order="6" description="The amount of heap that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10856" resource_type_id="10137" name="{HeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Maximum Size" display_order="7" description="Maximum amount of heap that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10857" resource_type_id="10137" name="{NonHeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Initial Size" display_order="8" description="The amount of non-heap memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10858" resource_type_id="10137" name="{NonHeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Maximum Size" display_order="9" description="Maximum amount of non-heap memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10859" resource_type_id="10138" name="jboss.web:name=%schema%%dash%%address%-%port%,type=GlobalRequestProcessor:maxTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Maximum Request Time" display_order="1" description="Maximum time it took to process a request" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10860" resource_type_id="10138" name="jboss.web:name=%schema%%dash%%address%-%port%,type=GlobalRequestProcessor:requestCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Request count" display_order="2" description="Total number of requests processed since last restart." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10861" resource_type_id="10138" name="jboss.web:name=%schema%%dash%%address%-%port%,type=GlobalRequestProcessor:requestCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Request count per Minute" display_order="3" description="Total number of requests processed since last restart." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10862" resource_type_id="10138" name="jboss.web:name=%schema%%dash%%address%-%port%,type=GlobalRequestProcessor:errorCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Error count" display_order="4" description="Number of errors while processing since last restart." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10863" resource_type_id="10138" name="jboss.web:name=%schema%%dash%%address%-%port%,type=GlobalRequestProcessor:errorCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Error count per Minute" display_order="5" description="Number of errors while processing since last restart." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10864" resource_type_id="10138" name="jboss.web:name=%schema%%dash%%address%-%port%,type=ThreadPool:currentThreadsBusy" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Threads Active" display_order="6" description="Threads Active" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10865" resource_type_id="10138" name="jboss.web:name=%schema%%dash%%address%-%port%,type=ThreadPool:currentThreadCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Threads Allocated" display_order="7" description="Threads Allocated" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10866" resource_type_id="10139" name="HitMissRatio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hit Miss Ratio" display_order="1" description="Returns the hit/miss ratio for the cache. This ratio is defined as hits/(hits + misses)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10867" resource_type_id="10139" name="ReadWriteRatio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Read Write Ratio" display_order="2" description="Returns the read/write ratio for the cache. This ratio is defined as (hits + misses)/stores." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10868" resource_type_id="10139" name="Hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hits" display_order="3" description="Returns the number of requests made to this cache which it could answer without interrogating the underlying data store" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10869" resource_type_id="10139" name="Misses" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Misses" display_order="4" description="Returns the number of requests made to this cache which required interrogating the underlying data store" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10870" resource_type_id="10139" name="Evictions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Evictions" display_order="5" description="Returns the number of elements purged from this cache in accordance with its specific eviction policy" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10871" resource_type_id="10139" name="NumberOfLocksHeld" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Number Of Locks Held" display_order="6" description="The number of elements locked by this interceptor for update / replication across the (clustered) tree cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10872" resource_type_id="10139" name="NumberOfNodes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Number Of Nodes" display_order="7" description="The total number of entities currently cached across the (clustered) tree cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10873" resource_type_id="10139" name="AverageWriteTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Average Write Time" display_order="8" description="The average time it takes to insert or update elements for the cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10874" resource_type_id="10139" name="TimeSinceReset" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Time Since Reset" display_order="9" description="The amount of time since this cache was reset / cleared" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10875" resource_type_id="10139" name="AverageReadTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Average Read Time" display_order="10" description="The average time it takes to read elements for the cache, includes " destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10876" resource_type_id="10139" name="Stores" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Stores" display_order="11" description="Number of store / writes into this cache made by this interceptor" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10877" resource_type_id="10139" name="NumberOfAttributes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Number Of Attributes" display_order="12" description="The total number of attributes (properties of an entity) currently cached across the (clustered) tree cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10878" resource_type_id="10139" name="ElapsedTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Elapsed Time" display_order="13" description="The amount of time since this cache was created" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10879" resource_type_id="10140" name="FreePhysicalMemorySize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Physical Memory" display_order="1" description="The amount of free physical memory for the OS" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10880" resource_type_id="10140" name="FreeSwapSpaceSize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Swap Memory" display_order="2" description="The amount of free swap space for the OS" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10881" resource_type_id="10140" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Process CPU Time" display_order="3" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10882" resource_type_id="10140" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Process CPU Time per Minute" display_order="4" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10883" resource_type_id="10140" name="CommittedVirtualMemorySize" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Committed Virtual Memory" display_order="5" description="Size of virtual memory used by this process" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10884" resource_type_id="10141" name="AllMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="All Message Counter" display_order="1" description="Returns the total message count for all subscriptions." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10885" resource_type_id="10141" name="DurableMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Durable Message Count" display_order="2" description="Total number of messages for all durable subscriptions." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10886" resource_type_id="10141" name="NonDurableMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-durable Message Count" display_order="3" description="Total number of messages for all non-durable subscriptions." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10887" resource_type_id="10141" name="AllSubscriptionsCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="All Subscription Count" display_order="4" description="Number of subscriptions waiting for a message." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10888" resource_type_id="10141" name="DurableSubscriptionsCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Durable Subscription Count" display_order="5" description="Number of durable subscriptions waiting for a message." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10889" resource_type_id="10141" name="NonDurableSubscriptionsCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-durable Subscription Count" display_order="6" description="Number of non-durable subscriptions waiting for a message." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10890" resource_type_id="10142" name="TotalCompilationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Total Compilation Time" display_order="1" description="The approximate accumulated elapsed time spent in compilation" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10891" resource_type_id="10144" name="Application.path" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Path" display_order="1" description="the absolute path of this WAR file or directory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10892" resource_type_id="10144" name="Application.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded?" display_order="2" description="whether this WAR is deployed exploded (i.e. as a directory)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10893" resource_type_id="10144" name="ContextRoot" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Context Root" display_order="3" description="this WAR's context root - used as a unique path prefix for URLs corresponding to this WAR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10894" resource_type_id="10144" name="ResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="60000" display_name="HTTP Response Time" display_order="4" description="the minimum, maximum, and average response times for HTTP requests serviced by this webapp" destination_type="URL" version="0"/> - <rhq_measurement_def id="10895" resource_type_id="10144" name="Servlet.MinResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Min. Servlet Resp. Time" display_order="5" description="Minimum response time of a servlet" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10896" resource_type_id="10144" name="Servlet.AvgResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Avg. Servlet Resp. Time" display_order="6" description="Average response time of a servlet" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10897" resource_type_id="10144" name="Servlet.MaxResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max. Servlet Resp. Time" display_order="7" description="Maximum response time of a servlet" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10898" resource_type_id="10144" name="Servlet.TotalTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total processing time" display_order="8" description="Total processing time of the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10899" resource_type_id="10144" name="Servlet.TotalTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total processing time per Minute" display_order="9" description="Total processing time of the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10900" resource_type_id="10144" name="Servlet.NumRequests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Requests served" display_order="10" description="Number of requests served by servlets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10901" resource_type_id="10144" name="Servlet.NumRequests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Requests served per Minute" display_order="11" description="Number of requests served by servlets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10902" resource_type_id="10144" name="Servlet.NumErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Errors while processing" display_order="12" description="Number of errors while processing" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10903" resource_type_id="10144" name="Servlet.NumErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Errors while processing per Minute" display_order="13" description="Number of errors while processing" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10904" resource_type_id="10144" name="Session.activeSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Currently Active Sessions" display_order="14" description="Number active sessions for the webapp right now" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10905" resource_type_id="10144" name="Session.maxActive" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Maximum number of Active Sessions" display_order="15" description="Maximum number of active sessions for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10906" resource_type_id="10144" name="Session.sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Sessions created" display_order="16" description="Number of sessions created for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10907" resource_type_id="10144" name="Session.sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Sessions created per Minute" display_order="17" description="Number of sessions created for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10908" resource_type_id="10144" name="Session.expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Expired Sessions" display_order="18" description="Number of expired sessions for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10909" resource_type_id="10144" name="Session.expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Expired Sessions per Minute" display_order="19" description="Number of expired sessions for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10910" resource_type_id="10144" name="Session.rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Rejected Sessions" display_order="20" description="Number of sessions rejected for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10911" resource_type_id="10144" name="Session.rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Rejected Sessions per Minute" display_order="21" description="Number of sessions rejected for the webapp" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10912" resource_type_id="10144" name="Session.sessionAverageAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Session Average alive time" display_order="22" description="Average alive time of a Sessions" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10913" resource_type_id="10144" name="Session.sessionMaxAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Session alive time" display_order="23" description="Maximum alive time of a Sessions" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10914" resource_type_id="10144" name="Vhost.name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="Vhost" display_order="24" description="Virtual hosts this app runs on" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10915" resource_type_id="10145" name="MessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Messages in Queue" display_order="1" description="The number of messages in the queue." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10916" resource_type_id="10145" name="ConsumerCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Consumer Count" display_order="2" description="The number of ClientConsumers waiting for a message." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10917" resource_type_id="10145" name="ScheduledMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Scheduled Message Count" display_order="3" description="The number of scheduled messages in the Queue" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10918" resource_type_id="10145" name="CreatedProgrammatically" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Created programmatically" display_order="4" description="Was this Queue created dynamically" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10919" resource_type_id="10145" name="DeliveringCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Delivering Count" display_order="5" description="The number of messages currently being delivered" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10920" resource_type_id="10146" name="AllMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="All Message Counter" display_order="1" description="Returns the total message count for all subscriptions." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10921" resource_type_id="10146" name="DurableMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Durable Message Count" display_order="2" description="Total number of messages for all durable subscriptions." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10922" resource_type_id="10146" name="NonDurableMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Non-durable Message Count" display_order="3" description="Total number of messages for all non-durable subscriptions." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10923" resource_type_id="10146" name="AllSubscriptionsCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="All Subscription Count" display_order="4" description="Number of subscriptions waiting for a message." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10924" resource_type_id="10146" name="DurableSubscriptionsCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Durable Subscription Count" display_order="5" description="Number of durable subscriptions waiting for a message." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10925" resource_type_id="10146" name="NonDurableSubscriptionsCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Non-durable Subscription Count" display_order="6" description="Number of non-durable subscriptions waiting for a message." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10926" resource_type_id="10146" name="CreatedProgrammatically" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Created programmatically" display_order="7" description="Was this Topic created dynamically" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10927" resource_type_id="10147" name="ThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Thread Count" display_order="1" description="Number of active threads in the system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10928" resource_type_id="10147" name="PeakThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Peak Thread Count" display_order="2" description="Peak count of active threads in the system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10929" resource_type_id="10147" name="TotalStartedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Total Started Thread Count" display_order="3" description="Count of threads started since system start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10930" resource_type_id="10147" name="DaemonThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Daemon Thread Count" display_order="4" description="Count of threads marked as daemons in the system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10931" resource_type_id="10147" name="SuspendedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Suspended Thread Count" display_order="5" description="Count of suspended threads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10932" resource_type_id="10147" name="DeadLockedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Deadlocked Thread Count" display_order="6" description="Count of threads that are deadlocked waiting to acquire object monitors. This is a CPU-time consuming metric." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10933" resource_type_id="10148" name="jboss.web:type=Host,host=%name%:aliases" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="Aliases" display_order="1" description="The aliases for this virtual host" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10934" resource_type_id="10149" name="QueueDepth" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Messages in Queue" display_order="1" description="The number of undelivered messages in the queue." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10935" resource_type_id="10149" name="ReceiversCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Receivers Count" display_order="2" description="The number of ClientConsumers waiting for a message." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10936" resource_type_id="10149" name="ScheduledMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Scheduled Message Count" display_order="3" description="The number of messages waiting to be scheduled" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10937" resource_type_id="10149" name="InProcessMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="In Process Message Count" display_order="4" description="The number of messages received by clients but not acknowledged (from AS 4.0.5)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10938" resource_type_id="10150" name="LoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Loaded Classes" display_order="1" description="The number of classes currently loaded in the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10939" resource_type_id="10150" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Classes Loaded" display_order="2" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10940" resource_type_id="10150" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total Classes Loaded per Minute" display_order="3" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10941" resource_type_id="10150" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Unloaded Classes" display_order="4" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10942" resource_type_id="10150" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Unloaded Classes per Minute" display_order="5" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10943" resource_type_id="10151" name="{Usage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Used" display_order="1" description="Current memory usage" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10944" resource_type_id="10151" name="{Usage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Committed" display_order="2" description="Current memory allocated" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10945" resource_type_id="10151" name="{Usage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Initial Size" display_order="3" description="The amount of memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10946" resource_type_id="10151" name="{Usage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum Size" display_order="4" description="Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10947" resource_type_id="10151" name="MemoryManagerNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Manager Names" display_order="5" description="Garbage collectors for this space" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10948" resource_type_id="10151" name="Type" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Type" display_order="6" description="Pool location" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10949" resource_type_id="10152" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Count" display_order="1" description="Number of collections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10950" resource_type_id="10152" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Count per Minute" display_order="2" description="Number of collections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10951" resource_type_id="10152" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Time" display_order="3" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10952" resource_type_id="10152" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Time per Minute" display_order="4" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10953" resource_type_id="10152" name="MemoryPoolNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Pool Names" display_order="5" description="The names of the memory pools used by this type of garbage collector" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10954" resource_type_id="10153" name="AvailabilityCacheElementCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Availability Cache Element Count" display_order="1" description="The number of elements in the alerts cache that check conditions against availability data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10955" resource_type_id="10153" name="MeasurementCacheElementCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Measurement Cache Element Count" display_order="2" description="The number of elements in the alerts cache that check conditions against measurement numeric or trait data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10956" resource_type_id="10153" name="EventCacheElementCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Event Cache Element Count" display_order="3" description="The number of elements in the alerts cache that check conditions against event history data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10957" resource_type_id="10153" name="OperationCacheElementCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Operation Cache Element Count" display_order="4" description="The number of elements in the alerts cache that check conditions against operation history data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10958" resource_type_id="10153" name="ResourceConfigurationCacheElementCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Resource Configuration Cache Element Count" display_order="5" description="The number of elements in the alerts cache that check conditions against resource configuration data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10959" resource_type_id="10153" name="TotalCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Cache Element Matches" display_order="6" description="The total number of times ANY cache element has triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10960" resource_type_id="10153" name="TotalCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Cache Element Matches per Minute" display_order="7" description="The total number of times ANY cache element has triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10961" resource_type_id="10153" name="AvailabilityCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Availability Cache Element Matches" display_order="8" description="The total number of times availability-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10962" resource_type_id="10153" name="AvailabilityCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Availability Cache Element Matches per Minute" display_order="9" description="The total number of times availability-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10963" resource_type_id="10153" name="MeasurementCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Measurement Cache Element Matches" display_order="10" description="The total number of times measurement-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10964" resource_type_id="10153" name="MeasurementCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Measurement Cache Element Matches per Minute" display_order="11" description="The total number of times measurement-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10965" resource_type_id="10153" name="EventCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Event Cache Element Matches" display_order="12" description="The total number of times events-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10966" resource_type_id="10153" name="EventCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Event Cache Element Matches per Minute" display_order="13" description="The total number of times events-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10967" resource_type_id="10153" name="ResourceConfigurationCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Resource Configuration Cache Element Matches" display_order="14" description="The total number of times resource configuration-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10968" resource_type_id="10153" name="ResourceConfigurationCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Resource Configuration Cache Element Matches per Minute" display_order="15" description="The total number of times resource configuration-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10969" resource_type_id="10153" name="OperationCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Operation Cache Element Matches" display_order="16" description="The total number of times operation-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10970" resource_type_id="10153" name="OperationCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Operation Cache Element Matches per Minute" display_order="17" description="The total number of times operation-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10971" resource_type_id="10153" name="TotalProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Processing Time" display_order="18" description="The total amount of time spent by the alerts cache processing ALL types of data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10972" resource_type_id="10153" name="TotalProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Processing Time per Minute" display_order="19" description="The total amount of time spent by the alerts cache processing ALL types of data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10973" resource_type_id="10153" name="AvailabilityProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Availability Processing Time" display_order="20" description="The total amount of time spent by the alerts cache processing availability data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10974" resource_type_id="10153" name="AvailabilityProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Availability Processing Time per Minute" display_order="21" description="The total amount of time spent by the alerts cache processing availability data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10975" resource_type_id="10153" name="MeasurementProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Measurement Processing Time" display_order="22" description="The total amount of time spent by the alerts cache processing measurement numeric or trait data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10976" resource_type_id="10153" name="MeasurementProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Measurement Processing Time per Minute" display_order="23" description="The total amount of time spent by the alerts cache processing measurement numeric or trait data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10977" resource_type_id="10153" name="EventProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Event Processing Time" display_order="24" description="The total amount of time spent by the alerts cache processing event history data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10978" resource_type_id="10153" name="EventProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Event Processing Time per Minute" display_order="25" description="The total amount of time spent by the alerts cache processing event history data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10979" resource_type_id="10153" name="ResourceConfigurationProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Resource Configuration Processing Time" display_order="26" description="The total amount of time spent by the alerts cache processing resource configuration data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10980" resource_type_id="10153" name="ResourceConfigurationProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Resource Configuration Processing Time per Minute" display_order="27" description="The total amount of time spent by the alerts cache processing resource configuration data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10981" resource_type_id="10153" name="OperationProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Operation Processing Time" display_order="28" description="The total amount of time spent by the alerts cache processing operation history data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10982" resource_type_id="10153" name="OperationProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Operation Processing Time per Minute" display_order="29" description="The total amount of time spent by the alerts cache processing operation history data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10983" resource_type_id="10154" name="CalltimeValuesInserted" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Calltime Values Inserted" display_order="1" description="The total number of call time data records inserted into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10984" resource_type_id="10154" name="CalltimeValuesInserted" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Calltime Values Inserted per Minute" display_order="2" description="The total number of call time data records inserted into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10985" resource_type_id="10154" name="CallTimeInsertTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Call Time Insert Time" display_order="3" description="The total amount of time taken to insert call time data into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10986" resource_type_id="10154" name="CallTimeInsertTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Call Time Insert Time per Minute" display_order="4" description="The total amount of time taken to insert call time data into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10987" resource_type_id="10154" name="MeasurementsInserted" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Measurements Inserted" display_order="5" description="The total number of measurement records (incl. Calltime data) inserted into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10988" resource_type_id="10154" name="MeasurementsInserted" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Measurements Inserted per Minute" display_order="6" description="The total number of measurement records (incl. Calltime data) inserted into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10989" resource_type_id="10154" name="ScheduledMeasurementsPerMinute" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Scheduled Measurements Per Minute" display_order="7" description="The average number of measurements expected to be collected per minute" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10990" resource_type_id="10154" name="MeasurementInsertTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Measurement Insert Time" display_order="8" description="The total amount of time taken to insert measurement data into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10991" resource_type_id="10154" name="MeasurementInsertTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Measurement Insert Time per Minute" display_order="9" description="The total amount of time taken to insert measurement data into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10992" resource_type_id="10154" name="BaselineCalculationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Baseline Calculation Time" display_order="10" description="The total amount of time taken to calculate and insert measurement baseline data into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10993" resource_type_id="10154" name="BaselineCalculationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Baseline Calculation Time per Minute" display_order="11" description="The total amount of time taken to calculate and insert measurement baseline data into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10994" resource_type_id="10154" name="MeasurementCompressionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Measurement Compression Time" display_order="12" description="The total amount of time taken by this RHQ Server instance to compress measurement data since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10995" resource_type_id="10154" name="MeasurementCompressionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Measurement Compression Time per Minute" display_order="13" description="The total amount of time taken by this RHQ Server instance to compress measurement data since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10996" resource_type_id="10154" name="PurgeTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Purge Time" display_order="14" description="The total amount of time taken by this RHQ Server instance to purge old measurement data since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10997" resource_type_id="10154" name="PurgeTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Purge Time per Minute" display_order="15" description="The total amount of time taken by this RHQ Server instance to purge old measurement data since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10998" resource_type_id="10154" name="AvailabilityInsertTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Availability Insert Time" display_order="16" description="The total amount of time taken to insert availability data into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="10999" resource_type_id="10154" name="AvailabilityInsertTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Availability Insert Time per Minute" display_order="17" description="The total amount of time taken to insert availability data into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11000" resource_type_id="10154" name="AvailabilitiesInserted" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Availabilities Inserted" display_order="18" description="The total number of availability records inserted into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11001" resource_type_id="10154" name="AvailabilitiesInserted" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Availabilities Inserted per Minute" display_order="19" description="The total number of availability records inserted into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11002" resource_type_id="10154" name="TotalAvailabilityReports" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Availability Reports" display_order="20" description="The total number of availability reports received and processed by this RHQ Server since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11003" resource_type_id="10154" name="TotalAvailabilityReports" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Availability Reports per Minute" display_order="21" description="The total number of availability reports received and processed by this RHQ Server since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11004" resource_type_id="10154" name="ChangesOnlyAvailabilityReports" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Changes Only Availability Reports" display_order="22" description="The number of changes-only availability reports received and processed by this RHQ Server since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11005" resource_type_id="10154" name="ChangesOnlyAvailabilityReports" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Changes Only Availability Reports per Minute" display_order="23" description="The number of changes-only availability reports received and processed by this RHQ Server since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11006" resource_type_id="10154" name="FullAvailabilityReports" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Full Availability Reports" display_order="24" description="The number of full availability reports received and processed by this RHQ Server since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11007" resource_type_id="10154" name="FullAvailabilityReports" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Full Availability Reports per Minute" display_order="25" description="The number of full availability reports received and processed by this RHQ Server since it was started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11008" resource_type_id="10154" name="PurgedAlerts" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="900000" display_name="Purged Alerts" display_order="26" description="Number of alerts purged by the last purge job" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11009" resource_type_id="10154" name="PurgedAlertConditions" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="900000" display_name="Purged Alert Conditions" display_order="27" description="Number of alert conditions purged by the last purge job" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11010" resource_type_id="10154" name="PurgedAlertNotifications" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="900000" display_name="Purged Alert Notifications" display_order="28" description="Number of alert notifications purged by the last purge job" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11011" resource_type_id="10154" name="PurgedAvailabilities" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="900000" display_name="Purged Availabilities" display_order="29" description="Number of availabilities purged by the last purge job" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11012" resource_type_id="10154" name="PurgedCallTimeData" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="900000" display_name="Purged Call Time Data" display_order="30" description="Number of call time data purged by the last purge job" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11013" resource_type_id="10154" name="PurgedEvents" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="900000" display_name="Purged Events" display_order="31" description="Number of events purged by the last purge job" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11014" resource_type_id="10154" name="PurgedMeasurementTraits" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="900000" display_name="Purged Measurement Traits" display_order="32" description="Number of traits purged by the last purge job" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11015" resource_type_id="10155" name="GroupDefinitionCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Group Definition Count" display_order="1" description="Total number of group definitions in the system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11016" resource_type_id="10155" name="AutoRecalculatingGroupDefinitionCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Auto Recalculating Group Definition Count" display_order="2" description="The number of auto-recalculating group definitions in the system" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11017" resource_type_id="10155" name="DynaGroupCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Dyna Group Count" display_order="3" description="Total number of resource groups managed by some group definition" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11018" resource_type_id="10155" name="AutoRecalculationThreadTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Auto Recalculation Thread Time" display_order="4" description="Average time it took to recalculate DynaGroup members for those GroupDefinition's whose timeout expired" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11019" resource_type_id="10156" name="NumberFailedCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number Failed Commands Received" display_order="1" description="Total number of commands that were received but failed to be processed successfully" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11020" resource_type_id="10156" name="NumberFailedCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number Failed Commands Received per Minute" display_order="2" description="Total number of commands that were received but failed to be processed successfully" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11021" resource_type_id="10156" name="NumberSuccessfulCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number Successful Commands Received" display_order="3" description="Total number of commands that were received and successfully processed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11022" resource_type_id="10156" name="NumberSuccessfulCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number Successful Commands Received per Minute" display_order="4" description="Total number of commands that were received and successfully processed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11023" resource_type_id="10156" name="NumberTotalCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number Total Commands Received" display_order="5" description="Total number of commands that were received regardless of their success or failure" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11024" resource_type_id="10156" name="NumberTotalCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number Total Commands Received per Minute" display_order="6" description="Total number of commands that were received regardless of their success or failure" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11025" resource_type_id="10156" name="NumberDroppedCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number Dropped Commands Received" display_order="7" description="Total number of commands that were received but were dropped, usually due to a limit reached in the server that prohibits more commands from being processed until commands currently being processed are finished." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11026" resource_type_id="10156" name="NumberDroppedCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number Dropped Commands Received per Minute" display_order="8" description="Total number of commands that were received but were dropped, usually due to a limit reached in the server that prohibits more commands from being processed until commands currently being processed are finished." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11027" resource_type_id="10156" name="NumberNotProcessedCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number Not Processed Commands Received" display_order="9" description="Total number of commands that were received but were not processed usually due to the suspension of global command processing." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11028" resource_type_id="10156" name="NumberNotProcessedCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number Not Processed Commands Received per Minute" display_order="10" description="Total number of commands that were received but were not processed usually due to the suspension of global command processing." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11029" resource_type_id="10156" name="AverageExecutionTimeReceived" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Average Execution Time Received" display_order="11" description="Average time it took to process incoming commands that were ultimately successful" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11030" resource_type_id="10157" name="NumberFailedInvocations" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number Failed Invocations" display_order="1" description="Total number of remote API requests that were received but failed to be processed successfully" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11031" resource_type_id="10157" name="NumberFailedInvocations" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number Failed Invocations per Minute" display_order="2" description="Total number of remote API requests that were received but failed to be processed successfully" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11032" resource_type_id="10157" name="NumberSuccessfulInvocations" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number Successful Invocations" display_order="3" description="Total number of remote API requests that were received and successfully processed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11033" resource_type_id="10157" name="NumberSuccessfulInvocations" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number Successful Invocations per Minute" display_order="4" description="Total number of remote API requests that were received and successfully processed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11034" resource_type_id="10157" name="NumberTotalInvocations" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number Total Invocations" display_order="5" description="Total number of remote API requests that were received regardless of their success or failure" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11035" resource_type_id="10157" name="NumberTotalInvocations" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number Total Invocations per Minute" display_order="6" description="Total number of remote API requests that were received regardless of their success or failure" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11036" resource_type_id="10157" name="AverageExecutionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Average Execution Time" display_order="7" description="Average time it took to process incoming remote API requests that were ultimately successful" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11037" resource_type_id="10158" name="{masterPluginContainer.configuration.pluginDirectory}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Plugin Directory" display_order="1" description="The location where this plugin container expects to find all of its plugins." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11038" resource_type_id="10158" name="{masterPluginContainer.configuration.temporaryDirectory}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Temporary Directory" display_order="2" description="The location that the plugin uses to store transient files. Dependency jars found in plugins will be stored here to help build plugin classloaders." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11039" resource_type_id="10160" name=":numberOfNodes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number of Nodes" display_order="1" description="Number of Nodes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11040" resource_type_id="10160" name="ActivationInterceptor:activations" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Activations" display_order="2" description="Number of passivated nodes that have been activated." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11041" resource_type_id="10160" name="CacheLoaderInterceptor:cacheLoaderLoads" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Cache Loader Loads" display_order="3" description="Number of nodes loaded through a cache loader." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11042" resource_type_id="10160" name="CacheLoaderInterceptor:cacheLoaderLoads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Cache Loader Loads per Minute" display_order="4" description="Number of nodes loaded through a cache loader." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11043" resource_type_id="10160" name="CacheLoaderInterceptor:cacheLoaderMisses" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Cache Loader Misses" display_order="5" description="Number of unsuccessful attempts to load a node through a cache loader." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11044" resource_type_id="10160" name="CacheLoaderInterceptor:cacheLoaderMisses" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Cache Loader Misses per Minute" display_order="6" description="Number of unsuccessful attempts to load a node through a cache loader." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11045" resource_type_id="10160" name="CacheMgmtInterceptor:hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Cache Hits" display_order="7" description="Number of successful attribute retrievals." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11046" resource_type_id="10160" name="CacheMgmtInterceptor:hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Cache Hits per Minute" display_order="8" description="Number of successful attribute retrievals." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11047" resource_type_id="10160" name="CacheMgmtInterceptor:misses" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Cache Misses" display_order="9" description="Number of unsuccessful attribute retrievals." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11048" resource_type_id="10160" name="CacheMgmtInterceptor:misses" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Cache Misses per Minute" display_order="10" description="Number of unsuccessful attribute retrievals." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11049" resource_type_id="10160" name="CacheMgmtInterceptor:hitMissRatio" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hit-miss-ratio" display_order="11" description="Ratio of hits to hits and misses. A hit is a get attribute operation that results in an object being returned to the client. The retrieval may be from a cache loader if the entry isn't in the local cache." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11050" resource_type_id="10160" name="CacheMgmtInterceptor:readWriteRatio" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Read-write-ratio" display_order="12" description="Ratio of read operations to write operations. This is the ratio of cache hits and misses to cache stores." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11051" resource_type_id="10160" name="CacheMgmtInterceptor:stores" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Cache Stores" display_order="13" description="Number of attribute store operations." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11052" resource_type_id="10160" name="CacheMgmtInterceptor:stores" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Cache Stores per Minute" display_order="14" description="Number of attribute store operations." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11053" resource_type_id="10160" name="CacheMgmtInterceptor:evictions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Cache Evictions" display_order="15" description="Number of node evictions." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11054" resource_type_id="10160" name="CacheMgmtInterceptor:evictions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Cache Evictions per Minute" display_order="16" description="Number of node evictions." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11055" resource_type_id="10160" name="CacheMgmtInterceptor:numberOfAttributes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Number of Attributes" display_order="17" description="Number of attributes currently cached." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11056" resource_type_id="10160" name="CacheMgmtInterceptor:numberOfNodes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Number of Nodes cached" display_order="18" description="Number of nodes currently cached." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11057" resource_type_id="10160" name="CacheMgmtInterceptor:elapsedTime" resource_version_range="%NULL%" category="3" units="20" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Elapsed Time" display_order="19" description="Number of seconds that the cache has been running." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11058" resource_type_id="10160" name="CacheMgmtInterceptor:elapsedTime" resource_version_range="%NULL%" category="3" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Elapsed Time per Minute" display_order="20" description="Number of seconds that the cache has been running." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11059" resource_type_id="10160" name="CacheMgmtInterceptor:timeSinceReset" resource_version_range="%NULL%" category="3" units="20" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Time since reset" display_order="21" description="Number of seconds since the cache statistics have been reset." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11060" resource_type_id="10160" name="CacheMgmtInterceptor:timeSinceReset" resource_version_range="%NULL%" category="3" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Time since reset per Minute" display_order="22" description="Number of seconds since the cache statistics have been reset." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11061" resource_type_id="10160" name="CacheMgmtInterceptor:averageReadTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Average Read Time" display_order="23" description="Average time in milliseconds to retrieve a cache attribute, including unsuccessful attribute retrievals." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11062" resource_type_id="10160" name="CacheMgmtInterceptor:averageWriteTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Average Write Time" display_order="24" description="Average time in milliseconds to write a cache attribute." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11063" resource_type_id="10160" name="CacheStoreInterceptor:cacheLoaderStores" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Cache Loader Stores" display_order="25" description="Number of nodes written to the cache loader." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11064" resource_type_id="10160" name="CacheStoreInterceptor:cacheLoaderStores" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Cache Loader Stores per Minute" display_order="26" description="Number of nodes written to the cache loader." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11065" resource_type_id="10160" name="InvalidationInterceptor:invalidations" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Invalidataions" display_order="27" description="Number of cached nodes that have been invalidated." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11066" resource_type_id="10160" name="InvalidationInterceptor:invalidations" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Invalidataions per Minute" display_order="28" description="Number of cached nodes that have been invalidated." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11067" resource_type_id="10160" name="PassivationInterceptor:passivations" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Passivations" display_order="29" description="Number of cached nodes that have been passivated." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11068" resource_type_id="10160" name="PassivationInterceptor:passivations" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Passivations per Minute" display_order="30" description="Number of cached nodes that have been passivated." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11069" resource_type_id="10160" name="TxInterceptor:prepares" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Tx prepares" display_order="31" description="Number of transaction prepare operations performed." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11070" resource_type_id="10160" name="TxInterceptor:prepares" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Tx prepares per Minute" display_order="32" description="Number of transaction prepare operations performed." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11071" resource_type_id="10160" name="TxInterceptor:commits" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Tx commits" display_order="33" description="Number of transaction commit operations performed." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11072" resource_type_id="10160" name="TxInterceptor:commits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Tx commits per Minute" display_order="34" description="Number of transaction commit operations performed." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11073" resource_type_id="10160" name="TxInterceptor:rollbacks" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Tx rollbacks" display_order="35" description="Number of transaction rollback operations performed." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11074" resource_type_id="10160" name="TxInterceptor:rollbacks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Tx rollbacks per Minute" display_order="36" description="Number of transaction rollback operations performed." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11075" resource_type_id="10162" name="Bytes Sent/sec" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Sent" display_order="1" description="Shows the rate that data bytes are sent by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11076" resource_type_id="10162" name="Bytes Sent/sec" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Sent per Minute" display_order="2" description="Shows the rate that data bytes are sent by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11077" resource_type_id="10162" name="Bytes Received/sec" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Received" display_order="3" description="Shows the rate that data bytes are received by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11078" resource_type_id="10162" name="Bytes Received/sec" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Received per Minute" display_order="4" description="Shows the rate that data bytes are received by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11079" resource_type_id="10162" name="Total Files Sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Files Sent" display_order="5" description="Shows the total number of files sent by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11080" resource_type_id="10162" name="Total Files Sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Files Sent per Minute" display_order="6" description="Shows the total number of files sent by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11081" resource_type_id="10162" name="Total Files Received" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Files Received" display_order="7" description="Shows the total number of files received by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11082" resource_type_id="10162" name="Total Files Received" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Files Received per Minute" display_order="8" description="Shows the total number of files received by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11083" resource_type_id="10162" name="Total Files Transferred" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Files Transferred" display_order="9" description="Shows the sum of Files Sent and Files Received. This is the total number of files transferred by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11084" resource_type_id="10162" name="Total Files Transferred" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Files Transferred per Minute" display_order="10" description="Shows the sum of Files Sent and Files Received. This is the total number of files transferred by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11085" resource_type_id="10162" name="Current Anonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Anonymous Users" display_order="11" description="Shows the number of users who currently have an anonymous connection using the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11086" resource_type_id="10162" name="Current NonAnonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current NonAnonymous Users" display_order="12" description="Shows the number of users who currently have a non-anonymous connection using the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11087" resource_type_id="10162" name="Total Anonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Anonymous Users" display_order="13" description="Shows the total number of users who established an anonymous connection with the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11088" resource_type_id="10162" name="Total Anonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Anonymous Users per Minute" display_order="14" description="Shows the total number of users who established an anonymous connection with the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11089" resource_type_id="10162" name="Total NonAnonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Non Anonymous Users" display_order="15" description="Shows the total number of users who established a non-anonymous connection with the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11090" resource_type_id="10162" name="Total NonAnonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Non Anonymous Users per Minute" display_order="16" description="Shows the total number of users who established a non-anonymous connection with the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11091" resource_type_id="10162" name="Maximum Anonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum Anonymous Users" display_order="17" description="Shows the maximum number of users who established concurrent anonymous connections using the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11092" resource_type_id="10162" name="Maximum NonAnonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum Non Anonymous Users" display_order="18" description="Shows the maximum number of users who established concurrent non-anonymous connections using the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11093" resource_type_id="10162" name="Current Connections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Current Connections" display_order="19" description="Shows the current number of connections established with the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11094" resource_type_id="10162" name="Maximum Connections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum Connections" display_order="20" description="Shows the maximum number of simultaneous connections established with the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11095" resource_type_id="10162" name="Total Logon Attempts" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Logon Attempts" display_order="21" description="Shows the number of logons that have been attempted using the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11096" resource_type_id="10162" name="Total Logon Attempts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Logon Attempts per Minute" display_order="22" description="Shows the number of logons that have been attempted using the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11097" resource_type_id="10162" name="Total Get Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total GET Requests" display_order="23" description="Shows the number of HTTP requests using the GET method (counted since service startup). GET requests are generally used for basic file retrievals or image maps, though they can be used with forms." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11098" resource_type_id="10162" name="Total Get Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total GET Requests per Minute" display_order="24" description="Shows the number of HTTP requests using the GET method (counted since service startup). GET requests are generally used for basic file retrievals or image maps, though they can be used with forms." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11099" resource_type_id="10162" name="Total Post Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total POST Requests" display_order="25" description="Shows the number of HTTP requests using the POST method (counted since service startup). POST requests are generally used for forms or gateway requests." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11100" resource_type_id="10162" name="Total Post Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total POST Requests per Minute" display_order="26" description="Shows the number of HTTP requests using the POST method (counted since service startup). POST requests are generally used for forms or gateway requests." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11101" resource_type_id="10162" name="Total Head Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total HEAD Requests" display_order="27" description="Shows the number of HTTP requests using the HEAD method (counted since service startup). Head requests generally indicate a client is querying the state of a document they already have to see if it needs to be refreshed." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11102" resource_type_id="10162" name="Total Head Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total HEAD Requests per Minute" display_order="28" description="Shows the number of HTTP requests using the HEAD method (counted since service startup). Head requests generally indicate a client is querying the state of a document they already have to see if it needs to be refreshed." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11103" resource_type_id="10162" name="Total Put Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total PUT Requests" display_order="29" description="Shows the number of HTTP requests using the PUT method (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11104" resource_type_id="10162" name="Total Put Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total PUT Requests per Minute" display_order="30" description="Shows the number of HTTP requests using the PUT method (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11105" resource_type_id="10162" name="Total Delete Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total DELETE Requests" display_order="31" description="Shows the number of HTTP requests using the DELETE method (counted since service startup). Delete requests are generally used for file removals." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11106" resource_type_id="10162" name="Total Delete Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total DELETE Requests per Minute" display_order="32" description="Shows the number of HTTP requests using the DELETE method (counted since service startup). Delete requests are generally used for file removals." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11107" resource_type_id="10162" name="Total Trace Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total TRACE Requests" display_order="33" description="Shows the number of HTTP requests using the TRACE method (counted since service startup). TRACE requests allow the client to see what is being received at the end of the request chain and use the information for diagnostic purposes." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11108" resource_type_id="10162" name="Total Trace Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total TRACE Requests per Minute" display_order="34" description="Shows the number of HTTP requests using the TRACE method (counted since service startup). TRACE requests allow the client to see what is being received at the end of the request chain and use the information for diagnostic purposes." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11109" resource_type_id="10162" name="Total Other Request Methods" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Other Request Methods" display_order="35" description="Shows the number of HTTP requests that are not OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, MOVE, COPY, MKCOL, PROPFIND, PROPPATCH, MS-SEARCH, LOCK or UNLOCK methods (counted since service startup). These may include LINK or other methods supported by gateway applications." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11110" resource_type_id="10162" name="Total Other Request Methods" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Other Request Methods per Minute" display_order="36" description="Shows the number of HTTP requests that are not OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, MOVE, COPY, MKCOL, PROPFIND, PROPPATCH, MS-SEARCH, LOCK or UNLOCK methods (counted since service startup). These may include LINK or other methods supported by gateway applications." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11111" resource_type_id="10162" name="Total Method Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Method Requests" display_order="37" description="Shows the number of all HTTP requests (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11112" resource_type_id="10162" name="Total Method Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Method Requests per Minute" display_order="38" description="Shows the number of all HTTP requests (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11113" resource_type_id="10162" name="Total CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total CGI Requests" display_order="39" description="Shows the total number of CGI requests. CGI requests are custom gateway executables (.exe) the administrator can install to add forms processing or other dynamic data sources. CGI requests initiate a process on the server which can be a large drain on server resources. The count is the total since service startup." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11114" resource_type_id="10162" name="Total CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total CGI Requests per Minute" display_order="40" description="Shows the total number of CGI requests. CGI requests are custom gateway executables (.exe) the administrator can install to add forms processing or other dynamic data sources. CGI requests initiate a process on the server which can be a large drain on server resources. The count is the total since service startup." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11115" resource_type_id="10162" name="Total ISAPI Extension Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total ISAPI Extension Requests" display_order="41" description="Shows the total number of ISAPI Extension Requests. ISAPI Extension Requests are custom gateway Dynamic Link Libraries (.dll) the administrator can install to add forms processing or other dynamic data sources. Unlike CGI requests, ISAPI requests are simple calls to a DLL library routine, thus they are better suited to high performance gateway applications. The count is the total since service startup." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11116" resource_type_id="10162" name="Total ISAPI Extension Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total ISAPI Extension Requests per Minute" display_order="42" description="Shows the total number of ISAPI Extension Requests. ISAPI Extension Requests are custom gateway Dynamic Link Libraries (.dll) the administrator can install to add forms processing or other dynamic data sources. Unlike CGI requests, ISAPI requests are simple calls to a DLL library routine, thus they are better suited to high performance gateway applications. The count is the total since service startup." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11117" resource_type_id="10162" name="Total Not Found Errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Not Found Errors" display_order="43" description="Shows the number of requests that could not be satisfied by the server because the requested document could not be found. These are generally reported as an HTTP 404 error code to the client. The count is the total since service startup." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11118" resource_type_id="10162" name="Total Not Found Errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Not Found Errors per Minute" display_order="44" description="Shows the number of requests that could not be satisfied by the server because the requested document could not be found. These are generally reported as an HTTP 404 error code to the client. The count is the total since service startup." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11119" resource_type_id="10162" name="Total Locked Errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Locked Errors" display_order="45" description="Shows the number of requests that could not be satisfied by the server because the requested was locked. These are generally reported as an HTTP 423 error code to the client. The count is the total since service startup." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11120" resource_type_id="10162" name="Total Locked Errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Locked Errors per Minute" display_order="46" description="Shows the number of requests that could not be satisfied by the server because the requested was locked. These are generally reported as an HTTP 423 error code to the client. The count is the total since service startup." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11121" resource_type_id="10162" name="Current CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Current CGI Requests" display_order="47" description="Shows the current number of CGI requests that are simultaneously being processed by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11122" resource_type_id="10162" name="Current CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Current CGI Requests per Minute" display_order="48" description="Shows the current number of CGI requests that are simultaneously being processed by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11123" resource_type_id="10162" name="Current ISAPI Extension Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current ISAPI Extension Requests" display_order="49" description="Shows the current number of Extension requests that are simultaneously being processed by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11124" resource_type_id="10162" name="Maximum CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum CGI Requests" display_order="50" description="Shows the maximum number of CGI requests simultaneously processed by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11125" resource_type_id="10162" name="Maximum ISAPI Extension Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum ISAPI Extension Requests" display_order="51" description="Shows the maximum number of Extension requests simultaneously processed by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11126" resource_type_id="10162" name="Total Blocked Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Blocked Async I/ O Requests" display_order="52" description="Shows the number of total requests temporarily blocked due to bandwidth throttling settings (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11127" resource_type_id="10162" name="Total Blocked Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Blocked Async I/ O Requests per Minute" display_order="53" description="Shows the number of total requests temporarily blocked due to bandwidth throttling settings (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11128" resource_type_id="10162" name="Total Allowed Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Allowed Async I/ O Requests" display_order="54" description="Shows the total number of requests allowed by bandwidth throttling settings (counted since service startup). When bandwidth throttling is defined, the number of allowed user requests is restricted." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11129" resource_type_id="10162" name="Total Allowed Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Allowed Async I/ O Requests per Minute" display_order="55" description="Shows the total number of requests allowed by bandwidth throttling settings (counted since service startup). When bandwidth throttling is defined, the number of allowed user requests is restricted." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11130" resource_type_id="10162" name="Total Rejected Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Rejected Async I/ O Requests" display_order="56" description="Shows the total number of requests rejected due to bandwidth throttling settings (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11131" resource_type_id="10162" name="Total Rejected Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Rejected Async I/ O Requests per Minute" display_order="57" description="Shows the total number of requests rejected due to bandwidth throttling settings (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11132" resource_type_id="10162" name="Current Blocked Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Blocked Async I/ O Requests" display_order="58" description="Shows current requests that are temporarily blocked due to bandwidth throttling settings." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11133" resource_type_id="10162" name="Measured Async I/O Bandwidth Usage" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Measured Async I/ O Bandwidth Usage" display_order="59" description="Shows the measured bandwidth of asynchronous I/O averaged over a minute." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11134" resource_type_id="10162" name="Total Connection Attempts (all instances)" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Connection Attempts (all instances)" display_order="60" description="Shows the number of connections that have been attempted using the Web service (counted since service startup). This counter is for all instances listed." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11135" resource_type_id="10162" name="Total Connection Attempts (all instances)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Connection Attempts (all instances) per Minute" display_order="61" description="Shows the number of connections that have been attempted using the Web service (counted since service startup). This counter is for all instances listed." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11136" resource_type_id="10162" name="Service Uptime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Service Uptime" display_order="62" description="The amount of time this service has been up for" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11137" resource_type_id="10163" name="Bytes Sent/sec" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Bytes Sent" display_order="1" description="Shows the rate that data bytes are sent by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11138" resource_type_id="10163" name="Bytes Sent/sec" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Bytes Sent per Minute" display_order="2" description="Shows the rate that data bytes are sent by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11139" resource_type_id="10163" name="Bytes Received/sec" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Bytes Received" display_order="3" description="Shows the rate that data bytes are received by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11140" resource_type_id="10163" name="Bytes Received/sec" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Bytes Received per Minute" display_order="4" description="Shows the rate that data bytes are received by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11141" resource_type_id="10163" name="Total Files Sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Files Sent" display_order="5" description="Shows the total number of files sent by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11142" resource_type_id="10163" name="Total Files Sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Files Sent per Minute" display_order="6" description="Shows the total number of files sent by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11143" resource_type_id="10163" name="Total Files Received" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Files Received" display_order="7" description="Shows the total number of files received by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11144" resource_type_id="10163" name="Total Files Received" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Files Received per Minute" display_order="8" description="Shows the total number of files received by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11145" resource_type_id="10163" name="Total Files Transferred" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Files Transferred" display_order="9" description="Shows the sum of Files Sent and Files Received. This is the total number of files transferred by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11146" resource_type_id="10163" name="Total Files Transferred" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Files Transferred per Minute" display_order="10" description="Shows the sum of Files Sent and Files Received. This is the total number of files transferred by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11147" resource_type_id="10163" name="Current Anonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Current Anonymous Users" display_order="11" description="Shows the number of users who currently have an anonymous connection using the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11148" resource_type_id="10163" name="Current NonAnonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Current NonAnonymous Users" display_order="12" description="Shows the number of users who currently have a non-anonymous connection using the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11149" resource_type_id="10163" name="Total Anonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Anonymous Users" display_order="13" description="Shows the total number of users who established an anonymous connection with the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11150" resource_type_id="10163" name="Total Anonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Anonymous Users per Minute" display_order="14" description="Shows the total number of users who established an anonymous connection with the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11151" resource_type_id="10163" name="Total NonAnonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Non Anonymous Users" display_order="15" description="Shows the total number of users who established a non-anonymous connection with the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11152" resource_type_id="10163" name="Total NonAnonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Non Anonymous Users per Minute" display_order="16" description="Shows the total number of users who established a non-anonymous connection with the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11153" resource_type_id="10163" name="Maximum Anonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Maximum Anonymous Users" display_order="17" description="Shows the maximum number of users who established concurrent anonymous connections using the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11154" resource_type_id="10163" name="Maximum NonAnonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Maximum Non Anonymous Users" display_order="18" description="Shows the maximum number of users who established concurrent non-anonymous connections using the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11155" resource_type_id="10163" name="Current Connections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Connections" display_order="19" description="Shows the current number of connections established with the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11156" resource_type_id="10163" name="Maximum Connections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Maximum Connections" display_order="20" description="Shows the maximum number of simultaneous connections established with the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11157" resource_type_id="10163" name="Total Logon Attempts" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Logon Attempts" display_order="21" description="Shows the number of logons that have been attempted using the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11158" resource_type_id="10163" name="Total Logon Attempts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Logon Attempts per Minute" display_order="22" description="Shows the number of logons that have been attempted using the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11159" resource_type_id="10163" name="Total Get Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total GET Requests" display_order="23" description="Shows the number of HTTP requests using the GET method (counted since service startup). GET requests are generally used for basic file retrievals or image maps, though they can be used with forms." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11160" resource_type_id="10163" name="Total Get Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total GET Requests per Minute" display_order="24" description="Shows the number of HTTP requests using the GET method (counted since service startup). GET requests are generally used for basic file retrievals or image maps, though they can be used with forms." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11161" resource_type_id="10163" name="Total Post Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total POST Requests" display_order="25" description="Shows the number of HTTP requests using the POST method (counted since service startup). POST requests are generally used for forms or gateway requests." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11162" resource_type_id="10163" name="Total Post Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total POST Requests per Minute" display_order="26" description="Shows the number of HTTP requests using the POST method (counted since service startup). POST requests are generally used for forms or gateway requests." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11163" resource_type_id="10163" name="Total Head Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total HEAD Requests" display_order="27" description="Shows the number of HTTP requests using the HEAD method (counted since service startup). Head requests generally indicate a client is querying the state of a document they already have to see if it needs to be refreshed." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11164" resource_type_id="10163" name="Total Head Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total HEAD Requests per Minute" display_order="28" description="Shows the number of HTTP requests using the HEAD method (counted since service startup). Head requests generally indicate a client is querying the state of a document they already have to see if it needs to be refreshed." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11165" resource_type_id="10163" name="Total Put Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total PUT Requests" display_order="29" description="Shows the number of HTTP requests using the PUT method (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11166" resource_type_id="10163" name="Total Put Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total PUT Requests per Minute" display_order="30" description="Shows the number of HTTP requests using the PUT method (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11167" resource_type_id="10163" name="Total Delete Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total DELETE Requests" display_order="31" description="Shows the number of HTTP requests using the DELETE method (counted since service startup). Delete requests are generally used for file removals." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11168" resource_type_id="10163" name="Total Delete Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total DELETE Requests per Minute" display_order="32" description="Shows the number of HTTP requests using the DELETE method (counted since service startup). Delete requests are generally used for file removals." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11169" resource_type_id="10163" name="Total Trace Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total TRACE Requests" display_order="33" description="Shows the number of HTTP requests using the TRACE method (counted since service startup). TRACE requests allow the client to see what is being received at the end of the request chain and use the information for diagnostic purposes." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11170" resource_type_id="10163" name="Total Trace Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total TRACE Requests per Minute" display_order="34" description="Shows the number of HTTP requests using the TRACE method (counted since service startup). TRACE requests allow the client to see what is being received at the end of the request chain and use the information for diagnostic purposes." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11171" resource_type_id="10163" name="Total Other Request Methods" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Other Request Methods" display_order="35" description="Shows the number of HTTP requests that are not OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, MOVE, COPY, MKCOL, PROPFIND, PROPPATCH, MS-SEARCH, LOCK or UNLOCK methods (counted since service startup). These may include LINK or other methods supported by gateway applications." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11172" resource_type_id="10163" name="Total Other Request Methods" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Other Request Methods per Minute" display_order="36" description="Shows the number of HTTP requests that are not OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, MOVE, COPY, MKCOL, PROPFIND, PROPPATCH, MS-SEARCH, LOCK or UNLOCK methods (counted since service startup). These may include LINK or other methods supported by gateway applications." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11173" resource_type_id="10163" name="Total Method Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Method Requests" display_order="37" description="Shows the number of all HTTP requests (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11174" resource_type_id="10163" name="Total Method Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Method Requests per Minute" display_order="38" description="Shows the number of all HTTP requests (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11175" resource_type_id="10163" name="Total CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total CGI Requests" display_order="39" description="Shows the total number of CGI requests. CGI requests are custom gateway executables (.exe) the administrator can install to add forms processing or other dynamic data sources. CGI requests initiate a process on the server which can be a large drain on server resources. The count is the total since service startup." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11176" resource_type_id="10163" name="Total CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total CGI Requests per Minute" display_order="40" description="Shows the total number of CGI requests. CGI requests are custom gateway executables (.exe) the administrator can install to add forms processing or other dynamic data sources. CGI requests initiate a process on the server which can be a large drain on server resources. The count is the total since service startup." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11177" resource_type_id="10163" name="Total ISAPI Extension Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total ISAPI Extension Requests" display_order="41" description="Shows the total number of ISAPI Extension Requests. ISAPI Extension Requests are custom gateway Dynamic Link Libraries (.dll) the administrator can install to add forms processing or other dynamic data sources. Unlike CGI requests, ISAPI requests are simple calls to a DLL library routine, thus they are better suited to high performance gateway applications. The count is the total since service startup." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11178" resource_type_id="10163" name="Total ISAPI Extension Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total ISAPI Extension Requests per Minute" display_order="42" description="Shows the total number of ISAPI Extension Requests. ISAPI Extension Requests are custom gateway Dynamic Link Libraries (.dll) the administrator can install to add forms processing or other dynamic data sources. Unlike CGI requests, ISAPI requests are simple calls to a DLL library routine, thus they are better suited to high performance gateway applications. The count is the total since service startup." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11179" resource_type_id="10163" name="Total Not Found Errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Not Found Errors" display_order="43" description="Shows the number of requests that could not be satisfied by the server because the requested document could not be found. These are generally reported as an HTTP 404 error code to the client. The count is the total since service startup." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11180" resource_type_id="10163" name="Total Not Found Errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Not Found Errors per Minute" display_order="44" description="Shows the number of requests that could not be satisfied by the server because the requested document could not be found. These are generally reported as an HTTP 404 error code to the client. The count is the total since service startup." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11181" resource_type_id="10163" name="Total Locked Errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Locked Errors" display_order="45" description="Shows the number of requests that could not be satisfied by the server because the requested was locked. These are generally reported as an HTTP 423 error code to the client. The count is the total since service startup." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11182" resource_type_id="10163" name="Total Locked Errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Locked Errors per Minute" display_order="46" description="Shows the number of requests that could not be satisfied by the server because the requested was locked. These are generally reported as an HTTP 423 error code to the client. The count is the total since service startup." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11183" resource_type_id="10163" name="Current CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current CGI Requests" display_order="47" description="Shows the current number of CGI requests that are simultaneously being processed by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11184" resource_type_id="10163" name="Current CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Current CGI Requests per Minute" display_order="48" description="Shows the current number of CGI requests that are simultaneously being processed by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11185" resource_type_id="10163" name="Current ISAPI Extension Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Current ISAPI Extension Requests" display_order="49" description="Shows the current number of Extension requests that are simultaneously being processed by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11186" resource_type_id="10163" name="Maximum CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Maximum CGI Requests" display_order="50" description="Shows the maximum number of CGI requests simultaneously processed by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11187" resource_type_id="10163" name="Maximum ISAPI Extension Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Maximum ISAPI Extension Requests" display_order="51" description="Shows the maximum number of Extension requests simultaneously processed by the Web service." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11188" resource_type_id="10163" name="Total Blocked Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Blocked Async I/ O Requests" display_order="52" description="Shows the number of total requests temporarily blocked due to bandwidth throttling settings (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11189" resource_type_id="10163" name="Total Blocked Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Blocked Async I/ O Requests per Minute" display_order="53" description="Shows the number of total requests temporarily blocked due to bandwidth throttling settings (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11190" resource_type_id="10163" name="Total Allowed Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Allowed Async I/ O Requests" display_order="54" description="Shows the total number of requests allowed by bandwidth throttling settings (counted since service startup). When bandwidth throttling is defined, the number of allowed user requests is restricted." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11191" resource_type_id="10163" name="Total Allowed Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Allowed Async I/ O Requests per Minute" display_order="55" description="Shows the total number of requests allowed by bandwidth throttling settings (counted since service startup). When bandwidth throttling is defined, the number of allowed user requests is restricted." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11192" resource_type_id="10163" name="Total Rejected Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Rejected Async I/ O Requests" display_order="56" description="Shows the total number of requests rejected due to bandwidth throttling settings (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11193" resource_type_id="10163" name="Total Rejected Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Rejected Async I/ O Requests per Minute" display_order="57" description="Shows the total number of requests rejected due to bandwidth throttling settings (counted since service startup)." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11194" resource_type_id="10163" name="Current Blocked Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Current Blocked Async I/ O Requests" display_order="58" description="Shows current requests that are temporarily blocked due to bandwidth throttling settings." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11195" resource_type_id="10163" name="Measured Async I/O Bandwidth Usage" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Measured Async I/ O Bandwidth Usage" display_order="59" description="Shows the measured bandwidth of asynchronous I/O averaged over a minute." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11196" resource_type_id="10163" name="ResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="60000" display_name="HTTP Response Time" display_order="60" description="the minimum, maximum, and average response times for HTTP requests serviced by this virtual host" destination_type="URL" version="0"/> - <rhq_measurement_def id="11197" resource_type_id="10164" name="EntityInsertCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Entity Insert Count" display_order="1" description="The global number of entity inserts since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11198" resource_type_id="10164" name="EntityInsertCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Entity Insert Count per Minute" display_order="2" description="The global number of entity inserts since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11199" resource_type_id="10164" name="QueryExecutionMaxTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Query Execution Max Time" display_order="3" description="The amount of time taken by the slowest recorded query since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11200" resource_type_id="10164" name="EntityUpdateCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Entity Update Count" display_order="4" description="The global number of entity updates since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11201" resource_type_id="10164" name="EntityUpdateCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Entity Update Count per Minute" display_order="5" description="The global number of entity updates since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11202" resource_type_id="10164" name="CollectionUpdateCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Collection Update Count" display_order="6" description="The global number of collections updated since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11203" resource_type_id="10164" name="CollectionUpdateCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Collection Update Count per Minute" display_order="7" description="The global number of collections updated since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11204" resource_type_id="10164" name="EntityLoadCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Entity Load Count" display_order="8" description="The global number of entity loads since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11205" resource_type_id="10164" name="EntityLoadCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Entity Load Count per Minute" display_order="9" description="The global number of entity loads since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11206" resource_type_id="10164" name="EntityFetchCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Entity Fetch Count" display_order="10" description="The global number of entity fetches since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11207" resource_type_id="10164" name="EntityFetchCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Entity Fetch Count per Minute" display_order="11" description="The global number of entity fetches since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11208" resource_type_id="10164" name="EntityDeleteCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Entity Delete Count" display_order="12" description="The global number of entity deletes since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11209" resource_type_id="10164" name="EntityDeleteCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Entity Delete Count per Minute" display_order="13" description="The global number of entity deletes since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11210" resource_type_id="10164" name="CollectionRecreateCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Collection Recreate Count" display_order="14" description="The global number of collections recreated since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11211" resource_type_id="10164" name="CollectionRecreateCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Collection Recreate Count per Minute" display_order="15" description="The global number of collections recreated since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11212" resource_type_id="10164" name="QueryExecutionCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Query Execution Count" display_order="16" description="The global number of queries executed since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11213" resource_type_id="10164" name="QueryExecutionCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Query Execution Count per Minute" display_order="17" description="The global number of queries executed since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11214" resource_type_id="10164" name="FlushCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Flush Count" display_order="18" description="The global number of flushes executed by sessions (either implicit or explicit) since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11215" resource_type_id="10164" name="FlushCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Flush Count per Minute" display_order="19" description="The global number of flushes executed by sessions (either implicit or explicit) since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11216" resource_type_id="10164" name="CollectionLoadCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Collection Load Count" display_order="20" description="The global number of collections loaded since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11217" resource_type_id="10164" name="CollectionLoadCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Collection Load Count per Minute" display_order="21" description="The global number of collections loaded since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11218" resource_type_id="10164" name="SuccessfulTransactionCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Successful Transaction Count" display_order="22" description="The global number of transactions known to have been successful since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11219" resource_type_id="10164" name="SuccessfulTransactionCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Successful Transaction Count per Minute" display_order="23" description="The global number of transactions known to have been successful since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11220" resource_type_id="10164" name="QueryCacheHitCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Query Cache Hit Count" display_order="24" description="The global number of cached queries successfully retrieved from cache since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11221" resource_type_id="10164" name="QueryCacheHitCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Query Cache Hit Count per Minute" display_order="25" description="The global number of cached queries successfully retrieved from cache since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11222" resource_type_id="10164" name="CollectionRemoveCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Collection Remove Count" display_order="26" description="The global number of collections removed since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11223" resource_type_id="10164" name="CollectionRemoveCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Collection Remove Count per Minute" display_order="27" description="The global number of collections removed since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11224" resource_type_id="10164" name="ConnectCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Connect Count" display_order="28" description="The global number of connections asked by the sessions (the actual number of connections used may be much smaller depending whether you use a connection pool or not) since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11225" resource_type_id="10164" name="ConnectCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Connect Count per Minute" display_order="29" description="The global number of connections asked by the sessions (the actual number of connections used may be much smaller depending whether you use a connection pool or not) since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11226" resource_type_id="10164" name="StartTime" resource_version_range="%NULL%" category="0" units="14" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="Start Time" display_order="30" description="The time when the statistics collection started or were last reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11227" resource_type_id="10164" name="SecondLevelCachePutCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Second Level Cache Put Count" display_order="31" description="The global number of cacheable entities/collections put in the cache since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11228" resource_type_id="10164" name="SecondLevelCachePutCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Second Level Cache Put Count per Minute" display_order="32" description="The global number of cacheable entities/collections put in the cache since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11229" resource_type_id="10164" name="QueryCachePutCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Query Cache Put Count" display_order="33" description="The global number of cacheable queries put in cache since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11230" resource_type_id="10164" name="QueryCachePutCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Query Cache Put Count per Minute" display_order="34" description="The global number of cacheable queries put in cache since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11231" resource_type_id="10164" name="SessionOpenCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Session Open Count" display_order="35" description="The global number of sessions closed since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11232" resource_type_id="10164" name="SessionOpenCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Session Open Count per Minute" display_order="36" description="The global number of sessions closed since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11233" resource_type_id="10164" name="TransactionCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Transaction Count" display_order="37" description="The global number of transactions known to have completed since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11234" resource_type_id="10164" name="TransactionCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Transaction Count per Minute" display_order="38" description="The global number of transactions known to have completed since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11235" resource_type_id="10164" name="CollectionFetchCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Collection Fetch Count" display_order="39" description="The global number of collections fetched since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11236" resource_type_id="10164" name="CollectionFetchCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Collection Fetch Count per Minute" display_order="40" description="The global number of collections fetched since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11237" resource_type_id="10164" name="SessionCloseCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Session Close Count" display_order="41" description="The global number of sessions closed since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11238" resource_type_id="10164" name="SessionCloseCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Session Close Count per Minute" display_order="42" description="The global number of sessions closed since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11239" resource_type_id="10164" name="QueryCacheMissCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Query Cache Miss Count" display_order="43" description="The global number of cached queries *not* found in cache since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11240" resource_type_id="10164" name="QueryCacheMissCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Query Cache Miss Count per Minute" display_order="44" description="The global number of cached queries *not* found in cache since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11241" resource_type_id="10164" name="SecondLevelCacheMissCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Second Level Cache Miss Count" display_order="45" description="The global number of cacheable entities/collections not found in the cache and loaded from the database since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11242" resource_type_id="10164" name="SecondLevelCacheMissCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Second Level Cache Miss Count per Minute" display_order="46" description="The global number of cacheable entities/collections not found in the cache and loaded from the database since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11243" resource_type_id="10165" name="loadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Load Count" display_order="1" description="The number of times this entity was loaded since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11244" resource_type_id="10165" name="updateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Update Count" display_order="2" description="The number of times this entity was updated since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11245" resource_type_id="10165" name="insertCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Insert Count" display_order="3" description="The number of times this entity was inserted since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11246" resource_type_id="10165" name="deleteCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Delete Count" display_order="4" description="The number of times this entity was deleted since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11247" resource_type_id="10165" name="fetchCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Fetch Count" display_order="5" description="The number of times this entity was fetched since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11248" resource_type_id="10165" name="optimisticFailureCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Optimistic Lock Failure Count" display_order="6" description="The number of StaleObjectStateExceptions for this entity that occurred since the statistics were reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11249" resource_type_id="10167" name="Process.aggregateCpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="User Time" display_order="1" description="The aggregate amount of CPU user time spent by all postgres processes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11250" resource_type_id="10167" name="Process.aggregateCpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="User Time per Minute" display_order="2" description="The aggregate amount of CPU user time spent by all postgres processes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11251" resource_type_id="10167" name="Process.aggregateCpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Kernel Time" display_order="3" description="The aggregate amount of CPU kernel time spent by all postgres processes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11252" resource_type_id="10167" name="Process.aggregateCpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Kernel Time per Minute" display_order="4" description="The aggregate amount of CPU kernel time spent by all postgres processes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11253" resource_type_id="10167" name="Process.aggregateCpu.percent" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="CPU Percentage" display_order="5" description="The percentage of CPU currently being used by all postgres processes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11254" resource_type_id="10167" name="Process.aggregateMemory.resident" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Physical Memory" display_order="6" description="The aggregate amount of resident memory used by all postgres processes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11255" resource_type_id="10167" name="Process.aggregateMemory.size" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Virtual Memory" display_order="7" description="The aggregate amount of virtual memory used by all postgres processes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11256" resource_type_id="10167" name="Process.aggregateFileDescriptor.total" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Open File Descriptors" display_order="8" description="The aggregate number of file descriptors open by all postgres processes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11257" resource_type_id="10167" name="Database.backends" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Active Backends" display_order="9" description="Number of currently active backends (user connections)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11258" resource_type_id="10167" name="Database.startTime" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Start time" display_order="10" description="Start time of the PostgreSQL database server" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11259" resource_type_id="10168" name="numbackends" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Backends" display_order="1" description="Number of active server processes for database" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11260" resource_type_id="10168" name="xact_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transactions Committed" display_order="2" description="Transactions committed in database" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11261" resource_type_id="10168" name="xact_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Transactions Committed per Minute" display_order="3" description="Transactions committed in database" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11262" resource_type_id="10168" name="xact_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transactions Rolled Back" display_order="4" description="Transactions rolled back in database" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11263" resource_type_id="10168" name="xact_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Transactions Rolled Back per Minute" display_order="5" description="Transactions rolled back in database" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11264" resource_type_id="10168" name="blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Blocks Read" display_order="6" description="Number of disk block fetch requests for database" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11265" resource_type_id="10168" name="blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Blocks Read per Minute" display_order="7" description="Number of disk block fetch requests for database" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11266" resource_type_id="10168" name="blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Blocks Hit" display_order="8" description="Number of disk block fetch requests found in cache for database " destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11267" resource_type_id="10168" name="blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Blocks Hit per Minute" display_order="9" description="Number of disk block fetch requests found in cache for database " destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11268" resource_type_id="10168" name="size" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Size" display_order="10" description="Disk space used by the database" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11269" resource_type_id="10169" name="total" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Total User Connections" display_order="1" description="The total number of user connections in the system, whether actively querying or idle" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11270" resource_type_id="10169" name="active" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Active User Connections" display_order="2" description="The number of user connections in the system actively querying" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11271" resource_type_id="10170" name="seq_scan" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Sequential Scans" display_order="1" description="Number of sequential scans done against this table (when an index scan was not possible)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11272" resource_type_id="10170" name="seq_scan" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Sequential Scans per Minute" display_order="2" description="Number of sequential scans done against this table (when an index scan was not possible)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11273" resource_type_id="10170" name="seq_tup_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Sequential Rows Read" display_order="3" description="Number of rows read by sequential scans" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11274" resource_type_id="10170" name="seq_tup_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Sequential Rows Read per Minute" display_order="4" description="Number of rows read by sequential scans" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11275" resource_type_id="10170" name="idx_scan" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Index Scans" display_order="5" description="Number of index scans done against this table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11276" resource_type_id="10170" name="idx_scan" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Index Scans per Minute" display_order="6" description="Number of index scans done against this table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11277" resource_type_id="10170" name="idx_tup_fetch" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Index Scan Rows Read" display_order="7" description="Number of index entries returned by index scans" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11278" resource_type_id="10170" name="idx_tup_fetch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Index Scan Rows Read per Minute" display_order="8" description="Number of index entries returned by index scans" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11279" resource_type_id="10170" name="heap_blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Heap Blocks Read" display_order="9" description="The number of heap blocks read that were not a buffer cache hit" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11280" resource_type_id="10170" name="heap_blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Heap Blocks Read per Minute" display_order="10" description="The number of heap blocks read that were not a buffer cache hit" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11281" resource_type_id="10170" name="heap_blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Heap Blocks Hit" display_order="11" description="The number of heap block requests that were found in the buffer cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11282" resource_type_id="10170" name="heap_blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Heap Blocks Hit per Minute" display_order="12" description="The number of heap block requests that were found in the buffer cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11283" resource_type_id="10170" name="idx_blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Index Blocks Read" display_order="13" description="The number of index blocks fetched that were not a buffer cache hit" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11284" resource_type_id="10170" name="idx_blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Index Blocks Read per Minute" display_order="14" description="The number of index blocks fetched that were not a buffer cache hit" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11285" resource_type_id="10170" name="idx_blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Index Blocks Hit" display_order="15" description="The number of index block requests that were found in the buffer cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11286" resource_type_id="10170" name="idx_blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Index Blocks Hit per Minute" display_order="16" description="The number of index block requests that were found in the buffer cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11287" resource_type_id="10170" name="toast_blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Toast Blocks Reads" display_order="17" description="The number of toast blocks fetched that were not a buffer cache hit" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11288" resource_type_id="10170" name="toast_blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Toast Blocks Reads per Minute" display_order="18" description="The number of toast blocks fetched that were not a buffer cache hit" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11289" resource_type_id="10170" name="toast_blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Toast Blocks Hit" display_order="19" description="The number of toast block requests that were found in the buffer cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11290" resource_type_id="10170" name="toast_blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Toast Blocks Hit per Minute" display_order="20" description="The number of toast block requests that were found in the buffer cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11291" resource_type_id="10170" name="tidx_blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Toast Index Blocks Read" display_order="21" description="The number of toast index blocks fetched that were not a buffer cache hit" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11292" resource_type_id="10170" name="tidx_blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Toast Index Blocks Read per Minute" display_order="22" description="The number of toast index blocks fetched that were not a buffer cache hit" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11293" resource_type_id="10170" name="tidx_blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Toast Index Blocks Hit" display_order="23" description="The number of toast index block requests that were found in the buffer cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11294" resource_type_id="10170" name="tidx_blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Toast Index Blocks Hit per Minute" display_order="24" description="The number of toast index block requests that were found in the buffer cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11295" resource_type_id="10170" name="n_tup_ins" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Row Inserts" display_order="25" description="The number of rows ever inserted into this table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11296" resource_type_id="10170" name="n_tup_ins" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Row Inserts per Minute" display_order="26" description="The number of rows ever inserted into this table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11297" resource_type_id="10170" name="n_tup_upd" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Row Updates" display_order="27" description="The number of rows ever updated on this table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11298" resource_type_id="10170" name="n_tup_upd" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Row Updates per Minute" display_order="28" description="The number of rows ever updated on this table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11299" resource_type_id="10170" name="n_tup_del" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Row Deletes" display_order="29" description="The number of rows ever deleted from this table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11300" resource_type_id="10170" name="n_tup_del" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Row Deletes per Minute" display_order="30" description="The number of rows ever deleted from this table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11301" resource_type_id="10170" name="table_size" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Table Size" display_order="31" description="The size in bytes of the data in the table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11302" resource_type_id="10170" name="total_size" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Total Size" display_order="32" description="The size in bytes of the data and all associated indexes and toast tables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11303" resource_type_id="10170" name="rows" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Rows" display_order="33" description="The count of rows in the table. Warning: This may be an expensive operation" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11304" resource_type_id="10170" name="rows_approx" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Approximate rows" display_order="34" description="The approximate count of rows in the table. This is basically the number of rows of the last ANALYZE of the table. This metric is not expensive." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11305" resource_type_id="10171" name="metricColumn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Metric Column" display_order="1" description="Metric Column" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11306" resource_type_id="10172" name="totalSize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Total Size" display_order="1" description="Total Size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11307" resource_type_id="10172" name="logons cumulative" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Logons cumulative" display_order="2" description="Logons cumulative" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11308" resource_type_id="10172" name="logons current" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Logons current" display_order="3" description="Logons current" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11309" resource_type_id="10172" name="opened cursors cumulative" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Opened cursors cumulative" display_order="4" description="Opened cursors cumulative" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11310" resource_type_id="10172" name="opened cursors current" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Opened cursors current" display_order="5" description="Opened cursors current" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11311" resource_type_id="10172" name="user commits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="User commits" display_order="6" description="User commits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11312" resource_type_id="10172" name="user rollbacks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="User rollbacks" display_order="7" description="User rollbacks" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11313" resource_type_id="10172" name="user calls" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="User calls" display_order="8" description="User calls" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11314" resource_type_id="10172" name="recursive calls" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Recursive calls" display_order="9" description="Recursive calls" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11315" resource_type_id="10172" name="recursive cpu usage" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Recursive cpu usage" display_order="10" description="Recursive cpu usage" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11316" resource_type_id="10172" name="session logical reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Session logical reads" display_order="11" description="Session logical reads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11317" resource_type_id="10172" name="session stored procedure space" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Session stored procedure space" display_order="12" description="Session stored procedure space" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11318" resource_type_id="10172" name="CPU used when call started" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="CPU used when call started" display_order="13" description="CPU used when call started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11319" resource_type_id="10172" name="CPU used by this session" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="CPU used by this session" display_order="14" description="CPU used by this session" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11320" resource_type_id="10172" name="DB time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DB time" display_order="15" description="DB time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11321" resource_type_id="10172" name="cluster wait time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cluster wait time" display_order="16" description="Cluster wait time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11322" resource_type_id="10172" name="concurrency wait time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Concurrency wait time" display_order="17" description="Concurrency wait time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11323" resource_type_id="10172" name="application wait time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Application wait time" display_order="18" description="Application wait time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11324" resource_type_id="10172" name="user I/O wait time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="User I/ O wait time" display_order="19" description="User I/ O wait time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11325" resource_type_id="10172" name="session connect time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Session connect time" display_order="20" description="Session connect time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11326" resource_type_id="10172" name="process last non-idle time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Process last non Idle time" display_order="21" description="Process last non Idle time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11327" resource_type_id="10172" name="messages sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Messages sent" display_order="22" description="Messages sent" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11328" resource_type_id="10172" name="messages received" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Messages received" display_order="23" description="Messages received" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11329" resource_type_id="10172" name="background timeouts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Background timeouts" display_order="24" description="Background timeouts" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11330" resource_type_id="10172" name="enqueue timeouts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Enqueue timeouts" display_order="25" description="Enqueue timeouts" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11331" resource_type_id="10172" name="enqueue waits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Enqueue waits" display_order="26" description="Enqueue waits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11332" resource_type_id="10172" name="enqueue deadlocks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Enqueue deadlocks" display_order="27" description="Enqueue deadlocks" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11333" resource_type_id="10172" name="enqueue requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Enqueue requests" display_order="28" description="Enqueue requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11334" resource_type_id="10172" name="enqueue conversions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Enqueue conversions" display_order="29" description="Enqueue conversions" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11335" resource_type_id="10172" name="enqueue releases" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Enqueue releases" display_order="30" description="Enqueue releases" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11336" resource_type_id="10172" name="global enqueue gets sync" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Global enqueue gets sync" display_order="31" description="Global enqueue gets sync" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11337" resource_type_id="10172" name="global enqueue gets async" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Global enqueue gets async" display_order="32" description="Global enqueue gets async" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11338" resource_type_id="10172" name="global enqueue get time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Global enqueue get time" display_order="33" description="Global enqueue get time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11339" resource_type_id="10172" name="global enqueue releases" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Global enqueue releases" display_order="34" description="Global enqueue releases" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11340" resource_type_id="10172" name="physical read total IO requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical read total IO requests" display_order="35" description="Physical read total IO requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11341" resource_type_id="10172" name="physical read total multi block requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical read total multi block requests" display_order="36" description="Physical read total multi block requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11342" resource_type_id="10172" name="physical read total bytes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical read total bytes" display_order="37" description="Physical read total bytes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11343" resource_type_id="10172" name="physical write total IO requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical write total IO requests" display_order="38" description="Physical write total IO requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11344" resource_type_id="10172" name="physical write total multi block requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical write total multi block requests" display_order="39" description="Physical write total multi block requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11345" resource_type_id="10172" name="physical write total bytes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical write total bytes" display_order="40" description="Physical write total bytes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11346" resource_type_id="10172" name="IPC CPU used by this session" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IPC CPU used by this session" display_order="41" description="IPC CPU used by this session" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11347" resource_type_id="10172" name="gcs messages sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gcs messages sent" display_order="42" description="Gcs messages sent" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11348" resource_type_id="10172" name="ges messages sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ges messages sent" display_order="43" description="Ges messages sent" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11349" resource_type_id="10172" name="global enqueue CPU used by this session" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Global enqueue CPU used by this session" display_order="44" description="Global enqueue CPU used by this session" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11350" resource_type_id="10172" name="db block gets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Db block gets" display_order="45" description="Db block gets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11351" resource_type_id="10172" name="db block gets from cache" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Db block gets from cache" display_order="46" description="Db block gets from cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11352" resource_type_id="10172" name="db block gets direct" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Db block gets direct" display_order="47" description="Db block gets direct" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11353" resource_type_id="10172" name="consistent gets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Consistent gets" display_order="48" description="Consistent gets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11354" resource_type_id="10172" name="consistent gets from cache" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Consistent gets from cache" display_order="49" description="Consistent gets from cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11355" resource_type_id="10172" name="consistent gets - examination" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Consistent gets examination" display_order="50" description="Consistent gets examination" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11356" resource_type_id="10172" name="consistent gets direct" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Consistent gets direct" display_order="51" description="Consistent gets direct" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11357" resource_type_id="10172" name="physical reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical reads" display_order="52" description="Physical reads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11358" resource_type_id="10172" name="physical reads cache" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical reads cache" display_order="53" description="Physical reads cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11359" resource_type_id="10172" name="physical reads direct" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical reads direct" display_order="54" description="Physical reads direct" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11360" resource_type_id="10172" name="physical read IO requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical read IO requests" display_order="55" description="Physical read IO requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11361" resource_type_id="10172" name="physical read bytes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical read bytes" display_order="56" description="Physical read bytes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11362" resource_type_id="10172" name="db block changes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Db block changes" display_order="57" description="Db block changes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11363" resource_type_id="10172" name="consistent changes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Consistent changes" display_order="58" description="Consistent changes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11364" resource_type_id="10172" name="recovery blocks read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Recovery blocks read" display_order="59" description="Recovery blocks read" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11365" resource_type_id="10172" name="physical writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical writes" display_order="60" description="Physical writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11366" resource_type_id="10172" name="physical writes direct" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical writes direct" display_order="61" description="Physical writes direct" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11367" resource_type_id="10172" name="physical writes from cache" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical writes from cache" display_order="62" description="Physical writes from cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11368" resource_type_id="10172" name="physical write IO requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical write IO requests" display_order="63" description="Physical write IO requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11369" resource_type_id="10172" name="physical write bytes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical write bytes" display_order="64" description="Physical write bytes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11370" resource_type_id="10172" name="physical writes non checkpoint" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical writes non checkpoint" display_order="65" description="Physical writes non checkpoint" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11371" resource_type_id="10172" name="summed dirty queue length" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Summed dirty queue length" display_order="66" description="Summed dirty queue length" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11372" resource_type_id="10172" name="DBWR checkpoint buffers written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR checkpoint buffers written" display_order="67" description="DBWR checkpoint buffers written" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11373" resource_type_id="10172" name="DBWR thread checkpoint buffers written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR thread checkpoint buffers written" display_order="68" description="DBWR thread checkpoint buffers written" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11374" resource_type_id="10172" name="DBWR tablespace checkpoint buffers written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR tablespace checkpoint buffers written" display_order="69" description="DBWR tablespace checkpoint buffers written" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11375" resource_type_id="10172" name="DBWR parallel query checkpoint buffers written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR parallel query checkpoint buffers written" display_order="70" description="DBWR parallel query checkpoint buffers written" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11376" resource_type_id="10172" name="DBWR object drop buffers written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR object drop buffers written" display_order="71" description="DBWR object drop buffers written" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11377" resource_type_id="10172" name="DBWR transaction table writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR transaction table writes" display_order="72" description="DBWR transaction table writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11378" resource_type_id="10172" name="DBWR undo block writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR undo block writes" display_order="73" description="DBWR undo block writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11379" resource_type_id="10172" name="DBWR revisited being-written buffer" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR revisited being Written buffer" display_order="74" description="DBWR revisited being Written buffer" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11380" resource_type_id="10172" name="DBWR make free requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR make free requests" display_order="75" description="DBWR make free requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11381" resource_type_id="10172" name="DBWR lru scans" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR lru scans" display_order="76" description="DBWR lru scans" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11382" resource_type_id="10172" name="DBWR checkpoints" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR checkpoints" display_order="77" description="DBWR checkpoints" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11383" resource_type_id="10172" name="DBWR fusion writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR fusion writes" display_order="78" description="DBWR fusion writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11384" resource_type_id="10172" name="prefetch clients - keep" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch clients keep" display_order="79" description="Prefetch clients keep" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11385" resource_type_id="10172" name="prefetch clients - recycle" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch clients recycle" display_order="80" description="Prefetch clients recycle" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11386" resource_type_id="10172" name="prefetch clients - default" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch clients default" display_order="81" description="Prefetch clients default" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11387" resource_type_id="10172" name="prefetch clients - 2k" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch clients 2k" display_order="82" description="Prefetch clients 2k" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11388" resource_type_id="10172" name="prefetch clients - 4k" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch clients 4k" display_order="83" description="Prefetch clients 4k" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11389" resource_type_id="10172" name="prefetch clients - 8k" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch clients 8k" display_order="84" description="Prefetch clients 8k" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11390" resource_type_id="10172" name="prefetch clients - 16k" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch clients 16k" display_order="85" description="Prefetch clients 16k" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11391" resource_type_id="10172" name="prefetch clients - 32k" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch clients 32k" display_order="86" description="Prefetch clients 32k" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11392" resource_type_id="10172" name="change write time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Change write time" display_order="87" description="Change write time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11393" resource_type_id="10172" name="redo synch writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo synch writes" display_order="88" description="Redo synch writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11394" resource_type_id="10172" name="redo synch time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo synch time" display_order="89" description="Redo synch time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11395" resource_type_id="10172" name="exchange deadlocks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Exchange deadlocks" display_order="90" description="Exchange deadlocks" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11396" resource_type_id="10172" name="free buffer requested" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Free buffer requested" display_order="91" description="Free buffer requested" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11397" resource_type_id="10172" name="dirty buffers inspected" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Dirty buffers inspected" display_order="92" description="Dirty buffers inspected" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11398" resource_type_id="10172" name="pinned buffers inspected" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Pinned buffers inspected" display_order="93" description="Pinned buffers inspected" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11399" resource_type_id="10172" name="hot buffers moved to head of LRU" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Hot buffers moved to head of LRU" display_order="94" description="Hot buffers moved to head of LRU" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11400" resource_type_id="10172" name="free buffer inspected" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Free buffer inspected" display_order="95" description="Free buffer inspected" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11401" resource_type_id="10172" name="commit cleanout failures: write disabled" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit cleanout failures: write disabled" display_order="96" description="Commit cleanout failures: write disabled" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11402" resource_type_id="10172" name="commit cleanout failures: block lost" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit cleanout failures: block lost" display_order="97" description="Commit cleanout failures: block lost" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11403" resource_type_id="10172" name="commit cleanout failures: cannot pin" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit cleanout failures: cannot pin" display_order="98" description="Commit cleanout failures: cannot pin" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11404" resource_type_id="10172" name="commit cleanout failures: hot backup in progress" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit cleanout failures: hot backup in progress" display_order="99" description="Commit cleanout failures: hot backup in progress" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11405" resource_type_id="10172" name="commit cleanout failures: buffer being written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit cleanout failures: buffer being written" display_order="100" description="Commit cleanout failures: buffer being written" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11406" resource_type_id="10172" name="commit cleanout failures: callback failure " resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit cleanout failures: callback failure " display_order="101" description="Commit cleanout failures: callback failure " destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11407" resource_type_id="10172" name="commit cleanouts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit cleanouts" display_order="102" description="Commit cleanouts" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11408" resource_type_id="10172" name="commit cleanouts successfully completed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit cleanouts successfully completed" display_order="103" description="Commit cleanouts successfully completed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11409" resource_type_id="10172" name="recovery array reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Recovery array reads" display_order="104" description="Recovery array reads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11410" resource_type_id="10172" name="recovery array read time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Recovery array read time" display_order="105" description="Recovery array read time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11411" resource_type_id="10172" name="CR blocks created" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="CR blocks created" display_order="106" description="CR blocks created" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11412" resource_type_id="10172" name="current blocks converted for CR" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Current blocks converted for CR" display_order="107" description="Current blocks converted for CR" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11413" resource_type_id="10172" name="switch current to new buffer" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Switch current to new buffer" display_order="108" description="Switch current to new buffer" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11414" resource_type_id="10172" name="write clones created in foreground" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Write clones created in foreground" display_order="109" description="Write clones created in foreground" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11415" resource_type_id="10172" name="write clones created in background" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Write clones created in background" display_order="110" description="Write clones created in background" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11416" resource_type_id="10172" name="write clones created for recovery" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Write clones created for recovery" display_order="111" description="Write clones created for recovery" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11417" resource_type_id="10172" name="physical reads cache prefetch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical reads cache prefetch" display_order="112" description="Physical reads cache prefetch" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11418" resource_type_id="10172" name="physical reads prefetch warmup" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical reads prefetch warmup" display_order="113" description="Physical reads prefetch warmup" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11419" resource_type_id="10172" name="prefetched blocks aged out before use" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetched blocks aged out before use" display_order="114" description="Prefetched blocks aged out before use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11420" resource_type_id="10172" name="prefetch warmup blocks aged out before use" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch warmup blocks aged out before use" display_order="115" description="Prefetch warmup blocks aged out before use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11421" resource_type_id="10172" name="prefetch warmup blocks flushed out before use" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch warmup blocks flushed out before use" display_order="116" description="Prefetch warmup blocks flushed out before use" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11422" resource_type_id="10172" name="physical reads retry corrupt" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical reads retry corrupt" display_order="117" description="Physical reads retry corrupt" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11423" resource_type_id="10172" name="physical reads direct (lob)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical reads direct (lob)" display_order="118" description="Physical reads direct (lob)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11424" resource_type_id="10172" name="physical reads direct temporary tablespace" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical reads direct temporary tablespace" display_order="119" description="Physical reads direct temporary tablespace" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11425" resource_type_id="10172" name="physical writes direct (lob)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical writes direct (lob)" display_order="120" description="Physical writes direct (lob)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11426" resource_type_id="10172" name="physical writes direct temporary tablespace" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical writes direct temporary tablespace" display_order="121" description="Physical writes direct temporary tablespace" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11427" resource_type_id="10172" name="cold recycle reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cold recycle reads" display_order="122" description="Cold recycle reads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11428" resource_type_id="10172" name="shared hash latch upgrades - no wait" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Shared hash latch upgrades no wait" display_order="123" description="Shared hash latch upgrades no wait" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11429" resource_type_id="10172" name="shared hash latch upgrades - wait" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Shared hash latch upgrades wait" display_order="124" description="Shared hash latch upgrades wait" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11430" resource_type_id="10172" name="physical reads for flashback new" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical reads for flashback new" display_order="125" description="Physical reads for flashback new" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11431" resource_type_id="10172" name="calls to kcmgcs" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Calls to kcmgcs" display_order="126" description="Calls to kcmgcs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11432" resource_type_id="10172" name="calls to kcmgrs" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Calls to kcmgrs" display_order="127" description="Calls to kcmgrs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11433" resource_type_id="10172" name="calls to kcmgas" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Calls to kcmgas" display_order="128" description="Calls to kcmgas" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11434" resource_type_id="10172" name="calls to get snapshot scn: kcmgss" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Calls to get snapshot scn: kcmgss" display_order="129" description="Calls to get snapshot scn: kcmgss" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11435" resource_type_id="10172" name="redo blocks read for recovery" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo blocks read for recovery" display_order="130" description="Redo blocks read for recovery" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11436" resource_type_id="10172" name="redo entries" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo entries" display_order="131" description="Redo entries" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11437" resource_type_id="10172" name="redo size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo size" display_order="132" description="Redo size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11438" resource_type_id="10172" name="redo buffer allocation retries" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo buffer allocation retries" display_order="133" description="Redo buffer allocation retries" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11439" resource_type_id="10172" name="redo wastage" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo wastage" display_order="134" description="Redo wastage" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11440" resource_type_id="10172" name="redo writer latching time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo writer latching time" display_order="135" description="Redo writer latching time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11441" resource_type_id="10172" name="redo writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo writes" display_order="136" description="Redo writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11442" resource_type_id="10172" name="redo blocks written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo blocks written" display_order="137" description="Redo blocks written" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11443" resource_type_id="10172" name="redo write time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo write time" display_order="138" description="Redo write time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11444" resource_type_id="10172" name="redo log space requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo log space requests" display_order="139" description="Redo log space requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11445" resource_type_id="10172" name="redo log space wait time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo log space wait time" display_order="140" description="Redo log space wait time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11446" resource_type_id="10172" name="redo log switch interrupts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo log switch interrupts" display_order="141" description="Redo log switch interrupts" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11447" resource_type_id="10172" name="redo ordering marks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo ordering marks" display_order="142" description="Redo ordering marks" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11448" resource_type_id="10172" name="redo subscn max counts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo subscn max counts" display_order="143" description="Redo subscn max counts" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11449" resource_type_id="10172" name="gc cr blocks served" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc cr blocks served" display_order="144" description="Gc cr blocks served" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11450" resource_type_id="10172" name="gc cr block build time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc cr block build time" display_order="145" description="Gc cr block build time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11451" resource_type_id="10172" name="gc cr block flush time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc cr block flush time" display_order="146" description="Gc cr block flush time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11452" resource_type_id="10172" name="gc cr block send time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc cr block send time" display_order="147" description="Gc cr block send time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11453" resource_type_id="10172" name="gc current blocks served" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc current blocks served" display_order="148" description="Gc current blocks served" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11454" resource_type_id="10172" name="gc current block pin time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc current block pin time" display_order="149" description="Gc current block pin time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11455" resource_type_id="10172" name="gc current block flush time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc current block flush time" display_order="150" description="Gc current block flush time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11456" resource_type_id="10172" name="gc current block send time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc current block send time" display_order="151" description="Gc current block send time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11457" resource_type_id="10172" name="gc cr blocks received" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc cr blocks received" display_order="152" description="Gc cr blocks received" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11458" resource_type_id="10172" name="gc cr block receive time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc cr block receive time" display_order="153" description="Gc cr block receive time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11459" resource_type_id="10172" name="gc current blocks received" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc current blocks received" display_order="154" description="Gc current blocks received" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11460" resource_type_id="10172" name="gc current block receive time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc current block receive time" display_order="155" description="Gc current block receive time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11461" resource_type_id="10172" name="gc blocks lost" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc blocks lost" display_order="156" description="Gc blocks lost" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11462" resource_type_id="10172" name="gc claim blocks lost" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc claim blocks lost" display_order="157" description="Gc claim blocks lost" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11463" resource_type_id="10172" name="gc blocks corrupt" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc blocks corrupt" display_order="158" description="Gc blocks corrupt" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11464" resource_type_id="10172" name="gc CPU used by this session" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc CPU used by this session" display_order="159" description="Gc CPU used by this session" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11465" resource_type_id="10172" name="total number of slots" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total number of slots" display_order="160" description="Total number of slots" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11466" resource_type_id="10172" name="instance recovery database freeze count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Instance recovery database freeze count" display_order="161" description="Instance recovery database freeze count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11467" resource_type_id="10172" name="background checkpoints started" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Background checkpoints started" display_order="162" description="Background checkpoints started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11468" resource_type_id="10172" name="background checkpoints completed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Background checkpoints completed" display_order="163" description="Background checkpoints completed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11469" resource_type_id="10172" name="number of map operations" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of map operations" display_order="164" description="Number of map operations" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11470" resource_type_id="10172" name="number of map misses" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of map misses" display_order="165" description="Number of map misses" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11471" resource_type_id="10172" name="flashback log writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Flashback log writes" display_order="166" description="Flashback log writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11472" resource_type_id="10172" name="serializable aborts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Serializable aborts" display_order="167" description="Serializable aborts" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11473" resource_type_id="10172" name="transaction lock foreground requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transaction lock foreground requests" display_order="168" description="Transaction lock foreground requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11474" resource_type_id="10172" name="transaction lock foreground wait time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transaction lock foreground wait time" display_order="169" description="Transaction lock foreground wait time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11475" resource_type_id="10172" name="transaction lock background gets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transaction lock background gets" display_order="170" description="Transaction lock background gets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11476" resource_type_id="10172" name="transaction lock background get time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transaction lock background get time" display_order="171" description="Transaction lock background get time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11477" resource_type_id="10172" name="undo change vector size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Undo change vector size" display_order="172" description="Undo change vector size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11478" resource_type_id="10172" name="transaction tables consistent reads - undo records applied" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transaction tables consistent reads undo records applied" display_order="173" description="Transaction tables consistent reads undo records applied" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11479" resource_type_id="10172" name="transaction tables consistent read rollbacks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transaction tables consistent read rollbacks" display_order="174" description="Transaction tables consistent read rollbacks" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11480" resource_type_id="10172" name="data blocks consistent reads - undo records applied" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Data blocks consistent reads undo records applied" display_order="175" description="Data blocks consistent reads undo records applied" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11481" resource_type_id="10172" name="no work - consistent read gets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="No work consistent read gets" display_order="176" description="No work consistent read gets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11482" resource_type_id="10172" name="cleanouts only - consistent read gets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cleanouts only consistent read gets" display_order="177" description="Cleanouts only consistent read gets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11483" resource_type_id="10172" name="rollbacks only - consistent read gets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Rollbacks only consistent read gets" display_order="178" description="Rollbacks only consistent read gets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11484" resource_type_id="10172" name="cleanouts and rollbacks - consistent read gets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cleanouts and rollbacks consistent read gets" display_order="179" description="Cleanouts and rollbacks consistent read gets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11485" resource_type_id="10172" name="RowCR attempts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Row CR attempts" display_order="180" description="Row CR attempts" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11486" resource_type_id="10172" name="RowCR hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Row CR hits" display_order="181" description="Row CR hits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11487" resource_type_id="10172" name="RowCR - row contention" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Row CR row contention" display_order="182" description="Row CR row contention" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11488" resource_type_id="10172" name="RowCR - resume" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Row CR resume" display_order="183" description="Row CR resume" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11489" resource_type_id="10172" name="rollback changes - undo records applied" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Rollback changes undo records applied" display_order="184" description="Rollback changes undo records applied" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11490" resource_type_id="10172" name="transaction rollbacks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transaction rollbacks" display_order="185" description="Transaction rollbacks" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11491" resource_type_id="10172" name="immediate (CURRENT) block cleanout applications" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Immediate ( CURRENT) block cleanout applications" display_order="186" description="Immediate ( CURRENT) block cleanout applications" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11492" resource_type_id="10172" name="immediate (CR) block cleanout applications" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Immediate ( CR) block cleanout applications" display_order="187" description="Immediate ( CR) block cleanout applications" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11493" resource_type_id="10172" name="deferred (CURRENT) block cleanout applications" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Deferred ( CURRENT) block cleanout applications" display_order="188" description="Deferred ( CURRENT) block cleanout applications" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11494" resource_type_id="10172" name="commit txn count during cleanout" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit txn count during cleanout" display_order="189" description="Commit txn count during cleanout" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11495" resource_type_id="10172" name="active txn count during cleanout" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Active txn count during cleanout" display_order="190" description="Active txn count during cleanout" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11496" resource_type_id="10172" name="cleanout - number of ktugct calls" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cleanout number of ktugct calls" display_order="191" description="Cleanout number of ktugct calls" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11497" resource_type_id="10172" name="immediate CR cleanouts (index blocks)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Immediate CR cleanouts (index blocks)" display_order="192" description="Immediate CR cleanouts (index blocks)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11498" resource_type_id="10172" name="deferred CUR cleanouts (index blocks)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Deferred CUR cleanouts (index blocks)" display_order="193" description="Deferred CUR cleanouts (index blocks)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11499" resource_type_id="10172" name="Commit SCN cached" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit SCN cached" display_order="194" description="Commit SCN cached" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11500" resource_type_id="10172" name="Cached Commit SCN referenced" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cached Commit SCN referenced" display_order="195" description="Cached Commit SCN referenced" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11501" resource_type_id="10172" name="auto extends on undo tablespace" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Auto extends on undo tablespace" display_order="196" description="Auto extends on undo tablespace" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11502" resource_type_id="10172" name="drop segment calls in space pressure" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Drop segment calls in space pressure" display_order="197" description="Drop segment calls in space pressure" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11503" resource_type_id="10172" name="total number of undo segments dropped" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total number of undo segments dropped" display_order="198" description="Total number of undo segments dropped" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11504" resource_type_id="10172" name="doubling up with imu segment" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Doubling up with imu segment" display_order="199" description="Doubling up with imu segment" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11505" resource_type_id="10172" name="tune down retentions in space pressure" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Tune down retentions in space pressure" display_order="200" description="Tune down retentions in space pressure" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11506" resource_type_id="10172" name="steps of tune down ret. in space pressure" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Steps of tune down ret. in space pressure" display_order="201" description="Steps of tune down ret. in space pressure" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11507" resource_type_id="10172" name="space was found by tune down" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Space was found by tune down" display_order="202" description="Space was found by tune down" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11508" resource_type_id="10172" name="space was not found by tune down" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Space was not found by tune down" display_order="203" description="Space was not found by tune down" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11509" resource_type_id="10172" name="commit batch/immediate requested" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit batch/immediate requested" display_order="204" description="Commit batch/immediate requested" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11510" resource_type_id="10172" name="commit batch requested" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit batch requested" display_order="205" description="Commit batch requested" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11511" resource_type_id="10172" name="commit immediate requested" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit immediate requested" display_order="206" description="Commit immediate requested" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11512" resource_type_id="10172" name="commit batch/immediate performed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit batch/immediate performed" display_order="207" description="Commit batch/immediate performed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11513" resource_type_id="10172" name="commit batch performed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit batch performed" display_order="208" description="Commit batch performed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11514" resource_type_id="10172" name="commit immediate performed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit immediate performed" display_order="209" description="Commit immediate performed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11515" resource_type_id="10172" name="commit wait/nowait requested" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit wait/nowait requested" display_order="210" description="Commit wait/nowait requested" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11516" resource_type_id="10172" name="commit nowait requested" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit nowait requested" display_order="211" description="Commit nowait requested" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11517" resource_type_id="10172" name="commit wait requested" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit wait requested" display_order="212" description="Commit wait requested" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11518" resource_type_id="10172" name="commit wait/nowait performed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit wait/nowait performed" display_order="213" description="Commit wait/nowait performed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11519" resource_type_id="10172" name="commit nowait performed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit nowait performed" display_order="214" description="Commit nowait performed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11520" resource_type_id="10172" name="commit wait performed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit wait performed" display_order="215" description="Commit wait performed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11521" resource_type_id="10172" name="global undo segment hints helped" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Global undo segment hints helped" display_order="216" description="Global undo segment hints helped" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11522" resource_type_id="10172" name="global undo segment hints were stale" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Global undo segment hints were stale" display_order="217" description="Global undo segment hints were stale" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11523" resource_type_id="10172" name="local undo segment hints helped" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Local undo segment hints helped" display_order="218" description="Local undo segment hints helped" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11524" resource_type_id="10172" name="local undo segment hints were stale" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Local undo segment hints were stale" display_order="219" description="Local undo segment hints were stale" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11525" resource_type_id="10172" name="undo segment header was pinned" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Undo segment header was pinned" display_order="220" description="Undo segment header was pinned" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11526" resource_type_id="10172" name="total number of times SMON posted" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total number of times SMON posted" display_order="221" description="Total number of times SMON posted" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11527" resource_type_id="10172" name="SMON posted for undo segment recovery" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="SMON posted for undo segment recovery" display_order="222" description="SMON posted for undo segment recovery" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11528" resource_type_id="10172" name="SMON posted for txn recovery for other instances" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="SMON posted for txn recovery for other instances" display_order="223" description="SMON posted for txn recovery for other instances" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11529" resource_type_id="10172" name="SMON posted for instance recovery" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="SMON posted for instance recovery" display_order="224" description="SMON posted for instance recovery" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11530" resource_type_id="10172" name="SMON posted for undo segment shrink" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="SMON posted for undo segment shrink" display_order="225" description="SMON posted for undo segment shrink" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11531" resource_type_id="10172" name="SMON posted for dropping temp segment" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="SMON posted for dropping temp segment" display_order="226" description="SMON posted for dropping temp segment" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11532" resource_type_id="10172" name="SMON posted for supplemental logging cleanup" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="SMON posted for supplemental logging cleanup" display_order="227" description="SMON posted for supplemental logging cleanup" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11533" resource_type_id="10172" name="IMU commits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU commits" display_order="228" description="IMU commits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11534" resource_type_id="10172" name="IMU Flushes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU Flushes" display_order="229" description="IMU Flushes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11535" resource_type_id="10172" name="IMU contention" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU contention" display_order="230" description="IMU contention" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11536" resource_type_id="10172" name="IMU recursive-transaction flush" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU recursive Transaction flush" display_order="231" description="IMU recursive Transaction flush" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11537" resource_type_id="10172" name="IMU undo retention flush" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU undo retention flush" display_order="232" description="IMU undo retention flush" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11538" resource_type_id="10172" name="IMU ktichg flush" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU ktichg flush" display_order="233" description="IMU ktichg flush" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11539" resource_type_id="10172" name="IMU bind flushes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU bind flushes" display_order="234" description="IMU bind flushes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11540" resource_type_id="10172" name="IMU mbu flush" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU mbu flush" display_order="235" description="IMU mbu flush" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11541" resource_type_id="10172" name="IMU pool not allocated" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU pool not allocated" display_order="236" description="IMU pool not allocated" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11542" resource_type_id="10172" name="IMU CR rollbacks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU CR rollbacks" display_order="237" description="IMU CR rollbacks" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11543" resource_type_id="10172" name="IMU undo allocation size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU undo allocation size" display_order="238" description="IMU undo allocation size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11544" resource_type_id="10172" name="IMU Redo allocation size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU Redo allocation size" display_order="239" description="IMU Redo allocation size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11545" resource_type_id="10172" name="IMU- failed to get a private strand" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU failed to get a private strand" display_order="240" description="IMU failed to get a private strand" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11546" resource_type_id="10172" name="Misses for writing mapping" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Misses for writing mapping" display_order="241" description="Misses for writing mapping" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11547" resource_type_id="10172" name="table scans (short tables)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table scans (short tables)" display_order="242" description="Table scans (short tables)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11548" resource_type_id="10172" name="table scans (long tables)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table scans (long tables)" display_order="243" description="Table scans (long tables)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11549" resource_type_id="10172" name="table scans (rowid ranges)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table scans (rowid ranges)" display_order="244" description="Table scans (rowid ranges)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11550" resource_type_id="10172" name="table scans (cache partitions)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table scans (cache partitions)" display_order="245" description="Table scans (cache partitions)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11551" resource_type_id="10172" name="table scans (direct read)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table scans (direct read)" display_order="246" description="Table scans (direct read)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11552" resource_type_id="10172" name="table scan rows gotten" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table scan rows gotten" display_order="247" description="Table scan rows gotten" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11553" resource_type_id="10172" name="table scan blocks gotten" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table scan blocks gotten" display_order="248" description="Table scan blocks gotten" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11554" resource_type_id="10172" name="table fetch by rowid" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table fetch by rowid" display_order="249" description="Table fetch by rowid" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11555" resource_type_id="10172" name="table fetch continued row" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table fetch continued row" display_order="250" description="Table fetch continued row" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11556" resource_type_id="10172" name="cluster key scans" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cluster key scans" display_order="251" description="Cluster key scans" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11557" resource_type_id="10172" name="cluster key scan block gets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cluster key scan block gets" display_order="252" description="Cluster key scan block gets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11558" resource_type_id="10172" name="rows fetched via callback" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Rows fetched via callback" display_order="253" description="Rows fetched via callback" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11559" resource_type_id="10172" name="queue update without cp update" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Queue update without cp update" display_order="254" description="Queue update without cp update" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11560" resource_type_id="10172" name="leaf node splits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Leaf node splits" display_order="255" description="Leaf node splits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11561" resource_type_id="10172" name="leaf node 90-10 splits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Leaf node 9010 splits" display_order="256" description="Leaf node 9010 splits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11562" resource_type_id="10172" name="branch node splits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Branch node splits" display_order="257" description="Branch node splits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11563" resource_type_id="10172" name="native hash arithmetic execute" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Native hash arithmetic execute" display_order="258" description="Native hash arithmetic execute" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11564" resource_type_id="10172" name="native hash arithmetic fail" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Native hash arithmetic fail" display_order="259" description="Native hash arithmetic fail" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11565" resource_type_id="10172" name="lob reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Lob reads" display_order="260" description="Lob reads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11566" resource_type_id="10172" name="lob writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Lob writes" display_order="261" description="Lob writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11567" resource_type_id="10172" name="lob writes unaligned" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Lob writes unaligned" display_order="262" description="Lob writes unaligned" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11568" resource_type_id="10172" name="index fast full scans (full)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Index fast full scans (full)" display_order="263" description="Index fast full scans (full)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11569" resource_type_id="10172" name="index fast full scans (rowid ranges)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Index fast full scans (rowid ranges)" display_order="264" description="Index fast full scans (rowid ranges)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11570" resource_type_id="10172" name="index fast full scans (direct read)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Index fast full scans (direct read)" display_order="265" description="Index fast full scans (direct read)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11571" resource_type_id="10172" name="index fetch by key" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Index fetch by key" display_order="266" description="Index fetch by key" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11572" resource_type_id="10172" name="index scans kdiixs1" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Index scans kdiixs 1" display_order="267" description="Index scans kdiixs 1" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11573" resource_type_id="10172" name="queue splits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Queue splits" display_order="268" description="Queue splits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11574" resource_type_id="10172" name="queue flush" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Queue flush" display_order="269" description="Queue flush" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11575" resource_type_id="10172" name="queue position update" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Queue position update" display_order="270" description="Queue position update" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11576" resource_type_id="10172" name="queue single row" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Queue single row" display_order="271" description="Queue single row" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11577" resource_type_id="10172" name="queue ocp pages" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Queue ocp pages" display_order="272" description="Queue ocp pages" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11578" resource_type_id="10172" name="queue qno pages" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Queue qno pages" display_order="273" description="Queue qno pages" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11579" resource_type_id="10172" name="heap block compress" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Heap block compress" display_order="274" description="Heap block compress" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11580" resource_type_id="10172" name="sql area purged" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Sql area purged" display_order="275" description="Sql area purged" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11581" resource_type_id="10172" name="sql area aged" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Sql area aged" display_order="276" description="Sql area aged" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11582" resource_type_id="10172" name="session cursor cache hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Session cursor cache hits" display_order="277" description="Session cursor cache hits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11583" resource_type_id="10172" name="session cursor cache count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Session cursor cache count" display_order="278" description="Session cursor cache count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11584" resource_type_id="10172" name="java call heap total size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap total size" display_order="279" description="Java call heap total size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11585" resource_type_id="10172" name="java call heap total size max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap total size max" display_order="280" description="Java call heap total size max" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11586" resource_type_id="10172" name="java call heap used size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap used size" display_order="281" description="Java call heap used size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11587" resource_type_id="10172" name="java call heap used size max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap used size max" display_order="282" description="Java call heap used size max" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11588" resource_type_id="10172" name="java call heap live size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap live size" display_order="283" description="Java call heap live size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11589" resource_type_id="10172" name="java call heap live size max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap live size max" display_order="284" description="Java call heap live size max" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11590" resource_type_id="10172" name="java call heap object count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap object count" display_order="285" description="Java call heap object count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11591" resource_type_id="10172" name="java call heap object count max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap object count max" display_order="286" description="Java call heap object count max" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11592" resource_type_id="10172" name="java call heap live object count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap live object count" display_order="287" description="Java call heap live object count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11593" resource_type_id="10172" name="java call heap live object count max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap live object count max" display_order="288" description="Java call heap live object count max" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11594" resource_type_id="10172" name="java call heap gc count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap gc count" display_order="289" description="Java call heap gc count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11595" resource_type_id="10172" name="java call heap collected count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap collected count" display_order="290" description="Java call heap collected count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11596" resource_type_id="10172" name="java call heap collected bytes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap collected bytes" display_order="291" description="Java call heap collected bytes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11597" resource_type_id="10172" name="java session heap used size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap used size" display_order="292" description="Java session heap used size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11598" resource_type_id="10172" name="java session heap used size max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap used size max" display_order="293" description="Java session heap used size max" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11599" resource_type_id="10172" name="java session heap live size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap live size" display_order="294" description="Java session heap live size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11600" resource_type_id="10172" name="java session heap live size max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap live size max" display_order="295" description="Java session heap live size max" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11601" resource_type_id="10172" name="java session heap object count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap object count" display_order="296" description="Java session heap object count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11602" resource_type_id="10172" name="java session heap object count max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap object count max" display_order="297" description="Java session heap object count max" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11603" resource_type_id="10172" name="java session heap live object count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap live object count" display_order="298" description="Java session heap live object count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11604" resource_type_id="10172" name="java session heap live object count max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap live object count max" display_order="299" description="Java session heap live object count max" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11605" resource_type_id="10172" name="java session heap gc count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap gc count" display_order="300" description="Java session heap gc count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11606" resource_type_id="10172" name="java session heap collected count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap collected count" display_order="301" description="Java session heap collected count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11607" resource_type_id="10172" name="java session heap collected bytes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap collected bytes" display_order="302" description="Java session heap collected bytes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11608" resource_type_id="10172" name="cursor authentications" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cursor authentications" display_order="303" description="Cursor authentications" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11609" resource_type_id="10172" name="queries parallelized" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Queries parallelized" display_order="304" description="Queries parallelized" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11610" resource_type_id="10172" name="DML statements parallelized" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DML statements parallelized" display_order="305" description="DML statements parallelized" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11611" resource_type_id="10172" name="DDL statements parallelized" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DDL statements parallelized" display_order="306" description="DDL statements parallelized" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11612" resource_type_id="10172" name="DFO trees parallelized" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DFO trees parallelized" display_order="307" description="DFO trees parallelized" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11613" resource_type_id="10172" name="Parallel operations not downgraded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parallel operations not downgraded" display_order="308" description="Parallel operations not downgraded" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11614" resource_type_id="10172" name="Parallel operations downgraded to serial" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parallel operations downgraded to serial" display_order="309" description="Parallel operations downgraded to serial" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11615" resource_type_id="10172" name="Parallel operations downgraded 75 to 99 pct" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parallel operations downgraded 75 to 99 pct" display_order="310" description="Parallel operations downgraded 75 to 99 pct" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11616" resource_type_id="10172" name="Parallel operations downgraded 50 to 75 pct" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parallel operations downgraded 50 to 75 pct" display_order="311" description="Parallel operations downgraded 50 to 75 pct" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11617" resource_type_id="10172" name="Parallel operations downgraded 25 to 50 pct" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parallel operations downgraded 25 to 50 pct" display_order="312" description="Parallel operations downgraded 25 to 50 pct" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11618" resource_type_id="10172" name="Parallel operations downgraded 1 to 25 pct" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parallel operations downgraded 1 to 25 pct" display_order="313" description="Parallel operations downgraded 1 to 25 pct" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11619" resource_type_id="10172" name="PX local messages sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="PX local messages sent" display_order="314" description="PX local messages sent" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11620" resource_type_id="10172" name="PX local messages recv'd" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="PX local messages recv'd" display_order="315" description="PX local messages recv'd" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11621" resource_type_id="10172" name="PX remote messages sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="PX remote messages sent" display_order="316" description="PX remote messages sent" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11622" resource_type_id="10172" name="PX remote messages recv'd" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="PX remote messages recv'd" display_order="317" description="PX remote messages recv'd" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11623" resource_type_id="10172" name="buffer is pinned count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Buffer is pinned count" display_order="318" description="Buffer is pinned count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11624" resource_type_id="10172" name="buffer is not pinned count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Buffer is not pinned count" display_order="319" description="Buffer is not pinned count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11625" resource_type_id="10172" name="no buffer to keep pinned count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="No buffer to keep pinned count" display_order="320" description="No buffer to keep pinned count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11626" resource_type_id="10172" name="table lookup prefetch client count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table lookup prefetch client count" display_order="321" description="Table lookup prefetch client count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11627" resource_type_id="10172" name="workarea memory allocated" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Workarea memory allocated" display_order="322" description="Workarea memory allocated" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11628" resource_type_id="10172" name="workarea executions - optimal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Workarea executions optimal" display_order="323" description="Workarea executions optimal" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11629" resource_type_id="10172" name="workarea executions - onepass" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Workarea executions onepass" display_order="324" description="Workarea executions onepass" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11630" resource_type_id="10172" name="workarea executions - multipass" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Workarea executions multipass" display_order="325" description="Workarea executions multipass" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11631" resource_type_id="10172" name="parse time cpu" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parse time cpu" display_order="326" description="Parse time cpu" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11632" resource_type_id="10172" name="parse time elapsed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parse time elapsed" display_order="327" description="Parse time elapsed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11633" resource_type_id="10172" name="parse count (total)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parse count (total)" display_order="328" description="Parse count (total)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11634" resource_type_id="10172" name="parse count (hard)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parse count (hard)" display_order="329" description="Parse count (hard)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11635" resource_type_id="10172" name="parse count (failures)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parse count (failures)" display_order="330" description="Parse count (failures)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11636" resource_type_id="10172" name="frame signature mismatch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Frame signature mismatch" display_order="331" description="Frame signature mismatch" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11637" resource_type_id="10172" name="execute count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Execute count" display_order="332" description="Execute count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11638" resource_type_id="10172" name="bytes sent via SQL*Net to client" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Bytes sent via SQL* Net to client" display_order="333" description="Bytes sent via SQL* Net to client" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11639" resource_type_id="10172" name="bytes received via SQL*Net from client" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Bytes received via SQL* Net from client" display_order="334" description="Bytes received via SQL* Net from client" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11640" resource_type_id="10172" name="SQL*Net roundtrips to/from client" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="SQL* Net roundtrips to/from client" display_order="335" description="SQL* Net roundtrips to/from client" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11641" resource_type_id="10172" name="bytes sent via SQL*Net to dblink" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Bytes sent via SQL* Net to dblink" display_order="336" description="Bytes sent via SQL* Net to dblink" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11642" resource_type_id="10172" name="bytes received via SQL*Net from dblink" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Bytes received via SQL* Net from dblink" display_order="337" description="Bytes received via SQL* Net from dblink" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11643" resource_type_id="10172" name="SQL*Net roundtrips to/from dblink" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="SQL* Net roundtrips to/from dblink" display_order="338" description="SQL* Net roundtrips to/from dblink" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11644" resource_type_id="10172" name="sorts (memory)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Sorts (memory)" display_order="339" description="Sorts (memory)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11645" resource_type_id="10172" name="sorts (disk)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Sorts (disk)" display_order="340" description="Sorts (disk)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11646" resource_type_id="10172" name="sorts (rows)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Sorts (rows)" display_order="341" description="Sorts (rows)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11647" resource_type_id="10172" name="OTC commit optimization attempts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="OTC commit optimization attempts" display_order="342" description="OTC commit optimization attempts" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11648" resource_type_id="10172" name="OTC commit optimization hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="OTC commit optimization hits" display_order="343" description="OTC commit optimization hits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11649" resource_type_id="10172" name="OTC commit optimization failure - setup" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="OTC commit optimization failure setup" display_order="344" description="OTC commit optimization failure setup" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11650" resource_type_id="10173" name="Buffer Cache Hit Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Buffer Cache Hit Ratio" display_order="1" description="Buffer Cache Hit Ratio" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11651" resource_type_id="10173" name="Memory Sorts Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Memory Sorts Ratio" display_order="2" description="Memory Sorts Ratio" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11652" resource_type_id="10173" name="Redo Allocation Hit Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Redo Allocation Hit Ratio" display_order="3" description="Redo Allocation Hit Ratio" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11653" resource_type_id="10173" name="User Transaction Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="User Transaction Per Sec" display_order="4" description="User Transaction Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11654" resource_type_id="10173" name="Physical Reads Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical Reads Per Sec" display_order="5" description="Physical Reads Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11655" resource_type_id="10173" name="Physical Reads Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Reads Per Txn" display_order="6" description="Physical Reads Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11656" resource_type_id="10173" name="Physical Writes Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical Writes Per Sec" display_order="7" description="Physical Writes Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11657" resource_type_id="10173" name="Physical Writes Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Writes Per Txn" display_order="8" description="Physical Writes Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11658" resource_type_id="10173" name="Physical Reads Direct Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Reads Direct Per Sec" display_order="9" description="Physical Reads Direct Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11659" resource_type_id="10173" name="Physical Reads Direct Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Reads Direct Per Txn" display_order="10" description="Physical Reads Direct Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11660" resource_type_id="10173" name="Physical Writes Direct Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Writes Direct Per Sec" display_order="11" description="Physical Writes Direct Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11661" resource_type_id="10173" name="Physical Writes Direct Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Writes Direct Per Txn" display_order="12" description="Physical Writes Direct Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11662" resource_type_id="10173" name="Physical Reads Direct Lobs Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Reads Direct Lobs Per Sec" display_order="13" description="Physical Reads Direct Lobs Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11663" resource_type_id="10173" name="Physical Reads Direct Lobs Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Reads Direct Lobs Per Txn" display_order="14" description="Physical Reads Direct Lobs Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11664" resource_type_id="10173" name="Physical Writes Direct Lobs Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Writes Direct Lobs Per Sec" display_order="15" description="Physical Writes Direct Lobs Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11665" resource_type_id="10173" name="Physical Writes Direct Lobs Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Writes Direct Lobs Per Txn" display_order="16" description="Physical Writes Direct Lobs Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11666" resource_type_id="10173" name="Redo Generated Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Redo Generated Per Sec" display_order="17" description="Redo Generated Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11667" resource_type_id="10173" name="Redo Generated Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Redo Generated Per Txn" display_order="18" description="Redo Generated Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11668" resource_type_id="10173" name="Logons Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Logons Per Sec" display_order="19" description="Logons Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11669" resource_type_id="10173" name="Logons Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Logons Per Txn" display_order="20" description="Logons Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11670" resource_type_id="10173" name="Open Cursors Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Open Cursors Per Sec" display_order="21" description="Open Cursors Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11671" resource_type_id="10173" name="Open Cursors Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Open Cursors Per Txn" display_order="22" description="Open Cursors Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11672" resource_type_id="10173" name="User Commits Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Commits Per Sec" display_order="23" description="User Commits Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11673" resource_type_id="10173" name="User Commits Percentage" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Commits Percentage" display_order="24" description="User Commits Percentage" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11674" resource_type_id="10173" name="User Rollbacks Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Rollbacks Per Sec" display_order="25" description="User Rollbacks Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11675" resource_type_id="10173" name="User Rollbacks Percentage" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Rollbacks Percentage" display_order="26" description="User Rollbacks Percentage" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11676" resource_type_id="10173" name="User Calls Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Calls Per Sec" display_order="27" description="User Calls Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11677" resource_type_id="10173" name="User Calls Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Calls Per Txn" display_order="28" description="User Calls Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11678" resource_type_id="10173" name="Recursive Calls Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Recursive Calls Per Sec" display_order="29" description="Recursive Calls Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11679" resource_type_id="10173" name="Recursive Calls Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Recursive Calls Per Txn" display_order="30" description="Recursive Calls Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11680" resource_type_id="10173" name="Logical Reads Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Logical Reads Per Sec" display_order="31" description="Logical Reads Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11681" resource_type_id="10173" name="Logical Reads Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Logical Reads Per Txn" display_order="32" description="Logical Reads Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11682" resource_type_id="10173" name="DBWR Checkpoints Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="DBWR Checkpoints Per Sec" display_order="33" description="DBWR Checkpoints Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11683" resource_type_id="10173" name="Background Checkpoints Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Background Checkpoints Per Sec" display_order="34" description="Background Checkpoints Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11684" resource_type_id="10173" name="Redo Writes Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Redo Writes Per Sec" display_order="35" description="Redo Writes Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11685" resource_type_id="10173" name="Redo Writes Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Redo Writes Per Txn" display_order="36" description="Redo Writes Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11686" resource_type_id="10173" name="Long Table Scans Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Long Table Scans Per Sec" display_order="37" description="Long Table Scans Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11687" resource_type_id="10173" name="Long Table Scans Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Long Table Scans Per Txn" display_order="38" description="Long Table Scans Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11688" resource_type_id="10173" name="Total Table Scans Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Table Scans Per Sec" display_order="39" description="Total Table Scans Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11689" resource_type_id="10173" name="Total Table Scans Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Table Scans Per Txn" display_order="40" description="Total Table Scans Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11690" resource_type_id="10173" name="Full Index Scans Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Full Index Scans Per Sec" display_order="41" description="Full Index Scans Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11691" resource_type_id="10173" name="Full Index Scans Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Full Index Scans Per Txn" display_order="42" description="Full Index Scans Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11692" resource_type_id="10173" name="Total Index Scans Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Index Scans Per Sec" display_order="43" description="Total Index Scans Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11693" resource_type_id="10173" name="Total Index Scans Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Index Scans Per Txn" display_order="44" description="Total Index Scans Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11694" resource_type_id="10173" name="Total Parse Count Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Parse Count Per Sec" display_order="45" description="Total Parse Count Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11695" resource_type_id="10173" name="Total Parse Count Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Parse Count Per Txn" display_order="46" description="Total Parse Count Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11696" resource_type_id="10173" name="Hard Parse Count Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Hard Parse Count Per Sec" display_order="47" description="Hard Parse Count Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11697" resource_type_id="10173" name="Hard Parse Count Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Hard Parse Count Per Txn" display_order="48" description="Hard Parse Count Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11698" resource_type_id="10173" name="Parse Failure Count Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Parse Failure Count Per Sec" display_order="49" description="Parse Failure Count Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11699" resource_type_id="10173" name="Parse Failure Count Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Parse Failure Count Per Txn" display_order="50" description="Parse Failure Count Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11700" resource_type_id="10173" name="Cursor Cache Hit Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Cursor Cache Hit Ratio" display_order="51" description="Cursor Cache Hit Ratio" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11701" resource_type_id="10173" name="Disk Sort Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Disk Sort Per Sec" display_order="52" description="Disk Sort Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11702" resource_type_id="10173" name="Disk Sort Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Disk Sort Per Txn" display_order="53" description="Disk Sort Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11703" resource_type_id="10173" name="Rows Per Sort" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Rows Per Sort" display_order="54" description="Rows Per Sort" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11704" resource_type_id="10173" name="Execute Without Parse Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Execute Without Parse Ratio" display_order="55" description="Execute Without Parse Ratio" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11705" resource_type_id="10173" name="Soft Parse Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Soft Parse Ratio" display_order="56" description="Soft Parse Ratio" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11706" resource_type_id="10173" name="User Calls Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Calls Ratio" display_order="57" description="User Calls Ratio" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11707" resource_type_id="10173" name="Host CPU Utilization (%)" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Host CPU Utilization (%)" display_order="58" description="Host CPU Utilization (%)" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11708" resource_type_id="10173" name="Network Traffic Volume Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Network Traffic Volume Per Sec" display_order="59" description="Network Traffic Volume Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11709" resource_type_id="10173" name="Enqueue Timeouts Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Enqueue Timeouts Per Sec" display_order="60" description="Enqueue Timeouts Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11710" resource_type_id="10173" name="Enqueue Timeouts Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Enqueue Timeouts Per Txn" display_order="61" description="Enqueue Timeouts Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11711" resource_type_id="10173" name="Enqueue Waits Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Enqueue Waits Per Sec" display_order="62" description="Enqueue Waits Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11712" resource_type_id="10173" name="Enqueue Waits Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Enqueue Waits Per Txn" display_order="63" description="Enqueue Waits Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11713" resource_type_id="10173" name="Enqueue Deadlocks Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Enqueue Deadlocks Per Sec" display_order="64" description="Enqueue Deadlocks Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11714" resource_type_id="10173" name="Enqueue Deadlocks Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Enqueue Deadlocks Per Txn" display_order="65" description="Enqueue Deadlocks Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11715" resource_type_id="10173" name="Enqueue Requests Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Enqueue Requests Per Sec" display_order="66" description="Enqueue Requests Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11716" resource_type_id="10173" name="Enqueue Requests Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Enqueue Requests Per Txn" display_order="67" description="Enqueue Requests Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11717" resource_type_id="10173" name="DB Block Gets Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="DB Block Gets Per Sec" display_order="68" description="DB Block Gets Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11718" resource_type_id="10173" name="DB Block Gets Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="DB Block Gets Per Txn" display_order="69" description="DB Block Gets Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11719" resource_type_id="10173" name="Consistent Read Gets Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Consistent Read Gets Per Sec" display_order="70" description="Consistent Read Gets Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11720" resource_type_id="10173" name="Consistent Read Gets Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Consistent Read Gets Per Txn" display_order="71" description="Consistent Read Gets Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11721" resource_type_id="10173" name="DB Block Changes Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="DB Block Changes Per Sec" display_order="72" description="DB Block Changes Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11722" resource_type_id="10173" name="DB Block Changes Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="DB Block Changes Per Txn" display_order="73" description="DB Block Changes Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11723" resource_type_id="10173" name="Consistent Read Changes Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Consistent Read Changes Per Sec" display_order="74" description="Consistent Read Changes Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11724" resource_type_id="10173" name="Consistent Read Changes Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Consistent Read Changes Per Txn" display_order="75" description="Consistent Read Changes Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11725" resource_type_id="10173" name="CPU Usage Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="CPU Usage Per Sec" display_order="76" description="CPU Usage Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11726" resource_type_id="10173" name="CPU Usage Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="CPU Usage Per Txn" display_order="77" description="CPU Usage Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11727" resource_type_id="10173" name="CR Blocks Created Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="CR Blocks Created Per Sec" display_order="78" description="CR Blocks Created Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11728" resource_type_id="10173" name="CR Blocks Created Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="CR Blocks Created Per Txn" display_order="79" description="CR Blocks Created Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11729" resource_type_id="10173" name="CR Undo Records Applied Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="CR Undo Records Applied Per Sec" display_order="80" description="CR Undo Records Applied Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11730" resource_type_id="10173" name="CR Undo Records Applied Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="CR Undo Records Applied Per Txn" display_order="81" description="CR Undo Records Applied Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11731" resource_type_id="10173" name="User Rollback UndoRec Applied Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Rollback Undo Rec Applied Per Sec" display_order="82" description="User Rollback Undo Rec Applied Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11732" resource_type_id="10173" name="User Rollback Undo Records Applied Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Rollback Undo Records Applied Per Txn" display_order="83" description="User Rollback Undo Records Applied Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11733" resource_type_id="10173" name="Leaf Node Splits Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Leaf Node Splits Per Sec" display_order="84" description="Leaf Node Splits Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11734" resource_type_id="10173" name="Leaf Node Splits Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Leaf Node Splits Per Txn" display_order="85" description="Leaf Node Splits Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11735" resource_type_id="10173" name="Branch Node Splits Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Branch Node Splits Per Sec" display_order="86" description="Branch Node Splits Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11736" resource_type_id="10173" name="Branch Node Splits Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Branch Node Splits Per Txn" display_order="87" description="Branch Node Splits Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11737" resource_type_id="10173" name="PX downgraded 25% or more Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="PX downgraded 25% or more Per Sec" display_order="88" description="PX downgraded 25% or more Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11738" resource_type_id="10173" name="PX downgraded 50% or more Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="PX downgraded 50% or more Per Sec" display_order="89" description="PX downgraded 50% or more Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11739" resource_type_id="10173" name="PX downgraded 75% or more Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="PX downgraded 75% or more Per Sec" display_order="90" description="PX downgraded 75% or more Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11740" resource_type_id="10173" name="PX downgraded Parallel Operation Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="PX downgraded Parallel Operation Per Sec" display_order="91" description="PX downgraded Parallel Operation Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11741" resource_type_id="10173" name="PX downgraded to serial Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="PX downgraded to serial Per Sec" display_order="92" description="PX downgraded to serial Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11742" resource_type_id="10173" name="Physical Read Total IO Requests Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Read Total IO Requests Per Sec" display_order="93" description="Physical Read Total IO Requests Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11743" resource_type_id="10173" name="Physical Read Total Bytes Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Read Total Bytes Per Sec" display_order="94" description="Physical Read Total Bytes Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11744" resource_type_id="10173" name="GC CR Block Received Per Second" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="GC CR Block Received Per Second" display_order="95" description="GC CR Block Received Per Second" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11745" resource_type_id="10173" name="GC CR Block Received Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="GC CR Block Received Per Txn" display_order="96" description="GC CR Block Received Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11746" resource_type_id="10173" name="GC Current Block Received Per Second" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="GC Current Block Received Per Second" display_order="97" description="GC Current Block Received Per Second" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11747" resource_type_id="10173" name="GC Current Block Received Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="GC Current Block Received Per Txn" display_order="98" description="GC Current Block Received Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11748" resource_type_id="10173" name="Global Cache Average CR Get Time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Global Cache Average CR Get Time" display_order="99" description="Global Cache Average CR Get Time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11749" resource_type_id="10173" name="Global Cache Average Current Get Time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Global Cache Average Current Get Time" display_order="100" description="Global Cache Average Current Get Time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11750" resource_type_id="10173" name="Physical Write Total IO Requests Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Write Total IO Requests Per Sec" display_order="101" description="Physical Write Total IO Requests Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11751" resource_type_id="10173" name="Global Cache Blocks Corrupted" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Global Cache Blocks Corrupted" display_order="102" description="Global Cache Blocks Corrupted" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11752" resource_type_id="10173" name="Global Cache Blocks Lost" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Global Cache Blocks Lost" display_order="103" description="Global Cache Blocks Lost" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11753" resource_type_id="10173" name="Current Logons Count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current Logons Count" display_order="104" description="Current Logons Count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11754" resource_type_id="10173" name="Current Open Cursors Count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current Open Cursors Count" display_order="105" description="Current Open Cursors Count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11755" resource_type_id="10173" name="User Limit %" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Limit %" display_order="106" description="User Limit %" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11756" resource_type_id="10173" name="SQL Service Response Time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="SQL Service Response Time" display_order="107" description="SQL Service Response Time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11757" resource_type_id="10173" name="Database Wait Time Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Database Wait Time Ratio" display_order="108" description="Database Wait Time Ratio" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11758" resource_type_id="10173" name="Database CPU Time Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Database CPU Time Ratio" display_order="109" description="Database CPU Time Ratio" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11759" resource_type_id="10173" name="Response Time Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Response Time Per Txn" display_order="110" description="Response Time Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11760" resource_type_id="10173" name="Row Cache Hit Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Row Cache Hit Ratio" display_order="111" description="Row Cache Hit Ratio" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11761" resource_type_id="10173" name="Row Cache Miss Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Row Cache Miss Ratio" display_order="112" description="Row Cache Miss Ratio" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11762" resource_type_id="10173" name="Library Cache Hit Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Library Cache Hit Ratio" display_order="113" description="Library Cache Hit Ratio" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11763" resource_type_id="10173" name="Library Cache Miss Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Library Cache Miss Ratio" display_order="114" description="Library Cache Miss Ratio" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11764" resource_type_id="10173" name="Shared Pool Free %" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Shared Pool Free %" display_order="115" description="Shared Pool Free %" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11765" resource_type_id="10173" name="PGA Cache Hit %" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="PGA Cache Hit %" display_order="116" description="PGA Cache Hit %" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11766" resource_type_id="10173" name="Process Limit %" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Process Limit %" display_order="117" description="Process Limit %" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11767" resource_type_id="10173" name="Session Limit %" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Session Limit %" display_order="118" description="Session Limit %" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11768" resource_type_id="10173" name="Executions Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Executions Per Txn" display_order="119" description="Executions Per Txn" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11769" resource_type_id="10173" name="Executions Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Executions Per Sec" display_order="120" description="Executions Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11770" resource_type_id="10173" name="Txns Per Logon" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Txns Per Logon" display_order="121" description="Txns Per Logon" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11771" resource_type_id="10173" name="Database Time Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Database Time Per Sec" display_order="122" description="Database Time Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11772" resource_type_id="10173" name="Physical Write Total Bytes Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Write Total Bytes Per Sec" display_order="123" description="Physical Write Total Bytes Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11773" resource_type_id="10173" name="Physical Read IO Requests Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Read IO Requests Per Sec" display_order="124" description="Physical Read IO Requests Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11774" resource_type_id="10173" name="Physical Read Bytes Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Read Bytes Per Sec" display_order="125" description="Physical Read Bytes Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11775" resource_type_id="10173" name="Physical Write IO Requests Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Write IO Requests Per Sec" display_order="126" description="Physical Write IO Requests Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11776" resource_type_id="10173" name="Physical Write Bytes Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Write Bytes Per Sec" display_order="127" description="Physical Write Bytes Per Sec" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11777" resource_type_id="10173" name="DB Block Changes Per User Call" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="DB Block Changes Per User Call" display_order="128" description="DB Block Changes Per User Call" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11778" resource_type_id="10173" name="DB Block Gets Per User Call" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="DB Block Gets Per User Call" display_order="129" description="DB Block Gets Per User Call" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11779" resource_type_id="10173" name="Executions Per User Call" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Executions Per User Call" display_order="130" description="Executions Per User Call" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11780" resource_type_id="10173" name="Logical Reads Per User Call" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Logical Reads Per User Call" display_order="131" description="Logical Reads Per User Call" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11781" resource_type_id="10173" name="Total Sorts Per User Call" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Sorts Per User Call" display_order="132" description="Total Sorts Per User Call" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11782" resource_type_id="10173" name="Total Table Scans Per User Call" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Table Scans Per User Call" display_order="133" description="Total Table Scans Per User Call" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11783" resource_type_id="10173" name="Current OS Load" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current OS Load" display_order="134" description="Current OS Load" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11784" resource_type_id="10174" name="activeConnections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Active Connections" display_order="1" description="Active Connections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11785" resource_type_id="10175" name="Process.aggregateCpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="User Time" display_order="1" description="User Time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11786" resource_type_id="10175" name="Process.aggregateCpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="User Time per Minute" display_order="2" description="User Time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11787" resource_type_id="10175" name="Process.aggregateCpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Kernel Time" display_order="3" description="Kernel Time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11788" resource_type_id="10175" name="Process.aggregateCpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Kernel Time per Minute" display_order="4" description="Kernel Time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11789" resource_type_id="10175" name="Process.aggregateCpu.percent" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="CPU Percentage" display_order="5" description="CPU Percentage" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11790" resource_type_id="10175" name="Process.aggregateMemory.resident" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Physical Memory" display_order="6" description="Physical Memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11791" resource_type_id="10175" name="Process.aggregateMemory.size" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Virtual Memory" display_order="7" description="Virtual Memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11792" resource_type_id="10175" name="Process.aggregateFileDescriptor.total" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Open File Descriptors" display_order="8" description="Open File Descriptors" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11793" resource_type_id="10175" name="Aborted_clients" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Aborted_clients" display_order="9" description="Connections that aborted because the client did not close the connection" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11794" resource_type_id="10175" name="Aborted_clients" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Aborted_clients per Minute" display_order="10" description="Connections that aborted because the client did not close the connection" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11795" resource_type_id="10175" name="Aborted_connects" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Aborted_connects" display_order="11" description="Connections that were not succesfully created" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11796" resource_type_id="10175" name="Aborted_connects" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Aborted_connects per Minute" display_order="12" description="Connections that were not succesfully created" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11797" resource_type_id="10175" name="Binlog_cache_disk_use" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Binlog_cache_disk_use" display_order="13" description="Transactions that used the binary log cache and overflowed to a file on disk" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11798" resource_type_id="10175" name="Binlog_cache_disk_use" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Binlog_cache_disk_use per Minute" display_order="14" description="Transactions that used the binary log cache and overflowed to a file on disk" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11799" resource_type_id="10175" name="Binlog_cache_use" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Binlog_cache_use" display_order="15" description="Transactions using the temporary binary log cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11800" resource_type_id="10175" name="Binlog_cache_use" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Binlog_cache_use per Minute" display_order="16" description="Transactions using the temporary binary log cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11801" resource_type_id="10175" name="Bytes_received" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes_received" display_order="17" description="Bytes received by the server" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11802" resource_type_id="10175" name="Bytes_received" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes_received per Minute" display_order="18" description="Bytes received by the server" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11803" resource_type_id="10175" name="Bytes_sent" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes_sent" display_order="19" description="Bytes sent by the server" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11804" resource_type_id="10175" name="Bytes_sent" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes_sent per Minute" display_order="20" description="Bytes sent by the server" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11805" resource_type_id="10175" name="Com_admin_commands" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_admin_commands" display_order="21" description="Com_admin_commands" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11806" resource_type_id="10175" name="Com_admin_commands" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_admin_commands per Minute" display_order="22" description="Com_admin_commands" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11807" resource_type_id="10175" name="Com_alter_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_alter_db" display_order="23" description="Com_alter_db" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11808" resource_type_id="10175" name="Com_alter_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_alter_db per Minute" display_order="24" description="Com_alter_db" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11809" resource_type_id="10175" name="Com_alter_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_alter_table" display_order="25" description="Com_alter_table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11810" resource_type_id="10175" name="Com_alter_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_alter_table per Minute" display_order="26" description="Com_alter_table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11811" resource_type_id="10175" name="Com_analyze" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_analyze" display_order="27" description="Com_analyze" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11812" resource_type_id="10175" name="Com_analyze" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_analyze per Minute" display_order="28" description="Com_analyze" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11813" resource_type_id="10175" name="Com_backup_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_backup_table" display_order="29" description="Com_backup_table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11814" resource_type_id="10175" name="Com_backup_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_backup_table per Minute" display_order="30" description="Com_backup_table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11815" resource_type_id="10175" name="Com_begin" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_begin" display_order="31" description="Com_begin" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11816" resource_type_id="10175" name="Com_begin" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_begin per Minute" display_order="32" description="Com_begin" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11817" resource_type_id="10175" name="Com_call_procedure" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_call_procedure" display_order="33" description="Com_call_procedure" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11818" resource_type_id="10175" name="Com_call_procedure" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_call_procedure per Minute" display_order="34" description="Com_call_procedure" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11819" resource_type_id="10175" name="Com_change_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_change_db" display_order="35" description="Com_change_db" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11820" resource_type_id="10175" name="Com_change_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_change_db per Minute" display_order="36" description="Com_change_db" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11821" resource_type_id="10175" name="Com_change_master" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_change_master" display_order="37" description="Com_change_master" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11822" resource_type_id="10175" name="Com_change_master" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_change_master per Minute" display_order="38" description="Com_change_master" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11823" resource_type_id="10175" name="Com_check" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_check" display_order="39" description="Com_check" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11824" resource_type_id="10175" name="Com_check" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_check per Minute" display_order="40" description="Com_check" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11825" resource_type_id="10175" name="Com_checksum" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_checksum" display_order="41" description="Com_checksum" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11826" resource_type_id="10175" name="Com_checksum" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_checksum per Minute" display_order="42" description="Com_checksum" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11827" resource_type_id="10175" name="Com_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_commit" display_order="43" description="Com_commit" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11828" resource_type_id="10175" name="Com_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_commit per Minute" display_order="44" description="Com_commit" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11829" resource_type_id="10175" name="Com_create_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_create_db" display_order="45" description="Com_create_db" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11830" resource_type_id="10175" name="Com_create_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_create_db per Minute" display_order="46" description="Com_create_db" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11831" resource_type_id="10175" name="Com_create_function" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_create_function" display_order="47" description="Com_create_function" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11832" resource_type_id="10175" name="Com_create_function" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_create_function per Minute" display_order="48" description="Com_create_function" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11833" resource_type_id="10175" name="Com_create_index" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_create_index" display_order="49" description="Com_create_index" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11834" resource_type_id="10175" name="Com_create_index" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_create_index per Minute" display_order="50" description="Com_create_index" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11835" resource_type_id="10175" name="Com_create_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_create_table" display_order="51" description="Com_create_table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11836" resource_type_id="10175" name="Com_create_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_create_table per Minute" display_order="52" description="Com_create_table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11837" resource_type_id="10175" name="Com_create_user" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_create_user" display_order="53" description="Com_create_user" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11838" resource_type_id="10175" name="Com_create_user" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_create_user per Minute" display_order="54" description="Com_create_user" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11839" resource_type_id="10175" name="Com_dealloc_sql" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_dealloc_sql" display_order="55" description="Com_dealloc_sql" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11840" resource_type_id="10175" name="Com_dealloc_sql" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_dealloc_sql per Minute" display_order="56" description="Com_dealloc_sql" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11841" resource_type_id="10175" name="Com_delete" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_delete" display_order="57" description="Com_delete" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11842" resource_type_id="10175" name="Com_delete" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_delete per Minute" display_order="58" description="Com_delete" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11843" resource_type_id="10175" name="Com_delete_multi" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_delete_multi" display_order="59" description="Com_delete_multi" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11844" resource_type_id="10175" name="Com_delete_multi" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_delete_multi per Minute" display_order="60" description="Com_delete_multi" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11845" resource_type_id="10175" name="Com_do" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_do" display_order="61" description="Com_do" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11846" resource_type_id="10175" name="Com_do" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_do per Minute" display_order="62" description="Com_do" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11847" resource_type_id="10175" name="Com_drop_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_drop_db" display_order="63" description="Com_drop_db" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11848" resource_type_id="10175" name="Com_drop_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_drop_db per Minute" display_order="64" description="Com_drop_db" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11849" resource_type_id="10175" name="Com_drop_function" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_drop_function" display_order="65" description="Com_drop_function" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11850" resource_type_id="10175" name="Com_drop_function" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_drop_function per Minute" display_order="66" description="Com_drop_function" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11851" resource_type_id="10175" name="Com_drop_index" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_drop_index" display_order="67" description="Com_drop_index" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11852" resource_type_id="10175" name="Com_drop_index" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_drop_index per Minute" display_order="68" description="Com_drop_index" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11853" resource_type_id="10175" name="Com_drop_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_drop_table" display_order="69" description="Com_drop_table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11854" resource_type_id="10175" name="Com_drop_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_drop_table per Minute" display_order="70" description="Com_drop_table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11855" resource_type_id="10175" name="Com_drop_user" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_drop_user" display_order="71" description="Com_drop_user" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11856" resource_type_id="10175" name="Com_drop_user" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_drop_user per Minute" display_order="72" description="Com_drop_user" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11857" resource_type_id="10175" name="Com_execute_sql" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_execute_sql" display_order="73" description="Com_execute_sql" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11858" resource_type_id="10175" name="Com_execute_sql" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_execute_sql per Minute" display_order="74" description="Com_execute_sql" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11859" resource_type_id="10175" name="Com_flush" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_flush" display_order="75" description="Com_flush" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11860" resource_type_id="10175" name="Com_flush" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_flush per Minute" display_order="76" description="Com_flush" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11861" resource_type_id="10175" name="Com_grant" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_grant" display_order="77" description="Com_grant" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11862" resource_type_id="10175" name="Com_grant" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_grant per Minute" display_order="78" description="Com_grant" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11863" resource_type_id="10175" name="Com_ha_close" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_ha_close" display_order="79" description="Com_ha_close" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11864" resource_type_id="10175" name="Com_ha_close" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_ha_close per Minute" display_order="80" description="Com_ha_close" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11865" resource_type_id="10175" name="Com_ha_open" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_ha_open" display_order="81" description="Com_ha_open" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11866" resource_type_id="10175" name="Com_ha_open" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_ha_open per Minute" display_order="82" description="Com_ha_open" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11867" resource_type_id="10175" name="Com_ha_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_ha_read" display_order="83" description="Com_ha_read" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11868" resource_type_id="10175" name="Com_ha_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_ha_read per Minute" display_order="84" description="Com_ha_read" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11869" resource_type_id="10175" name="Com_help" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_help" display_order="85" description="Com_help" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11870" resource_type_id="10175" name="Com_help" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_help per Minute" display_order="86" description="Com_help" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11871" resource_type_id="10175" name="Com_insert" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_insert" display_order="87" description="Com_insert" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11872" resource_type_id="10175" name="Com_insert" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_insert per Minute" display_order="88" description="Com_insert" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11873" resource_type_id="10175" name="Com_insert_select" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_insert_select" display_order="89" description="Com_insert_select" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11874" resource_type_id="10175" name="Com_insert_select" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_insert_select per Minute" display_order="90" description="Com_insert_select" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11875" resource_type_id="10175" name="Com_kill" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_kill" display_order="91" description="Com_kill" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11876" resource_type_id="10175" name="Com_kill" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_kill per Minute" display_order="92" description="Com_kill" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11877" resource_type_id="10175" name="Com_load" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_load" display_order="93" description="Com_load" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11878" resource_type_id="10175" name="Com_load" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_load per Minute" display_order="94" description="Com_load" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11879" resource_type_id="10175" name="Com_load_master_data" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_load_master_data" display_order="95" description="Com_load_master_data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11880" resource_type_id="10175" name="Com_load_master_data" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_load_master_data per Minute" display_order="96" description="Com_load_master_data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11881" resource_type_id="10175" name="Com_load_master_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_load_master_table" display_order="97" description="Com_load_master_table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11882" resource_type_id="10175" name="Com_load_master_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_load_master_table per Minute" display_order="98" description="Com_load_master_table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11883" resource_type_id="10175" name="Com_lock_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_lock_tables" display_order="99" description="Com_lock_tables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11884" resource_type_id="10175" name="Com_lock_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_lock_tables per Minute" display_order="100" description="Com_lock_tables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11885" resource_type_id="10175" name="Com_optimize" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_optimize" display_order="101" description="Com_optimize" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11886" resource_type_id="10175" name="Com_optimize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_optimize per Minute" display_order="102" description="Com_optimize" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11887" resource_type_id="10175" name="Com_preload_keys" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_preload_keys" display_order="103" description="Com_preload_keys" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11888" resource_type_id="10175" name="Com_preload_keys" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_preload_keys per Minute" display_order="104" description="Com_preload_keys" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11889" resource_type_id="10175" name="Com_prepare_sql" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_prepare_sql" display_order="105" description="Com_prepare_sql" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11890" resource_type_id="10175" name="Com_prepare_sql" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_prepare_sql per Minute" display_order="106" description="Com_prepare_sql" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11891" resource_type_id="10175" name="Com_purge" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_purge" display_order="107" description="Com_purge" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11892" resource_type_id="10175" name="Com_purge" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_purge per Minute" display_order="108" description="Com_purge" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11893" resource_type_id="10175" name="Com_purge_before_date" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_purge_before_date" display_order="109" description="Com_purge_before_date" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11894" resource_type_id="10175" name="Com_purge_before_date" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_purge_before_date per Minute" display_order="110" description="Com_purge_before_date" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11895" resource_type_id="10175" name="Com_rename_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_rename_table" display_order="111" description="Com_rename_table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11896" resource_type_id="10175" name="Com_rename_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_rename_table per Minute" display_order="112" description="Com_rename_table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11897" resource_type_id="10175" name="Com_repair" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_repair" display_order="113" description="Com_repair" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11898" resource_type_id="10175" name="Com_repair" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_repair per Minute" display_order="114" description="Com_repair" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11899" resource_type_id="10175" name="Com_replace" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_replace" display_order="115" description="Com_replace" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11900" resource_type_id="10175" name="Com_replace" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_replace per Minute" display_order="116" description="Com_replace" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11901" resource_type_id="10175" name="Com_replace_select" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_replace_select" display_order="117" description="Com_replace_select" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11902" resource_type_id="10175" name="Com_replace_select" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_replace_select per Minute" display_order="118" description="Com_replace_select" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11903" resource_type_id="10175" name="Com_reset" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_reset" display_order="119" description="Com_reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11904" resource_type_id="10175" name="Com_reset" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_reset per Minute" display_order="120" description="Com_reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11905" resource_type_id="10175" name="Com_restore_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_restore_table" display_order="121" description="Com_restore_table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11906" resource_type_id="10175" name="Com_restore_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_restore_table per Minute" display_order="122" description="Com_restore_table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11907" resource_type_id="10175" name="Com_revoke" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_revoke" display_order="123" description="Com_revoke" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11908" resource_type_id="10175" name="Com_revoke" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_revoke per Minute" display_order="124" description="Com_revoke" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11909" resource_type_id="10175" name="Com_revoke_all" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_revoke_all" display_order="125" description="Com_revoke_all" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11910" resource_type_id="10175" name="Com_revoke_all" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_revoke_all per Minute" display_order="126" description="Com_revoke_all" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11911" resource_type_id="10175" name="Com_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_rollback" display_order="127" description="Com_rollback" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11912" resource_type_id="10175" name="Com_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_rollback per Minute" display_order="128" description="Com_rollback" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11913" resource_type_id="10175" name="Com_savepoint" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_savepoint" display_order="129" description="Com_savepoint" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11914" resource_type_id="10175" name="Com_savepoint" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_savepoint per Minute" display_order="130" description="Com_savepoint" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11915" resource_type_id="10175" name="Com_select" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_select" display_order="131" description="Com_select" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11916" resource_type_id="10175" name="Com_select" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_select per Minute" display_order="132" description="Com_select" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11917" resource_type_id="10175" name="Com_set_option" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_set_option" display_order="133" description="Com_set_option" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11918" resource_type_id="10175" name="Com_set_option" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_set_option per Minute" display_order="134" description="Com_set_option" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11919" resource_type_id="10175" name="Com_show_binlog_events" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_binlog_events" display_order="135" description="Com_show_binlog_events" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11920" resource_type_id="10175" name="Com_show_binlog_events" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_binlog_events per Minute" display_order="136" description="Com_show_binlog_events" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11921" resource_type_id="10175" name="Com_show_binlogs" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_binlogs" display_order="137" description="Com_show_binlogs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11922" resource_type_id="10175" name="Com_show_binlogs" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_binlogs per Minute" display_order="138" description="Com_show_binlogs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11923" resource_type_id="10175" name="Com_show_charsets" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_charsets" display_order="139" description="Com_show_charsets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11924" resource_type_id="10175" name="Com_show_charsets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_charsets per Minute" display_order="140" description="Com_show_charsets" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11925" resource_type_id="10175" name="Com_show_collations" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_collations" display_order="141" description="Com_show_collations" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11926" resource_type_id="10175" name="Com_show_collations" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_collations per Minute" display_order="142" description="Com_show_collations" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11927" resource_type_id="10175" name="Com_show_column_types" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_column_types" display_order="143" description="Com_show_column_types" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11928" resource_type_id="10175" name="Com_show_column_types" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_column_types per Minute" display_order="144" description="Com_show_column_types" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11929" resource_type_id="10175" name="Com_show_create_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_create_db" display_order="145" description="Com_show_create_db" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11930" resource_type_id="10175" name="Com_show_create_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_create_db per Minute" display_order="146" description="Com_show_create_db" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11931" resource_type_id="10175" name="Com_show_create_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_create_table" display_order="147" description="Com_show_create_table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11932" resource_type_id="10175" name="Com_show_create_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_create_table per Minute" display_order="148" description="Com_show_create_table" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11933" resource_type_id="10175" name="Com_show_databases" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_databases" display_order="149" description="Com_show_databases" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11934" resource_type_id="10175" name="Com_show_databases" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_databases per Minute" display_order="150" description="Com_show_databases" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11935" resource_type_id="10175" name="Com_show_errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_errors" display_order="151" description="Com_show_errors" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11936" resource_type_id="10175" name="Com_show_errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_errors per Minute" display_order="152" description="Com_show_errors" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11937" resource_type_id="10175" name="Com_show_fields" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_fields" display_order="153" description="Com_show_fields" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11938" resource_type_id="10175" name="Com_show_fields" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_fields per Minute" display_order="154" description="Com_show_fields" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11939" resource_type_id="10175" name="Com_show_grants" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_grants" display_order="155" description="Com_show_grants" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11940" resource_type_id="10175" name="Com_show_grants" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_grants per Minute" display_order="156" description="Com_show_grants" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11941" resource_type_id="10175" name="Com_show_innodb_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_innodb_status" display_order="157" description="Com_show_innodb_status" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11942" resource_type_id="10175" name="Com_show_innodb_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_innodb_status per Minute" display_order="158" description="Com_show_innodb_status" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11943" resource_type_id="10175" name="Com_show_keys" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_keys" display_order="159" description="Com_show_keys" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11944" resource_type_id="10175" name="Com_show_keys" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_keys per Minute" display_order="160" description="Com_show_keys" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11945" resource_type_id="10175" name="Com_show_logs" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_logs" display_order="161" description="Com_show_logs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11946" resource_type_id="10175" name="Com_show_logs" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_logs per Minute" display_order="162" description="Com_show_logs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11947" resource_type_id="10175" name="Com_show_master_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_master_status" display_order="163" description="Com_show_master_status" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11948" resource_type_id="10175" name="Com_show_master_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_master_status per Minute" display_order="164" description="Com_show_master_status" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11949" resource_type_id="10175" name="Com_show_ndb_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_ndb_status" display_order="165" description="Com_show_ndb_status" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11950" resource_type_id="10175" name="Com_show_ndb_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_ndb_status per Minute" display_order="166" description="Com_show_ndb_status" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11951" resource_type_id="10175" name="Com_show_new_master" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_new_master" display_order="167" description="Com_show_new_master" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11952" resource_type_id="10175" name="Com_show_new_master" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_new_master per Minute" display_order="168" description="Com_show_new_master" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11953" resource_type_id="10175" name="Com_show_open_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_open_tables" display_order="169" description="Com_show_open_tables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11954" resource_type_id="10175" name="Com_show_open_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_open_tables per Minute" display_order="170" description="Com_show_open_tables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11955" resource_type_id="10175" name="Com_show_privileges" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_privileges" display_order="171" description="Com_show_privileges" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11956" resource_type_id="10175" name="Com_show_privileges" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_privileges per Minute" display_order="172" description="Com_show_privileges" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11957" resource_type_id="10175" name="Com_show_processlist" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_processlist" display_order="173" description="Com_show_processlist" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11958" resource_type_id="10175" name="Com_show_processlist" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_processlist per Minute" display_order="174" description="Com_show_processlist" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11959" resource_type_id="10175" name="Com_show_slave_hosts" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_slave_hosts" display_order="175" description="Com_show_slave_hosts" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11960" resource_type_id="10175" name="Com_show_slave_hosts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_slave_hosts per Minute" display_order="176" description="Com_show_slave_hosts" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11961" resource_type_id="10175" name="Com_show_slave_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_slave_status" display_order="177" description="Com_show_slave_status" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11962" resource_type_id="10175" name="Com_show_slave_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_slave_status per Minute" display_order="178" description="Com_show_slave_status" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11963" resource_type_id="10175" name="Com_show_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_status" display_order="179" description="Com_show_status" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11964" resource_type_id="10175" name="Com_show_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_status per Minute" display_order="180" description="Com_show_status" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11965" resource_type_id="10175" name="Com_show_storage_engines" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_storage_engines" display_order="181" description="Com_show_storage_engines" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11966" resource_type_id="10175" name="Com_show_storage_engines" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_storage_engines per Minute" display_order="182" description="Com_show_storage_engines" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11967" resource_type_id="10175" name="Com_show_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_tables" display_order="183" description="Com_show_tables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11968" resource_type_id="10175" name="Com_show_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_tables per Minute" display_order="184" description="Com_show_tables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11969" resource_type_id="10175" name="Com_show_triggers" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_triggers" display_order="185" description="Com_show_triggers" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11970" resource_type_id="10175" name="Com_show_triggers" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_triggers per Minute" display_order="186" description="Com_show_triggers" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11971" resource_type_id="10175" name="Com_show_variables" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_variables" display_order="187" description="Com_show_variables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11972" resource_type_id="10175" name="Com_show_variables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_variables per Minute" display_order="188" description="Com_show_variables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11973" resource_type_id="10175" name="Com_show_warnings" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_warnings" display_order="189" description="Com_show_warnings" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11974" resource_type_id="10175" name="Com_show_warnings" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_warnings per Minute" display_order="190" description="Com_show_warnings" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11975" resource_type_id="10175" name="Com_slave_start" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_slave_start" display_order="191" description="Com_slave_start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11976" resource_type_id="10175" name="Com_slave_start" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_slave_start per Minute" display_order="192" description="Com_slave_start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11977" resource_type_id="10175" name="Com_slave_stop" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_slave_stop" display_order="193" description="Com_slave_stop" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11978" resource_type_id="10175" name="Com_slave_stop" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_slave_stop per Minute" display_order="194" description="Com_slave_stop" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11979" resource_type_id="10175" name="Com_stmt_close" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_stmt_close" display_order="195" description="Com_stmt_close" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11980" resource_type_id="10175" name="Com_stmt_close" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_stmt_close per Minute" display_order="196" description="Com_stmt_close" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11981" resource_type_id="10175" name="Com_stmt_execute" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_stmt_execute" display_order="197" description="Com_stmt_execute" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11982" resource_type_id="10175" name="Com_stmt_execute" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_stmt_execute per Minute" display_order="198" description="Com_stmt_execute" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11983" resource_type_id="10175" name="Com_stmt_fetch" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_stmt_fetch" display_order="199" description="Com_stmt_fetch" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11984" resource_type_id="10175" name="Com_stmt_fetch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_stmt_fetch per Minute" display_order="200" description="Com_stmt_fetch" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11985" resource_type_id="10175" name="Com_stmt_prepare" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_stmt_prepare" display_order="201" description="Com_stmt_prepare" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11986" resource_type_id="10175" name="Com_stmt_prepare" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_stmt_prepare per Minute" display_order="202" description="Com_stmt_prepare" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11987" resource_type_id="10175" name="Com_stmt_reset" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_stmt_reset" display_order="203" description="Com_stmt_reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11988" resource_type_id="10175" name="Com_stmt_reset" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_stmt_reset per Minute" display_order="204" description="Com_stmt_reset" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11989" resource_type_id="10175" name="Com_stmt_send_long_data" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_stmt_send_long_data" display_order="205" description="Com_stmt_send_long_data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11990" resource_type_id="10175" name="Com_stmt_send_long_data" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_stmt_send_long_data per Minute" display_order="206" description="Com_stmt_send_long_data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11991" resource_type_id="10175" name="Com_truncate" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_truncate" display_order="207" description="Com_truncate" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11992" resource_type_id="10175" name="Com_truncate" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_truncate per Minute" display_order="208" description="Com_truncate" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11993" resource_type_id="10175" name="Com_unlock_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_unlock_tables" display_order="209" description="Com_unlock_tables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11994" resource_type_id="10175" name="Com_unlock_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_unlock_tables per Minute" display_order="210" description="Com_unlock_tables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11995" resource_type_id="10175" name="Com_update" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_update" display_order="211" description="Com_update" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11996" resource_type_id="10175" name="Com_update" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_update per Minute" display_order="212" description="Com_update" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11997" resource_type_id="10175" name="Com_update_multi" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_update_multi" display_order="213" description="Com_update_multi" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11998" resource_type_id="10175" name="Com_update_multi" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_update_multi per Minute" display_order="214" description="Com_update_multi" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="11999" resource_type_id="10175" name="Com_xa_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_xa_commit" display_order="215" description="Com_xa_commit" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12000" resource_type_id="10175" name="Com_xa_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_xa_commit per Minute" display_order="216" description="Com_xa_commit" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12001" resource_type_id="10175" name="Com_xa_end" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_xa_end" display_order="217" description="Com_xa_end" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12002" resource_type_id="10175" name="Com_xa_end" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_xa_end per Minute" display_order="218" description="Com_xa_end" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12003" resource_type_id="10175" name="Com_xa_prepare" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_xa_prepare" display_order="219" description="Com_xa_prepare" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12004" resource_type_id="10175" name="Com_xa_prepare" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_xa_prepare per Minute" display_order="220" description="Com_xa_prepare" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12005" resource_type_id="10175" name="Com_xa_recover" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_xa_recover" display_order="221" description="Com_xa_recover" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12006" resource_type_id="10175" name="Com_xa_recover" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_xa_recover per Minute" display_order="222" description="Com_xa_recover" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12007" resource_type_id="10175" name="Com_xa_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_xa_rollback" display_order="223" description="Com_xa_rollback" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12008" resource_type_id="10175" name="Com_xa_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_xa_rollback per Minute" display_order="224" description="Com_xa_rollback" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12009" resource_type_id="10175" name="Com_xa_start" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_xa_start" display_order="225" description="Com_xa_start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12010" resource_type_id="10175" name="Com_xa_start" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_xa_start per Minute" display_order="226" description="Com_xa_start" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12011" resource_type_id="10175" name="Compression" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Compression" display_order="227" description="Compression" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12012" resource_type_id="10175" name="Connections" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Connections" display_order="228" description="Connection attempts to MySql" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12013" resource_type_id="10175" name="Connections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Connections per Minute" display_order="229" description="Connection attempts to MySql" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12014" resource_type_id="10175" name="Created_tmp_disk_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Created_tmp_disk_tables" display_order="230" description="Created_tmp_disk_tables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12015" resource_type_id="10175" name="Created_tmp_disk_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Created_tmp_disk_tables per Minute" display_order="231" description="Created_tmp_disk_tables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12016" resource_type_id="10175" name="Created_tmp_files" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Created_tmp_files" display_order="232" description="Created_tmp_files" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12017" resource_type_id="10175" name="Created_tmp_files" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Created_tmp_files per Minute" display_order="233" description="Created_tmp_files" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12018" resource_type_id="10175" name="Created_tmp_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Created_tmp_tables" display_order="234" description="Created_tmp_tables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12019" resource_type_id="10175" name="Created_tmp_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Created_tmp_tables per Minute" display_order="235" description="Created_tmp_tables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12020" resource_type_id="10175" name="Delayed_errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Delayed_errors" display_order="236" description="Delayed_errors" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12021" resource_type_id="10175" name="Delayed_errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Delayed_errors per Minute" display_order="237" description="Delayed_errors" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12022" resource_type_id="10175" name="Delayed_insert_threads" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Delayed_insert_threads" display_order="238" description="Delayed_insert_threads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12023" resource_type_id="10175" name="Delayed_insert_threads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Delayed_insert_threads per Minute" display_order="239" description="Delayed_insert_threads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12024" resource_type_id="10175" name="Delayed_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Delayed_writes" display_order="240" description="Delayed_writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12025" resource_type_id="10175" name="Delayed_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Delayed_writes per Minute" display_order="241" description="Delayed_writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12026" resource_type_id="10175" name="Flush_commands" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Flush_commands" display_order="242" description="Flush_commands" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12027" resource_type_id="10175" name="Flush_commands" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Flush_commands per Minute" display_order="243" description="Flush_commands" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12028" resource_type_id="10175" name="Handler_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_commit" display_order="244" description="Handler_commit" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12029" resource_type_id="10175" name="Handler_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_commit per Minute" display_order="245" description="Handler_commit" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12030" resource_type_id="10175" name="Handler_delete" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_delete" display_order="246" description="Handler_delete" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12031" resource_type_id="10175" name="Handler_delete" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_delete per Minute" display_order="247" description="Handler_delete" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12032" resource_type_id="10175" name="Handler_discover" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_discover" display_order="248" description="Handler_discover" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12033" resource_type_id="10175" name="Handler_discover" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_discover per Minute" display_order="249" description="Handler_discover" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12034" resource_type_id="10175" name="Handler_prepare" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_prepare" display_order="250" description="Handler_prepare" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12035" resource_type_id="10175" name="Handler_prepare" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_prepare per Minute" display_order="251" description="Handler_prepare" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12036" resource_type_id="10175" name="Handler_read_first" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_read_first" display_order="252" description="Handler_read_first" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12037" resource_type_id="10175" name="Handler_read_first" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_read_first per Minute" display_order="253" description="Handler_read_first" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12038" resource_type_id="10175" name="Handler_read_key" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_read_key" display_order="254" description="Handler_read_key" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12039" resource_type_id="10175" name="Handler_read_key" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_read_key per Minute" display_order="255" description="Handler_read_key" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12040" resource_type_id="10175" name="Handler_read_next" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_read_next" display_order="256" description="Handler_read_next" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12041" resource_type_id="10175" name="Handler_read_next" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_read_next per Minute" display_order="257" description="Handler_read_next" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12042" resource_type_id="10175" name="Handler_read_prev" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_read_prev" display_order="258" description="Handler_read_prev" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12043" resource_type_id="10175" name="Handler_read_prev" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_read_prev per Minute" display_order="259" description="Handler_read_prev" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12044" resource_type_id="10175" name="Handler_read_rnd" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_read_rnd" display_order="260" description="Handler_read_rnd" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12045" resource_type_id="10175" name="Handler_read_rnd" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_read_rnd per Minute" display_order="261" description="Handler_read_rnd" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12046" resource_type_id="10175" name="Handler_read_rnd_next" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_read_rnd_next" display_order="262" description="Handler_read_rnd_next" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12047" resource_type_id="10175" name="Handler_read_rnd_next" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_read_rnd_next per Minute" display_order="263" description="Handler_read_rnd_next" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12048" resource_type_id="10175" name="Handler_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_rollback" display_order="264" description="Handler_rollback" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12049" resource_type_id="10175" name="Handler_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_rollback per Minute" display_order="265" description="Handler_rollback" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12050" resource_type_id="10175" name="Handler_savepoint" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_savepoint" display_order="266" description="Handler_savepoint" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12051" resource_type_id="10175" name="Handler_savepoint" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_savepoint per Minute" display_order="267" description="Handler_savepoint" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12052" resource_type_id="10175" name="Handler_savepoint_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_savepoint_rollback" display_order="268" description="Handler_savepoint_rollback" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12053" resource_type_id="10175" name="Handler_savepoint_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_savepoint_rollback per Minute" display_order="269" description="Handler_savepoint_rollback" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12054" resource_type_id="10175" name="Handler_update" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_update" display_order="270" description="Handler_update" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12055" resource_type_id="10175" name="Handler_update" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_update per Minute" display_order="271" description="Handler_update" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12056" resource_type_id="10175" name="Handler_write" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_write" display_order="272" description="Handler_write" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12057" resource_type_id="10175" name="Handler_write" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_write per Minute" display_order="273" description="Handler_write" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12058" resource_type_id="10175" name="Innodb_buffer_pool_pages_data" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_pages_data" display_order="274" description="Innodb_buffer_pool_pages_data" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12059" resource_type_id="10175" name="Innodb_buffer_pool_pages_dirty" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_pages_dirty" display_order="275" description="Innodb_buffer_pool_pages_dirty" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12060" resource_type_id="10175" name="Innodb_buffer_pool_pages_flushed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_pages_flushed" display_order="276" description="Innodb_buffer_pool_pages_flushed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12061" resource_type_id="10175" name="Innodb_buffer_pool_pages_free" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_pages_free" display_order="277" description="Innodb_buffer_pool_pages_free" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12062" resource_type_id="10175" name="Innodb_buffer_pool_pages_latched" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_pages_latched" display_order="278" description="Innodb_buffer_pool_pages_latched" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12063" resource_type_id="10175" name="Innodb_buffer_pool_pages_misc" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_pages_misc" display_order="279" description="Innodb_buffer_pool_pages_misc" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12064" resource_type_id="10175" name="Innodb_buffer_pool_pages_total" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_pages_total" display_order="280" description="Innodb_buffer_pool_pages_total" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12065" resource_type_id="10175" name="Innodb_buffer_pool_read_ahead_rnd" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_read_ahead_rnd" display_order="281" description="Innodb_buffer_pool_read_ahead_rnd" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12066" resource_type_id="10175" name="Innodb_buffer_pool_read_ahead_seq" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_read_ahead_seq" display_order="282" description="Innodb_buffer_pool_read_ahead_seq" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12067" resource_type_id="10175" name="Innodb_buffer_pool_read_ahead_seq" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_read_ahead_seq per Minute" display_order="283" description="Innodb_buffer_pool_read_ahead_seq" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12068" resource_type_id="10175" name="Innodb_buffer_pool_read_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_read_requests" display_order="284" description="Innodb_buffer_pool_read_requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12069" resource_type_id="10175" name="Innodb_buffer_pool_read_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_read_requests per Minute" display_order="285" description="Innodb_buffer_pool_read_requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12070" resource_type_id="10175" name="Innodb_buffer_pool_reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_reads" display_order="286" description="Innodb_buffer_pool_reads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12071" resource_type_id="10175" name="Innodb_buffer_pool_reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_reads per Minute" display_order="287" description="Innodb_buffer_pool_reads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12072" resource_type_id="10175" name="Innodb_buffer_pool_wait_free" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_wait_free" display_order="288" description="Innodb_buffer_pool_wait_free" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12073" resource_type_id="10175" name="Innodb_buffer_pool_wait_free" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_wait_free per Minute" display_order="289" description="Innodb_buffer_pool_wait_free" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12074" resource_type_id="10175" name="Innodb_buffer_pool_write_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_write_requests" display_order="290" description="Innodb_buffer_pool_write_requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12075" resource_type_id="10175" name="Innodb_buffer_pool_write_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_write_requests per Minute" display_order="291" description="Innodb_buffer_pool_write_requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12076" resource_type_id="10175" name="Innodb_data_fsyncs" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_data_fsyncs" display_order="292" description="Innodb_data_fsyncs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12077" resource_type_id="10175" name="Innodb_data_fsyncs" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_data_fsyncs per Minute" display_order="293" description="Innodb_data_fsyncs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12078" resource_type_id="10175" name="Innodb_data_pending_fsyncs" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_data_pending_fsyncs" display_order="294" description="Innodb_data_pending_fsyncs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12079" resource_type_id="10175" name="Innodb_data_pending_fsyncs" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_data_pending_fsyncs per Minute" display_order="295" description="Innodb_data_pending_fsyncs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12080" resource_type_id="10175" name="Innodb_data_pending_reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_data_pending_reads" display_order="296" description="Innodb_data_pending_reads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12081" resource_type_id="10175" name="Innodb_data_pending_reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_data_pending_reads per Minute" display_order="297" description="Innodb_data_pending_reads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12082" resource_type_id="10175" name="Innodb_data_pending_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_data_pending_writes" display_order="298" description="Innodb_data_pending_writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12083" resource_type_id="10175" name="Innodb_data_pending_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_data_pending_writes per Minute" display_order="299" description="Innodb_data_pending_writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12084" resource_type_id="10175" name="Innodb_data_read" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_data_read" display_order="300" description="Innodb_data_read" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12085" resource_type_id="10175" name="Innodb_data_read" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_data_read per Minute" display_order="301" description="Innodb_data_read" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12086" resource_type_id="10175" name="Innodb_data_reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_data_reads" display_order="302" description="Innodb_data_reads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12087" resource_type_id="10175" name="Innodb_data_reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_data_reads per Minute" display_order="303" description="Innodb_data_reads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12088" resource_type_id="10175" name="Innodb_data_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_data_writes" display_order="304" description="Innodb_data_writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12089" resource_type_id="10175" name="Innodb_data_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_data_writes per Minute" display_order="305" description="Innodb_data_writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12090" resource_type_id="10175" name="Innodb_data_written" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_data_written" display_order="306" description="Innodb_data_written" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12091" resource_type_id="10175" name="Innodb_data_written" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_data_written per Minute" display_order="307" description="Innodb_data_written" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12092" resource_type_id="10175" name="Innodb_dblwr_pages_written" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_dblwr_pages_written" display_order="308" description="Innodb_dblwr_pages_written" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12093" resource_type_id="10175" name="Innodb_dblwr_pages_written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_dblwr_pages_written per Minute" display_order="309" description="Innodb_dblwr_pages_written" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12094" resource_type_id="10175" name="Innodb_dblwr_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_dblwr_writes" display_order="310" description="Innodb_dblwr_writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12095" resource_type_id="10175" name="Innodb_dblwr_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_dblwr_writes per Minute" display_order="311" description="Innodb_dblwr_writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12096" resource_type_id="10175" name="Innodb_log_waits" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_log_waits" display_order="312" description="Innodb_log_waits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12097" resource_type_id="10175" name="Innodb_log_waits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_log_waits per Minute" display_order="313" description="Innodb_log_waits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12098" resource_type_id="10175" name="Innodb_log_write_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_log_write_requests" display_order="314" description="Innodb_log_write_requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12099" resource_type_id="10175" name="Innodb_log_write_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_log_write_requests per Minute" display_order="315" description="Innodb_log_write_requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12100" resource_type_id="10175" name="Innodb_log_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_log_writes" display_order="316" description="Innodb_log_writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12101" resource_type_id="10175" name="Innodb_log_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_log_writes per Minute" display_order="317" description="Innodb_log_writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12102" resource_type_id="10175" name="Innodb_os_log_fsyncs" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_os_log_fsyncs" display_order="318" description="Innodb_os_log_fsyncs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12103" resource_type_id="10175" name="Innodb_os_log_fsyncs" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_os_log_fsyncs per Minute" display_order="319" description="Innodb_os_log_fsyncs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12104" resource_type_id="10175" name="Innodb_os_log_pending_fsyncs" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_os_log_pending_fsyncs" display_order="320" description="Innodb_os_log_pending_fsyncs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12105" resource_type_id="10175" name="Innodb_os_log_pending_fsyncs" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_os_log_pending_fsyncs per Minute" display_order="321" description="Innodb_os_log_pending_fsyncs" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12106" resource_type_id="10175" name="Innodb_os_log_pending_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_os_log_pending_writes" display_order="322" description="Innodb_os_log_pending_writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12107" resource_type_id="10175" name="Innodb_os_log_written" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_os_log_written" display_order="323" description="Innodb_os_log_written" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12108" resource_type_id="10175" name="Innodb_os_log_written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_os_log_written per Minute" display_order="324" description="Innodb_os_log_written" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12109" resource_type_id="10175" name="Innodb_page_size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_page_size" display_order="325" description="Innodb_page_size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12110" resource_type_id="10175" name="Innodb_pages_created" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_pages_created" display_order="326" description="Innodb_pages_created" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12111" resource_type_id="10175" name="Innodb_pages_created" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_pages_created per Minute" display_order="327" description="Innodb_pages_created" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12112" resource_type_id="10175" name="Innodb_pages_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_pages_read" display_order="328" description="Innodb_pages_read" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12113" resource_type_id="10175" name="Innodb_pages_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_pages_read per Minute" display_order="329" description="Innodb_pages_read" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12114" resource_type_id="10175" name="Innodb_pages_written" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_pages_written" display_order="330" description="Innodb_pages_written" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12115" resource_type_id="10175" name="Innodb_pages_written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_pages_written per Minute" display_order="331" description="Innodb_pages_written" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12116" resource_type_id="10175" name="Innodb_row_lock_current_waits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_row_lock_current_waits" display_order="332" description="Innodb_row_lock_current_waits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12117" resource_type_id="10175" name="Innodb_row_lock_time" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_row_lock_time" display_order="333" description="Innodb_row_lock_time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12118" resource_type_id="10175" name="Innodb_row_lock_time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_row_lock_time per Minute" display_order="334" description="Innodb_row_lock_time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12119" resource_type_id="10175" name="Innodb_row_lock_time_avg" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_row_lock_time_avg" display_order="335" description="Innodb_row_lock_time_avg" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12120" resource_type_id="10175" name="Innodb_row_lock_time_max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_row_lock_time_max" display_order="336" description="Innodb_row_lock_time_max" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12121" resource_type_id="10175" name="Innodb_row_lock_waits" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_row_lock_waits" display_order="337" description="Innodb_row_lock_waits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12122" resource_type_id="10175" name="Innodb_row_lock_waits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_row_lock_waits per Minute" display_order="338" description="Innodb_row_lock_waits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12123" resource_type_id="10175" name="Innodb_rows_deleted" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_rows_deleted" display_order="339" description="Innodb_rows_deleted" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12124" resource_type_id="10175" name="Innodb_rows_deleted" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_rows_deleted per Minute" display_order="340" description="Innodb_rows_deleted" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12125" resource_type_id="10175" name="Innodb_rows_inserted" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_rows_inserted" display_order="341" description="Innodb_rows_inserted" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12126" resource_type_id="10175" name="Innodb_rows_inserted" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_rows_inserted per Minute" display_order="342" description="Innodb_rows_inserted" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12127" resource_type_id="10175" name="Innodb_rows_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_rows_read" display_order="343" description="Innodb_rows_read" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12128" resource_type_id="10175" name="Innodb_rows_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_rows_read per Minute" display_order="344" description="Innodb_rows_read" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12129" resource_type_id="10175" name="Innodb_rows_updated" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_rows_updated" display_order="345" description="Innodb_rows_updated" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12130" resource_type_id="10175" name="Innodb_rows_updated" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_rows_updated per Minute" display_order="346" description="Innodb_rows_updated" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12131" resource_type_id="10175" name="Key_blocks_not_flushed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Key_blocks_not_flushed" display_order="347" description="Key_blocks_not_flushed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12132" resource_type_id="10175" name="Key_blocks_unused" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Key_blocks_unused" display_order="348" description="Key_blocks_unused" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12133" resource_type_id="10175" name="Key_blocks_used" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Key_blocks_used" display_order="349" description="Key_blocks_used" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12134" resource_type_id="10175" name="Key_read_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Key_read_requests" display_order="350" description="Key_read_requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12135" resource_type_id="10175" name="Key_read_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Key_read_requests per Minute" display_order="351" description="Key_read_requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12136" resource_type_id="10175" name="Key_reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Key_reads" display_order="352" description="Key_reads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12137" resource_type_id="10175" name="Key_reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Key_reads per Minute" display_order="353" description="Key_reads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12138" resource_type_id="10175" name="Key_write_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Key_write_requests" display_order="354" description="Key_write_requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12139" resource_type_id="10175" name="Key_write_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Key_write_requests per Minute" display_order="355" description="Key_write_requests" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12140" resource_type_id="10175" name="Key_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Key_writes" display_order="356" description="Key_writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12141" resource_type_id="10175" name="Key_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Key_writes per Minute" display_order="357" description="Key_writes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12142" resource_type_id="10175" name="Last_query_cost" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Last_query_cost" display_order="358" description="Last_query_cost" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12143" resource_type_id="10175" name="Max_used_connections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Max_used_connections" display_order="359" description="Max_used_connections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12144" resource_type_id="10175" name="Ndb_cluster_node_id" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ndb_cluster_node_id" display_order="360" description="Ndb_cluster_node_id" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12145" resource_type_id="10175" name="Ndb_cluster_node_id" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Ndb_cluster_node_id per Minute" display_order="361" description="Ndb_cluster_node_id" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12146" resource_type_id="10175" name="Ndb_config_from_host" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ndb_config_from_host" display_order="362" description="Ndb_config_from_host" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12147" resource_type_id="10175" name="Ndb_config_from_host" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Ndb_config_from_host per Minute" display_order="363" description="Ndb_config_from_host" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12148" resource_type_id="10175" name="Ndb_config_from_port" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ndb_config_from_port" display_order="364" description="Ndb_config_from_port" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12149" resource_type_id="10175" name="Ndb_config_from_port" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Ndb_config_from_port per Minute" display_order="365" description="Ndb_config_from_port" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12150" resource_type_id="10175" name="Ndb_number_of_data_nodes" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ndb_number_of_data_nodes" display_order="366" description="Ndb_number_of_data_nodes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12151" resource_type_id="10175" name="Ndb_number_of_data_nodes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Ndb_number_of_data_nodes per Minute" display_order="367" description="Ndb_number_of_data_nodes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12152" resource_type_id="10175" name="Not_flushed_delayed_rows" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Not_flushed_delayed_rows" display_order="368" description="Not_flushed_delayed_rows" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12153" resource_type_id="10175" name="Not_flushed_delayed_rows" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Not_flushed_delayed_rows per Minute" display_order="369" description="Not_flushed_delayed_rows" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12154" resource_type_id="10175" name="Open_files" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Open_files" display_order="370" description="Open_files" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12155" resource_type_id="10175" name="Open_streams" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Open_streams" display_order="371" description="Open_streams" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12156" resource_type_id="10175" name="Open_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Open_tables" display_order="372" description="Open_tables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12157" resource_type_id="10175" name="Opened_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Opened_tables" display_order="373" description="Opened_tables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12158" resource_type_id="10175" name="Opened_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Opened_tables per Minute" display_order="374" description="Opened_tables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12159" resource_type_id="10175" name="Prepared_stmt_count" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prepared_stmt_count" display_order="375" description="Prepared_stmt_count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12160" resource_type_id="10175" name="Prepared_stmt_count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Prepared_stmt_count per Minute" display_order="376" description="Prepared_stmt_count" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12161" resource_type_id="10175" name="Qcache_free_blocks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Qcache_free_blocks" display_order="377" description="Qcache_free_blocks" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12162" resource_type_id="10175" name="Qcache_free_memory" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Qcache_free_memory" display_order="378" description="Qcache_free_memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12163" resource_type_id="10175" name="Qcache_hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Qcache_hits" display_order="379" description="Qcache_hits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12164" resource_type_id="10175" name="Qcache_inserts" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Qcache_inserts" display_order="380" description="Qcache_inserts" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12165" resource_type_id="10175" name="Qcache_inserts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Qcache_inserts per Minute" display_order="381" description="Qcache_inserts" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12166" resource_type_id="10175" name="Qcache_lowmem_prunes" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Qcache_lowmem_prunes" display_order="382" description="Qcache_lowmem_prunes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12167" resource_type_id="10175" name="Qcache_lowmem_prunes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Qcache_lowmem_prunes per Minute" display_order="383" description="Qcache_lowmem_prunes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12168" resource_type_id="10175" name="Qcache_not_cached" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Qcache_not_cached" display_order="384" description="Qcache_not_cached" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12169" resource_type_id="10175" name="Qcache_not_cached" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Qcache_not_cached per Minute" display_order="385" description="Qcache_not_cached" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12170" resource_type_id="10175" name="Qcache_queries_in_cache" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Qcache_queries_in_cache" display_order="386" description="Qcache_queries_in_cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12171" resource_type_id="10175" name="Qcache_queries_in_cache" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Qcache_queries_in_cache per Minute" display_order="387" description="Qcache_queries_in_cache" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12172" resource_type_id="10175" name="Qcache_total_blocks" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Qcache_total_blocks" display_order="388" description="Qcache_total_blocks" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12173" resource_type_id="10175" name="Qcache_total_blocks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Qcache_total_blocks per Minute" display_order="389" description="Qcache_total_blocks" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12174" resource_type_id="10175" name="Questions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Questions" display_order="390" description="Questions" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12175" resource_type_id="10175" name="Questions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Questions per Minute" display_order="391" description="Questions" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12176" resource_type_id="10175" name="Rpl_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Rpl_status" display_order="392" description="Rpl_status" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12177" resource_type_id="10175" name="Select_full_join" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Select_full_join" display_order="393" description="Select_full_join" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12178" resource_type_id="10175" name="Select_full_range_join" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Select_full_range_join" display_order="394" description="Select_full_range_join" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12179" resource_type_id="10175" name="Select_range" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Select_range" display_order="395" description="Select_range" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12180" resource_type_id="10175" name="Select_range_check" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Select_range_check" display_order="396" description="Select_range_check" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12181" resource_type_id="10175" name="Select_scan" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Select_scan" display_order="397" description="Select_scan" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12182" resource_type_id="10175" name="Slave_open_temp_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Slave_open_temp_tables" display_order="398" description="Slave_open_temp_tables" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12183" resource_type_id="10175" name="Slave_retried_transactions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Slave_retried_transactions" display_order="399" description="Slave_retried_transactions" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12184" resource_type_id="10175" name="Slave_running" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Slave_running" display_order="400" description="Slave_running" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12185" resource_type_id="10175" name="Slow_launch_threads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Slow_launch_threads" display_order="401" description="Slow_launch_threads" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12186" resource_type_id="10175" name="Slow_queries" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Slow_queries" display_order="402" description="Slow_queries" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12187" resource_type_id="10175" name="Sort_merge_passes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Sort_merge_passes" display_order="403" description="Sort_merge_passes" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12188" resource_type_id="10175" name="Sort_range" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Sort_range" display_order="404" description="Sort_range" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12189" resource_type_id="10175" name="Sort_rows" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Sort_rows" display_order="405" description="Sort_rows" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12190" resource_type_id="10175" name="Sort_scan" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Sort_scan" display_order="406" description="Sort_scan" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12191" resource_type_id="10175" name="Ssl_accept_renegotiates" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_accept_renegotiates" display_order="407" description="Ssl_accept_renegotiates" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12192" resource_type_id="10175" name="Ssl_accepts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_accepts" display_order="408" description="Ssl_accepts" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12193" resource_type_id="10175" name="Ssl_callback_cache_hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_callback_cache_hits" display_order="409" description="Ssl_callback_cache_hits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12194" resource_type_id="10175" name="Ssl_cipher" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_cipher" display_order="410" description="Ssl_cipher" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12195" resource_type_id="10175" name="Ssl_cipher_list" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_cipher_list" display_order="411" description="Ssl_cipher_list" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12196" resource_type_id="10175" name="Ssl_client_connects" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_client_connects" display_order="412" description="Ssl_client_connects" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12197" resource_type_id="10175" name="Ssl_connect_renegotiates" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_connect_renegotiates" display_order="413" description="Ssl_connect_renegotiates" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12198" resource_type_id="10175" name="Ssl_ctx_verify_depth" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_ctx_verify_depth" display_order="414" description="Ssl_ctx_verify_depth" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12199" resource_type_id="10175" name="Ssl_ctx_verify_mode" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_ctx_verify_mode" display_order="415" description="Ssl_ctx_verify_mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12200" resource_type_id="10175" name="Ssl_default_timeout" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_default_timeout" display_order="416" description="Ssl_default_timeout" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12201" resource_type_id="10175" name="Ssl_finished_accepts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_finished_accepts" display_order="417" description="Ssl_finished_accepts" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12202" resource_type_id="10175" name="Ssl_finished_connects" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_finished_connects" display_order="418" description="Ssl_finished_connects" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12203" resource_type_id="10175" name="Ssl_session_cache_hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_session_cache_hits" display_order="419" description="Ssl_session_cache_hits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12204" resource_type_id="10175" name="Ssl_session_cache_misses" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_session_cache_misses" display_order="420" description="Ssl_session_cache_misses" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12205" resource_type_id="10175" name="Ssl_session_cache_mode" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_session_cache_mode" display_order="421" description="Ssl_session_cache_mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12206" resource_type_id="10175" name="Ssl_session_cache_overflows" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_session_cache_overflows" display_order="422" description="Ssl_session_cache_overflows" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12207" resource_type_id="10175" name="Ssl_session_cache_size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_session_cache_size" display_order="423" description="Ssl_session_cache_size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12208" resource_type_id="10175" name="Ssl_session_cache_timeouts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_session_cache_timeouts" display_order="424" description="Ssl_session_cache_timeouts" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12209" resource_type_id="10175" name="Ssl_sessions_reused" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_sessions_reused" display_order="425" description="Ssl_sessions_reused" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12210" resource_type_id="10175" name="Ssl_used_session_cache_entries" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_used_session_cache_entries" display_order="426" description="Ssl_used_session_cache_entries" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12211" resource_type_id="10175" name="Ssl_verify_depth" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_verify_depth" display_order="427" description="Ssl_verify_depth" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12212" resource_type_id="10175" name="Ssl_verify_mode" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_verify_mode" display_order="428" description="Ssl_verify_mode" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12213" resource_type_id="10175" name="Ssl_version" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_version" display_order="429" description="Ssl_version" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12214" resource_type_id="10175" name="Table_locks_immediate" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table_locks_immediate" display_order="430" description="Table_locks_immediate" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12215" resource_type_id="10175" name="Table_locks_waited" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table_locks_waited" display_order="431" description="Table_locks_waited" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12216" resource_type_id="10175" name="Tc_log_max_pages_used" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Tc_log_max_pages_used" display_order="432" description="Tc_log_max_pages_used" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12217" resource_type_id="10175" name="Tc_log_page_size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Tc_log_page_size" display_order="433" description="Tc_log_page_size" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12218" resource_type_id="10175" name="Tc_log_page_waits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Tc_log_page_waits" display_order="434" description="Tc_log_page_waits" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12219" resource_type_id="10175" name="Threads_cached" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Threads_cached" display_order="435" description="Threads_cached" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12220" resource_type_id="10175" name="Threads_connected" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Threads_connected" display_order="436" description="Threads_connected" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12221" resource_type_id="10175" name="Threads_created" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Threads_created" display_order="437" description="Threads_created" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12222" resource_type_id="10175" name="Threads_running" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Threads_running" display_order="438" description="Threads_running" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12223" resource_type_id="10175" name="Uptime" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Uptime" display_order="439" description="Uptime" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12224" resource_type_id="10175" name="Uptime" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Uptime per Minute" display_order="440" description="Uptime" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12225" resource_type_id="10175" name="Uptime_since_flush_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Uptime_since_flush_status" display_order="441" description="Uptime_since_flush_status" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12226" resource_type_id="10177" name="numbackends" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Backends" display_order="1" description="Backends" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12227" resource_type_id="10177" name="xact_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transactions Committed" display_order="2" description="Transactions Committed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12228" resource_type_id="10177" name="xact_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Transactions Committed per Minute" display_order="3" description="Transactions Committed" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12229" resource_type_id="10177" name="xact_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transactions Rolled Back" display_order="4" description="Transactions Rolled Back" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12230" resource_type_id="10177" name="xact_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Transactions Rolled Back per Minute" display_order="5" description="Transactions Rolled Back" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12231" resource_type_id="10177" name="blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Blocks Read" display_order="6" description="Blocks Read" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12232" resource_type_id="10177" name="blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Blocks Read per Minute" display_order="7" description="Blocks Read" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12233" resource_type_id="10177" name="blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Blocks Hit" display_order="8" description="Blocks Hit" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12234" resource_type_id="10177" name="blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Blocks Hit per Minute" display_order="9" description="Blocks Hit" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12235" resource_type_id="10177" name="size" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Size" display_order="10" description="Size of the database" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12236" resource_type_id="10180" name="NetworkStat.tcpInboundTotal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="TCP Inbound Connections" display_order="1" description="TCP Inbound Connections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12237" resource_type_id="10180" name="NetworkStat.tcpOutboundTotal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="TCP Outbound Connections" display_order="2" description="TCP Outbound Connections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12238" resource_type_id="10180" name="NetworkStat.allInboundTotal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="All Inbound Connections" display_order="3" description="All Inbound Connections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12239" resource_type_id="10180" name="NetworkStat.allOutboundTotal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="All Outbound Connections" display_order="4" description="All Outbound Connections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12240" resource_type_id="10180" name="NetworkStat.tcpEstablished" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State ESTABLISHED" display_order="5" description="State ESTABLISHED" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12241" resource_type_id="10180" name="NetworkStat.tcpSynSent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State SYN_SENT" display_order="6" description="State SYN_SENT" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12242" resource_type_id="10180" name="NetworkStat.tcpSynRecv" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State SYN_RECV" display_order="7" description="State SYN_RECV" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12243" resource_type_id="10180" name="NetworkStat.tcpFinWait1" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State FIN_WAIT1" display_order="8" description="State FIN_WAIT1" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12244" resource_type_id="10180" name="NetworkStat.tcpFinWait2" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State FIN_WAIT2" display_order="9" description="State FIN_WAIT2" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12245" resource_type_id="10180" name="NetworkStat.tcpTimeWait" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State TIME_WAIT" display_order="10" description="State TIME_WAIT" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12246" resource_type_id="10180" name="NetworkStat.tcpClose" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State CLOSE" display_order="11" description="State CLOSE" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12247" resource_type_id="10180" name="NetworkStat.tcpCloseWait" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State CLOSE_WAIT" display_order="12" description="State CLOSE_WAIT" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12248" resource_type_id="10180" name="NetworkStat.tcpLastAck" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State LAST_ACK" display_order="13" description="State LAST_ACK" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12249" resource_type_id="10180" name="NetworkStat.tcpListen" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State LISTEN" display_order="14" description="State LISTEN" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12250" resource_type_id="10180" name="NetworkStat.tcpClosing" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State CLOSING" display_order="15" description="State CLOSING" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12251" resource_type_id="10180" name="NetworkStat.tcpIdle" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State IDLE" display_order="16" description="State IDLE" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12252" resource_type_id="10180" name="NetworkStat.tcpBound" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State BOUND" display_order="17" description="State BOUND" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12253" resource_type_id="10184" name="Process.aggregateCpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="User Time" display_order="1" description="User Time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12254" resource_type_id="10184" name="Process.aggregateCpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="User Time per Minute" display_order="2" description="User Time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12255" resource_type_id="10184" name="Process.aggregateCpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Kernel Time" display_order="3" description="Kernel Time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12256" resource_type_id="10184" name="Process.aggregateCpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Kernel Time per Minute" display_order="4" description="Kernel Time" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12257" resource_type_id="10184" name="Process.aggregateCpu.percent" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="CPU Percentage" display_order="5" description="CPU Percentage" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12258" resource_type_id="10184" name="Process.aggregateMemory.resident" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Physical Memory" display_order="6" description="Physical Memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12259" resource_type_id="10184" name="Process.aggregateMemory.size" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Virtual Memory" display_order="7" description="Virtual Memory" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12260" resource_type_id="10184" name="Process.aggregateFileDescriptor.total" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Open File Descriptors" display_order="8" description="Open File Descriptors" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12261" resource_type_id="10184" name="NetworkStat.tcpInboundTotal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="TCP Inbound Connections" display_order="9" description="TCP Inbound Connections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12262" resource_type_id="10184" name="NetworkStat.tcpOutboundTotal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="TCP Outbound Connections" display_order="10" description="TCP Outbound Connections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12263" resource_type_id="10184" name="NetworkStat.allInboundTotal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="All Inbound Connections" display_order="11" description="All Inbound Connections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12264" resource_type_id="10184" name="NetworkStat.allOutboundTotal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="All Outbound Connections" display_order="12" description="All Outbound Connections" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12265" resource_type_id="10184" name="NetworkStat.tcpEstablished" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State ESTABLISHED" display_order="13" description="State ESTABLISHED" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12266" resource_type_id="10184" name="NetworkStat.tcpSynSent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State SYN_SENT" display_order="14" description="State SYN_SENT" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12267" resource_type_id="10184" name="NetworkStat.tcpSynRecv" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State SYN_RECV" display_order="15" description="State SYN_RECV" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12268" resource_type_id="10184" name="NetworkStat.tcpFinWait1" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State FIN_WAIT1" display_order="16" description="State FIN_WAIT1" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12269" resource_type_id="10184" name="NetworkStat.tcpFinWait2" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State FIN_WAIT2" display_order="17" description="State FIN_WAIT2" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12270" resource_type_id="10184" name="NetworkStat.tcpTimeWait" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State TIME_WAIT" display_order="18" description="State TIME_WAIT" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12271" resource_type_id="10184" name="NetworkStat.tcpClose" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State CLOSE" display_order="19" description="State CLOSE" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12272" resource_type_id="10184" name="NetworkStat.tcpCloseWait" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State CLOSE_WAIT" display_order="20" description="State CLOSE_WAIT" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12273" resource_type_id="10184" name="NetworkStat.tcpLastAck" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State LAST_ACK" display_order="21" description="State LAST_ACK" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12274" resource_type_id="10184" name="NetworkStat.tcpListen" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State LISTEN" display_order="22" description="State LISTEN" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12275" resource_type_id="10184" name="NetworkStat.tcpClosing" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State CLOSING" display_order="23" description="State CLOSING" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12276" resource_type_id="10184" name="NetworkStat.tcpIdle" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State IDLE" display_order="24" description="State IDLE" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12277" resource_type_id="10184" name="NetworkStat.tcpBound" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State BOUND" display_order="25" description="State BOUND" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12278" resource_type_id="10190" name="applInboundAssociations" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Number of Concurrent Connections" display_order="1" description="Number of Concurrent Connections" destination_type="The number of current connections to this application" version="0"/> - <rhq_measurement_def id="12279" resource_type_id="10190" name="serverBuilt" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Server Built" display_order="2" description="the date and time this Apache server's binary was compiled" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12280" resource_type_id="10190" name="wwwServiceStartTime" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Start Time" display_order="3" description="the date and time this Apache server was last started" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12281" resource_type_id="10190" name="rhq_avail_ping_time" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Time to ping the server for availability" display_order="4" description="Time it took to ping the server for availability over http; this includes DNS lookup time." destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12282" resource_type_id="10192" name="wwwServiceName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Host" display_order="1" description="the host name or IP address of this virtual host" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12283" resource_type_id="10192" name="wwwServiceProtocol" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Port" display_order="2" description="the TCP port of this virtual host" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12284" resource_type_id="10192" name="wwwServiceContact" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Administrator" display_order="3" description="the administrator of this virtual host" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12285" resource_type_id="10192" name="wwwSummaryInRequests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total Number of Requests" display_order="4" description="The number of inbound requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12286" resource_type_id="10192" name="wwwSummaryInRequests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total Number of Requests per Minute" display_order="5" description="The number of inbound requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12287" resource_type_id="10192" name="wwwSummaryInLowBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total Number of Bytes Received" display_order="6" description="The number of bytes received by the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12288" resource_type_id="10192" name="wwwSummaryInLowBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total Number of Bytes Received per Minute" display_order="7" description="The number of bytes received by the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12289" resource_type_id="10192" name="wwwSummaryOutResponses" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total Number of Responses" display_order="8" description="The number of outbound requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12290" resource_type_id="10192" name="wwwSummaryOutResponses" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total Number of Responses per Minute" display_order="9" description="The number of outbound requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12291" resource_type_id="10192" name="wwwSummaryOutLowBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total Number of Bytes Sent" display_order="10" description="The number of bytes sent by the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12292" resource_type_id="10192" name="wwwSummaryOutLowBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total Number of Bytes Sent per Minute" display_order="11" description="The number of bytes sent by the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12293" resource_type_id="10192" name="wwwRequestInRequests.GET" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of GET Requests" display_order="12" description="The number of inbound GET requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12294" resource_type_id="10192" name="wwwRequestInRequests.GET" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of GET Requests per Minute" display_order="13" description="The number of inbound GET requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12295" resource_type_id="10192" name="wwwRequestInRequests.HEAD" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of HEAD Requests" display_order="14" description="The number of inbound HEAD requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12296" resource_type_id="10192" name="wwwRequestInRequests.HEAD" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="300000" display_name="Number of HEAD Requests per Minute" display_order="15" description="The number of inbound HEAD requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12297" resource_type_id="10192" name="wwwRequestInRequests.POST" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of POST Requests" display_order="16" description="The number of inbound POST requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12298" resource_type_id="10192" name="wwwRequestInRequests.POST" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of POST Requests per Minute" display_order="17" description="The number of inbound POST requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12299" resource_type_id="10192" name="wwwRequestInRequests.PUT" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of PUT Requests" display_order="18" description="The number of inbound PUT requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12300" resource_type_id="10192" name="wwwRequestInRequests.PUT" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="300000" display_name="Number of PUT Requests per Minute" display_order="19" description="The number of inbound PUT requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12301" resource_type_id="10192" name="wwwRequestInBytes.GET" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Received for GET Requests" display_order="20" description="The number of bytes received by GET requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12302" resource_type_id="10192" name="wwwRequestInBytes.GET" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Received for GET Requests per Minute" display_order="21" description="The number of bytes received by GET requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12303" resource_type_id="10192" name="wwwRequestInBytes.HEAD" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Received for HEAD Requests" display_order="22" description="The number of bytes received by HEAD requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12304" resource_type_id="10192" name="wwwRequestInBytes.HEAD" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="300000" display_name="Bytes Received for HEAD Requests per Minute" display_order="23" description="The number of bytes received by HEAD requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12305" resource_type_id="10192" name="wwwRequestInBytes.POST" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Received for POST Requests" display_order="24" description="The number of bytes received by POST requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12306" resource_type_id="10192" name="wwwRequestInBytes.POST" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Received for POST Requests per Minute" display_order="25" description="The number of bytes received by POST requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12307" resource_type_id="10192" name="wwwRequestInBytes.PUT" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Received for PUT Requests" display_order="26" description="The number of bytes received by PUT requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12308" resource_type_id="10192" name="wwwRequestInBytes.PUT" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="300000" display_name="Bytes Received for PUT Requests per Minute" display_order="27" description="The number of bytes received by PUT requests on the service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12309" resource_type_id="10192" name="wwwResponseOutResponses.200" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of 200 Responses" display_order="28" description="The number of 200 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12310" resource_type_id="10192" name="wwwResponseOutResponses.200" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of 200 Responses per Minute" display_order="29" description="The number of 200 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12311" resource_type_id="10192" name="wwwResponseOutResponses.301" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of 301 Responses" display_order="30" description="The number of 301 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12312" resource_type_id="10192" name="wwwResponseOutResponses.301" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of 301 Responses per Minute" display_order="31" description="The number of 301 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12313" resource_type_id="10192" name="wwwResponseOutResponses.302" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of 302 Responses" display_order="32" description="The number of 302 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12314" resource_type_id="10192" name="wwwResponseOutResponses.302" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of 302 Responses per Minute" display_order="33" description="The number of 302 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12315" resource_type_id="10192" name="wwwResponseOutResponses.401" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of 401 Responses" display_order="34" description="The number of 401 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12316" resource_type_id="10192" name="wwwResponseOutResponses.401" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of 401 Responses per Minute" display_order="35" description="The number of 401 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12317" resource_type_id="10192" name="wwwResponseOutResponses.403" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of 403 Responses" display_order="36" description="The number of 403 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12318" resource_type_id="10192" name="wwwResponseOutResponses.403" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of 403 Responses per Minute" display_order="37" description="The number of 403 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12319" resource_type_id="10192" name="wwwResponseOutResponses.404" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of 404 Responses" display_order="38" description="The number of 404 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12320" resource_type_id="10192" name="wwwResponseOutResponses.404" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of 404 Responses per Minute" display_order="39" description="The number of 404 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12321" resource_type_id="10192" name="wwwResponseOutResponses.500" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of 500 Responses" display_order="40" description="The number of 500 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12322" resource_type_id="10192" name="wwwResponseOutResponses.500" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of 500 Responses per Minute" display_order="41" description="The number of 500 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12323" resource_type_id="10192" name="wwwResponseOutBytes.200" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Sent for 200 Responses" display_order="42" description="The number of bytes sent for 200 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12324" resource_type_id="10192" name="wwwResponseOutBytes.200" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Sent for 200 Responses per Minute" display_order="43" description="The number of bytes sent for 200 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12325" resource_type_id="10192" name="wwwResponseOutBytes.301" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Sent for 301 Responses" display_order="44" description="The number of bytes sent for 301 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12326" resource_type_id="10192" name="wwwResponseOutBytes.301" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Sent for 301 Responses per Minute" display_order="45" description="The number of bytes sent for 301 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12327" resource_type_id="10192" name="wwwResponseOutBytes.302" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Sent for 302 Responses" display_order="46" description="The number of bytes sent for 302 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12328" resource_type_id="10192" name="wwwResponseOutBytes.302" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Sent for 302 Responses per Minute" display_order="47" description="The number of bytes sent for 302 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12329" resource_type_id="10192" name="wwwResponseOutBytes.401" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Sent for 401 Responses" display_order="48" description="The number of bytes sent for 401 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12330" resource_type_id="10192" name="wwwResponseOutBytes.401" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Sent for 401 Responses per Minute" display_order="49" description="The number of bytes sent for 401 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12331" resource_type_id="10192" name="wwwResponseOutBytes.403" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Sent for 403 Responses" display_order="50" description="The number of bytes sent for 403 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12332" resource_type_id="10192" name="wwwResponseOutBytes.403" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Sent for 403 Responses per Minute" display_order="51" description="The number of bytes sent for 403 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12333" resource_type_id="10192" name="wwwResponseOutBytes.404" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Sent for 404 Responses" display_order="52" description="The number of bytes sent for 404 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12334" resource_type_id="10192" name="wwwResponseOutBytes.404" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Sent for 404 Responses per Minute" display_order="53" description="The number of bytes sent for 404 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12335" resource_type_id="10192" name="wwwResponseOutBytes.500" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Sent for 500 Responses" display_order="54" description="The number of bytes sent for 500 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12336" resource_type_id="10192" name="wwwResponseOutBytes.500" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Sent for 500 Responses per Minute" display_order="55" description="The number of bytes sent for 500 responses generated by this service" destination_type="%NULL%" version="0"/> - <rhq_measurement_def id="12337" resource_type_id="10192" name="ResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="60000" display_name="HTTP Response Time" display_order="56" description="The minimum, maximum, and average response times for HTTP requests serviced by this virtual host" destination_type="URL" version="0"/> - <rhq_operation_def id="10001" resource_type_id="10004" name="postStatus" resource_version_range="" parameter_config_def_id="10004" results_config_def_id="10005" display_name="Post Status" description="Post a status message to the users timeline. Requires user and password to be set on the connection properties" timeout="%NULL%"/> - <rhq_operation_def id="10002" resource_type_id="10006" name="execute" resource_version_range="" parameter_config_def_id="10008" results_config_def_id="10009" display_name="Execute" description="Executes the executable with a set of arguments and returns the output and exit code." timeout="%NULL%"/> - <rhq_operation_def id="10003" resource_type_id="10007" name="discovery" resource_version_range="" parameter_config_def_id="10011" results_config_def_id="10012" display_name="Manual Autodiscovery" description="Run an immediate discovery to search for resources" timeout="%NULL%"/> - <rhq_operation_def id="10004" resource_type_id="10007" name="viewProcessList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10013" display_name="View Process List" description="View running processes on this system" timeout="%NULL%"/> - <rhq_operation_def id="10005" resource_type_id="10008" name="discovery" resource_version_range="" parameter_config_def_id="10016" results_config_def_id="10017" display_name="Manual Autodiscovery" description="Run an immediate discovery to search for resources" timeout="%NULL%"/> - <rhq_operation_def id="10006" resource_type_id="10008" name="viewProcessList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10018" display_name="View Process List" description="View running processes on this system" timeout="%NULL%"/> - <rhq_operation_def id="10007" resource_type_id="10008" name="cleanYumMetadataCache" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Clean Yum Metadata Cache" description="Deletes all cached package metadata" timeout="%NULL%"/> - <rhq_operation_def id="10008" resource_type_id="10009" name="discovery" resource_version_range="" parameter_config_def_id="10021" results_config_def_id="10022" display_name="Manual Autodiscovery" description="Run an immediate discovery to search for resources" timeout="%NULL%"/> - <rhq_operation_def id="10009" resource_type_id="10009" name="viewProcessList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10023" display_name="View Process List" description="View running processes on this system" timeout="%NULL%"/> - <rhq_operation_def id="10010" resource_type_id="10010" name="discovery" resource_version_range="" parameter_config_def_id="10024" results_config_def_id="10025" display_name="Manual Autodiscovery" description="Run an immediate discovery to search for resources" timeout="%NULL%"/> - <rhq_operation_def id="10011" resource_type_id="10010" name="viewProcessList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10026" display_name="View Process List" description="View running processes on this system" timeout="%NULL%"/> - <rhq_operation_def id="10012" resource_type_id="10011" name="discovery" resource_version_range="" parameter_config_def_id="10027" results_config_def_id="10028" display_name="Manual Autodiscovery" description="Run an immediate discovery to search for resources" timeout="%NULL%"/> - <rhq_operation_def id="10013" resource_type_id="10011" name="viewProcessList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10029" display_name="View Process List" description="View running processes on this system" timeout="%NULL%"/> - <rhq_operation_def id="10014" resource_type_id="10012" name="discovery" resource_version_range="" parameter_config_def_id="10030" results_config_def_id="10031" display_name="Manual Autodiscovery" description="Run an immediate discovery to search for resources" timeout="%NULL%"/> - <rhq_operation_def id="10015" resource_type_id="10012" name="viewProcessList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10032" display_name="View Process List" description="View running processes on this system" timeout="%NULL%"/> - <rhq_operation_def id="10016" resource_type_id="10013" name="discovery" resource_version_range="" parameter_config_def_id="10034" results_config_def_id="10035" display_name="Manual Autodiscovery" description="Run an immediate discovery to search for resources" timeout="%NULL%"/> - <rhq_operation_def id="10017" resource_type_id="10013" name="viewProcessList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10036" display_name="View Process List" description="View running processes on this system" timeout="%NULL%"/> - <rhq_operation_def id="10018" resource_type_id="10014" name="discovery" resource_version_range="" parameter_config_def_id="10037" results_config_def_id="10038" display_name="Manual Autodiscovery" description="Run an immediate discovery to search for resources" timeout="%NULL%"/> - <rhq_operation_def id="10019" resource_type_id="10014" name="viewProcessList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10039" display_name="View Process List" description="View running processes on this system" timeout="%NULL%"/> - <rhq_operation_def id="10020" resource_type_id="10024" name="gc" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Run Garbage Collection" description="Runs the garbage collector." timeout="%NULL%"/> - <rhq_operation_def id="10021" resource_type_id="10027" name="resetPeakThreadCount" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Peak Thread Metrics" description="Reset the peak number of threads" timeout="%NULL%"/> - <rhq_operation_def id="10022" resource_type_id="10027" name="findMonitorDeadlockedThreads" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10054" display_name="Find Monitor Deadlocked Threads" description="Finds cycles of threads that are in deadlock waiting to acquire object monitors" timeout="%NULL%"/> - <rhq_operation_def id="10023" resource_type_id="10027" name="threadDump" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10055" display_name="Thread Dump" description="Returns a summary of all live threads, including both daemon and non-daemon threads" timeout="%NULL%"/> - <rhq_operation_def id="10024" resource_type_id="10030" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10059" display_name="Start" description="Start this Tomcat server. The script used is specified in the Control section of Connection Properties." timeout="%NULL%"/> - <rhq_operation_def id="10025" resource_type_id="10030" name="shutdown" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10060" display_name="Shutdown" description="Shutdown this Tomcat server. The script used is specified in the Control section of Connection Properties." timeout="%NULL%"/> - <rhq_operation_def id="10026" resource_type_id="10030" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10061" display_name="Restart" description="Restart this Tomcat server. The scripts used are specified in the Control section of Connection Properties." timeout="%NULL%"/> - <rhq_operation_def id="10027" resource_type_id="10030" name="storeConfig" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10062" display_name="Store Configuration" description="Save current state to the server.xml file." timeout="%NULL%"/> - <rhq_operation_def id="10028" resource_type_id="10033" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="Starts this connector" timeout="%NULL%"/> - <rhq_operation_def id="10029" resource_type_id="10033" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="Stops this connector" timeout="%NULL%"/> - <rhq_operation_def id="10030" resource_type_id="10033" name="pause" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Pause" description="Pauses this connector" timeout="%NULL%"/> - <rhq_operation_def id="10031" resource_type_id="10033" name="resume" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Resume" description="Resumes this connector" timeout="%NULL%"/> - <rhq_operation_def id="10032" resource_type_id="10034" name="save" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Save" description="Save current users and groups to persistent storage." timeout="%NULL%"/> - <rhq_operation_def id="10033" resource_type_id="10036" name="resetPeakThreadCount" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Peak Thread Metrics" description="Reset the peak number of threads" timeout="%NULL%"/> - <rhq_operation_def id="10034" resource_type_id="10036" name="findMonitorDeadlockedThreads" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10073" display_name="Find Monitor Deadlocked Threads" description="Finds cycles of threads that are in deadlock waiting to acquire object monitors" timeout="%NULL%"/> - <rhq_operation_def id="10035" resource_type_id="10036" name="threadDump" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10074" display_name="Thread Dump" description="Returns a summary of all live threads, including both daemon and non-daemon threads" timeout="%NULL%"/> - <rhq_operation_def id="10036" resource_type_id="10037" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="starts this web application." timeout="%NULL%"/> - <rhq_operation_def id="10037" resource_type_id="10037" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="stops this web application." timeout="%NULL%"/> - <rhq_operation_def id="10038" resource_type_id="10037" name="reload" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reload" description="reloads this web application." timeout="%NULL%"/> - <rhq_operation_def id="10039" resource_type_id="10041" name="gc" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Run Garbage Collection" description="Runs the garbage collector." timeout="%NULL%"/> - <rhq_operation_def id="10040" resource_type_id="10048" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart Agent" description="Shuts down the agent's comm layer and plugin container and starts them up again. This does *not* restart the agent's VM - use the launcher services to do that." timeout="%NULL%"/> - <rhq_operation_def id="10041" resource_type_id="10048" name="shutdown" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Shutdown Agent" description="Shuts down the agent's comm layer and plugin container. If the agent is in daemon mode, the entire agent VM will exit" timeout="%NULL%"/> - <rhq_operation_def id="10042" resource_type_id="10048" name="restartPluginContainer" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart Plugin Container" description="Recycles the plugin container." timeout="%NULL%"/> - <rhq_operation_def id="10043" resource_type_id="10048" name="downloadLatestFailoverList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Download Latest Failover List" description="Tells the agent to download an updated server failover list. This will also check to make sure the agent is pointing to its primary server as found in the new failover list and, if not, will attempt to switch to the primary server now." timeout="%NULL%"/> - <rhq_operation_def id="10044" resource_type_id="10048" name="updatePlugins" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Update All Plugins" description="Tells the agent to update its plugins. This pulls new/updated plugins down from the RHQ Server" timeout="%NULL%"/> - <rhq_operation_def id="10045" resource_type_id="10048" name="retrieveAllPluginInfo" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10095" display_name="Get Info On All Plugins" description="Retrieves information on all deployed plugins." timeout="%NULL%"/> - <rhq_operation_def id="10046" resource_type_id="10048" name="retrievePluginInfo" resource_version_range="" parameter_config_def_id="10096" results_config_def_id="10097" display_name="Get Plugin Info" description="Retrieves information on a specific plugin." timeout="%NULL%"/> - <rhq_operation_def id="10047" resource_type_id="10048" name="executeAvailabilityScan" resource_version_range="" parameter_config_def_id="10098" results_config_def_id="10099" display_name="Execute Availability Scan" description="Runs an availability scan and returns a report of its findings. An availability report tells you what resources are up or down. This operation will send the report to the server for processing, as well as return the results." timeout="%NULL%"/> - <rhq_operation_def id="10048" resource_type_id="10048" name="retrieveCurrentDateTime" resource_version_range="" parameter_config_def_id="10100" results_config_def_id="10101" display_name="Get Current Date/Time" description="Obtains the agent's current date/time." timeout="%NULL%"/> - <rhq_operation_def id="10049" resource_type_id="10048" name="setDebugMode" resource_version_range="" parameter_config_def_id="10102" results_config_def_id="%NULL%" display_name="Set Debug Mode" description="Turns on or off debug mode, which causes the agent to emit verbose log messages." timeout="%NULL%"/> - <rhq_operation_def id="10050" resource_type_id="10048" name="executePromptCommand" resource_version_range="" parameter_config_def_id="10103" results_config_def_id="10104" display_name="Execute Prompt Command" description="Executes an agent prompt command, just as if you invoked the command at the agent prompt in a console. Note that you must ensure the prompt command does not require additional input, since the agent will look for that input from another source (e.g. console keyboard)." timeout="%NULL%"/> - <rhq_operation_def id="10051" resource_type_id="10051" name="Restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart" description="Restarts the agent VM. This will completely kill the agent VM process (if it is running as this service) and then attempt to restart it. If the agent executing this operation will quickly die, no confirmation will be available as to the success or failure of this operation." timeout="%NULL%"/> - <rhq_operation_def id="10052" resource_type_id="10051" name="Stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="Stops the agent VM gracefully. This will completely kill the agent VM process (if it is running as this service). If the agent executing this operation will quickly die, no confirmation will be available as to the success or failure of this operation." timeout="%NULL%"/> - <rhq_operation_def id="10053" resource_type_id="10051" name="Kill" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Kill" description="Performs a hard kill on the agent VM. This will completely kill the agent VM process (if it is running as this service). If the agent executing this operation will quickly die, no confirmation will be available as to the success or failure of this operation." timeout="%NULL%"/> - <rhq_operation_def id="10054" resource_type_id="10051" name="Status" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10108" display_name="Status" description="Gets the status of agent VM, if it was launched by the launcher script." timeout="%NULL%"/> - <rhq_operation_def id="10055" resource_type_id="10053" name="retrievePluginDependencyGraph" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10112" display_name="Retrieve Plugin Dependency Graph" description="Get the list of plugins and show what plugins they depend on. The order of this list is the order in which the plugins are deployed." timeout="%NULL%"/> - <rhq_operation_def id="10056" resource_type_id="10053" name="retrievePluginClassLoaderInformation" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10113" display_name="Retrieve Plugin ClassLoader Information" description="Get information on all plugin classloaders. There is one plugin classloader for each deployed plugin." timeout="%NULL%"/> - <rhq_operation_def id="10057" resource_type_id="10053" name="retrieveDiscoveryClassLoaderInformation" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10114" display_name="Retrieve Discovery ClassLoader Information" description="Get information on all discovery classloaders. These are created for discovery components that need to discover resources under a parent resource where that parent resource is from a different plugin than the discovery component." timeout="%NULL%"/> - <rhq_operation_def id="10058" resource_type_id="10053" name="retrieveAllResourceClassLoaderInformation" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10115" display_name="Retrieve ClassLoader Information For All Resources" description="Get information on classloaders for all resources. Depending on the number of resources being managed, this is potentially an expensive operation." timeout="%NULL%"/> - <rhq_operation_def id="10059" resource_type_id="10053" name="retrieveUniqueResourceClassLoaderInformation" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10116" display_name="Retrieve Unique Resource ClassLoader Information" description="Get information on all unique resource classloader instances that are created. Depending on the number of resources being managed, this is potentially an expensive operation." timeout="%NULL%"/> - <rhq_operation_def id="10060" resource_type_id="10054" name="Install" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10119" display_name="Install" description="Installs the Java Service Wrapper so it starts the agent at boot time" timeout="%NULL%"/> - <rhq_operation_def id="10061" resource_type_id="10054" name="Restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart" description="Restarts the Java Service Wrapper and the agent it contains. This will completely kill the agent VM process (if it is running as this service) and then attempt to restart it. If the agent executing this operation will quickly die, no confirmation will be available as to the success or failure of this operation." timeout="%NULL%"/> - <rhq_operation_def id="10062" resource_type_id="10054" name="Stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="Stops the Java Service Wrapper and the agent it contains. This will completely kill the agent VM process (if it is running as this service). If the agent executing this operation will quickly die, no confirmation will be available as to the success or failure of this operation." timeout="%NULL%"/> - <rhq_operation_def id="10063" resource_type_id="10054" name="Remove" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Remove" description="Removes the Java Service Wrapper so it no longer starts the agent at boot time. *NOTE* This will completely kill the agent VM process if it is running as this service. If the agent executing this operation will quickly die, no confirmation will be available as to the success or failure of this operation." timeout="%NULL%"/> - <rhq_operation_def id="10064" resource_type_id="10054" name="Status" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10120" display_name="Status" description="Gets the status of the Java Service Wrapper" timeout="%NULL%"/> - <rhq_operation_def id="10065" resource_type_id="10055" name="resetPeakThreadCount" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Peak Thread Metrics" description="Reset the peak number of threads" timeout="%NULL%"/> - <rhq_operation_def id="10066" resource_type_id="10055" name="findMonitorDeadlockedThreads" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10123" display_name="Find Monitor Deadlocked Threads" description="Finds cycles of threads that are in deadlock waiting to acquire object monitors" timeout="%NULL%"/> - <rhq_operation_def id="10067" resource_type_id="10055" name="threadDump" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10124" display_name="Thread Dump" description="Returns a summary of all live threads, including both daemon and non-daemon threads" timeout="%NULL%"/> - <rhq_operation_def id="10068" resource_type_id="10058" name="gc" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Run Garbage Collection" description="Runs the garbage collector." timeout="%NULL%"/> - <rhq_operation_def id="10069" resource_type_id="10063" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10136" display_name="Start" description="Start this application server. The script used is specified in the Operations group of connection properties. This operation will fail if the server is already started." timeout="%NULL%"/> - <rhq_operation_def id="10070" resource_type_id="10063" name="shutdown" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10137" display_name="Shut Down" description="Shut down this application server via script or JMX, depending on the settings in the Operations and Advanced groups of connection properties. This operation will fail if the server is already shut down." timeout="%NULL%"/> - <rhq_operation_def id="10071" resource_type_id="10063" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10138" display_name="Restart" description="Shut down (if started) and then start this application server." timeout="%NULL%"/> - <rhq_operation_def id="10072" resource_type_id="10064" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="starts this EAR" timeout="%NULL%"/> - <rhq_operation_def id="10073" resource_type_id="10064" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="stops this EAR" timeout="%NULL%"/> - <rhq_operation_def id="10074" resource_type_id="10064" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart" description="stops and then restarts this EAR" timeout="%NULL%"/> - <rhq_operation_def id="10075" resource_type_id="10068" name="flush" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Flush" description="Flush the connections in the pool" timeout="%NULL%"/> - <rhq_operation_def id="10076" resource_type_id="10068" name="listFormattedSubPoolStatistics" resource_version_range="" parameter_config_def_id="10147" results_config_def_id="10148" display_name="List Formatted Sub Pool Statistics" description="Obtain a formatted sub pool statistics report" timeout="%NULL%"/> - <rhq_operation_def id="10077" resource_type_id="10068" name="listStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10149" display_name="List Statistics" description="Obtain a statistics report" timeout="%NULL%"/> - <rhq_operation_def id="10078" resource_type_id="10068" name="testConnection" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10150" display_name="Test Connection" description="Test if a connection can be obtained" timeout="%NULL%"/> - <rhq_operation_def id="10079" resource_type_id="10069" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="starts this WAR" timeout="%NULL%"/> - <rhq_operation_def id="10080" resource_type_id="10069" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="stops this WAR" timeout="%NULL%"/> - <rhq_operation_def id="10081" resource_type_id="10069" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart" description="stops and then restarts this WAR" timeout="%NULL%"/> - <rhq_operation_def id="10082" resource_type_id="10070" name="flush" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Flush" description="Flush the connections in the pool" timeout="%NULL%"/> - <rhq_operation_def id="10083" resource_type_id="10070" name="listFormattedSubPoolStatistics" resource_version_range="" parameter_config_def_id="10155" results_config_def_id="10156" display_name="List Formatted Sub Pool Statistics" description="Obtain a formatted sub pool statistics report" timeout="%NULL%"/> - <rhq_operation_def id="10084" resource_type_id="10070" name="listStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10157" display_name="List Statistics" description="Obtain a statistics report" timeout="%NULL%"/> - <rhq_operation_def id="10085" resource_type_id="10070" name="testConnection" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10158" display_name="Test Connection" description="Test if a connection can be obtained" timeout="%NULL%"/> - <rhq_operation_def id="10086" resource_type_id="10071" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="starts this EJB JAR" timeout="%NULL%"/> - <rhq_operation_def id="10087" resource_type_id="10071" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="stops this EJB JAR" timeout="%NULL%"/> - <rhq_operation_def id="10088" resource_type_id="10071" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart" description="stops and then restarts this EJB JAR" timeout="%NULL%"/> - <rhq_operation_def id="10089" resource_type_id="10072" name="flush" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Flush" description="Flush the connections in the pool" timeout="%NULL%"/> - <rhq_operation_def id="10090" resource_type_id="10072" name="listFormattedSubPoolStatistics" resource_version_range="" parameter_config_def_id="10163" results_config_def_id="10164" display_name="List Formatted Sub Pool Statistics" description="Obtain a formatted sub pool statistics report" timeout="%NULL%"/> - <rhq_operation_def id="10091" resource_type_id="10072" name="listStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10165" display_name="List Statistics" description="Obtain a statistics report" timeout="%NULL%"/> - <rhq_operation_def id="10092" resource_type_id="10072" name="testConnection" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10166" display_name="Test Connection" description="Test if a connection can be obtained" timeout="%NULL%"/> - <rhq_operation_def id="10093" resource_type_id="10074" name="flush" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Flush" description="Flush the connections in the pool" timeout="%NULL%"/> - <rhq_operation_def id="10094" resource_type_id="10074" name="listFormattedSubPoolStatistics" resource_version_range="" parameter_config_def_id="10170" results_config_def_id="10171" display_name="List Formatted Sub Pool Statistics" description="Obtain a formatted sub pool statistics report" timeout="%NULL%"/> - <rhq_operation_def id="10095" resource_type_id="10074" name="listStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10172" display_name="List Statistics" description="Obtain a statistics report" timeout="%NULL%"/> - <rhq_operation_def id="10096" resource_type_id="10074" name="testConnection" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10173" display_name="Test Connection" description="Test if a connection can be obtained" timeout="%NULL%"/> - <rhq_operation_def id="10097" resource_type_id="10075" name="execute" resource_version_range="" parameter_config_def_id="10175" results_config_def_id="10176" display_name="Execute Script" description="execute the script; NOTE: environment variables to be passed to the script can be configured via this Script service's connection properties (under its Inventory tab)" timeout="%NULL%"/> - <rhq_operation_def id="10098" resource_type_id="10076" name="flush" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Flush" description="Flush the connections in the pool" timeout="%NULL%"/> - <rhq_operation_def id="10099" resource_type_id="10076" name="listFormattedSubPoolStatistics" resource_version_range="" parameter_config_def_id="10179" results_config_def_id="10180" display_name="List Formatted Sub Pool Statistics" description="Obtain a formatted sub pool statistics report" timeout="%NULL%"/> - <rhq_operation_def id="10100" resource_type_id="10076" name="listStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10181" display_name="List Statistics" description="Obtain a statistics report" timeout="%NULL%"/> - <rhq_operation_def id="10101" resource_type_id="10076" name="testConnection" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10182" display_name="Test Connection" description="Test if a connection can be obtained" timeout="%NULL%"/> - <rhq_operation_def id="10102" resource_type_id="10077" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="starts this RAR" timeout="%NULL%"/> - <rhq_operation_def id="10103" resource_type_id="10077" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="stops this RAR" timeout="%NULL%"/> - <rhq_operation_def id="10104" resource_type_id="10077" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart" description="stops and then restarts this RAR" timeout="%NULL%"/> - <rhq_operation_def id="10105" resource_type_id="10082" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="starts this EJB JAR" timeout="%NULL%"/> - <rhq_operation_def id="10106" resource_type_id="10082" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="stops this EJB JAR" timeout="%NULL%"/> - <rhq_operation_def id="10107" resource_type_id="10082" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart" description="stops and then restarts this EJB JAR" timeout="%NULL%"/> - <rhq_operation_def id="10108" resource_type_id="10083" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10193" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> - <rhq_operation_def id="10109" resource_type_id="10085" name="gc" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Run Garbage Collection" description="Runs the garbage collector." timeout="%NULL%"/> - <rhq_operation_def id="10110" resource_type_id="10086" name="displayBindings" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10198" display_name="Display Bindings" description="Displays the full set of bindings as they would look if this bindings set was active." timeout="%NULL%"/> - <rhq_operation_def id="10111" resource_type_id="10087" name="removeAllMessages" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Remove All Messages" description="Remove all messages from the destination." timeout="%NULL%"/> - <rhq_operation_def id="10112" resource_type_id="10087" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="Start the destination." timeout="%NULL%"/> - <rhq_operation_def id="10113" resource_type_id="10087" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="Stop the destination." timeout="%NULL%"/> - <rhq_operation_def id="10114" resource_type_id="10087" name="listAllMessages" resource_version_range="" parameter_config_def_id="10201" results_config_def_id="10202" display_name="List All Messages" description="List all messages for the specified subscription with the specified selector" timeout="%NULL%"/> - <rhq_operation_def id="10115" resource_type_id="10087" name="listDurableMessages" resource_version_range="" parameter_config_def_id="10203" results_config_def_id="10204" display_name="List Durable Messages" description="List all durable messages for the specified subscription with the specified selector" timeout="%NULL%"/> - <rhq_operation_def id="10116" resource_type_id="10087" name="listNonDurableMessages" resource_version_range="" parameter_config_def_id="10205" results_config_def_id="10206" display_name="List Non Durable Messages" description="List all non durable messages for the specified subscription with the specified selector" timeout="%NULL%"/> - <rhq_operation_def id="10117" resource_type_id="10087" name="listAllSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10207" display_name="List All Subscriptions" description="Return all subscriptions for the topic" timeout="%NULL%"/> - <rhq_operation_def id="10118" resource_type_id="10087" name="listAllSubscriptionsAsHTML" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10208" display_name="List All Subscriptions As HTML" description="Return all subscriptions for the topic as HTML" timeout="%NULL%"/> - <rhq_operation_def id="10119" resource_type_id="10087" name="listDurableSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10209" display_name="List Durable Subscriptions" description="Return all durable subscriptions for the topic" timeout="%NULL%"/> - <rhq_operation_def id="10120" resource_type_id="10087" name="listDurableSubscriptionsAsHTML" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10210" display_name="List Durable Subscriptions As HTML" description="Return all durable subscriptions for the topic as HTML" timeout="%NULL%"/> - <rhq_operation_def id="10121" resource_type_id="10087" name="listNonDurableSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10211" display_name="List Non-Durable Subscriptions" description="Return all non-durable subscriptions for the topic" timeout="%NULL%"/> - <rhq_operation_def id="10122" resource_type_id="10087" name="listNonDurableSubscriptionsAsHTML" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10212" display_name="List Non-Durable Subscriptions As HTML" description="Return all non-durable subscriptions for the topic as HTML" timeout="%NULL%"/> - <rhq_operation_def id="10123" resource_type_id="10089" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10215" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> - <rhq_operation_def id="10124" resource_type_id="10090" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10217" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> - <rhq_operation_def id="10125" resource_type_id="10091" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10219" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> - <rhq_operation_def id="10126" resource_type_id="10093" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10223" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> - <rhq_operation_def id="10127" resource_type_id="10096" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10228" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> - <rhq_operation_def id="10128" resource_type_id="10097" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10230" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> - <rhq_operation_def id="10129" resource_type_id="10101" name="removeAllMessages" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Remove All Messages" description="Remove all messages from the destination." timeout="%NULL%"/> - <rhq_operation_def id="10130" resource_type_id="10101" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="Start the destination." timeout="%NULL%"/> - <rhq_operation_def id="10131" resource_type_id="10101" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="Stop the destination." timeout="%NULL%"/> - <rhq_operation_def id="10132" resource_type_id="10101" name="listAllMessages" resource_version_range="" parameter_config_def_id="10236" results_config_def_id="10237" display_name="List All Messages" description="List all messages for the specified selector" timeout="%NULL%"/> - <rhq_operation_def id="10133" resource_type_id="10101" name="listDurableMessages" resource_version_range="" parameter_config_def_id="10238" results_config_def_id="10239" display_name="List Durable Messages" description="List all durable messages for the specified selector" timeout="%NULL%"/> - <rhq_operation_def id="10134" resource_type_id="10101" name="listNonDurableMessages" resource_version_range="" parameter_config_def_id="10240" results_config_def_id="10241" display_name="List Non Durable Messages" description="List all non durable messages for the specified selector" timeout="%NULL%"/> - <rhq_operation_def id="10135" resource_type_id="10101" name="listMessageCounterAsHTML" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10242" display_name="List Message Counter As HTML" description="Get the message counter as HTML" timeout="%NULL%"/> - <rhq_operation_def id="10136" resource_type_id="10101" name="listMessageCounterHistoryAsHTML" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10243" display_name="List Message Counter History As HTML" description="Get the message counter history as HTML" timeout="%NULL%"/> - <rhq_operation_def id="10137" resource_type_id="10101" name="resetMessageCounter" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Message Counter" description="Reset the message counter" timeout="%NULL%"/> - <rhq_operation_def id="10138" resource_type_id="10101" name="resetMessageCounterHistory" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Message Counter History" description="Reset the message counter history" timeout="%NULL%"/> - <rhq_operation_def id="10139" resource_type_id="10102" name="resetPeakThreadCount" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Peak Thread Metrics" description="Reset the peak number of threads" timeout="%NULL%"/> - <rhq_operation_def id="10140" resource_type_id="10102" name="findMonitorDeadlockedThreads" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10246" display_name="Find Monitor Deadlocked Threads" description="Finds cycles of threads that are in deadlock waiting to acquire object monitors" timeout="%NULL%"/> - <rhq_operation_def id="10141" resource_type_id="10102" name="threadDump" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10247" display_name="Thread Dump" description="Returns a summary of all live threads, including both daemon and non-daemon threads" timeout="%NULL%"/> - <rhq_operation_def id="10142" resource_type_id="10103" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10249" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> - <rhq_operation_def id="10143" resource_type_id="10104" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10251" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> - <rhq_operation_def id="10144" resource_type_id="10107" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10255" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> - <rhq_operation_def id="10145" resource_type_id="10113" name="destroy" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Destroy this cache." description="%NULL%" timeout="%NULL%"/> - <rhq_operation_def id="10146" resource_type_id="10113" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop this cache." description="%NULL%" timeout="%NULL%"/> - <rhq_operation_def id="10147" resource_type_id="10113" name="create" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Create this cache." description="%NULL%" timeout="%NULL%"/> - <rhq_operation_def id="10148" resource_type_id="10113" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start this cache." description="%NULL%" timeout="%NULL%"/> - <rhq_operation_def id="10149" resource_type_id="10113" name="printLockInfo" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10262" display_name="Print lock information." description="%NULL%" timeout="%NULL%"/> - <rhq_operation_def id="10150" resource_type_id="10113" name="printCacheDetails" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10263" display_name="Print cache details." description="%NULL%" timeout="%NULL%"/> - <rhq_operation_def id="10151" resource_type_id="10113" name="printCacheDetailsAsHtml" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10264" display_name="Print cache details as HTML." description="%NULL%" timeout="%NULL%"/> - <rhq_operation_def id="10152" resource_type_id="10113" name="printConfigurationAsString" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10265" display_name="Print configuration as plain text." description="%NULL%" timeout="%NULL%"/> - <rhq_operation_def id="10153" resource_type_id="10113" name="printLockInfoAsHtml" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10266" display_name="Print lock info as HTML." description="%NULL%" timeout="%NULL%"/> - <rhq_operation_def id="10154" resource_type_id="10113" name="printConfigurationAsHtmlString" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10267" display_name="Print configuration as HTML." description="%NULL%" timeout="%NULL%"/> - <rhq_operation_def id="10155" resource_type_id="10115" name="getNumberOfNodes" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10270" display_name="Get the number of nodes." description="Returns the number of nodes in the data container" timeout="%NULL%"/> - <rhq_operation_def id="10156" resource_type_id="10115" name="getNumberOfAttributes" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10271" display_name="Get the number of attributes." description="Returns the number of nodes in the data container" timeout="%NULL%"/> - <rhq_operation_def id="10157" resource_type_id="10115" name="printDetails" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10272" display_name="Print details as plain text." description="Prints details about the data container" timeout="%NULL%"/> - <rhq_operation_def id="10158" resource_type_id="10115" name="printDetailsAsHtml" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10273" display_name="Print details as HTML." description="Prints details about the data container, formatted as HTML" timeout="%NULL%"/> - <rhq_operation_def id="10159" resource_type_id="10116" name="dumpRegions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10275" display_name="Dump Regions" description="Dump a list of all registered regions." timeout="%NULL%"/> - <rhq_operation_def id="10160" resource_type_id="10117" name="resetStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Statistics" description="Reset all statistics." timeout="%NULL%"/> - <rhq_operation_def id="10161" resource_type_id="10118" name="resetStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Statistics" description="Reset all statistics." timeout="%NULL%"/> - <rhq_operation_def id="10162" resource_type_id="10121" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10281" display_name="Start" description="Start this application server. The script used is specified in the Operations group of connection properties." timeout="%NULL%"/> - <rhq_operation_def id="10163" resource_type_id="10121" name="shutdown" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10282" display_name="Shutdown" description="Shutdown this application server via script or JMX depending on the settings in the Operations and Advanced groups of connection properties." timeout="%NULL%"/> - <rhq_operation_def id="10164" resource_type_id="10121" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10283" display_name="Restart" description="Shutdown and then start this application server." timeout="%NULL%"/> - <rhq_operation_def id="10165" resource_type_id="10126" name="flush" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Flush" description="Resets the connection pool for this datasource. Performs the following steps: 1) all idle connections are immediately closed, 2) any in use connections are closed when the application finishes with them, and 3) new connections are created." timeout="%NULL%"/> - <rhq_operation_def id="10166" resource_type_id="10128" name="revert" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10294" display_name="Revert" description="Tries to revert this enterprise application from a saved backup in the same directory and with a name ending in .bak" timeout="%NULL%"/> - <rhq_operation_def id="10167" resource_type_id="10131" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10299" display_name="Start" description="starts this webapp; NOTE: this operation is *not* supported for JBossAS versions prior to 4.0.4.GA (see http://jira.jboss.org/jira/browse/JBAS-3006)" timeout="%NULL%"/> - <rhq_operation_def id="10168" resource_type_id="10131" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10300" display_name="Stop" description="stops this webapp; NOTE: this operation is *not* supported for JBossAS versions prior to 4.0.4.GA (see http://jira.jboss.org/jira/browse/JBAS-3006)" timeout="%NULL%"/> - <rhq_operation_def id="10169" resource_type_id="10131" name="reload" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10301" display_name="Reload" description="reloads this webapp; NOTE: if the webapp is not in the started state, this operation will fail" timeout="%NULL%"/> - <rhq_operation_def id="10170" resource_type_id="10131" name="revert" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10302" display_name="Revert" description="Tries to revert this web application from a saved backup in the same directory and with a name ending in .bak" timeout="%NULL%"/> - <rhq_operation_def id="10171" resource_type_id="10133" name="viewMethodStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10306" display_name="View Method Stats" description="View method execution statistics for the EJB; NOTE: this operation is only available if JBoss EJB3 RC9 Patch 1 or later is being used (a capable version of EJB3 is included with JBossAS 4.2.0.GA or later)" timeout="%NULL%"/> - <rhq_operation_def id="10172" resource_type_id="10134" name="execute" resource_version_range="" parameter_config_def_id="10308" results_config_def_id="10309" display_name="Execute Script" description="execute the script; NOTE: environment variables to be passed to the script can be configured via this Script service's connection properties (under its Inventory>Connection tab)" timeout="%NULL%"/> - <rhq_operation_def id="10173" resource_type_id="10137" name="gc" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Run Garbage Collection" description="Runs the garbage collector." timeout="%NULL%"/> - <rhq_operation_def id="10174" resource_type_id="10141" name="removeAllMessages" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Remove All Messages" description="Clears all Subscriptions" timeout="%NULL%"/> - <rhq_operation_def id="10175" resource_type_id="10141" name="listAllSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10319" display_name="List All Subscriptions" description="Lists all the Subscriptions." timeout="%NULL%"/> - <rhq_operation_def id="10176" resource_type_id="10141" name="listDurableSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10320" display_name="List Durable Subscriptions" description="Lists all the durable subscriptions." timeout="%NULL%"/> - <rhq_operation_def id="10177" resource_type_id="10141" name="listNonDurableSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10321" display_name="List Non-durable Subscriptions" description="Lists all the non-durable subscriptions." timeout="%NULL%"/> - <rhq_operation_def id="10178" resource_type_id="10141" name="resetMessageCounter" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Message Counter" description="Clears the message counter data for all topic subscriptions." timeout="%NULL%"/> - <rhq_operation_def id="10179" resource_type_id="10141" name="resetMessageCounterHistory" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Message Counter History" description="Clears the message counter history data for this topic." timeout="%NULL%"/> - <rhq_operation_def id="10180" resource_type_id="10141" name="listMessages" resource_version_range="" parameter_config_def_id="10322" results_config_def_id="10323" display_name="List Messages by ID and Selector" description="List the messages for a subscription by ID and with an optional selector." timeout="%NULL%"/> - <rhq_operation_def id="10181" resource_type_id="10141" name="getNonDurableMessageCount" resource_version_range="" parameter_config_def_id="10324" results_config_def_id="10325" display_name="Get Non-durable Message Count" description="Gets the message count for non-durable messages by client ID and subscription ID." timeout="%NULL%"/> - <rhq_operation_def id="10182" resource_type_id="10141" name="listNonDurableMessages" resource_version_range="" parameter_config_def_id="10326" results_config_def_id="10327" display_name="List Non-durable Messages" description="Lists the non-durable messages by client ID, subscription ID, and an optional selector." timeout="%NULL%"/> - <rhq_operation_def id="10183" resource_type_id="10141" name="getDurableMessageCount" resource_version_range="" parameter_config_def_id="10328" results_config_def_id="10329" display_name="Get Durable Message Count" description="Gets the message count for durable messages by client ID and subscription ID." timeout="%NULL%"/> - <rhq_operation_def id="10184" resource_type_id="10141" name="listDurableMessages" resource_version_range="" parameter_config_def_id="10330" results_config_def_id="10331" display_name="List Durable Messages" description="Lists the durable messages by client ID, subscription ID, and an optional selector." timeout="%NULL%"/> - <rhq_operation_def id="10185" resource_type_id="10141" name="getNonDurableScheduledMessageCount" resource_version_range="" parameter_config_def_id="10332" results_config_def_id="10333" display_name="Get Non-durable Scheduled Message Count" description="Gets the message count for non-durable scheduled messages by client ID and subscription ID." timeout="%NULL%"/> - <rhq_operation_def id="10186" resource_type_id="10141" name="listNonDurableScheduledMessages" resource_version_range="" parameter_config_def_id="10334" results_config_def_id="10335" display_name="List Non-durable Scheduled Messages" description="Lists the non-durable scheduled messages by client ID, subscription ID, and an optional selector." timeout="%NULL%"/> - <rhq_operation_def id="10187" resource_type_id="10141" name="getDurableMessageScheduledCount" resource_version_range="" parameter_config_def_id="10336" results_config_def_id="10337" display_name="Get Durable Scheduled Message Count" description="Gets the message count for durable scheduled messages by client ID and subscription ID." timeout="%NULL%"/> - <rhq_operation_def id="10188" resource_type_id="10141" name="listDurableScheduledMessages" resource_version_range="" parameter_config_def_id="10338" results_config_def_id="10339" display_name="List Durable Scheduled Messages" description="Lists the durable scheduled messages by client ID, subscription ID, and an optional selector." timeout="%NULL%"/> - <rhq_operation_def id="10189" resource_type_id="10141" name="getNonDurableInProcessMessageCount" resource_version_range="" parameter_config_def_id="10340" results_config_def_id="10341" display_name="Get Non-durable In-process Message Count" description="Gets the message count for non-durable in-process messages by client Id and subscription Id" timeout="%NULL%"/> - <rhq_operation_def id="10190" resource_type_id="10141" name="listNonDurableInProcessMessages" resource_version_range="" parameter_config_def_id="10342" results_config_def_id="10343" display_name="List Non-durable In-process Messages" description="Lists the non-durable in-process messages by client ID, subscription ID, and an optional selector." timeout="%NULL%"/> - <rhq_operation_def id="10191" resource_type_id="10141" name="getDurableInProcessMessageCount" resource_version_range="" parameter_config_def_id="10344" results_config_def_id="10345" display_name="Get Durable In-process Message Count" description="Gets the message count for durable in-process messages by client ID and subscription Id" timeout="%NULL%"/> - <rhq_operation_def id="10192" resource_type_id="10141" name="listDurableInProcessMessages" resource_version_range="" parameter_config_def_id="10346" results_config_def_id="10347" display_name="List Durable In-process Messages" description="Lists the durable in-process messages by client ID, subscription ID, and an optional selector." timeout="%NULL%"/> - <rhq_operation_def id="10193" resource_type_id="10144" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10352" display_name="Start" description="starts this webapp; NOTE: this operation is *not* supported for JBossAS versions prior to 4.0.4.GA (see http://jira.jboss.org/jira/browse/JBAS-3006)" timeout="%NULL%"/> - <rhq_operation_def id="10194" resource_type_id="10144" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10353" display_name="Stop" description="stops this webapp; NOTE: this operation is *not* supported for JBossAS versions prior to 4.0.4.GA (see http://jira.jboss.org/jira/browse/JBAS-3006)" timeout="%NULL%"/> - <rhq_operation_def id="10195" resource_type_id="10144" name="reload" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10354" display_name="Reload" description="reloads this webapp; NOTE: if the webapp is not in the started state, this operation will fail" timeout="%NULL%"/> - <rhq_operation_def id="10196" resource_type_id="10145" name="removeAllMessages" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Remove All Messages" description="Clears all Messages in the Queue" timeout="%NULL%"/> - <rhq_operation_def id="10197" resource_type_id="10145" name="resetMessageCounter" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Message Counter" description="Clears the MessageCounter data for this Queue" timeout="%NULL%"/> - <rhq_operation_def id="10198" resource_type_id="10145" name="resetMessageCounterHistory" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Message Counter History" description="Clears the MessageCounter history data for this Queue" timeout="%NULL%"/> - <rhq_operation_def id="10199" resource_type_id="10145" name="listMessages" resource_version_range="" parameter_config_def_id="10357" results_config_def_id="10358" display_name="List Messages by Selector" description="Lists the Messages in the Queue by Selector (if provided). Selector is not required." timeout="%NULL%"/> - <rhq_operation_def id="10200" resource_type_id="10145" name="listAllMessages" resource_version_range="" parameter_config_def_id="10359" results_config_def_id="10360" display_name="List All Messages" description="Lists All Messages by Selector (if provided). Selector is not required." timeout="%NULL%"/> - <rhq_operation_def id="10201" resource_type_id="10145" name="listDurableMessages" resource_version_range="" parameter_config_def_id="10361" results_config_def_id="10362" display_name="List Durable Messages" description="Lists Durable Messages by Selector (if provided). Selector is not required." timeout="%NULL%"/> - <rhq_operation_def id="10202" resource_type_id="10145" name="listNonDurableMessages" resource_version_range="" parameter_config_def_id="10363" results_config_def_id="10364" display_name="List Non-Durable Messages" description="Lists Non-Durable Messages by Selector (if provided). Selector is not required." timeout="%NULL%"/> - <rhq_operation_def id="10203" resource_type_id="10146" name="removeAllMessages" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Remove All Messages" description="Clears all Subscriptions" timeout="%NULL%"/> - <rhq_operation_def id="10204" resource_type_id="10146" name="listAllSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10367" display_name="List All Subscriptions" description="Lists all the Subscriptions." timeout="%NULL%"/> - <rhq_operation_def id="10205" resource_type_id="10146" name="listDurableSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10368" display_name="List Durable Subscriptions" description="Lists all the durable subscriptions." timeout="%NULL%"/> - <rhq_operation_def id="10206" resource_type_id="10146" name="listNonDurableSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10369" display_name="List Non-durable Subscriptions" description="Lists all the non-durable subscriptions." timeout="%NULL%"/> - <rhq_operation_def id="10207" resource_type_id="10146" name="listAllMessages" resource_version_range="" parameter_config_def_id="10370" results_config_def_id="10371" display_name="List Messages by ID and Selector" description="List the messages for a subscription by ID and with an optional selector." timeout="%NULL%"/> - <rhq_operation_def id="10208" resource_type_id="10146" name="listNonDurableMessages" resource_version_range="" parameter_config_def_id="10372" results_config_def_id="10373" display_name="List Non-durable Messages" description="Lists the non-durable messages by subscription ID and an optional selector." timeout="%NULL%"/> - <rhq_operation_def id="10209" resource_type_id="10146" name="listDurableMessages" resource_version_range="" parameter_config_def_id="10374" results_config_def_id="10375" display_name="List Durable Messages" description="Lists the durable messages by subscription ID and an optional selector." timeout="%NULL%"/> - <rhq_operation_def id="10210" resource_type_id="10147" name="resetPeakThreadCount" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Peak Thread Metrics" description="Reset the peak number of threads" timeout="%NULL%"/> - <rhq_operation_def id="10211" resource_type_id="10147" name="findMonitorDeadlockedThreads" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10378" display_name="Find Monitor Deadlocked Threads" description="Finds cycles of threads that are in deadlock waiting to acquire object monitors" timeout="%NULL%"/> - <rhq_operation_def id="10212" resource_type_id="10147" name="threadDump" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10379" display_name="Thread Dump" description="Returns a summary of all live threads, including both daemon and non-daemon threads" timeout="%NULL%"/> - <rhq_operation_def id="10213" resource_type_id="10149" name="removeAllMessages" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Remove All Messages" description="Clears all Messages in the Queue" timeout="%NULL%"/> - <rhq_operation_def id="10214" resource_type_id="10149" name="resetMessageCounter" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Message Counter" description="Clears the MessageCounter data for this Queue" timeout="%NULL%"/> - <rhq_operation_def id="10215" resource_type_id="10149" name="resetMessageCounterHistory" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Message Counter History" description="Clears the MessageCounter history data for this Queue" timeout="%NULL%"/> - <rhq_operation_def id="10216" resource_type_id="10149" name="listMessages" resource_version_range="" parameter_config_def_id="10383" results_config_def_id="10384" display_name="List Messages by Selector" description="Lists the Messages in the Queue by Selector (if provided). Selector is not required." timeout="%NULL%"/> - <rhq_operation_def id="10217" resource_type_id="10149" name="listScheduledMessages" resource_version_range="" parameter_config_def_id="10385" results_config_def_id="10386" display_name="List Scheduled Messages" description="Lists the Scheduled Messages by Selector (if provided). Selector is not required." timeout="%NULL%"/> - <rhq_operation_def id="10218" resource_type_id="10149" name="listInProcessMessages" resource_version_range="" parameter_config_def_id="10387" results_config_def_id="10388" display_name="List In Process Messages" description="Lists the Messages in process by Selector (if provided). Selector is not required." timeout="%NULL%"/> - <rhq_operation_def id="10219" resource_type_id="10153" name="reloadCaches" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10394" display_name="Reload Caches" description="Unloads then reloads all caches managed by the containing RHQ Server" timeout="%NULL%"/> - <rhq_operation_def id="10220" resource_type_id="10155" name="clear" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Clear Statistics" description="Clear the collected statistics, and start collecting anew" timeout="%NULL%"/> - <rhq_operation_def id="10221" resource_type_id="10155" name="retrieveStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10397" display_name="Retrieve Statistics" description="View a snapshot of statistical information about the recalculation cost of each GroupDefinition in the system" timeout="%NULL%"/> - <rhq_operation_def id="10222" resource_type_id="10156" name="clear" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Clear Metrics" description="Clear the collected metric data and start collecting anew" timeout="%NULL%"/> - <rhq_operation_def id="10223" resource_type_id="10156" name="viewReceivedCallTimeData" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10400" display_name="View Received Call Time Data" description="View statistical information about each subsystem call into the server" timeout="%NULL%"/> - <rhq_operation_def id="10224" resource_type_id="10157" name="clear" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Clear Metrics" description="Clear the collected metric data and start collecting anew" timeout="%NULL%"/> - <rhq_operation_def id="10225" resource_type_id="10157" name="viewReceivedCallTimeData" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10402" display_name="View Received Call Time Data" description="View statistical information about each subsystem call into the server" timeout="%NULL%"/> - <rhq_operation_def id="10226" resource_type_id="10158" name="startMasterPluginContainer" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start Master Plugin Container" description="Starts the master plugin container which will load and initialize all server-side plugins." timeout="%NULL%"/> - <rhq_operation_def id="10227" resource_type_id="10158" name="stopMasterPluginContainer" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop Master Plugin Container" description="Stops the master plugin container which will shutdown all server-side plugins." timeout="%NULL%"/> - <rhq_operation_def id="10228" resource_type_id="10158" name="restartMasterPluginContainer" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart Master Plugin Container" description="Convienence operation that first stops and then immediately restarts the master plugin container." timeout="%NULL%"/> - <rhq_operation_def id="10229" resource_type_id="10160" name="resetStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Statistics" description="Resets all statistics" timeout="%NULL%"/> - <rhq_operation_def id="10230" resource_type_id="10160" name="listAssociatedMBeans" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10406" display_name="List associated MBeans" description="List all MBeans that form this Cache instance" timeout="%NULL%"/> - <rhq_operation_def id="10231" resource_type_id="10162" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="Starts IIS and, if necessary, dependent services" timeout="%NULL%"/> - <rhq_operation_def id="10232" resource_type_id="10162" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="Shuts down IIS" timeout="%NULL%"/> - <rhq_operation_def id="10233" resource_type_id="10164" name="clear" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Clear Statistics" description="Clear the collected statistics and begin collecting again" timeout="%NULL%"/> - <rhq_operation_def id="10234" resource_type_id="10164" name="viewQueries" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10409" display_name="View Queries" description="View statistical information about queries executed by Hibernate" timeout="%NULL%"/> - <rhq_operation_def id="10235" resource_type_id="10167" name="listProcessStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10412" display_name="List Process Statistics" description="List statistics about the currently executing postgres backends" timeout="%NULL%"/> - <rhq_operation_def id="10236" resource_type_id="10168" name="resetStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Statistics" description="Resets the statistics in this database" timeout="%NULL%"/> - <rhq_operation_def id="10237" resource_type_id="10168" name="invokeSql" resource_version_range="" parameter_config_def_id="10414" results_config_def_id="10415" display_name="Invoke Sql" description="Execute arbitrary SQL" timeout="%NULL%"/> - <rhq_operation_def id="10238" resource_type_id="10175" name="listProcessStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10425" display_name="List Process Statistics" description="List statistics about the currently executing MySql backends" timeout="%NULL%"/> - <rhq_operation_def id="10239" resource_type_id="10177" name="resetStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Statistics" description="Resets the statistics in this database" timeout="%NULL%"/> - <rhq_operation_def id="10240" resource_type_id="10177" name="invokeSql" resource_version_range="" parameter_config_def_id="10428" results_config_def_id="10429" display_name="Invoke Sql" description="Execute arbitrary SQL" timeout="%NULL%"/> - <rhq_operation_def id="10241" resource_type_id="10180" name="join" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Join Active Server Directory" description="Joins the Samba domain member to the Active Server Directory" timeout="%NULL%"/> - <rhq_operation_def id="10242" resource_type_id="10180" name="disconnect" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Disconnect Active Server Directory" description="Disconnects the Samba domain member to the Active Server Directory" timeout="%NULL%"/> - <rhq_operation_def id="10243" resource_type_id="10190" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10455" display_name="Start" description="Starts this Apache server, or returns an error if it is already running. The control script used is specified in the Connection Properties." timeout="%NULL%"/> - <rhq_operation_def id="10244" resource_type_id="10190" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10456" display_name="Stop" description="Stops this Apache server, or returns an error if it is not running. The control script used is specified in the Connection Properties." timeout="%NULL%"/> - <rhq_operation_def id="10245" resource_type_id="10190" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10457" display_name="Restart" description="Restarts the Apache server by sending its process a SIGHUP. If the server is not running, it is started. This command automatically checks the server's configuration files via configtest before initiating the restart to make sure Apache doesn't die. The control script used is specified in the Connection Properties. Only supported on UNIX platforms." timeout="%NULL%"/> - <rhq_operation_def id="10246" resource_type_id="10190" name="start_ssl" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10458" display_name="Start with SSL Support" description="Starts this Apache server with support for SSL. The control script used is specified in the Connection Properties. Only supported on Apache 1.3." timeout="%NULL%"/> - <rhq_operation_def id="10247" resource_type_id="10190" name="graceful_restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10459" display_name="Restart Gracefully" description="Gracefully restarts the Apache server by sending it a SIGUSR1. If the daemon is not running, it is started. This differs from a normal restart in that currently open connections are not aborted. A side effect is that old log files will not be closed immediately. This means that if used in a log rotation script, a substantial delay may be necessary to ensure that the old log files are closed before processing them. This command automatically checks the configuration files via configtest before initiating the restart to make sure Apache doesn't die. The control script used is specified in the Connection Properties." timeout="%NULL%"/> - <rhq_operation_def id="10248" resource_type_id="10190" name="config_test" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10460" display_name="Check Configuration File Syntax" description="Run a configuration file syntax test. It parses the configuration files and either reports Syntax Ok or detailed information about the particular syntax error. The control script used is specified in the Connection Properties. Only supported on UNIX platforms." timeout="%NULL%"/> - <rhq_operation_def id="10249" resource_type_id="10190" name="install_mod_jk" resource_version_range="" parameter_config_def_id="10461" results_config_def_id="10462" display_name="Install mod_jk configuration" description="Tries to install a mod_jk configuration in httpd.conf if none is detected. This includes a workers.properties file and urimap file" timeout="%NULL%"/> - <rhq_package_type id="10001" name="InstalledSoftware" display_name="Installed Software" description="Installed Windows Software" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="false" supports_architecture="false" resource_type_id="10007" deployment_config_def_id="10014" package_extra_config_id="%NULL%"/> - <rhq_package_type id="10002" name="rpm" display_name="RPM File" description="Red Hat installable package" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="false" supports_architecture="false" resource_type_id="10008" deployment_config_def_id="10019" package_extra_config_id="%NULL%"/> - <rhq_package_type id="10003" name="file" display_name="WAR File" description="%NULL%" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="true" supports_architecture="false" resource_type_id="10037" deployment_config_def_id="10077" package_extra_config_id="%NULL%"/> - <rhq_package_type id="10004" name="cumulativePatch" display_name="Cumulative Patch" description="Automatically installable application server patches" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="false" supports_architecture="false" resource_type_id="10063" deployment_config_def_id="10139" package_extra_config_id="%NULL%"/> - <rhq_package_type id="10005" name="library" display_name="JAR Library" description="Library Jar files deployed in JBoss AS" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="false" supports_architecture="false" resource_type_id="10063" deployment_config_def_id="10140" package_extra_config_id="%NULL%"/> - <rhq_package_type id="10006" name="file" display_name="EAR File" description="%NULL%" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="true" supports_architecture="false" resource_type_id="10064" deployment_config_def_id="10142" package_extra_config_id="%NULL%"/> - <rhq_package_type id="10007" name="file" display_name="WAR File" description="%NULL%" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="true" supports_architecture="false" resource_type_id="10069" deployment_config_def_id="10152" package_extra_config_id="%NULL%"/> - <rhq_package_type id="10008" name="file" display_name="EJB JAR File" description="%NULL%" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="true" supports_architecture="false" resource_type_id="10071" deployment_config_def_id="10160" package_extra_config_id="%NULL%"/> - <rhq_package_type id="10009" name="file" display_name="RAR File" description="%NULL%" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="true" supports_architecture="false" resource_type_id="10077" deployment_config_def_id="10184" package_extra_config_id="%NULL%"/> - <rhq_package_type id="10010" name="file" display_name="EJB JAR File" description="%NULL%" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="true" supports_architecture="false" resource_type_id="10082" deployment_config_def_id="10191" package_extra_config_id="%NULL%"/> - <rhq_package_type id="10011" name="cumulativePatch" display_name="Cumulative Patch" description="Automatically installable application server patches" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="false" supports_architecture="false" resource_type_id="10121" deployment_config_def_id="10284" package_extra_config_id="%NULL%"/> - <rhq_package_type id="10012" name="library" display_name="Jar Library" description="Library Jar files deployed in JBoss AS" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="false" supports_architecture="false" resource_type_id="10121" deployment_config_def_id="10285" package_extra_config_id="%NULL%"/> - <rhq_package_type id="10013" name="file" display_name="EAR File" description="%NULL%" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="true" supports_architecture="false" resource_type_id="10128" deployment_config_def_id="10295" package_extra_config_id="%NULL%"/> - <rhq_package_type id="10014" name="file" display_name="WAR File" description="%NULL%" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="true" supports_architecture="false" resource_type_id="10131" deployment_config_def_id="10303" package_extra_config_id="%NULL%"/> - <rhq_process_scan id="10001" query="process|basename|match=^java.*" name="java" resource_type_id="10021"/> - <rhq_process_scan id="10002" query="process|basename|match=^tomcat(5|6).exe" name="WindowsEWSTomcat" resource_type_id="10030"/> - <rhq_process_scan id="10003" query="process|basename|match=^java.*,arg|org.apache.catalina.startup.Bootstrap|match=.*" name="Tomcat" resource_type_id="10030"/> - <rhq_process_scan id="10004" query="process|basename|match=^java.*" name="java" resource_type_id="10031"/> - <rhq_process_scan id="10005" query="process|basename|match=^java.*" name="java" resource_type_id="10050"/> - <rhq_process_scan id="10006" query="process|basename|match=^java.*,arg|org.jboss.Main|match=.*" name="jbossas" resource_type_id="10063"/> - <rhq_process_scan id="10007" query="process|basename|match=^java.*" name="java" resource_type_id="10065"/> - <rhq_process_scan id="10008" query="process|basename|match=^java.*,arg|org.jboss.Main|match=.*" name="JBoss4" resource_type_id="10121"/> - <rhq_process_scan id="10009" query="process|basename|match=^java.*" name="java" resource_type_id="10123"/> - <rhq_process_scan id="10010" query="process|basename|match=^(postgres|postmaster)$,process|basename|nomatch|parent=^(postgres|postmaster)$" name="unix" resource_type_id="10167"/> - <rhq_process_scan id="10011" query="process|basename|match=^(?i)(postgres|postmaster).exe$,process|basename|nomatch|parent=^(?i)(postgres|postmaster).exe$" name="windows" resource_type_id="10167"/> - <rhq_process_scan id="10012" query="process|basename|match=^ORACLE.*" name="JBoss4" resource_type_id="10172"/> - <rhq_process_scan id="10013" query="process|basename|match=^mysqld$,process|basename|nomatch|parent=^mysqld$" name="unix" resource_type_id="10175"/> - <rhq_process_scan id="10014" query="process|basename|match=^(?i)mysqld.exe$,process|basename|nomatch|parent=^(?i)mysqld.exe$" name="windows" resource_type_id="10175"/> - <rhq_process_scan id="10015" query="process|basename|match=sshd,process|basename|nomatch|parent=sshd" name="SSHD" resource_type_id="10184"/> - <rhq_process_scan id="10016" query="process|basename|match=httpd.*,process|basename|nomatch|parent=httpd.*" name="HttpdOnUnix" resource_type_id="10190"/> - <rhq_process_scan id="10017" query="process|basename|match=(?i)httpd.exe,process|basename|match|parent=(?i)httpd.exe" name="HttpdOnWindows" resource_type_id="10190"/> - <rhq_process_scan id="10018" query="process|basename|match=apache2,process|basename|nomatch|parent=apache2" name="Apache2OnUnix" resource_type_id="10190"/> - <rhq_process_scan id="10019" query="process|basename|match=(?i)Apache.exe,process|basename|match|parent=(?i)Apache.exe" name="ApacheOnWindows" resource_type_id="10190"/> - <rhq_resource_subcat id="10001" name="Resources" display_name="Resources" description="Different types of Resources" ctime="1282832746583" mtime="1282832746583" parent_subcategory_id="%NULL%" resource_type_id="10063"/> - <rhq_resource_subcat id="10002" name="Datasources" display_name="Datasources" description="Different types of Datasources" ctime="1282832746584" mtime="1282832746584" parent_subcategory_id="10001" resource_type_id="%NULL%"/> - <rhq_resource_subcat id="10003" name="Connection Factories" display_name="Connection Factories" description="Different types of Connection Factories" ctime="1282832746584" mtime="1282832746584" parent_subcategory_id="10001" resource_type_id="%NULL%"/> - <rhq_resource_subcat id="10004" name="Applications" display_name="Applications" description="Different types of Applications (WARs, EARs, etc.)" ctime="1282832746584" mtime="1282832746584" parent_subcategory_id="%NULL%" resource_type_id="10063"/> - <rhq_resource_subcat id="10005" name="Resources" display_name="Resources" description="%NULL%" ctime="1282832758290" mtime="1282832758290" parent_subcategory_id="%NULL%" resource_type_id="10121"/> - <rhq_resource_subcat id="10006" name="Applications" display_name="Applications" description="%NULL%" ctime="1282832758290" mtime="1282832758290" parent_subcategory_id="%NULL%" resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10003" parent_resource_type_id="10002"/> - <rhq_resource_type_parents resource_type_id="10005" parent_resource_type_id="10004"/> - <rhq_resource_type_parents resource_type_id="10015" parent_resource_type_id="10007"/> - <rhq_resource_type_parents resource_type_id="10015" parent_resource_type_id="10008"/> - <rhq_resource_type_parents resource_type_id="10015" parent_resource_type_id="10009"/> - <rhq_resource_type_parents resource_type_id="10015" parent_resource_type_id="10010"/> - <rhq_resource_type_parents resource_type_id="10015" parent_resource_type_id="10011"/> - <rhq_resource_type_parents resource_type_id="10015" parent_resource_type_id="10012"/> - <rhq_resource_type_parents resource_type_id="10015" parent_resource_type_id="10013"/> - <rhq_resource_type_parents resource_type_id="10016" parent_resource_type_id="10007"/> - <rhq_resource_type_parents resource_type_id="10016" parent_resource_type_id="10008"/> - <rhq_resource_type_parents resource_type_id="10016" parent_resource_type_id="10009"/> - <rhq_resource_type_parents resource_type_id="10016" parent_resource_type_id="10010"/> - <rhq_resource_type_parents resource_type_id="10016" parent_resource_type_id="10011"/> - <rhq_resource_type_parents resource_type_id="10016" parent_resource_type_id="10012"/> - <rhq_resource_type_parents resource_type_id="10016" parent_resource_type_id="10013"/> - <rhq_resource_type_parents resource_type_id="10017" parent_resource_type_id="10007"/> - <rhq_resource_type_parents resource_type_id="10017" parent_resource_type_id="10008"/> - <rhq_resource_type_parents resource_type_id="10017" parent_resource_type_id="10009"/> - <rhq_resource_type_parents resource_type_id="10017" parent_resource_type_id="10010"/> - <rhq_resource_type_parents resource_type_id="10017" parent_resource_type_id="10011"/> - <rhq_resource_type_parents resource_type_id="10017" parent_resource_type_id="10012"/> - <rhq_resource_type_parents resource_type_id="10017" parent_resource_type_id="10013"/> - <rhq_resource_type_parents resource_type_id="10018" parent_resource_type_id="10007"/> - <rhq_resource_type_parents resource_type_id="10018" parent_resource_type_id="10008"/> - <rhq_resource_type_parents resource_type_id="10018" parent_resource_type_id="10009"/> - <rhq_resource_type_parents resource_type_id="10018" parent_resource_type_id="10010"/> - <rhq_resource_type_parents resource_type_id="10018" parent_resource_type_id="10011"/> - <rhq_resource_type_parents resource_type_id="10018" parent_resource_type_id="10012"/> - <rhq_resource_type_parents resource_type_id="10018" parent_resource_type_id="10013"/> - <rhq_resource_type_parents resource_type_id="10022" parent_resource_type_id="10021"/> - <rhq_resource_type_parents resource_type_id="10023" parent_resource_type_id="10021"/> - <rhq_resource_type_parents resource_type_id="10024" parent_resource_type_id="10021"/> - <rhq_resource_type_parents resource_type_id="10025" parent_resource_type_id="10021"/> - <rhq_resource_type_parents resource_type_id="10026" parent_resource_type_id="10021"/> - <rhq_resource_type_parents resource_type_id="10027" parent_resource_type_id="10021"/> - <rhq_resource_type_parents resource_type_id="10028" parent_resource_type_id="10024"/> - <rhq_resource_type_parents resource_type_id="10029" parent_resource_type_id="10024"/> - <rhq_resource_type_parents resource_type_id="10031" parent_resource_type_id="10030"/> - <rhq_resource_type_parents resource_type_id="10032" parent_resource_type_id="10030"/> - <rhq_resource_type_parents resource_type_id="10033" parent_resource_type_id="10030"/> - <rhq_resource_type_parents resource_type_id="10034" parent_resource_type_id="10030"/> - <rhq_resource_type_parents resource_type_id="10035" parent_resource_type_id="10034"/> - <rhq_resource_type_parents resource_type_id="10036" parent_resource_type_id="10031"/> - <rhq_resource_type_parents resource_type_id="10037" parent_resource_type_id="10032"/> - <rhq_resource_type_parents resource_type_id="10038" parent_resource_type_id="10034"/> - <rhq_resource_type_parents resource_type_id="10039" parent_resource_type_id="10031"/> - <rhq_resource_type_parents resource_type_id="10040" parent_resource_type_id="10034"/> - <rhq_resource_type_parents resource_type_id="10041" parent_resource_type_id="10031"/> - <rhq_resource_type_parents resource_type_id="10042" parent_resource_type_id="10031"/> - <rhq_resource_type_parents resource_type_id="10043" parent_resource_type_id="10031"/> - <rhq_resource_type_parents resource_type_id="10044" parent_resource_type_id="10031"/> - <rhq_resource_type_parents resource_type_id="10045" parent_resource_type_id="10041"/> - <rhq_resource_type_parents resource_type_id="10046" parent_resource_type_id="10037"/> - <rhq_resource_type_parents resource_type_id="10047" parent_resource_type_id="10041"/> - <rhq_resource_type_parents resource_type_id="10049" parent_resource_type_id="10048"/> - <rhq_resource_type_parents resource_type_id="10050" parent_resource_type_id="10048"/> - <rhq_resource_type_parents resource_type_id="10051" parent_resource_type_id="10048"/> - <rhq_resource_type_parents resource_type_id="10052" parent_resource_type_id="10048"/> - <rhq_resource_type_parents resource_type_id="10053" parent_resource_type_id="10048"/> - <rhq_resource_type_parents resource_type_id="10054" parent_resource_type_id="10048"/> - <rhq_resource_type_parents resource_type_id="10055" parent_resource_type_id="10050"/> - <rhq_resource_type_parents resource_type_id="10056" parent_resource_type_id="10050"/> - <rhq_resource_type_parents resource_type_id="10057" parent_resource_type_id="10050"/> - <rhq_resource_type_parents resource_type_id="10058" parent_resource_type_id="10050"/> - <rhq_resource_type_parents resource_type_id="10059" parent_resource_type_id="10050"/> - <rhq_resource_type_parents resource_type_id="10060" parent_resource_type_id="10050"/> - <rhq_resource_type_parents resource_type_id="10061" parent_resource_type_id="10058"/> - <rhq_resource_type_parents resource_type_id="10062" parent_resource_type_id="10058"/> - <rhq_resource_type_parents resource_type_id="10064" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10065" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10066" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10067" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10068" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10069" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10070" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10071" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10072" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10073" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10074" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10075" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10076" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10077" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10078" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10079" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10080" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10081" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10082" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10083" parent_resource_type_id="10071"/> - <rhq_resource_type_parents resource_type_id="10084" parent_resource_type_id="10069"/> - <rhq_resource_type_parents resource_type_id="10085" parent_resource_type_id="10065"/> - <rhq_resource_type_parents resource_type_id="10086" parent_resource_type_id="10079"/> - <rhq_resource_type_parents resource_type_id="10087" parent_resource_type_id="10066"/> - <rhq_resource_type_parents resource_type_id="10088" parent_resource_type_id="10071"/> - <rhq_resource_type_parents resource_type_id="10089" parent_resource_type_id="10073"/> - <rhq_resource_type_parents resource_type_id="10090" parent_resource_type_id="10081"/> - <rhq_resource_type_parents resource_type_id="10091" parent_resource_type_id="10081"/> - <rhq_resource_type_parents resource_type_id="10092" parent_resource_type_id="10065"/> - <rhq_resource_type_parents resource_type_id="10093" parent_resource_type_id="10082"/> - <rhq_resource_type_parents resource_type_id="10094" parent_resource_type_id="10067"/> - <rhq_resource_type_parents resource_type_id="10095" parent_resource_type_id="10065"/> - <rhq_resource_type_parents resource_type_id="10096" parent_resource_type_id="10082"/> - <rhq_resource_type_parents resource_type_id="10097" parent_resource_type_id="10073"/> - <rhq_resource_type_parents resource_type_id="10098" parent_resource_type_id="10067"/> - <rhq_resource_type_parents resource_type_id="10099" parent_resource_type_id="10071"/> - <rhq_resource_type_parents resource_type_id="10100" parent_resource_type_id="10073"/> - <rhq_resource_type_parents resource_type_id="10101" parent_resource_type_id="10066"/> - <rhq_resource_type_parents resource_type_id="10102" parent_resource_type_id="10065"/> - <rhq_resource_type_parents resource_type_id="10103" parent_resource_type_id="10081"/> - <rhq_resource_type_parents resource_type_id="10104" parent_resource_type_id="10082"/> - <rhq_resource_type_parents resource_type_id="10105" parent_resource_type_id="10080"/> - <rhq_resource_type_parents resource_type_id="10106" parent_resource_type_id="10073"/> - <rhq_resource_type_parents resource_type_id="10107" parent_resource_type_id="10071"/> - <rhq_resource_type_parents resource_type_id="10108" parent_resource_type_id="10065"/> - <rhq_resource_type_parents resource_type_id="10109" parent_resource_type_id="10065"/> - <rhq_resource_type_parents resource_type_id="10110" parent_resource_type_id="10085"/> - <rhq_resource_type_parents resource_type_id="10111" parent_resource_type_id="10085"/> - <rhq_resource_type_parents resource_type_id="10112" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10113" parent_resource_type_id="10112"/> - <rhq_resource_type_parents resource_type_id="10114" parent_resource_type_id="10112"/> - <rhq_resource_type_parents resource_type_id="10115" parent_resource_type_id="10112"/> - <rhq_resource_type_parents resource_type_id="10116" parent_resource_type_id="10112"/> - <rhq_resource_type_parents resource_type_id="10117" parent_resource_type_id="10112"/> - <rhq_resource_type_parents resource_type_id="10118" parent_resource_type_id="10112"/> - <rhq_resource_type_parents resource_type_id="10119" parent_resource_type_id="10112"/> - <rhq_resource_type_parents resource_type_id="10120" parent_resource_type_id="10112"/> - <rhq_resource_type_parents resource_type_id="10122" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10123" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10124" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10125" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10126" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10127" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10128" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10129" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10130" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10131" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10132" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10133" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10134" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10135" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10136" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10137" parent_resource_type_id="10123"/> - <rhq_resource_type_parents resource_type_id="10138" parent_resource_type_id="10130"/> - <rhq_resource_type_parents resource_type_id="10139" parent_resource_type_id="10122"/> - <rhq_resource_type_parents resource_type_id="10140" parent_resource_type_id="10123"/> - <rhq_resource_type_parents resource_type_id="10141" parent_resource_type_id="10124"/> - <rhq_resource_type_parents resource_type_id="10142" parent_resource_type_id="10123"/> - <rhq_resource_type_parents resource_type_id="10143" parent_resource_type_id="10123"/> - <rhq_resource_type_parents resource_type_id="10144" parent_resource_type_id="10128"/> - <rhq_resource_type_parents resource_type_id="10145" parent_resource_type_id="10125"/> - <rhq_resource_type_parents resource_type_id="10146" parent_resource_type_id="10125"/> - <rhq_resource_type_parents resource_type_id="10147" parent_resource_type_id="10123"/> - <rhq_resource_type_parents resource_type_id="10148" parent_resource_type_id="10130"/> - <rhq_resource_type_parents resource_type_id="10149" parent_resource_type_id="10124"/> - <rhq_resource_type_parents resource_type_id="10150" parent_resource_type_id="10123"/> - <rhq_resource_type_parents resource_type_id="10151" parent_resource_type_id="10137"/> - <rhq_resource_type_parents resource_type_id="10152" parent_resource_type_id="10137"/> - <rhq_resource_type_parents resource_type_id="10153" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10154" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10155" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10156" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10157" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10158" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10159" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10160" parent_resource_type_id="10159"/> - <rhq_resource_type_parents resource_type_id="10161" parent_resource_type_id="10160"/> - <rhq_resource_type_parents resource_type_id="10163" parent_resource_type_id="10162"/> - <rhq_resource_type_parents resource_type_id="10164" parent_resource_type_id="10021"/> - <rhq_resource_type_parents resource_type_id="10164" parent_resource_type_id="10063"/> - <rhq_resource_type_parents resource_type_id="10164" parent_resource_type_id="10121"/> - <rhq_resource_type_parents resource_type_id="10165" parent_resource_type_id="10164"/> - <rhq_resource_type_parents resource_type_id="10166" parent_resource_type_id="10007"/> - <rhq_resource_type_parents resource_type_id="10166" parent_resource_type_id="10008"/> - <rhq_resource_type_parents resource_type_id="10166" parent_resource_type_id="10009"/> - <rhq_resource_type_parents resource_type_id="10166" parent_resource_type_id="10010"/> - <rhq_resource_type_parents resource_type_id="10166" parent_resource_type_id="10011"/> - <rhq_resource_type_parents resource_type_id="10166" parent_resource_type_id="10012"/> - <rhq_resource_type_parents resource_type_id="10166" parent_resource_type_id="10013"/> - <rhq_resource_type_parents resource_type_id="10168" parent_resource_type_id="10167"/> - <rhq_resource_type_parents resource_type_id="10169" parent_resource_type_id="10167"/> - <rhq_resource_type_parents resource_type_id="10170" parent_resource_type_id="10168"/> - <rhq_resource_type_parents resource_type_id="10171" parent_resource_type_id="10168"/> - <rhq_resource_type_parents resource_type_id="10173" parent_resource_type_id="10172"/> - <rhq_resource_type_parents resource_type_id="10174" parent_resource_type_id="10172"/> - <rhq_resource_type_parents resource_type_id="10176" parent_resource_type_id="10175"/> - <rhq_resource_type_parents resource_type_id="10177" parent_resource_type_id="10175"/> - <rhq_resource_type_parents resource_type_id="10178" parent_resource_type_id="10177"/> - <rhq_resource_type_parents resource_type_id="10179" parent_resource_type_id="10007"/> - <rhq_resource_type_parents resource_type_id="10179" parent_resource_type_id="10008"/> - <rhq_resource_type_parents resource_type_id="10179" parent_resource_type_id="10009"/> - <rhq_resource_type_parents resource_type_id="10179" parent_resource_type_id="10010"/> - <rhq_resource_type_parents resource_type_id="10179" parent_resource_type_id="10011"/> - <rhq_resource_type_parents resource_type_id="10179" parent_resource_type_id="10012"/> - <rhq_resource_type_parents resource_type_id="10179" parent_resource_type_id="10013"/> - <rhq_resource_type_parents resource_type_id="10179" parent_resource_type_id="10014"/> - <rhq_resource_type_parents resource_type_id="10181" parent_resource_type_id="10180"/> - <rhq_resource_type_parents resource_type_id="10183" parent_resource_type_id="10182"/> - <rhq_resource_type_parents resource_type_id="10185" parent_resource_type_id="10007"/> - <rhq_resource_type_parents resource_type_id="10185" parent_resource_type_id="10008"/> - <rhq_resource_type_parents resource_type_id="10185" parent_resource_type_id="10009"/> - <rhq_resource_type_parents resource_type_id="10185" parent_resource_type_id="10010"/> - <rhq_resource_type_parents resource_type_id="10185" parent_resource_type_id="10011"/> - <rhq_resource_type_parents resource_type_id="10185" parent_resource_type_id="10012"/> - <rhq_resource_type_parents resource_type_id="10185" parent_resource_type_id="10013"/> - <rhq_resource_type_parents resource_type_id="10185" parent_resource_type_id="10014"/> - <rhq_resource_type_parents resource_type_id="10188" parent_resource_type_id="10187"/> - <rhq_resource_type_parents resource_type_id="10189" parent_resource_type_id="10008"/> - <rhq_resource_type_parents resource_type_id="10189" parent_resource_type_id="10014"/> - <rhq_resource_type_parents resource_type_id="10191" parent_resource_type_id="10190"/> - <rhq_resource_type_parents resource_type_id="10192" parent_resource_type_id="10190"/> - <rhq_resource_type_parents resource_type_id="10193" parent_resource_type_id="10192"/> - <rhq_resource_type_parents resource_type_id="10194" parent_resource_type_id="10192"/> - <rhq_resource_type_parents resource_type_id="10195" parent_resource_type_id="10193"/> - <rhq_resource_type_parents resource_type_id="10196" parent_resource_type_id="10007"/> - <rhq_resource_type_parents resource_type_id="10196" parent_resource_type_id="10008"/> - <rhq_resource_type_parents resource_type_id="10196" parent_resource_type_id="10009"/> - <rhq_resource_type_parents resource_type_id="10196" parent_resource_type_id="10010"/> - <rhq_resource_type_parents resource_type_id="10196" parent_resource_type_id="10011"/> - <rhq_resource_type_parents resource_type_id="10196" parent_resource_type_id="10012"/> - <rhq_resource_type_parents resource_type_id="10196" parent_resource_type_id="10013"/> - <rhq_resource_type_parents resource_type_id="10197" parent_resource_type_id="10008"/> - <rhq_resource_type id="10001" name="SnmpTrapd" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="snmptrapd" ctime="1282832731843" mtime="1282832731843" subcategory_id="%NULL%" plugin_config_def_id="10001" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10002" name="Hudson Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="hudson" ctime="1282832732132" mtime="1282832732132" subcategory_id="%NULL%" plugin_config_def_id="10002" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10003" name="Hudson Project" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="hudson" ctime="1282832732157" mtime="1282832732157" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10004" name="Twitter" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="Twitter monitoring subsystem" plugin="Twitter" ctime="1282832733356" mtime="1282832733356" subcategory_id="%NULL%" plugin_config_def_id="10003" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10005" name="TwitterFeed" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="DELETE_ONLY" singleton="false" supports_manual_add="true" description="One timeline or search" plugin="Twitter" ctime="1282832733469" mtime="1282832733469" subcategory_id="%NULL%" plugin_config_def_id="10006" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10006" name="Script Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="A resource with a command line executable or script as its management interface" plugin="Script" ctime="1282832733625" mtime="1282832733625" subcategory_id="%NULL%" plugin_config_def_id="10007" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10007" name="Windows" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Microsoft Windows Operating System" plugin="Platforms" ctime="1282832733829" mtime="1282832733829" subcategory_id="%NULL%" plugin_config_def_id="10010" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10008" name="Linux" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Linux Operating System" plugin="Platforms" ctime="1282832733986" mtime="1282832733986" subcategory_id="%NULL%" plugin_config_def_id="10015" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10009" name="Solaris" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="SUN Solaris Operating System" plugin="Platforms" ctime="1282832734220" mtime="1282832734220" subcategory_id="%NULL%" plugin_config_def_id="10020" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10010" name="HP-UX" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Hewlett-Packard HP-UX Operating System" plugin="Platforms" ctime="1282832734420" mtime="1282832734420" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10011" name="AIX" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="IBM AIX Operating System" plugin="Platforms" ctime="1282832734563" mtime="1282832734563" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10012" name="FreeBSD" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="FreeBSD Operating System" plugin="Platforms" ctime="1282832734754" mtime="1282832734754" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10013" name="Mac OS X" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Mac OS X Operating System" plugin="Platforms" ctime="1282832734879" mtime="1282832734879" subcategory_id="%NULL%" plugin_config_def_id="10033" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10014" name="Java" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Platform with 100% Java capability but not natively supported" plugin="Platforms" ctime="1282832735036" mtime="1282832735036" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10015" name="Process" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="A generic process monitoring service to track native process information based on a pid file or process query" plugin="Platforms" ctime="1282832735298" mtime="1282832735298" subcategory_id="%NULL%" plugin_config_def_id="10040" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10016" name="File System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Platforms" ctime="1282832735522" mtime="1282832735522" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10017" name="Network Adapter" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Platforms" ctime="1282832735682" mtime="1282832735682" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10018" name="CPU" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Platforms" ctime="1282832735825" mtime="1282832735825" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10019" name="HTTPService" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="NetworkServices" ctime="1282832736884" mtime="1282832736884" subcategory_id="%NULL%" plugin_config_def_id="10041" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10020" name="PingService" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="NetworkServices" ctime="1282832736907" mtime="1282832736907" subcategory_id="%NULL%" plugin_config_def_id="10042" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10021" name="JMX Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="Generic JMX Server" plugin="JMX" ctime="1282832739158" mtime="1282832739158" subcategory_id="%NULL%" plugin_config_def_id="10043" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10022" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="JMX" ctime="1282832739416" mtime="1282832739416" subcategory_id="%NULL%" plugin_config_def_id="10044" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10023" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="JMX" ctime="1282832739465" mtime="1282832739465" subcategory_id="%NULL%" plugin_config_def_id="10045" res_config_def_id="10046"/> - <rhq_resource_type id="10024" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="JMX" ctime="1282832739484" mtime="1282832739484" subcategory_id="%NULL%" plugin_config_def_id="10047" res_config_def_id="10048"/> - <rhq_resource_type id="10025" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="JMX" ctime="1282832739507" mtime="1282832739507" subcategory_id="%NULL%" plugin_config_def_id="10049" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10026" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="JMX" ctime="1282832739519" mtime="1282832739519" subcategory_id="%NULL%" plugin_config_def_id="10050" res_config_def_id="10051"/> - <rhq_resource_type id="10027" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="JMX" ctime="1282832739572" mtime="1282832739572" subcategory_id="%NULL%" plugin_config_def_id="10052" res_config_def_id="10053"/> - <rhq_resource_type id="10028" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="JMX" ctime="1282832739635" mtime="1282832739635" subcategory_id="%NULL%" plugin_config_def_id="10056" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10029" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="JMX" ctime="1282832739667" mtime="1282832739667" subcategory_id="%NULL%" plugin_config_def_id="10057" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10030" name="Tomcat Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="Tomcat Server" plugin="Tomcat" ctime="1282832740119" mtime="1282832740119" subcategory_id="%NULL%" plugin_config_def_id="10058" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10031" name="Tomcat Server JVM" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JVM of the Tomcat Server" plugin="Tomcat" ctime="1282832740265" mtime="1282832740265" subcategory_id="%NULL%" plugin_config_def_id="10063" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10032" name="Tomcat Virtual Host" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A virtual host in the web container" plugin="Tomcat" ctime="1282832740336" mtime="1282832740336" subcategory_id="%NULL%" plugin_config_def_id="10064" res_config_def_id="10065"/> - <rhq_resource_type id="10033" name="Tomcat Connector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Tomcat" ctime="1282832740362" mtime="1282832740362" subcategory_id="%NULL%" plugin_config_def_id="10066" res_config_def_id="10067"/> - <rhq_resource_type id="10034" name="Tomcat User Database" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Tomcat User Database" plugin="Tomcat" ctime="1282832740713" mtime="1282832740713" subcategory_id="%NULL%" plugin_config_def_id="10068" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10035" name="Tomcat Group" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Tomcat User Group" plugin="Tomcat" ctime="1282832740735" mtime="1282832740735" subcategory_id="%NULL%" plugin_config_def_id="10069" res_config_def_id="10070"/> - <rhq_resource_type id="10036" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="Tomcat" ctime="1282832740759" mtime="1282832740759" subcategory_id="%NULL%" plugin_config_def_id="10071" res_config_def_id="10072"/> - <rhq_resource_type id="10037" name="Tomcat Web Application (WAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Tomcat deployed Web Application" plugin="Tomcat" ctime="1282832740792" mtime="1282832740792" subcategory_id="%NULL%" plugin_config_def_id="10075" res_config_def_id="10076"/> - <rhq_resource_type id="10038" name="Tomcat Role" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Tomcat User Role" plugin="Tomcat" ctime="1282832740946" mtime="1282832740946" subcategory_id="%NULL%" plugin_config_def_id="10078" res_config_def_id="10079"/> - <rhq_resource_type id="10039" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="Tomcat" ctime="1282832741016" mtime="1282832741016" subcategory_id="%NULL%" plugin_config_def_id="10080" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10040" name="Tomcat User" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Tomcat User" plugin="Tomcat" ctime="1282832741048" mtime="1282832741048" subcategory_id="%NULL%" plugin_config_def_id="10081" res_config_def_id="10082"/> - <rhq_resource_type id="10041" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="Tomcat" ctime="1282832741091" mtime="1282832741091" subcategory_id="%NULL%" plugin_config_def_id="10083" res_config_def_id="10084"/> - <rhq_resource_type id="10042" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="Tomcat" ctime="1282832741160" mtime="1282832741160" subcategory_id="%NULL%" plugin_config_def_id="10085" res_config_def_id="10086"/> - <rhq_resource_type id="10043" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="Tomcat" ctime="1282832741197" mtime="1282832741197" subcategory_id="%NULL%" plugin_config_def_id="10087" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10044" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="Tomcat" ctime="1282832741248" mtime="1282832741248" subcategory_id="%NULL%" plugin_config_def_id="10088" res_config_def_id="10089"/> - <rhq_resource_type id="10045" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="Tomcat" ctime="1282832741296" mtime="1282832741296" subcategory_id="%NULL%" plugin_config_def_id="10090" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10046" name="Tomcat Cache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="A Tomcat Application (WAR) Cache" plugin="Tomcat" ctime="1282832741340" mtime="1282832741340" subcategory_id="%NULL%" plugin_config_def_id="10091" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10047" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="Tomcat" ctime="1282832741391" mtime="1282832741391" subcategory_id="%NULL%" plugin_config_def_id="10092" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10048" name="RHQ Agent" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Management Agent" plugin="RHQAgent" ctime="1282832741588" mtime="1282832741588" subcategory_id="%NULL%" plugin_config_def_id="10093" res_config_def_id="10094"/> - <rhq_resource_type id="10049" name="Measurement Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The measurement subsystem within an agent's plugin container" plugin="RHQAgent" ctime="1282832742161" mtime="1282832742161" subcategory_id="%NULL%" plugin_config_def_id="10105" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10050" name="RHQ Agent JVM" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JVM of the Management Agent" plugin="RHQAgent" ctime="1282832742235" mtime="1282832742235" subcategory_id="%NULL%" plugin_config_def_id="10106" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10051" name="Launcher Script" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The script that can run the agent as a daemon service. The Environment Setup Script configures the behavior of this service." plugin="RHQAgent" ctime="1282832742354" mtime="1282832742354" subcategory_id="%NULL%" plugin_config_def_id="10107" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10052" name="Environment Setup Script" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The agent startup script that sets up the agent environment" plugin="RHQAgent" ctime="1282832742389" mtime="1282832742389" subcategory_id="%NULL%" plugin_config_def_id="10109" res_config_def_id="10110"/> - <rhq_resource_type id="10053" name="Plugin Container" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The plugin container itself, which hosts the plugins and manages their lifecycle" plugin="RHQAgent" ctime="1282832742421" mtime="1282832742421" subcategory_id="%NULL%" plugin_config_def_id="10111" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10054" name="Java Service Wrapper Launcher" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The Java Service Wrapper that can run the agent as a daemon service" plugin="RHQAgent" ctime="1282832742489" mtime="1282832742489" subcategory_id="%NULL%" plugin_config_def_id="10117" res_config_def_id="10118"/> - <rhq_resource_type id="10055" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="RHQAgent" ctime="1282832742637" mtime="1282832742637" subcategory_id="%NULL%" plugin_config_def_id="10121" res_config_def_id="10122"/> - <rhq_resource_type id="10056" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="RHQAgent" ctime="1282832742698" mtime="1282832742698" subcategory_id="%NULL%" plugin_config_def_id="10125" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10057" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="RHQAgent" ctime="1282832742735" mtime="1282832742735" subcategory_id="%NULL%" plugin_config_def_id="10126" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10058" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="RHQAgent" ctime="1282832742774" mtime="1282832742774" subcategory_id="%NULL%" plugin_config_def_id="10127" res_config_def_id="10128"/> - <rhq_resource_type id="10059" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="RHQAgent" ctime="1282832742819" mtime="1282832742819" subcategory_id="%NULL%" plugin_config_def_id="10129" res_config_def_id="10130"/> - <rhq_resource_type id="10060" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="RHQAgent" ctime="1282832742866" mtime="1282832742866" subcategory_id="%NULL%" plugin_config_def_id="10131" res_config_def_id="10132"/> - <rhq_resource_type id="10061" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="RHQAgent" ctime="1282832742914" mtime="1282832742914" subcategory_id="%NULL%" plugin_config_def_id="10133" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10062" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="RHQAgent" ctime="1282832742958" mtime="1282832742958" subcategory_id="%NULL%" plugin_config_def_id="10134" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10063" name="JBossAS Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="JBoss Application Server (AS), Enterprise Application Platform (EAP), Enterprise SOA Platform (SOA-P), or Enterprise Web Platform (EWP) 5.x or 6.x instance" plugin="JBossAS5" ctime="1282832746504" mtime="1282832746504" subcategory_id="%NULL%" plugin_config_def_id="10135" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10064" name="Enterprise Application (EAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="JEE enterprise application (EAR)" plugin="JBossAS5" ctime="1282832746650" mtime="1282832746650" subcategory_id="10004" plugin_config_def_id="10141" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10065" name="JBoss AS JVM" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JVM of the JBossAS" plugin="JBossAS5" ctime="1282832746685" mtime="1282832746685" subcategory_id="%NULL%" plugin_config_def_id="10143" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10066" name="JBoss Messaging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="the JBoss Messaging JMS provider" plugin="JBossAS5" ctime="1282832746725" mtime="1282832746725" subcategory_id="10001" plugin_config_def_id="10144" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10067" name="JBoss Web" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Web Servlet Container" plugin="JBossAS5" ctime="1282832746747" mtime="1282832746747" subcategory_id="10001" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10068" name="No Tx ConnectionFactory" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A ConnectionFactory that does not take part in JTA transactions." plugin="JBossAS5" ctime="1282832746758" mtime="1282832746758" subcategory_id="10003" plugin_config_def_id="10145" res_config_def_id="10146"/> - <rhq_resource_type id="10069" name="Web Application (WAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a standalone web application (WAR)" plugin="JBossAS5" ctime="1282832746964" mtime="1282832746964" subcategory_id="10004" plugin_config_def_id="10151" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10070" name="Tx ConnectionFactory" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A ConnectionFactory that takes part in JTA transactions." plugin="JBossAS5" ctime="1282832746994" mtime="1282832746994" subcategory_id="10003" plugin_config_def_id="10153" res_config_def_id="10154"/> - <rhq_resource_type id="10071" name="EJB2 JAR" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a standalone EJB 2.x application" plugin="JBossAS5" ctime="1282832747153" mtime="1282832747153" subcategory_id="10004" plugin_config_def_id="10159" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10072" name="No Tx Datasource" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="No Transaction Datasources deployed in the instance of JBoss AS" plugin="JBossAS5" ctime="1282832747192" mtime="1282832747192" subcategory_id="10002" plugin_config_def_id="10161" res_config_def_id="10162"/> - <rhq_resource_type id="10073" name="Embedded EJB2 JAR" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="an embedded EJB 2.x application" plugin="JBossAS5" ctime="1282832747355" mtime="1282832747355" subcategory_id="10004" plugin_config_def_id="10167" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10074" name="Local Tx Datasource" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Local Transaction Datasources deployed in the instance of JBoss AS" plugin="JBossAS5" ctime="1282832747395" mtime="1282832747395" subcategory_id="10002" plugin_config_def_id="10168" res_config_def_id="10169"/> - <rhq_resource_type id="10075" name="Script" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="provides the ability to execute a script that performs some task related to its parent JBossAS server" plugin="JBossAS5" ctime="1282832747549" mtime="1282832747549" subcategory_id="10001" plugin_config_def_id="10174" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10076" name="XA Datasource" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="XA Datasources deployed in the instance of JBoss AS" plugin="JBossAS5" ctime="1282832747608" mtime="1282832747608" subcategory_id="10002" plugin_config_def_id="10177" res_config_def_id="10178"/> - <rhq_resource_type id="10077" name="Resource Adapter Archive (RAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a standalone JCA resource adapter archive (RAR)" plugin="JBossAS5" ctime="1282832747805" mtime="1282832747805" subcategory_id="10004" plugin_config_def_id="10183" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10078" name="Embedded Resource Adapter Archive (RAR)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="an embedded JCA resource adapter archive (RAR)" plugin="JBossAS5" ctime="1282832747875" mtime="1282832747875" subcategory_id="10004" plugin_config_def_id="10185" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10079" name="Service Binding Manager" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The Service Binding Manager manages the ports of the deployed services" plugin="JBossAS5" ctime="1282832747936" mtime="1282832747936" subcategory_id="%NULL%" plugin_config_def_id="10186" res_config_def_id="10187"/> - <rhq_resource_type id="10080" name="Embedded Web Application (WAR)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="an embedded web application (WAR)" plugin="JBossAS5" ctime="1282832748001" mtime="1282832748001" subcategory_id="10004" plugin_config_def_id="10188" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10081" name="Embedded EJB3 JAR" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="an embedded EJB 3.x application" plugin="JBossAS5" ctime="1282832748074" mtime="1282832748074" subcategory_id="10004" plugin_config_def_id="10189" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10082" name="EJB3 JAR" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a standalone EJB 3.x application" plugin="JBossAS5" ctime="1282832748140" mtime="1282832748140" subcategory_id="10004" plugin_config_def_id="10190" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10083" name="EJB2 Stateless Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Stateless Session Bean" plugin="JBossAS5" ctime="1282832748208" mtime="1282832748208" subcategory_id="%NULL%" plugin_config_def_id="10192" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10084" name="Web Application Context" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="a web application context" plugin="JBossAS5" ctime="1282832748296" mtime="1282832748296" subcategory_id="%NULL%" plugin_config_def_id="10194" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10085" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="JBossAS5" ctime="1282832748368" mtime="1282832748368" subcategory_id="%NULL%" plugin_config_def_id="10195" res_config_def_id="10196"/> - <rhq_resource_type id="10086" name="Service Binding Set" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="The Service Binding Set defines all bindings of a profile. It inherits the standard bindings from the Service Binding Manager and defines a port offset and overridden and additional bindings." plugin="JBossAS5" ctime="1282832748435" mtime="1282832748435" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="10197"/> - <rhq_resource_type id="10087" name="Topic" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a JMS topic" plugin="JBossAS5" ctime="1282832748523" mtime="1282832748523" subcategory_id="%NULL%" plugin_config_def_id="10199" res_config_def_id="10200"/> - <rhq_resource_type id="10088" name="EJB2 Entity Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Entity Bean" plugin="JBossAS5" ctime="1282832748681" mtime="1282832748681" subcategory_id="%NULL%" plugin_config_def_id="10213" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10089" name="EJB2 Stateless Session Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Stateless Session Bean" plugin="JBossAS5" ctime="1282832748766" mtime="1282832748766" subcategory_id="%NULL%" plugin_config_def_id="10214" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10090" name="EJB3 Stateful Session Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateful Session Bean (SFSB)" plugin="JBossAS5" ctime="1282832748851" mtime="1282832748851" subcategory_id="%NULL%" plugin_config_def_id="10216" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10091" name="EJB3 Stateless Session Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateless Session Bean (SLSB)" plugin="JBossAS5" ctime="1282832748991" mtime="1282832748991" subcategory_id="%NULL%" plugin_config_def_id="10218" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10092" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="JBossAS5" ctime="1282832749076" mtime="1282832749076" subcategory_id="%NULL%" plugin_config_def_id="10220" res_config_def_id="10221"/> - <rhq_resource_type id="10093" name="EJB3 Message-Driven Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Message-Driven Bean (MDB)" plugin="JBossAS5" ctime="1282832749186" mtime="1282832749186" subcategory_id="%NULL%" plugin_config_def_id="10222" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10094" name="Connector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="a JBoss Web Connector" plugin="JBossAS5" ctime="1282832749277" mtime="1282832749277" subcategory_id="%NULL%" plugin_config_def_id="10224" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10095" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="JBossAS5" ctime="1282832749415" mtime="1282832749415" subcategory_id="%NULL%" plugin_config_def_id="10225" res_config_def_id="10226"/> - <rhq_resource_type id="10096" name="EJB3 Stateless Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateless Session Bean (SLSB)" plugin="JBossAS5" ctime="1282832749499" mtime="1282832749499" subcategory_id="%NULL%" plugin_config_def_id="10227" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10097" name="EJB2 Stateful Session Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Stateful Session Bean" plugin="JBossAS5" ctime="1282832749589" mtime="1282832749589" subcategory_id="%NULL%" plugin_config_def_id="10229" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10098" name="Virtual Host" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="a JBoss Web virtual host" plugin="JBossAS5" ctime="1282832749680" mtime="1282832749680" subcategory_id="%NULL%" plugin_config_def_id="10231" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10099" name="EJB2 Message-Driven Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Message Driven Bean" plugin="JBossAS5" ctime="1282832749783" mtime="1282832749783" subcategory_id="%NULL%" plugin_config_def_id="10232" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10100" name="EJB2 Message-Driven Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Message Driven Bean" plugin="JBossAS5" ctime="1282832749875" mtime="1282832749875" subcategory_id="%NULL%" plugin_config_def_id="10233" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10101" name="Queue" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a JMS queue" plugin="JBossAS5" ctime="1282832749963" mtime="1282832749963" subcategory_id="%NULL%" plugin_config_def_id="10234" res_config_def_id="10235"/> - <rhq_resource_type id="10102" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="JBossAS5" ctime="1282832750129" mtime="1282832750129" subcategory_id="%NULL%" plugin_config_def_id="10244" res_config_def_id="10245"/> - <rhq_resource_type id="10103" name="EJB3 Message-Driven Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Message-Driven Bean (MDB)" plugin="JBossAS5" ctime="1282832750242" mtime="1282832750242" subcategory_id="%NULL%" plugin_config_def_id="10248" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10104" name="EJB3 Stateful Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateful Session Bean (SFSB)" plugin="JBossAS5" ctime="1282832750349" mtime="1282832750349" subcategory_id="%NULL%" plugin_config_def_id="10250" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10105" name="Embedded Web Application Context" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="a web application context" plugin="JBossAS5" ctime="1282832750458" mtime="1282832750458" subcategory_id="%NULL%" plugin_config_def_id="10252" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10106" name="EJB2 Entity Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Entity Bean" plugin="JBossAS5" ctime="1282832750568" mtime="1282832750568" subcategory_id="%NULL%" plugin_config_def_id="10253" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10107" name="EJB2 Stateful Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Stateful Session Bean" plugin="JBossAS5" ctime="1282832750665" mtime="1282832750665" subcategory_id="%NULL%" plugin_config_def_id="10254" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10108" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="JBossAS5" ctime="1282832750777" mtime="1282832750777" subcategory_id="%NULL%" plugin_config_def_id="10256" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10109" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="JBossAS5" ctime="1282832750896" mtime="1282832750896" subcategory_id="%NULL%" plugin_config_def_id="10257" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10110" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="JBossAS5" ctime="1282832751005" mtime="1282832751005" subcategory_id="%NULL%" plugin_config_def_id="10258" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10111" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="JBossAS5" ctime="1282832751124" mtime="1282832751124" subcategory_id="%NULL%" plugin_config_def_id="10259" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10112" name="JBoss Cache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="The JBoss Cache instances on this server" plugin="JBossCache3" ctime="1282832751469" mtime="1282832751469" subcategory_id="%NULL%" plugin_config_def_id="10260" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10113" name="Cache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache" plugin="JBossCache3" ctime="1282832751551" mtime="1282832751551" subcategory_id="%NULL%" plugin_config_def_id="10261" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10114" name="Tx Interceptor" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache TxInterceptor" plugin="JBossCache3" ctime="1282832751593" mtime="1282832751593" subcategory_id="%NULL%" plugin_config_def_id="10268" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10115" name="Data Container" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache Data Container" plugin="JBossCache3" ctime="1282832751610" mtime="1282832751610" subcategory_id="%NULL%" plugin_config_def_id="10269" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10116" name="RegionManager" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache RegionManager" plugin="JBossCache3" ctime="1282832751638" mtime="1282832751638" subcategory_id="%NULL%" plugin_config_def_id="10274" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10117" name="RPC Manager" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache RPC Manager" plugin="JBossCache3" ctime="1282832751662" mtime="1282832751662" subcategory_id="%NULL%" plugin_config_def_id="10276" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10118" name="Interceptor" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache Interceptor" plugin="JBossCache3" ctime="1282832751681" mtime="1282832751681" subcategory_id="%NULL%" plugin_config_def_id="10277" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10119" name="Transaction Table" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache TransactionTable" plugin="JBossCache3" ctime="1282832751706" mtime="1282832751706" subcategory_id="%NULL%" plugin_config_def_id="10278" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10120" name="Lock Manager" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="MVCC Lock Manager" plugin="JBossCache3" ctime="1282832751724" mtime="1282832751724" subcategory_id="%NULL%" plugin_config_def_id="10279" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10121" name="JBossAS Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="JBoss Application Server" plugin="JBossAS" ctime="1282832758259" mtime="1282832758259" subcategory_id="%NULL%" plugin_config_def_id="10280" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10122" name="EJB3 Entity Tree Cache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="The entity cache" plugin="JBossAS" ctime="1282832758572" mtime="1282832758572" subcategory_id="10005" plugin_config_def_id="10286" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10123" name="JBoss AS JVM" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JVM of the JBossAS" plugin="JBossAS" ctime="1282832758637" mtime="1282832758637" subcategory_id="%NULL%" plugin_config_def_id="10287" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10124" name="JBossMQ" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The JBossMQ subsystem" plugin="JBossAS" ctime="1282832758674" mtime="1282832758674" subcategory_id="10005" plugin_config_def_id="10288" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10125" name="JBossMessaging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The JBoss Messaging subsystem" plugin="JBossAS" ctime="1282832758692" mtime="1282832758692" subcategory_id="10005" plugin_config_def_id="10289" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10126" name="Datasource" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832758709" mtime="1282832758709" subcategory_id="10005" plugin_config_def_id="10290" res_config_def_id="10291"/> - <rhq_resource_type id="10127" name="Stateless Session EJB" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB 1.x or 2.x Stateless Session Bean" plugin="JBossAS" ctime="1282832758875" mtime="1282832758875" subcategory_id="10006" plugin_config_def_id="10292" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10128" name="Enterprise Application (EAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Enterprise Application" plugin="JBossAS" ctime="1282832758902" mtime="1282832758902" subcategory_id="10006" plugin_config_def_id="10293" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10129" name="ConnectionFactory" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832758938" mtime="1282832758938" subcategory_id="10005" plugin_config_def_id="10296" res_config_def_id="10297"/> - <rhq_resource_type id="10130" name="Embedded Tomcat Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Tomcat Web Application Container embedded in a JBossAS Server" plugin="JBossAS" ctime="1282832759037" mtime="1282832759037" subcategory_id="10005" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10131" name="Web Application (WAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Web Application" plugin="JBossAS" ctime="1282832759061" mtime="1282832759061" subcategory_id="10006" plugin_config_def_id="10298" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10132" name="Stateful Session EJB" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB 1.x or 2.x Stateful Session Bean" plugin="JBossAS" ctime="1282832759137" mtime="1282832759137" subcategory_id="10006" plugin_config_def_id="10304" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10133" name="EJB3 Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateless or Stateful Session Bean" plugin="JBossAS" ctime="1282832759170" mtime="1282832759170" subcategory_id="10006" plugin_config_def_id="10305" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10134" name="Script" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="provides the ability to execute a script that performs some task related to its parent JBossAS server" plugin="JBossAS" ctime="1282832759249" mtime="1282832759249" subcategory_id="10005" plugin_config_def_id="10307" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10135" name="Message Driven EJB" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB 1.x or 2.x Message Driven Bean" plugin="JBossAS" ctime="1282832759298" mtime="1282832759298" subcategory_id="10006" plugin_config_def_id="10310" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10136" name="Entity EJB" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB 1.x or 2.x Entity Bean" plugin="JBossAS" ctime="1282832759346" mtime="1282832759346" subcategory_id="10006" plugin_config_def_id="10311" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10137" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="JBossAS" ctime="1282832759412" mtime="1282832759412" subcategory_id="%NULL%" plugin_config_def_id="10312" res_config_def_id="10313"/> - <rhq_resource_type id="10138" name="Connector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832759459" mtime="1282832759459" subcategory_id="%NULL%" plugin_config_def_id="10314" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10139" name="EJB3 Entity Tree Cache Interceptor" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="The entity cache interceptor" plugin="JBossAS" ctime="1282832759503" mtime="1282832759503" subcategory_id="%NULL%" plugin_config_def_id="10315" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10140" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832759556" mtime="1282832759556" subcategory_id="%NULL%" plugin_config_def_id="10316" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10141" name="JMQ JMS Topic" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832759608" mtime="1282832759608" subcategory_id="%NULL%" plugin_config_def_id="10317" res_config_def_id="10318"/> - <rhq_resource_type id="10142" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="JBossAS" ctime="1282832759918" mtime="1282832759918" subcategory_id="%NULL%" plugin_config_def_id="10348" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10143" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="JBossAS" ctime="1282832759967" mtime="1282832759967" subcategory_id="%NULL%" plugin_config_def_id="10349" res_config_def_id="10350"/> - <rhq_resource_type id="10144" name="Embedded Web Application (WAR)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Web Application embedded inside of an Enterprise Application" plugin="JBossAS" ctime="1282832760023" mtime="1282832760023" subcategory_id="%NULL%" plugin_config_def_id="10351" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10145" name="JBM JMS Queue" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832760144" mtime="1282832760144" subcategory_id="%NULL%" plugin_config_def_id="10355" res_config_def_id="10356"/> - <rhq_resource_type id="10146" name="JBM JMS Topic" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832760247" mtime="1282832760247" subcategory_id="%NULL%" plugin_config_def_id="10365" res_config_def_id="10366"/> - <rhq_resource_type id="10147" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="JBossAS" ctime="1282832760544" mtime="1282832760544" subcategory_id="%NULL%" plugin_config_def_id="10376" res_config_def_id="10377"/> - <rhq_resource_type id="10148" name="VHost" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A virtual host in the web container" plugin="JBossAS" ctime="1282832760634" mtime="1282832760634" subcategory_id="%NULL%" plugin_config_def_id="10380" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10149" name="JMQ JMS Queue" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832760700" mtime="1282832760700" subcategory_id="%NULL%" plugin_config_def_id="10381" res_config_def_id="10382"/> - <rhq_resource_type id="10150" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="JBossAS" ctime="1282832760966" mtime="1282832760966" subcategory_id="%NULL%" plugin_config_def_id="10389" res_config_def_id="10390"/> - <rhq_resource_type id="10151" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="JBossAS" ctime="1282832761061" mtime="1282832761061" subcategory_id="%NULL%" plugin_config_def_id="10391" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10152" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="JBossAS" ctime="1282832761135" mtime="1282832761135" subcategory_id="%NULL%" plugin_config_def_id="10392" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10153" name="RHQ Server Alerts Engine Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="RHQ Server Alerts Engine Subsystem" plugin="RHQServer" ctime="1282832762641" mtime="1282832762641" subcategory_id="%NULL%" plugin_config_def_id="10393" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10154" name="RHQ Server Measurement Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="RHQ Server Measurement Subsystem" plugin="RHQServer" ctime="1282832762740" mtime="1282832762740" subcategory_id="%NULL%" plugin_config_def_id="10395" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10155" name="RHQ Server Group Definition / DynaGroups Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Statistics for the RHQ Server Group Definition / DynaGroups Subsystem" plugin="RHQServer" ctime="1282832762810" mtime="1282832762810" subcategory_id="%NULL%" plugin_config_def_id="10396" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10156" name="RHQ Server Communications Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Details on communications with agents" plugin="RHQServer" ctime="1282832762861" mtime="1282832762861" subcategory_id="%NULL%" plugin_config_def_id="10398" res_config_def_id="10399"/> - <rhq_resource_type id="10157" name="RHQ Server Remote API Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Details on remote API communications with external clients, including the CLI" plugin="RHQServer" ctime="1282832762923" mtime="1282832762923" subcategory_id="%NULL%" plugin_config_def_id="10401" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10158" name="RHQ Server Plugin Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Details on the server-side plugin container subsystem" plugin="RHQServer" ctime="1282832762948" mtime="1282832762948" subcategory_id="%NULL%" plugin_config_def_id="10403" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10159" name="JBossCacheSubsystem" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The JBoss Cache instances on this server" plugin="JBossCache" ctime="1282832763121" mtime="1282832763121" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10160" name="JBossCache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="CREATE_ONLY" singleton="false" supports_manual_add="false" description="Statistics for JBossCache" plugin="JBossCache" ctime="1282832763151" mtime="1282832763151" subcategory_id="%NULL%" plugin_config_def_id="10404" res_config_def_id="10405"/> - <rhq_resource_type id="10161" name="JGroupsChannel" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="The underlying JGroups channel for this cache instance" plugin="JBossCache" ctime="1282832763241" mtime="1282832763241" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10162" name="IIS" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="IIS Web Server" plugin="IIS" ctime="1282832763362" mtime="1282832763362" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10163" name="VHost" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="IIS VHost" plugin="IIS" ctime="1282832763424" mtime="1282832763424" subcategory_id="%NULL%" plugin_config_def_id="10407" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10164" name="Hibernate Statistics" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Statistics for Hibernate" plugin="Hibernate" ctime="1282832763677" mtime="1282832763677" subcategory_id="%NULL%" plugin_config_def_id="10408" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10165" name="Hibernate Entity" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A Hibernate persistent entity" plugin="Hibernate" ctime="1282832763781" mtime="1282832763781" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10166" name="File Template Bundle Handler" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="This plugin is used to process File Template bundles" plugin="FileTemplateBundlePlugin" ctime="1282832764069" mtime="1282832764069" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10167" name="Postgres Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="PostgreSQL Server" plugin="Postgres" ctime="1282832766041" mtime="1282832766041" subcategory_id="%NULL%" plugin_config_def_id="10410" res_config_def_id="10411"/> - <rhq_resource_type id="10168" name="Database" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Postgres" ctime="1282832766584" mtime="1282832766584" subcategory_id="%NULL%" plugin_config_def_id="10413" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10169" name="User" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A User in the Postgres System" plugin="Postgres" ctime="1282832766623" mtime="1282832766623" subcategory_id="%NULL%" plugin_config_def_id="10416" res_config_def_id="10417"/> - <rhq_resource_type id="10170" name="Table" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Database table" plugin="Postgres" ctime="1282832766654" mtime="1282832766654" subcategory_id="%NULL%" plugin_config_def_id="10418" res_config_def_id="10419"/> - <rhq_resource_type id="10171" name="Query" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="Postgres" ctime="1282832766795" mtime="1282832766795" subcategory_id="%NULL%" plugin_config_def_id="10420" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10172" name="Oracle Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="Oracle Server" plugin="Oracle" ctime="1282832766927" mtime="1282832766927" subcategory_id="%NULL%" plugin_config_def_id="10421" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10173" name="Oracle Detailed Statistics" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Oracle" ctime="1282832767550" mtime="1282832767550" subcategory_id="%NULL%" plugin_config_def_id="10422" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10174" name="Oracle User" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Oracle" ctime="1282832767781" mtime="1282832767781" subcategory_id="%NULL%" plugin_config_def_id="10423" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10175" name="MySql Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="MySql Server" plugin="MySql" ctime="1282832769467" mtime="1282832769467" subcategory_id="%NULL%" plugin_config_def_id="10424" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10176" name="User" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A User in the MySql System" plugin="MySql" ctime="1282832770151" mtime="1282832770151" subcategory_id="%NULL%" plugin_config_def_id="10426" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10177" name="Database" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="MySql" ctime="1282832770181" mtime="1282832770181" subcategory_id="%NULL%" plugin_config_def_id="10427" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10178" name="Table" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Database table" plugin="MySql" ctime="1282832770268" mtime="1282832770268" subcategory_id="%NULL%" plugin_config_def_id="10430" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10179" name="Sudoers" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The static table lookup for host names" plugin="Sudoers" ctime="1282832773580" mtime="1282832773580" subcategory_id="%NULL%" plugin_config_def_id="10431" res_config_def_id="10432"/> - <rhq_resource_type id="10180" name="Samba Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Configuration for Samba Server" plugin="Samba" ctime="1282832773882" mtime="1282832773882" subcategory_id="%NULL%" plugin_config_def_id="10433" res_config_def_id="10434"/> - <rhq_resource_type id="10181" name="Samba Share" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a Samba share" plugin="Samba" ctime="1282832773908" mtime="1282832773908" subcategory_id="%NULL%" plugin_config_def_id="10435" res_config_def_id="10436"/> - <rhq_resource_type id="10182" name="Postfix Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Configuration for Postfix Server" plugin="Postfix" ctime="1282832773976" mtime="1282832773976" subcategory_id="%NULL%" plugin_config_def_id="10437" res_config_def_id="10438"/> - <rhq_resource_type id="10183" name="Access" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Access List in the Postfix System" plugin="Postfix" ctime="1282832773991" mtime="1282832773991" subcategory_id="%NULL%" plugin_config_def_id="10439" res_config_def_id="10440"/> - <rhq_resource_type id="10184" name="SSHD" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="OpenSSH Secure Shell Daemon" plugin="OpenSSH" ctime="1282832774046" mtime="1282832774046" subcategory_id="%NULL%" plugin_config_def_id="10441" res_config_def_id="10442"/> - <rhq_resource_type id="10185" name="Hosts File" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="true" description="the local file used for mapping host names to IP addresses" plugin="Hosts" ctime="1282832774486" mtime="1282832774486" subcategory_id="%NULL%" plugin_config_def_id="10443" res_config_def_id="10444"/> - <rhq_resource_type id="10186" name="GRUB" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The GRUB boot loader" plugin="GRUB" ctime="1282832774796" mtime="1282832774796" subcategory_id="%NULL%" plugin_config_def_id="10445" res_config_def_id="10446"/> - <rhq_resource_type id="10187" name="Cron" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The cron configuration" plugin="Cron" ctime="1282832774842" mtime="1282832774842" subcategory_id="%NULL%" plugin_config_def_id="10447" res_config_def_id="10448"/> - <rhq_resource_type id="10188" name="Cron Tab" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A single cron tab file" plugin="Cron" ctime="1282832774869" mtime="1282832774869" subcategory_id="%NULL%" plugin_config_def_id="10449" res_config_def_id="10450"/> - <rhq_resource_type id="10189" name="Cobbler" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="the local file used for mapping modules and setttings" plugin="Cobbler" ctime="1282832775197" mtime="1282832775197" subcategory_id="%NULL%" plugin_config_def_id="10451" res_config_def_id="10452"/> - <rhq_resource_type id="10190" name="Apache HTTP Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="an Apache HTTP Server instance" plugin="Apache" ctime="1282832776529" mtime="1282832776529" subcategory_id="%NULL%" plugin_config_def_id="10453" res_config_def_id="10454"/> - <rhq_resource_type id="10191" name="Mod JK" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Management of mod_jk" plugin="Apache" ctime="1282832776618" mtime="1282832776618" subcategory_id="%NULL%" plugin_config_def_id="10463" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10192" name="Apache Virtual Host" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Apache" ctime="1282832776628" mtime="1282832776628" subcategory_id="%NULL%" plugin_config_def_id="10464" res_config_def_id="10465"/> - <rhq_resource_type id="10193" name="Directory" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Apache" ctime="1282832776932" mtime="1282832776932" subcategory_id="%NULL%" plugin_config_def_id="10466" res_config_def_id="10467"/> - <rhq_resource_type id="10194" name="IfModule" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Apache" ctime="1282832777130" mtime="1282832777130" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="10468"/> - <rhq_resource_type id="10195" name="IfModule Parameters" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Apache" ctime="1282832777175" mtime="1282832777175" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="10469"/> - <rhq_resource_type id="10196" name="Ant Bundle Handler" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="This plugin is used to process Ant bundles" plugin="AntBundlePlugin" ctime="1282832785865" mtime="1282832785865" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10197" name="Aliases File" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="true" description="the local file used for mapping aliases to usernames" plugin="Aliases" ctime="1282832786328" mtime="1282832786328" subcategory_id="%NULL%" plugin_config_def_id="10470" res_config_def_id="10471"/> - <rhq_resource_type id="10001" name="SnmpTrapd" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="snmptrapd" ctime="1282832731843" mtime="1282832731843" subcategory_id="%NULL%" plugin_config_def_id="10001" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10002" name="Hudson Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="hudson" ctime="1282832732132" mtime="1282832732132" subcategory_id="%NULL%" plugin_config_def_id="10002" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10003" name="Hudson Project" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="hudson" ctime="1282832732157" mtime="1282832732157" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10004" name="Twitter" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="Twitter monitoring subsystem" plugin="Twitter" ctime="1282832733356" mtime="1282832733356" subcategory_id="%NULL%" plugin_config_def_id="10003" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10005" name="TwitterFeed" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="DELETE_ONLY" singleton="false" supports_manual_add="true" description="One timeline or search" plugin="Twitter" ctime="1282832733469" mtime="1282832733469" subcategory_id="%NULL%" plugin_config_def_id="10006" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10006" name="Script Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="A resource with a command line executable or script as its management interface" plugin="Script" ctime="1282832733625" mtime="1282832733625" subcategory_id="%NULL%" plugin_config_def_id="10007" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10007" name="Windows" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Microsoft Windows Operating System" plugin="Platforms" ctime="1282832733829" mtime="1282832733829" subcategory_id="%NULL%" plugin_config_def_id="10010" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10008" name="Linux" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Linux Operating System" plugin="Platforms" ctime="1282832733986" mtime="1282832733986" subcategory_id="%NULL%" plugin_config_def_id="10015" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10009" name="Solaris" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="SUN Solaris Operating System" plugin="Platforms" ctime="1282832734220" mtime="1282832734220" subcategory_id="%NULL%" plugin_config_def_id="10020" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10010" name="HP-UX" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Hewlett-Packard HP-UX Operating System" plugin="Platforms" ctime="1282832734420" mtime="1282832734420" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10011" name="AIX" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="IBM AIX Operating System" plugin="Platforms" ctime="1282832734563" mtime="1282832734563" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10012" name="FreeBSD" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="FreeBSD Operating System" plugin="Platforms" ctime="1282832734754" mtime="1282832734754" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10013" name="Mac OS X" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Mac OS X Operating System" plugin="Platforms" ctime="1282832734879" mtime="1282832734879" subcategory_id="%NULL%" plugin_config_def_id="10033" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10014" name="Java" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Platform with 100% Java capability but not natively supported" plugin="Platforms" ctime="1282832735036" mtime="1282832735036" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10015" name="Process" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="A generic process monitoring service to track native process information based on a pid file or process query" plugin="Platforms" ctime="1282832735298" mtime="1282832735298" subcategory_id="%NULL%" plugin_config_def_id="10040" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10016" name="File System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Platforms" ctime="1282832735522" mtime="1282832735522" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10017" name="Network Adapter" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Platforms" ctime="1282832735682" mtime="1282832735682" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10018" name="CPU" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Platforms" ctime="1282832735825" mtime="1282832735825" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10019" name="HTTPService" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="NetworkServices" ctime="1282832736884" mtime="1282832736884" subcategory_id="%NULL%" plugin_config_def_id="10041" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10020" name="PingService" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="NetworkServices" ctime="1282832736907" mtime="1282832736907" subcategory_id="%NULL%" plugin_config_def_id="10042" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10021" name="JMX Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="Generic JMX Server" plugin="JMX" ctime="1282832739158" mtime="1282832739158" subcategory_id="%NULL%" plugin_config_def_id="10043" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10022" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="JMX" ctime="1282832739416" mtime="1282832739416" subcategory_id="%NULL%" plugin_config_def_id="10044" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10023" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="JMX" ctime="1282832739465" mtime="1282832739465" subcategory_id="%NULL%" plugin_config_def_id="10045" res_config_def_id="10046"/> - <rhq_resource_type id="10024" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="JMX" ctime="1282832739484" mtime="1282832739484" subcategory_id="%NULL%" plugin_config_def_id="10047" res_config_def_id="10048"/> - <rhq_resource_type id="10025" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="JMX" ctime="1282832739507" mtime="1282832739507" subcategory_id="%NULL%" plugin_config_def_id="10049" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10026" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="JMX" ctime="1282832739519" mtime="1282832739519" subcategory_id="%NULL%" plugin_config_def_id="10050" res_config_def_id="10051"/> - <rhq_resource_type id="10027" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="JMX" ctime="1282832739572" mtime="1282832739572" subcategory_id="%NULL%" plugin_config_def_id="10052" res_config_def_id="10053"/> - <rhq_resource_type id="10028" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="JMX" ctime="1282832739635" mtime="1282832739635" subcategory_id="%NULL%" plugin_config_def_id="10056" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10029" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="JMX" ctime="1282832739667" mtime="1282832739667" subcategory_id="%NULL%" plugin_config_def_id="10057" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10030" name="Tomcat Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="Tomcat Server" plugin="Tomcat" ctime="1282832740119" mtime="1282832740119" subcategory_id="%NULL%" plugin_config_def_id="10058" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10031" name="Tomcat Server JVM" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JVM of the Tomcat Server" plugin="Tomcat" ctime="1282832740265" mtime="1282832740265" subcategory_id="%NULL%" plugin_config_def_id="10063" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10032" name="Tomcat Virtual Host" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A virtual host in the web container" plugin="Tomcat" ctime="1282832740336" mtime="1282832740336" subcategory_id="%NULL%" plugin_config_def_id="10064" res_config_def_id="10065"/> - <rhq_resource_type id="10033" name="Tomcat Connector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Tomcat" ctime="1282832740362" mtime="1282832740362" subcategory_id="%NULL%" plugin_config_def_id="10066" res_config_def_id="10067"/> - <rhq_resource_type id="10034" name="Tomcat User Database" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Tomcat User Database" plugin="Tomcat" ctime="1282832740713" mtime="1282832740713" subcategory_id="%NULL%" plugin_config_def_id="10068" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10035" name="Tomcat Group" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Tomcat User Group" plugin="Tomcat" ctime="1282832740735" mtime="1282832740735" subcategory_id="%NULL%" plugin_config_def_id="10069" res_config_def_id="10070"/> - <rhq_resource_type id="10036" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="Tomcat" ctime="1282832740759" mtime="1282832740759" subcategory_id="%NULL%" plugin_config_def_id="10071" res_config_def_id="10072"/> - <rhq_resource_type id="10037" name="Tomcat Web Application (WAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Tomcat deployed Web Application" plugin="Tomcat" ctime="1282832740792" mtime="1282832740792" subcategory_id="%NULL%" plugin_config_def_id="10075" res_config_def_id="10076"/> - <rhq_resource_type id="10038" name="Tomcat Role" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Tomcat User Role" plugin="Tomcat" ctime="1282832740946" mtime="1282832740946" subcategory_id="%NULL%" plugin_config_def_id="10078" res_config_def_id="10079"/> - <rhq_resource_type id="10039" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="Tomcat" ctime="1282832741016" mtime="1282832741016" subcategory_id="%NULL%" plugin_config_def_id="10080" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10040" name="Tomcat User" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Tomcat User" plugin="Tomcat" ctime="1282832741048" mtime="1282832741048" subcategory_id="%NULL%" plugin_config_def_id="10081" res_config_def_id="10082"/> - <rhq_resource_type id="10041" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="Tomcat" ctime="1282832741091" mtime="1282832741091" subcategory_id="%NULL%" plugin_config_def_id="10083" res_config_def_id="10084"/> - <rhq_resource_type id="10042" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="Tomcat" ctime="1282832741160" mtime="1282832741160" subcategory_id="%NULL%" plugin_config_def_id="10085" res_config_def_id="10086"/> - <rhq_resource_type id="10043" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="Tomcat" ctime="1282832741197" mtime="1282832741197" subcategory_id="%NULL%" plugin_config_def_id="10087" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10044" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="Tomcat" ctime="1282832741248" mtime="1282832741248" subcategory_id="%NULL%" plugin_config_def_id="10088" res_config_def_id="10089"/> - <rhq_resource_type id="10045" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="Tomcat" ctime="1282832741296" mtime="1282832741296" subcategory_id="%NULL%" plugin_config_def_id="10090" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10046" name="Tomcat Cache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="A Tomcat Application (WAR) Cache" plugin="Tomcat" ctime="1282832741340" mtime="1282832741340" subcategory_id="%NULL%" plugin_config_def_id="10091" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10047" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="Tomcat" ctime="1282832741391" mtime="1282832741391" subcategory_id="%NULL%" plugin_config_def_id="10092" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10048" name="RHQ Agent" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Management Agent" plugin="RHQAgent" ctime="1282832741588" mtime="1282832741588" subcategory_id="%NULL%" plugin_config_def_id="10093" res_config_def_id="10094"/> - <rhq_resource_type id="10049" name="Measurement Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The measurement subsystem within an agent's plugin container" plugin="RHQAgent" ctime="1282832742161" mtime="1282832742161" subcategory_id="%NULL%" plugin_config_def_id="10105" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10050" name="RHQ Agent JVM" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JVM of the Management Agent" plugin="RHQAgent" ctime="1282832742235" mtime="1282832742235" subcategory_id="%NULL%" plugin_config_def_id="10106" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10051" name="Launcher Script" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The script that can run the agent as a daemon service. The Environment Setup Script configures the behavior of this service." plugin="RHQAgent" ctime="1282832742354" mtime="1282832742354" subcategory_id="%NULL%" plugin_config_def_id="10107" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10052" name="Environment Setup Script" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The agent startup script that sets up the agent environment" plugin="RHQAgent" ctime="1282832742389" mtime="1282832742389" subcategory_id="%NULL%" plugin_config_def_id="10109" res_config_def_id="10110"/> - <rhq_resource_type id="10053" name="Plugin Container" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The plugin container itself, which hosts the plugins and manages their lifecycle" plugin="RHQAgent" ctime="1282832742421" mtime="1282832742421" subcategory_id="%NULL%" plugin_config_def_id="10111" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10054" name="Java Service Wrapper Launcher" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The Java Service Wrapper that can run the agent as a daemon service" plugin="RHQAgent" ctime="1282832742489" mtime="1282832742489" subcategory_id="%NULL%" plugin_config_def_id="10117" res_config_def_id="10118"/> - <rhq_resource_type id="10055" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="RHQAgent" ctime="1282832742637" mtime="1282832742637" subcategory_id="%NULL%" plugin_config_def_id="10121" res_config_def_id="10122"/> - <rhq_resource_type id="10056" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="RHQAgent" ctime="1282832742698" mtime="1282832742698" subcategory_id="%NULL%" plugin_config_def_id="10125" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10057" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="RHQAgent" ctime="1282832742735" mtime="1282832742735" subcategory_id="%NULL%" plugin_config_def_id="10126" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10058" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="RHQAgent" ctime="1282832742774" mtime="1282832742774" subcategory_id="%NULL%" plugin_config_def_id="10127" res_config_def_id="10128"/> - <rhq_resource_type id="10059" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="RHQAgent" ctime="1282832742819" mtime="1282832742819" subcategory_id="%NULL%" plugin_config_def_id="10129" res_config_def_id="10130"/> - <rhq_resource_type id="10060" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="RHQAgent" ctime="1282832742866" mtime="1282832742866" subcategory_id="%NULL%" plugin_config_def_id="10131" res_config_def_id="10132"/> - <rhq_resource_type id="10061" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="RHQAgent" ctime="1282832742914" mtime="1282832742914" subcategory_id="%NULL%" plugin_config_def_id="10133" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10062" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="RHQAgent" ctime="1282832742958" mtime="1282832742958" subcategory_id="%NULL%" plugin_config_def_id="10134" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10063" name="JBossAS Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="JBoss Application Server (AS), Enterprise Application Platform (EAP), Enterprise SOA Platform (SOA-P), or Enterprise Web Platform (EWP) 5.x or 6.x instance" plugin="JBossAS5" ctime="1282832746504" mtime="1282832746504" subcategory_id="%NULL%" plugin_config_def_id="10135" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10064" name="Enterprise Application (EAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="JEE enterprise application (EAR)" plugin="JBossAS5" ctime="1282832746650" mtime="1282832746650" subcategory_id="10004" plugin_config_def_id="10141" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10065" name="JBoss AS JVM" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JVM of the JBossAS" plugin="JBossAS5" ctime="1282832746685" mtime="1282832746685" subcategory_id="%NULL%" plugin_config_def_id="10143" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10066" name="JBoss Messaging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="the JBoss Messaging JMS provider" plugin="JBossAS5" ctime="1282832746725" mtime="1282832746725" subcategory_id="10001" plugin_config_def_id="10144" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10067" name="JBoss Web" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Web Servlet Container" plugin="JBossAS5" ctime="1282832746747" mtime="1282832746747" subcategory_id="10001" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10068" name="No Tx ConnectionFactory" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A ConnectionFactory that does not take part in JTA transactions." plugin="JBossAS5" ctime="1282832746758" mtime="1282832746758" subcategory_id="10003" plugin_config_def_id="10145" res_config_def_id="10146"/> - <rhq_resource_type id="10069" name="Web Application (WAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a standalone web application (WAR)" plugin="JBossAS5" ctime="1282832746964" mtime="1282832746964" subcategory_id="10004" plugin_config_def_id="10151" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10070" name="Tx ConnectionFactory" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A ConnectionFactory that takes part in JTA transactions." plugin="JBossAS5" ctime="1282832746994" mtime="1282832746994" subcategory_id="10003" plugin_config_def_id="10153" res_config_def_id="10154"/> - <rhq_resource_type id="10071" name="EJB2 JAR" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a standalone EJB 2.x application" plugin="JBossAS5" ctime="1282832747153" mtime="1282832747153" subcategory_id="10004" plugin_config_def_id="10159" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10072" name="No Tx Datasource" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="No Transaction Datasources deployed in the instance of JBoss AS" plugin="JBossAS5" ctime="1282832747192" mtime="1282832747192" subcategory_id="10002" plugin_config_def_id="10161" res_config_def_id="10162"/> - <rhq_resource_type id="10073" name="Embedded EJB2 JAR" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="an embedded EJB 2.x application" plugin="JBossAS5" ctime="1282832747355" mtime="1282832747355" subcategory_id="10004" plugin_config_def_id="10167" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10074" name="Local Tx Datasource" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Local Transaction Datasources deployed in the instance of JBoss AS" plugin="JBossAS5" ctime="1282832747395" mtime="1282832747395" subcategory_id="10002" plugin_config_def_id="10168" res_config_def_id="10169"/> - <rhq_resource_type id="10075" name="Script" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="provides the ability to execute a script that performs some task related to its parent JBossAS server" plugin="JBossAS5" ctime="1282832747549" mtime="1282832747549" subcategory_id="10001" plugin_config_def_id="10174" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10076" name="XA Datasource" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="XA Datasources deployed in the instance of JBoss AS" plugin="JBossAS5" ctime="1282832747608" mtime="1282832747608" subcategory_id="10002" plugin_config_def_id="10177" res_config_def_id="10178"/> - <rhq_resource_type id="10077" name="Resource Adapter Archive (RAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a standalone JCA resource adapter archive (RAR)" plugin="JBossAS5" ctime="1282832747805" mtime="1282832747805" subcategory_id="10004" plugin_config_def_id="10183" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10078" name="Embedded Resource Adapter Archive (RAR)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="an embedded JCA resource adapter archive (RAR)" plugin="JBossAS5" ctime="1282832747875" mtime="1282832747875" subcategory_id="10004" plugin_config_def_id="10185" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10079" name="Service Binding Manager" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The Service Binding Manager manages the ports of the deployed services" plugin="JBossAS5" ctime="1282832747936" mtime="1282832747936" subcategory_id="%NULL%" plugin_config_def_id="10186" res_config_def_id="10187"/> - <rhq_resource_type id="10080" name="Embedded Web Application (WAR)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="an embedded web application (WAR)" plugin="JBossAS5" ctime="1282832748001" mtime="1282832748001" subcategory_id="10004" plugin_config_def_id="10188" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10081" name="Embedded EJB3 JAR" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="an embedded EJB 3.x application" plugin="JBossAS5" ctime="1282832748074" mtime="1282832748074" subcategory_id="10004" plugin_config_def_id="10189" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10082" name="EJB3 JAR" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a standalone EJB 3.x application" plugin="JBossAS5" ctime="1282832748140" mtime="1282832748140" subcategory_id="10004" plugin_config_def_id="10190" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10083" name="EJB2 Stateless Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Stateless Session Bean" plugin="JBossAS5" ctime="1282832748208" mtime="1282832748208" subcategory_id="%NULL%" plugin_config_def_id="10192" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10084" name="Web Application Context" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="a web application context" plugin="JBossAS5" ctime="1282832748296" mtime="1282832748296" subcategory_id="%NULL%" plugin_config_def_id="10194" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10085" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="JBossAS5" ctime="1282832748368" mtime="1282832748368" subcategory_id="%NULL%" plugin_config_def_id="10195" res_config_def_id="10196"/> - <rhq_resource_type id="10086" name="Service Binding Set" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="The Service Binding Set defines all bindings of a profile. It inherits the standard bindings from the Service Binding Manager and defines a port offset and overridden and additional bindings." plugin="JBossAS5" ctime="1282832748435" mtime="1282832748435" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="10197"/> - <rhq_resource_type id="10087" name="Topic" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a JMS topic" plugin="JBossAS5" ctime="1282832748523" mtime="1282832748523" subcategory_id="%NULL%" plugin_config_def_id="10199" res_config_def_id="10200"/> - <rhq_resource_type id="10088" name="EJB2 Entity Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Entity Bean" plugin="JBossAS5" ctime="1282832748681" mtime="1282832748681" subcategory_id="%NULL%" plugin_config_def_id="10213" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10089" name="EJB2 Stateless Session Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Stateless Session Bean" plugin="JBossAS5" ctime="1282832748766" mtime="1282832748766" subcategory_id="%NULL%" plugin_config_def_id="10214" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10090" name="EJB3 Stateful Session Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateful Session Bean (SFSB)" plugin="JBossAS5" ctime="1282832748851" mtime="1282832748851" subcategory_id="%NULL%" plugin_config_def_id="10216" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10091" name="EJB3 Stateless Session Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateless Session Bean (SLSB)" plugin="JBossAS5" ctime="1282832748991" mtime="1282832748991" subcategory_id="%NULL%" plugin_config_def_id="10218" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10092" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="JBossAS5" ctime="1282832749076" mtime="1282832749076" subcategory_id="%NULL%" plugin_config_def_id="10220" res_config_def_id="10221"/> - <rhq_resource_type id="10093" name="EJB3 Message-Driven Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Message-Driven Bean (MDB)" plugin="JBossAS5" ctime="1282832749186" mtime="1282832749186" subcategory_id="%NULL%" plugin_config_def_id="10222" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10094" name="Connector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="a JBoss Web Connector" plugin="JBossAS5" ctime="1282832749277" mtime="1282832749277" subcategory_id="%NULL%" plugin_config_def_id="10224" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10095" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="JBossAS5" ctime="1282832749415" mtime="1282832749415" subcategory_id="%NULL%" plugin_config_def_id="10225" res_config_def_id="10226"/> - <rhq_resource_type id="10096" name="EJB3 Stateless Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateless Session Bean (SLSB)" plugin="JBossAS5" ctime="1282832749499" mtime="1282832749499" subcategory_id="%NULL%" plugin_config_def_id="10227" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10097" name="EJB2 Stateful Session Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Stateful Session Bean" plugin="JBossAS5" ctime="1282832749589" mtime="1282832749589" subcategory_id="%NULL%" plugin_config_def_id="10229" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10098" name="Virtual Host" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="a JBoss Web virtual host" plugin="JBossAS5" ctime="1282832749680" mtime="1282832749680" subcategory_id="%NULL%" plugin_config_def_id="10231" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10099" name="EJB2 Message-Driven Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Message Driven Bean" plugin="JBossAS5" ctime="1282832749783" mtime="1282832749783" subcategory_id="%NULL%" plugin_config_def_id="10232" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10100" name="EJB2 Message-Driven Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Message Driven Bean" plugin="JBossAS5" ctime="1282832749875" mtime="1282832749875" subcategory_id="%NULL%" plugin_config_def_id="10233" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10101" name="Queue" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a JMS queue" plugin="JBossAS5" ctime="1282832749963" mtime="1282832749963" subcategory_id="%NULL%" plugin_config_def_id="10234" res_config_def_id="10235"/> - <rhq_resource_type id="10102" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="JBossAS5" ctime="1282832750129" mtime="1282832750129" subcategory_id="%NULL%" plugin_config_def_id="10244" res_config_def_id="10245"/> - <rhq_resource_type id="10103" name="EJB3 Message-Driven Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Message-Driven Bean (MDB)" plugin="JBossAS5" ctime="1282832750242" mtime="1282832750242" subcategory_id="%NULL%" plugin_config_def_id="10248" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10104" name="EJB3 Stateful Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateful Session Bean (SFSB)" plugin="JBossAS5" ctime="1282832750349" mtime="1282832750349" subcategory_id="%NULL%" plugin_config_def_id="10250" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10105" name="Embedded Web Application Context" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="a web application context" plugin="JBossAS5" ctime="1282832750458" mtime="1282832750458" subcategory_id="%NULL%" plugin_config_def_id="10252" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10106" name="EJB2 Entity Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Entity Bean" plugin="JBossAS5" ctime="1282832750568" mtime="1282832750568" subcategory_id="%NULL%" plugin_config_def_id="10253" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10107" name="EJB2 Stateful Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Stateful Session Bean" plugin="JBossAS5" ctime="1282832750665" mtime="1282832750665" subcategory_id="%NULL%" plugin_config_def_id="10254" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10108" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="JBossAS5" ctime="1282832750777" mtime="1282832750777" subcategory_id="%NULL%" plugin_config_def_id="10256" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10109" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="JBossAS5" ctime="1282832750896" mtime="1282832750896" subcategory_id="%NULL%" plugin_config_def_id="10257" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10110" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="JBossAS5" ctime="1282832751005" mtime="1282832751005" subcategory_id="%NULL%" plugin_config_def_id="10258" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10111" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="JBossAS5" ctime="1282832751124" mtime="1282832751124" subcategory_id="%NULL%" plugin_config_def_id="10259" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10112" name="JBoss Cache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="The JBoss Cache instances on this server" plugin="JBossCache3" ctime="1282832751469" mtime="1282832751469" subcategory_id="%NULL%" plugin_config_def_id="10260" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10113" name="Cache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache" plugin="JBossCache3" ctime="1282832751551" mtime="1282832751551" subcategory_id="%NULL%" plugin_config_def_id="10261" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10114" name="Tx Interceptor" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache TxInterceptor" plugin="JBossCache3" ctime="1282832751593" mtime="1282832751593" subcategory_id="%NULL%" plugin_config_def_id="10268" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10115" name="Data Container" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache Data Container" plugin="JBossCache3" ctime="1282832751610" mtime="1282832751610" subcategory_id="%NULL%" plugin_config_def_id="10269" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10116" name="RegionManager" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache RegionManager" plugin="JBossCache3" ctime="1282832751638" mtime="1282832751638" subcategory_id="%NULL%" plugin_config_def_id="10274" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10117" name="RPC Manager" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache RPC Manager" plugin="JBossCache3" ctime="1282832751662" mtime="1282832751662" subcategory_id="%NULL%" plugin_config_def_id="10276" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10118" name="Interceptor" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache Interceptor" plugin="JBossCache3" ctime="1282832751681" mtime="1282832751681" subcategory_id="%NULL%" plugin_config_def_id="10277" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10119" name="Transaction Table" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache TransactionTable" plugin="JBossCache3" ctime="1282832751706" mtime="1282832751706" subcategory_id="%NULL%" plugin_config_def_id="10278" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10120" name="Lock Manager" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="MVCC Lock Manager" plugin="JBossCache3" ctime="1282832751724" mtime="1282832751724" subcategory_id="%NULL%" plugin_config_def_id="10279" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10121" name="JBossAS Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="JBoss Application Server" plugin="JBossAS" ctime="1282832758259" mtime="1282832758259" subcategory_id="%NULL%" plugin_config_def_id="10280" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10122" name="EJB3 Entity Tree Cache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="The entity cache" plugin="JBossAS" ctime="1282832758572" mtime="1282832758572" subcategory_id="10005" plugin_config_def_id="10286" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10123" name="JBoss AS JVM" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JVM of the JBossAS" plugin="JBossAS" ctime="1282832758637" mtime="1282832758637" subcategory_id="%NULL%" plugin_config_def_id="10287" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10124" name="JBossMQ" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The JBossMQ subsystem" plugin="JBossAS" ctime="1282832758674" mtime="1282832758674" subcategory_id="10005" plugin_config_def_id="10288" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10125" name="JBossMessaging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The JBoss Messaging subsystem" plugin="JBossAS" ctime="1282832758692" mtime="1282832758692" subcategory_id="10005" plugin_config_def_id="10289" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10126" name="Datasource" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832758709" mtime="1282832758709" subcategory_id="10005" plugin_config_def_id="10290" res_config_def_id="10291"/> - <rhq_resource_type id="10127" name="Stateless Session EJB" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB 1.x or 2.x Stateless Session Bean" plugin="JBossAS" ctime="1282832758875" mtime="1282832758875" subcategory_id="10006" plugin_config_def_id="10292" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10128" name="Enterprise Application (EAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Enterprise Application" plugin="JBossAS" ctime="1282832758902" mtime="1282832758902" subcategory_id="10006" plugin_config_def_id="10293" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10129" name="ConnectionFactory" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832758938" mtime="1282832758938" subcategory_id="10005" plugin_config_def_id="10296" res_config_def_id="10297"/> - <rhq_resource_type id="10130" name="Embedded Tomcat Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Tomcat Web Application Container embedded in a JBossAS Server" plugin="JBossAS" ctime="1282832759037" mtime="1282832759037" subcategory_id="10005" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10131" name="Web Application (WAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Web Application" plugin="JBossAS" ctime="1282832759061" mtime="1282832759061" subcategory_id="10006" plugin_config_def_id="10298" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10132" name="Stateful Session EJB" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB 1.x or 2.x Stateful Session Bean" plugin="JBossAS" ctime="1282832759137" mtime="1282832759137" subcategory_id="10006" plugin_config_def_id="10304" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10133" name="EJB3 Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateless or Stateful Session Bean" plugin="JBossAS" ctime="1282832759170" mtime="1282832759170" subcategory_id="10006" plugin_config_def_id="10305" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10134" name="Script" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="provides the ability to execute a script that performs some task related to its parent JBossAS server" plugin="JBossAS" ctime="1282832759249" mtime="1282832759249" subcategory_id="10005" plugin_config_def_id="10307" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10135" name="Message Driven EJB" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB 1.x or 2.x Message Driven Bean" plugin="JBossAS" ctime="1282832759298" mtime="1282832759298" subcategory_id="10006" plugin_config_def_id="10310" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10136" name="Entity EJB" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB 1.x or 2.x Entity Bean" plugin="JBossAS" ctime="1282832759346" mtime="1282832759346" subcategory_id="10006" plugin_config_def_id="10311" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10137" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="JBossAS" ctime="1282832759412" mtime="1282832759412" subcategory_id="%NULL%" plugin_config_def_id="10312" res_config_def_id="10313"/> - <rhq_resource_type id="10138" name="Connector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832759459" mtime="1282832759459" subcategory_id="%NULL%" plugin_config_def_id="10314" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10139" name="EJB3 Entity Tree Cache Interceptor" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="The entity cache interceptor" plugin="JBossAS" ctime="1282832759503" mtime="1282832759503" subcategory_id="%NULL%" plugin_config_def_id="10315" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10140" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832759556" mtime="1282832759556" subcategory_id="%NULL%" plugin_config_def_id="10316" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10141" name="JMQ JMS Topic" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832759608" mtime="1282832759608" subcategory_id="%NULL%" plugin_config_def_id="10317" res_config_def_id="10318"/> - <rhq_resource_type id="10142" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="JBossAS" ctime="1282832759918" mtime="1282832759918" subcategory_id="%NULL%" plugin_config_def_id="10348" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10143" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="JBossAS" ctime="1282832759967" mtime="1282832759967" subcategory_id="%NULL%" plugin_config_def_id="10349" res_config_def_id="10350"/> - <rhq_resource_type id="10144" name="Embedded Web Application (WAR)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Web Application embedded inside of an Enterprise Application" plugin="JBossAS" ctime="1282832760023" mtime="1282832760023" subcategory_id="%NULL%" plugin_config_def_id="10351" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10145" name="JBM JMS Queue" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832760144" mtime="1282832760144" subcategory_id="%NULL%" plugin_config_def_id="10355" res_config_def_id="10356"/> - <rhq_resource_type id="10146" name="JBM JMS Topic" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832760247" mtime="1282832760247" subcategory_id="%NULL%" plugin_config_def_id="10365" res_config_def_id="10366"/> - <rhq_resource_type id="10147" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="JBossAS" ctime="1282832760544" mtime="1282832760544" subcategory_id="%NULL%" plugin_config_def_id="10376" res_config_def_id="10377"/> - <rhq_resource_type id="10148" name="VHost" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A virtual host in the web container" plugin="JBossAS" ctime="1282832760634" mtime="1282832760634" subcategory_id="%NULL%" plugin_config_def_id="10380" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10149" name="JMQ JMS Queue" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832760700" mtime="1282832760700" subcategory_id="%NULL%" plugin_config_def_id="10381" res_config_def_id="10382"/> - <rhq_resource_type id="10150" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="JBossAS" ctime="1282832760966" mtime="1282832760966" subcategory_id="%NULL%" plugin_config_def_id="10389" res_config_def_id="10390"/> - <rhq_resource_type id="10151" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="JBossAS" ctime="1282832761061" mtime="1282832761061" subcategory_id="%NULL%" plugin_config_def_id="10391" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10152" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="JBossAS" ctime="1282832761135" mtime="1282832761135" subcategory_id="%NULL%" plugin_config_def_id="10392" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10153" name="RHQ Server Alerts Engine Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="RHQ Server Alerts Engine Subsystem" plugin="RHQServer" ctime="1282832762641" mtime="1282832762641" subcategory_id="%NULL%" plugin_config_def_id="10393" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10154" name="RHQ Server Measurement Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="RHQ Server Measurement Subsystem" plugin="RHQServer" ctime="1282832762740" mtime="1282832762740" subcategory_id="%NULL%" plugin_config_def_id="10395" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10155" name="RHQ Server Group Definition / DynaGroups Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Statistics for the RHQ Server Group Definition / DynaGroups Subsystem" plugin="RHQServer" ctime="1282832762810" mtime="1282832762810" subcategory_id="%NULL%" plugin_config_def_id="10396" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10156" name="RHQ Server Communications Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Details on communications with agents" plugin="RHQServer" ctime="1282832762861" mtime="1282832762861" subcategory_id="%NULL%" plugin_config_def_id="10398" res_config_def_id="10399"/> - <rhq_resource_type id="10157" name="RHQ Server Remote API Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Details on remote API communications with external clients, including the CLI" plugin="RHQServer" ctime="1282832762923" mtime="1282832762923" subcategory_id="%NULL%" plugin_config_def_id="10401" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10158" name="RHQ Server Plugin Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Details on the server-side plugin container subsystem" plugin="RHQServer" ctime="1282832762948" mtime="1282832762948" subcategory_id="%NULL%" plugin_config_def_id="10403" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10159" name="JBossCacheSubsystem" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The JBoss Cache instances on this server" plugin="JBossCache" ctime="1282832763121" mtime="1282832763121" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10160" name="JBossCache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="CREATE_ONLY" singleton="false" supports_manual_add="false" description="Statistics for JBossCache" plugin="JBossCache" ctime="1282832763151" mtime="1282832763151" subcategory_id="%NULL%" plugin_config_def_id="10404" res_config_def_id="10405"/> - <rhq_resource_type id="10161" name="JGroupsChannel" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="The underlying JGroups channel for this cache instance" plugin="JBossCache" ctime="1282832763241" mtime="1282832763241" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10162" name="IIS" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="IIS Web Server" plugin="IIS" ctime="1282832763362" mtime="1282832763362" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10163" name="VHost" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="IIS VHost" plugin="IIS" ctime="1282832763424" mtime="1282832763424" subcategory_id="%NULL%" plugin_config_def_id="10407" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10164" name="Hibernate Statistics" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Statistics for Hibernate" plugin="Hibernate" ctime="1282832763677" mtime="1282832763677" subcategory_id="%NULL%" plugin_config_def_id="10408" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10165" name="Hibernate Entity" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A Hibernate persistent entity" plugin="Hibernate" ctime="1282832763781" mtime="1282832763781" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10166" name="File Template Bundle Handler" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="This plugin is used to process File Template bundles" plugin="FileTemplateBundlePlugin" ctime="1282832764069" mtime="1282832764069" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10167" name="Postgres Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="PostgreSQL Server" plugin="Postgres" ctime="1282832766041" mtime="1282832766041" subcategory_id="%NULL%" plugin_config_def_id="10410" res_config_def_id="10411"/> - <rhq_resource_type id="10168" name="Database" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Postgres" ctime="1282832766584" mtime="1282832766584" subcategory_id="%NULL%" plugin_config_def_id="10413" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10169" name="User" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A User in the Postgres System" plugin="Postgres" ctime="1282832766623" mtime="1282832766623" subcategory_id="%NULL%" plugin_config_def_id="10416" res_config_def_id="10417"/> - <rhq_resource_type id="10170" name="Table" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Database table" plugin="Postgres" ctime="1282832766654" mtime="1282832766654" subcategory_id="%NULL%" plugin_config_def_id="10418" res_config_def_id="10419"/> - <rhq_resource_type id="10171" name="Query" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="Postgres" ctime="1282832766795" mtime="1282832766795" subcategory_id="%NULL%" plugin_config_def_id="10420" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10172" name="Oracle Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="Oracle Server" plugin="Oracle" ctime="1282832766927" mtime="1282832766927" subcategory_id="%NULL%" plugin_config_def_id="10421" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10173" name="Oracle Detailed Statistics" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Oracle" ctime="1282832767550" mtime="1282832767550" subcategory_id="%NULL%" plugin_config_def_id="10422" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10174" name="Oracle User" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Oracle" ctime="1282832767781" mtime="1282832767781" subcategory_id="%NULL%" plugin_config_def_id="10423" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10175" name="MySql Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="MySql Server" plugin="MySql" ctime="1282832769467" mtime="1282832769467" subcategory_id="%NULL%" plugin_config_def_id="10424" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10176" name="User" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A User in the MySql System" plugin="MySql" ctime="1282832770151" mtime="1282832770151" subcategory_id="%NULL%" plugin_config_def_id="10426" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10177" name="Database" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="MySql" ctime="1282832770181" mtime="1282832770181" subcategory_id="%NULL%" plugin_config_def_id="10427" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10178" name="Table" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Database table" plugin="MySql" ctime="1282832770268" mtime="1282832770268" subcategory_id="%NULL%" plugin_config_def_id="10430" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10179" name="Sudoers" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The static table lookup for host names" plugin="Sudoers" ctime="1282832773580" mtime="1282832773580" subcategory_id="%NULL%" plugin_config_def_id="10431" res_config_def_id="10432"/> - <rhq_resource_type id="10180" name="Samba Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Configuration for Samba Server" plugin="Samba" ctime="1282832773882" mtime="1282832773882" subcategory_id="%NULL%" plugin_config_def_id="10433" res_config_def_id="10434"/> - <rhq_resource_type id="10181" name="Samba Share" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a Samba share" plugin="Samba" ctime="1282832773908" mtime="1282832773908" subcategory_id="%NULL%" plugin_config_def_id="10435" res_config_def_id="10436"/> - <rhq_resource_type id="10182" name="Postfix Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Configuration for Postfix Server" plugin="Postfix" ctime="1282832773976" mtime="1282832773976" subcategory_id="%NULL%" plugin_config_def_id="10437" res_config_def_id="10438"/> - <rhq_resource_type id="10183" name="Access" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Access List in the Postfix System" plugin="Postfix" ctime="1282832773991" mtime="1282832773991" subcategory_id="%NULL%" plugin_config_def_id="10439" res_config_def_id="10440"/> - <rhq_resource_type id="10184" name="SSHD" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="OpenSSH Secure Shell Daemon" plugin="OpenSSH" ctime="1282832774046" mtime="1282832774046" subcategory_id="%NULL%" plugin_config_def_id="10441" res_config_def_id="10442"/> - <rhq_resource_type id="10185" name="Hosts File" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="true" description="the local file used for mapping host names to IP addresses" plugin="Hosts" ctime="1282832774486" mtime="1282832774486" subcategory_id="%NULL%" plugin_config_def_id="10443" res_config_def_id="10444"/> - <rhq_resource_type id="10186" name="GRUB" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The GRUB boot loader" plugin="GRUB" ctime="1282832774796" mtime="1282832774796" subcategory_id="%NULL%" plugin_config_def_id="10445" res_config_def_id="10446"/> - <rhq_resource_type id="10187" name="Cron" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The cron configuration" plugin="Cron" ctime="1282832774842" mtime="1282832774842" subcategory_id="%NULL%" plugin_config_def_id="10447" res_config_def_id="10448"/> - <rhq_resource_type id="10188" name="Cron Tab" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A single cron tab file" plugin="Cron" ctime="1282832774869" mtime="1282832774869" subcategory_id="%NULL%" plugin_config_def_id="10449" res_config_def_id="10450"/> - <rhq_resource_type id="10189" name="Cobbler" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="the local file used for mapping modules and setttings" plugin="Cobbler" ctime="1282832775197" mtime="1282832775197" subcategory_id="%NULL%" plugin_config_def_id="10451" res_config_def_id="10452"/> - <rhq_resource_type id="10190" name="Apache HTTP Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="an Apache HTTP Server instance" plugin="Apache" ctime="1282832776529" mtime="1282832776529" subcategory_id="%NULL%" plugin_config_def_id="10453" res_config_def_id="10454"/> - <rhq_resource_type id="10191" name="Mod JK" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Management of mod_jk" plugin="Apache" ctime="1282832776618" mtime="1282832776618" subcategory_id="%NULL%" plugin_config_def_id="10463" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10192" name="Apache Virtual Host" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Apache" ctime="1282832776628" mtime="1282832776628" subcategory_id="%NULL%" plugin_config_def_id="10464" res_config_def_id="10465"/> - <rhq_resource_type id="10193" name="Directory" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Apache" ctime="1282832776932" mtime="1282832776932" subcategory_id="%NULL%" plugin_config_def_id="10466" res_config_def_id="10467"/> - <rhq_resource_type id="10194" name="IfModule" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Apache" ctime="1282832777130" mtime="1282832777130" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="10468"/> - <rhq_resource_type id="10195" name="IfModule Parameters" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Apache" ctime="1282832777175" mtime="1282832777175" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="10469"/> - <rhq_resource_type id="10196" name="Ant Bundle Handler" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="This plugin is used to process Ant bundles" plugin="AntBundlePlugin" ctime="1282832785865" mtime="1282832785865" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> - <rhq_resource_type id="10197" name="Aliases File" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="true" description="the local file used for mapping aliases to usernames" plugin="Aliases" ctime="1282832786328" mtime="1282832786328" subcategory_id="%NULL%" plugin_config_def_id="10470" res_config_def_id="10471"/> - <rhq_config_def id="10001" name="SnmpTrapd" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10002" name="Hudson Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10003" name="Twitter" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10004" name="postStatus" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10005" name="postStatus" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10006" name="TwitterFeed" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10007" name="Script Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10008" name="execute" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10009" name="execute" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10010" name="Windows" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10011" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10012" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10013" name="viewProcessList" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10014" name="InstalledSoftware" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10015" name="Linux" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10016" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10017" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10018" name="viewProcessList" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10019" name="rpm" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10020" name="Solaris" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10021" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10022" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10023" name="viewProcessList" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10024" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10025" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10026" name="viewProcessList" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10027" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10028" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10029" name="viewProcessList" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10030" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10031" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10032" name="viewProcessList" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10033" name="Mac OS X" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10034" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10035" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10036" name="viewProcessList" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10037" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10038" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10039" name="viewProcessList" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10040" name="Process" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10041" name="HTTPService" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10042" name="PingService" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10043" name="JMX Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10044" name="Operating System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10045" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10046" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10047" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10048" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10049" name="VM Compilation System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10050" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10051" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10052" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10053" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10054" name="findMonitorDeadlockedThreads" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10055" name="threadDump" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10056" name="Garbage Collector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10057" name="Memory Pool" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10058" name="Tomcat Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10059" name="start" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10060" name="shutdown" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10061" name="restart" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10062" name="storeConfig" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10063" name="Tomcat Server JVM" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10064" name="Tomcat Virtual Host" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10065" name="Tomcat Virtual Host" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10066" name="Tomcat Connector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10067" name="Tomcat Connector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10068" name="Tomcat User Database" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10069" name="Tomcat Group" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10070" name="Tomcat Group" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10071" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10072" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10073" name="findMonitorDeadlockedThreads" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10074" name="threadDump" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10075" name="Tomcat Web Application (WAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10076" name="Tomcat Web Application (WAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10077" name="file" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10078" name="Tomcat Role" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10079" name="Tomcat Role" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10080" name="VM Compilation System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10081" name="Tomcat User" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10082" name="Tomcat User" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10083" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10084" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10085" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10086" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10087" name="Operating System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10088" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10089" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10090" name="Garbage Collector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10091" name="Tomcat Cache" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10092" name="Memory Pool" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10093" name="RHQ Agent" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10094" name="RHQ Agent" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10095" name="retrieveAllPluginInfo" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10096" name="retrievePluginInfo" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10097" name="retrievePluginInfo" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10098" name="executeAvailabilityScan" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10099" name="executeAvailabilityScan" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10100" name="retrieveCurrentDateTime" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10101" name="retrieveCurrentDateTime" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10102" name="setDebugMode" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10103" name="executePromptCommand" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10104" name="executePromptCommand" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10105" name="Measurement Subsystem" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10106" name="RHQ Agent JVM" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10107" name="Launcher Script" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10108" name="Status" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10109" name="Environment Setup Script" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10110" name="Environment Setup Script" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10111" name="Plugin Container" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10112" name="retrievePluginDependencyGraph" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10113" name="retrievePluginClassLoaderInformation" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10114" name="retrieveDiscoveryClassLoaderInformation" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10115" name="retrieveAllResourceClassLoaderInformation" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10116" name="retrieveUniqueResourceClassLoaderInformation" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10117" name="Java Service Wrapper Launcher" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10118" name="Java Service Wrapper Launcher" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10119" name="Install" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10120" name="Status" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10121" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10122" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10123" name="findMonitorDeadlockedThreads" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10124" name="threadDump" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10125" name="VM Compilation System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10126" name="Operating System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10127" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10128" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10129" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10130" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10131" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10132" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10133" name="Memory Pool" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10134" name="Garbage Collector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10135" name="JBossAS Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10136" name="start" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10137" name="shutdown" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10138" name="restart" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10139" name="cumulativePatch" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10140" name="library" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10141" name="Enterprise Application (EAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10142" name="file" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10143" name="JBoss AS JVM" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10144" name="JBoss Messaging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10145" name="No Tx ConnectionFactory" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10146" name="No Tx ConnectionFactory" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10147" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10148" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10149" name="listStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10150" name="testConnection" description="Test if a connection can be obtained" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10151" name="Web Application (WAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10152" name="file" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10153" name="Tx ConnectionFactory" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10154" name="Tx ConnectionFactory" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10155" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10156" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10157" name="listStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10158" name="testConnection" description="Test if a connection can be obtained" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10159" name="EJB2 JAR" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10160" name="file" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10161" name="No Tx Datasource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10162" name="No Tx Datasource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10163" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10164" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10165" name="listStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10166" name="testConnection" description="Test if a connection can be obtained" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10167" name="Embedded EJB2 JAR" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10168" name="Local Tx Datasource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10169" name="Local Tx Datasource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10170" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10171" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10172" name="listStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10173" name="testConnection" description="Test if a connection can be obtained" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10174" name="Script" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10175" name="execute" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10176" name="execute" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10177" name="XA Datasource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10178" name="XA Datasource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10179" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10180" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10181" name="listStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10182" name="testConnection" description="Test if a connection can be obtained" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10183" name="Resource Adapter Archive (RAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10184" name="file" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10185" name="Embedded Resource Adapter Archive (RAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10186" name="Service Binding Manager" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10187" name="Service Binding Manager" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10188" name="Embedded Web Application (WAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10189" name="Embedded EJB3 JAR" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10190" name="EJB3 JAR" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10191" name="file" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10192" name="EJB2 Stateless Session Bean" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10193" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10194" name="Web Application Context" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10195" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10196" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10197" name="Service Binding Set" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10198" name="displayBindings" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10199" name="Topic" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10200" name="Topic" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10201" name="listAllMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10202" name="listAllMessages" description="List all messages for the specified subscription with the specified selector" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10203" name="listDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10204" name="listDurableMessages" description="List all durable messages for the specified subscription with the specified selector" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10205" name="listNonDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10206" name="listNonDurableMessages" description="List all non durable messages for the specified subscription with the specified selector" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10207" name="listAllSubscriptions" description="Return all subscriptions for the topic" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10208" name="listAllSubscriptionsAsHTML" description="Return all subscriptions for the topic as HTML" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10209" name="listDurableSubscriptions" description="Return all durable subscriptions for the topic" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10210" name="listDurableSubscriptionsAsHTML" description="Return all durable subscriptions for the topic as HTML" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10211" name="listNonDurableSubscriptions" description="Return all non-durable subscriptions for the topic" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10212" name="listNonDurableSubscriptionsAsHTML" description="Return all non-durable subscriptions for the topic as HTML" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10213" name="EJB2 Entity Bean" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10214" name="EJB2 Stateless Session Bean (Embedded)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10215" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10216" name="EJB3 Stateful Session Bean (Embedded)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10217" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10218" name="EJB3 Stateless Session Bean (Embedded)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10219" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10220" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10221" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10222" name="EJB3 Message-Driven Bean" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10223" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10224" name="Connector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10225" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10226" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10227" name="EJB3 Stateless Session Bean" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10228" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10229" name="EJB2 Stateful Session Bean (Embedded)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10230" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10231" name="Virtual Host" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10232" name="EJB2 Message-Driven Bean" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10233" name="EJB2 Message-Driven Bean (Embedded)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10234" name="Queue" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10235" name="Queue" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10236" name="listAllMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10237" name="listAllMessages" description="List all messages with selector" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10238" name="listDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10239" name="listDurableMessages" description="List all durable messages using a selector" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10240" name="listNonDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10241" name="listNonDurableMessages" description="List all non durable messages using a selector" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10242" name="listMessageCounterAsHTML" description="Get the message counter as HTML" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10243" name="listMessageCounterHistoryAsHTML" description="Get the message counter history as HTML" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10244" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10245" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10246" name="findMonitorDeadlockedThreads" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10247" name="threadDump" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10248" name="EJB3 Message-Driven Bean (Embedded)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10249" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10250" name="EJB3 Stateful Session Bean" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10251" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10252" name="Embedded Web Application Context" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10253" name="EJB2 Entity Bean (Embedded)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10254" name="EJB2 Stateful Session Bean" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10255" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10256" name="VM Compilation System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10257" name="Operating System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10258" name="Garbage Collector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10259" name="Memory Pool" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10260" name="JBoss Cache" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10261" name="Cache" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10262" name="printLockInfo" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10263" name="printCacheDetails" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10264" name="printCacheDetailsAsHtml" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10265" name="printConfigurationAsString" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10266" name="printLockInfoAsHtml" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10267" name="printConfigurationAsHtmlString" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10268" name="Tx Interceptor" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10269" name="Data Container" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10270" name="getNumberOfNodes" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10271" name="getNumberOfAttributes" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10272" name="printDetails" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10273" name="printDetailsAsHtml" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10274" name="RegionManager" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10275" name="dumpRegions" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10276" name="RPC Manager" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10277" name="Interceptor" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10278" name="Transaction Table" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10279" name="Lock Manager" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10280" name="JBossAS Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10281" name="start" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10282" name="shutdown" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10283" name="restart" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10284" name="cumulativePatch" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10285" name="library" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10286" name="EJB3 Entity Tree Cache" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10287" name="JBoss AS JVM" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10288" name="JBossMQ" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10289" name="JBossMessaging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10290" name="Datasource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10291" name="Datasource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10292" name="Stateless Session EJB" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10293" name="Enterprise Application (EAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10294" name="revert" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10295" name="file" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10296" name="ConnectionFactory" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10297" name="ConnectionFactory" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10298" name="Web Application (WAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10299" name="start" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10300" name="stop" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10301" name="reload" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10302" name="revert" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10303" name="file" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10304" name="Stateful Session EJB" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10305" name="EJB3 Session Bean" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10306" name="viewMethodStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10307" name="Script" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10308" name="execute" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10309" name="execute" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10310" name="Message Driven EJB" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10311" name="Entity EJB" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10312" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10313" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10314" name="Connector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10315" name="EJB3 Entity Tree Cache Interceptor" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10316" name="Operating System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10317" name="JMQ JMS Topic" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10318" name="JMQ JMS Topic" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10319" name="listAllSubscriptions" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10320" name="listDurableSubscriptions" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10321" name="listNonDurableSubscriptions" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10322" name="listMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10323" name="listMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10324" name="getNonDurableMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10325" name="getNonDurableMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10326" name="listNonDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10327" name="listNonDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10328" name="getDurableMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10329" name="getDurableMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10330" name="listDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10331" name="listDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10332" name="getNonDurableScheduledMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10333" name="getNonDurableScheduledMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10334" name="listNonDurableScheduledMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10335" name="listNonDurableScheduledMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10336" name="getDurableMessageScheduledCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10337" name="getDurableMessageScheduledCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10338" name="listDurableScheduledMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10339" name="listDurableScheduledMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10340" name="getNonDurableInProcessMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10341" name="getNonDurableInProcessMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10342" name="listNonDurableInProcessMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10343" name="listNonDurableInProcessMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10344" name="getDurableInProcessMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10345" name="getDurableInProcessMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10346" name="listDurableInProcessMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10347" name="listDurableInProcessMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10348" name="VM Compilation System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10349" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10350" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10351" name="Embedded Web Application (WAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10352" name="start" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10353" name="stop" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10354" name="reload" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10355" name="JBM JMS Queue" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10356" name="JBM JMS Queue" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10357" name="listMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10358" name="listMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10359" name="listAllMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10360" name="listAllMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10361" name="listDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10362" name="listDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10363" name="listNonDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10364" name="listNonDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10365" name="JBM JMS Topic" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10366" name="JBM JMS Topic" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10367" name="listAllSubscriptions" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10368" name="listDurableSubscriptions" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10369" name="listNonDurableSubscriptions" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10370" name="listAllMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10371" name="listAllMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10372" name="listNonDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10373" name="listNonDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10374" name="listDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10375" name="listDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10376" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10377" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10378" name="findMonitorDeadlockedThreads" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10379" name="threadDump" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10380" name="VHost" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10381" name="JMQ JMS Queue" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10382" name="JMQ JMS Queue" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10383" name="listMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10384" name="listMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10385" name="listScheduledMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10386" name="listScheduledMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10387" name="listInProcessMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10388" name="listInProcessMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10389" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10390" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10391" name="Memory Pool" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10392" name="Garbage Collector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10393" name="RHQ Server Alerts Engine Subsystem" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10394" name="reloadCaches" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10395" name="RHQ Server Measurement Subsystem" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10396" name="RHQ Server Group Definition / DynaGroups Subsystem" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10397" name="retrieveStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10398" name="RHQ Server Communications Subsystem" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10399" name="RHQ Server Communications Subsystem" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10400" name="viewReceivedCallTimeData" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10401" name="RHQ Server Remote API Subsystem" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10402" name="viewReceivedCallTimeData" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10403" name="RHQ Server Plugin Subsystem" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10404" name="JBossCache" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10405" name="JBossCache" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10406" name="listAssociatedMBeans" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10407" name="VHost" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10408" name="Hibernate Statistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10409" name="viewQueries" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10410" name="Postgres Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10411" name="Postgres Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10412" name="listProcessStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10413" name="Database" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10414" name="invokeSql" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10415" name="invokeSql" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10416" name="User" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10417" name="User" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10418" name="Table" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10419" name="Table" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10420" name="Query" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10421" name="Oracle Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10422" name="Oracle Detailed Statistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10423" name="Oracle User" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10424" name="MySql Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10425" name="listProcessStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10426" name="User" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10427" name="Database" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10428" name="invokeSql" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10429" name="invokeSql" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10430" name="Table" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10431" name="Sudoers" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10432" name="Sudoers" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10433" name="Samba Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10434" name="Samba Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10435" name="Samba Share" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10436" name="Samba Share" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10437" name="Postfix Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10438" name="Postfix Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10439" name="Access" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10440" name="Access" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10441" name="SSHD" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10442" name="SSHD" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10443" name="Hosts File" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10444" name="Hosts File" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10445" name="GRUB" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10446" name="GRUB" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10447" name="Cron" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10448" name="Cron" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10449" name="Cron Tab" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10450" name="Cron Tab" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10451" name="Cobbler" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10452" name="Cobbler" description="%NULL%" version="%NULL%" config_format="STRUCTURED_AND_RAW"/> - <rhq_config_def id="10453" name="Apache HTTP Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10454" name="Apache HTTP Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10455" name="start" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10456" name="stop" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10457" name="restart" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10458" name="start_ssl" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10459" name="graceful_restart" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10460" name="config_test" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10461" name="install_mod_jk" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10462" name="install_mod_jk" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10463" name="Mod JK" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10464" name="Apache Virtual Host" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10465" name="Apache Virtual Host" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10466" name="Directory" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10467" name="Directory" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10468" name="IfModule" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10469" name="IfModule Parameters" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10470" name="Aliases File" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10471" name="Aliases File" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10472" name="UrlSource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10473" name="DiskSource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10474" name="YumSource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> - <rhq_config_def id="10475" name="HttpSource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> -</dataset>
commit b25013d1c901621e490e31d110a0ec8bca44cb3c Author: Lukas Krejci lkrejci@redhat.com Date: Tue Sep 7 15:30:59 2010 +0200
Another set of changes to (among others) correctly handle all the variants of the one-to-one mapping. The only thing left to do is to properly order the rows of self-dependent tables.
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Entity.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Entity.java index c1da68e..2bc92a0 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Entity.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Entity.java @@ -42,7 +42,7 @@ public class Entity { private String name;
@XmlAttribute - private Boolean includeAllDependents; + private Boolean includeAllFields;
@XmlElement(name = "rel") private Set<Relationship> relationships = new HashSet<Relationship>(); @@ -69,15 +69,15 @@ public class Entity { /** * @return the allDependents */ - public Boolean getIncludeAllDependents() { - return includeAllDependents; + public boolean isIncludeAllFields() { + return includeAllFields == null ? false :includeAllFields; }
/** * @param allDependents the allDependents to set */ - public void setIncludeAllDependents(Boolean allDependents) { - this.includeAllDependents = allDependents; + public void setIncludeAllFields(Boolean allDependents) { + this.includeAllFields = allDependents; }
/** diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/ExportConfiguration.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/ExportConfiguration.java index ab649bf..1e72333 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/ExportConfiguration.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/ExportConfiguration.java @@ -52,9 +52,12 @@ public class ExportConfiguration { @XmlAttribute private String packagePrefix;
+ @XmlAttribute + private Boolean includeExplicitDependentsImplicitly; + @XmlTransient private Properties settings; - + public Set<Entity> getEntities() { return entity; } @@ -85,9 +88,10 @@ public class ExportConfiguration { return e; } } - + return null; } + public String getPackagePrefix() { return packagePrefix; } @@ -97,23 +101,37 @@ public class ExportConfiguration { }
/** + * @return the includeExplicitDependentsImplicitly + */ + public boolean isIncludeExplicitDependentsImplicitly() { + return includeExplicitDependentsImplicitly == null ? true : includeExplicitDependentsImplicitly; + } + + /** + * @param includeExplicitDependentsImplicitly the includeExplicitDependentsImplicitly to set + */ + public void setIncludeExplicitDependentsImplicitly(boolean includeExplicitDependentsImplicitly) { + this.includeExplicitDependentsImplicitly = includeExplicitDependentsImplicitly; + } + + /** * @return the settings */ public Properties getSettings() { return settings; } - + /** * @param settings the settings to set */ public void setSettings(Properties settings) { this.settings = settings; } - + public static JAXBContext getJAXBContext() throws JAXBException { return JAXBContext.newInstance(ExportConfiguration.class, Entity.class, Relationship.class); } - + public static ExportConfiguration fromRealDependencyGraph(String packagePrefix, org.rhq.helpers.perftest.support.jpa.EntityDependencyGraph g) { ExportConfiguration ret = new ExportConfiguration(); @@ -132,8 +150,8 @@ public class ExportConfiguration { Set<Relationship> edges = new HashSet<Relationship>();
for (Edge edge : node.getEdges()) { - if (edge.getFrom() == node) { - edges.add(fromRealEdge(edge, realToSerialized)); + if (edge.getFrom() == node) { + edges.add(fromRealEdge(node, edge, realToSerialized)); } }
@@ -156,18 +174,16 @@ public class ExportConfiguration { return ret; }
- private static Relationship fromRealEdge(Edge edge, Map<Node, Entity> realToSerializedNodes) { + private static Relationship fromRealEdge(Node currentNode, Edge edge, Map<Node, Entity> realToSerializedNodes) { Relationship ret = new Relationship(); - if (edge.getFromField() != null) { - ret.setSourceField(edge.getFromField().getName()); + if (currentNode.equals(edge.getFrom())) { + if (edge.getFromField() != null) { + ret.setField(edge.getFromField().getName()); + } } else { - //this is intentional... the relation is either defined by the from field - //or, if it's not defined by the to field and the target node. if (edge.getToField() != null) { - ret.setTargetField(edge.getToField().getName()); + ret.setField(edge.getToField().getName()); } - - ret.setTargetEntity(realToSerializedNodes.get(edge.getTo())); } return ret; } @@ -179,8 +195,7 @@ public class ExportConfiguration { org.rhq.helpers.perftest.support.jpa.EntityDependencyGraph edg = new org.rhq.helpers.perftest.support.jpa.EntityDependencyGraph(); edg.addEntity(Class.forName("org.rhq.core.domain.resource.Resource"));
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, - new Boolean(true)); + m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, new Boolean(true)); m.marshal(ExportConfiguration.fromRealDependencyGraph("org.rhq.core.domain", edg), System.out); } } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Relationship.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Relationship.java index 7d2894d..9f0d99b 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Relationship.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Relationship.java @@ -22,9 +22,7 @@ package org.rhq.helpers.perftest.support.config; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlIDREF; import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlTransient;
/** * @@ -35,80 +33,25 @@ import javax.xml.bind.annotation.XmlTransient; public class Relationship {
@XmlAttribute - private String sourceField; - - @XmlAttribute - private String targetField; - - @XmlIDREF - @XmlAttribute - private Entity targetEntity; - - @XmlTransient - private Entity sourceEntity; + private String field;
/** * @return the fromField */ - public String getSourceField() { - return sourceField; + public String getField() { + return field; }
/** * @param fromField the fromField to set */ - public void setSourceField(String fromField) { - this.sourceField = fromField; - } - - /** - * @return the toField - */ - public String getTargetField() { - return targetField; - } - - /** - * @param toField the toField to set - */ - public void setTargetField(String toField) { - this.targetField = toField; - } - - /** - * @return the targetNode - */ - public Entity getTargetEntity() { - return targetEntity; - } - - /** - * @param targetNode the targetNode to set - */ - public void setTargetEntity(Entity targetNode) { - this.targetEntity = targetNode; - } - - /** - * @return the sourceNode - */ - public Entity getSourceEntity() { - return sourceEntity; - } - - /** - * @param sourceNode the sourceNode to set - */ - public void setSourceEntity(Entity sourceNode) { - this.sourceEntity = sourceNode; + public void setField(String fromField) { + this.field = fromField; }
public int hashCode() { - int fromHash = sourceField == null ? 1 : sourceField.hashCode(); - int toHash = targetField == null ? 1 : targetField.hashCode(); - int targetHash = targetEntity == null ? 1 : targetEntity.hashCode(); - - return fromHash * toHash * targetHash; + int hash = field == null ? 1 : field.hashCode(); + return hash; }
public boolean equals(Object other) { @@ -118,10 +61,6 @@ public class Relationship {
Relationship o = (Relationship) other;
- boolean fromEq = sourceField == null ? o.sourceField == null : sourceField.equals(o.sourceField); - boolean toEq = targetField == null ? o.targetField == null : targetField.equals(o.targetField); - boolean targetEq = targetEntity == null ? o.targetEntity == null : targetEntity.equals(o.targetEntity); - - return fromEq && toEq && targetEq; + return field == null ? o.field == null : field.equals(o.field); } } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipFilter.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipFilter.java index ce5c7c0..d03a4f8 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipFilter.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipFilter.java @@ -27,7 +27,7 @@ import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.util.HashMap; import java.util.HashSet; -import java.util.Iterator; +import java.util.LinkedHashSet; import java.util.Map; import java.util.Set;
@@ -35,22 +35,16 @@ import javax.xml.bind.JAXBContext; import javax.xml.bind.Unmarshaller;
import org.dbunit.database.DatabaseConnection; +import org.dbunit.database.DatabaseSequenceFilter; import org.dbunit.database.IDatabaseConnection; -import org.dbunit.database.PrimaryKeyFilteredTableWrapper; import org.dbunit.dataset.DataSetException; import org.dbunit.dataset.IDataSet; -import org.dbunit.dataset.ITable; import org.dbunit.dataset.ITableIterator; -import org.dbunit.dataset.ITableMetaData; -import org.dbunit.dataset.filter.AbstractTableFilter; -import org.rhq.helpers.perftest.support.config.Entity; -import org.rhq.helpers.perftest.support.config.Relationship; import org.rhq.helpers.perftest.support.config.ExportConfiguration; import org.rhq.helpers.perftest.support.jpa.ColumnValues; import org.rhq.helpers.perftest.support.jpa.ConfigurableDependencyInclusionResolver; import org.rhq.helpers.perftest.support.jpa.DependencyInclusionResolver; import org.rhq.helpers.perftest.support.jpa.DependencyType; -import org.rhq.helpers.perftest.support.jpa.EagerMappingInclusionResolver; import org.rhq.helpers.perftest.support.jpa.Edge; import org.rhq.helpers.perftest.support.jpa.EntityDependencyGraph; import org.rhq.helpers.perftest.support.jpa.Node; @@ -62,48 +56,50 @@ import org.rhq.helpers.perftest.support.jpa.mapping.RelationshipTranslation; * * @author Lukas Krejci */ -public class EntityRelationshipFilter extends AbstractTableFilter { - - private IDatabaseConnection connection; - - private EntityDependencyGraph edg; - private Map<String, Node> tableToNode = new HashMap<String, Node>(); - private Map<String, Edge> relationTableToEdge = new HashMap<String, Edge>(); - private Map<Class<?>, Set<ColumnValues>> primaryPks = new HashMap<Class<?>, Set<ColumnValues>>(); - private DependencyInclusionResolver inclusionResolver; - +public class EntityRelationshipFilter extends DatabaseSequenceFilter { + + private ColumnValuesTableMap resolvedPks; + + //we need to compute the resolvedPks *AND* provide the tables necessary for inclusion + //to the super-constructor. Use this hack to help store away the resolution for initialization + //until after the super constructor call. + private static final ThreadLocal<ColumnValuesTableMap> RESOLUTION_IN_CONSTRUCTOR = new ThreadLocal<ColumnValuesTableMap>(); + public EntityRelationshipFilter(IDatabaseConnection connection, Map<Class<?>, Set<ColumnValues>> allowedPks, - DependencyInclusionResolver inclusionResolver) { - this.connection = connection; - this.inclusionResolver = inclusionResolver; - - edg = new EntityDependencyGraph(); - edg.addEntities(allowedPks.keySet()); - - primaryPks.putAll(allowedPks); - } - - public boolean isValidName(String tableName) throws DataSetException { - return tableToNode.get(tableName) != null || relationTableToEdge.get(tableName) != null; + DependencyInclusionResolver inclusionResolver) throws DataSetException, SQLException { + super(connection, getNeccesaryTablesAndSetResolution(connection, inclusionResolver, allowedPks)); + resolvedPks = RESOLUTION_IN_CONSTRUCTOR.get(); + RESOLUTION_IN_CONSTRUCTOR.set(null); }
public ITableIterator iterator(IDataSet dataSet, boolean reversed) throws DataSetException { - //TODO iterate over the tables in the correct order from the roots of the dependency graph down. - //TODO actually do the PK filtering. - - try { - ColumnValuesTableMap resolvedPks = new ColumnValuesTableMap(); - resolvePks(primaryPks, resolvedPks, true); + return new EntityRelationshipTableIterator(super.iterator(dataSet, reversed), resolvedPks); + }
- return new EntityRelationshipTableIterator(reversed ? dataSet.reverseIterator() : dataSet.iterator(), - resolvedPks); - } catch (SQLException e) { - throw new DataSetException("Primary keys resolution failed during dataset inspection.", e); + private static String[] getNeccesaryTablesAndSetResolution(IDatabaseConnection connection, DependencyInclusionResolver inclusionResolver, Map<Class<?>, Set<ColumnValues>> primaryPks) throws SQLException { + ColumnValuesTableMap resolution = resolve(connection, inclusionResolver, primaryPks); + RESOLUTION_IN_CONSTRUCTOR.set(resolution); + + Set<String> tables = new HashSet<String>(); + + for(String t : resolution.keySet()) { + tables.add(t.toLowerCase()); } + return tables.toArray(new String[tables.size()]); } - - private void resolvePks(Map<Class<?>, Set<ColumnValues>> primaryPks, ColumnValuesTableMap resolvedPks, - boolean resolveDependents) throws SQLException { + + private static ColumnValuesTableMap resolve(IDatabaseConnection connection, DependencyInclusionResolver inclusionResolver, Map<Class<?>, Set<ColumnValues>> primaryPks) throws SQLException { + ColumnValuesTableMap resolution = new ColumnValuesTableMap(); + + EntityDependencyGraph edg = new EntityDependencyGraph(); + edg.addEntities(primaryPks.keySet()); + + resolvePks(connection, edg, inclusionResolver, primaryPks, resolution); + + return resolution; + } + + private static void resolvePks(IDatabaseConnection connection, EntityDependencyGraph edg, DependencyInclusionResolver inclusionResolver, Map<Class<?>, Set<ColumnValues>> primaryPks, ColumnValuesTableMap resolvedPks) throws SQLException { for (Map.Entry<Class<?>, Set<ColumnValues>> entry : primaryPks.entrySet()) { Node node = edg.getNode(entry.getKey()); Set<ColumnValues> pks = entry.getValue(); @@ -121,12 +117,12 @@ public class EntityRelationshipFilter extends AbstractTableFilter { } } } - - resolvePks(node, pks, resolvedPks); + + resolvePks(connection, inclusionResolver, node, pks, resolvedPks); } }
- private void resolvePks(Node node, Set<ColumnValues> nodePks, ColumnValuesTableMap resolvedPks) throws SQLException { + private static void resolvePks(IDatabaseConnection connection, DependencyInclusionResolver inclusionResolver, Node node, Set<ColumnValues> nodePks, ColumnValuesTableMap resolvedPks) throws SQLException { Set<ColumnValues> unresolvedPks;
Set<ColumnValues> resolvedTablePks = resolvedPks.get(node.getTranslation().getTableName()); @@ -137,7 +133,7 @@ public class EntityRelationshipFilter extends AbstractTableFilter { //yes, this table has been identified as "include all" return; } - + if (nodePks == null) { //there is an entry for this table in the resolved pks already and we're //telling it to include everything... let's leave what's in the resolution @@ -149,7 +145,7 @@ public class EntityRelationshipFilter extends AbstractTableFilter { if (resolvedTablePks == null || resolvedTablePks.isEmpty()) { unresolvedPks = nodePks; } else { - unresolvedPks = new HashSet<ColumnValues>(); + unresolvedPks = new LinkedHashSet<ColumnValues>(); for (ColumnValues pk : nodePks) { if (!resolvedTablePks.contains(pk)) { unresolvedPks.add(pk); @@ -175,8 +171,8 @@ public class EntityRelationshipFilter extends AbstractTableFilter { //"back-references", like combined @JoinColumn @ManyToOne defined only on the target //entity if (e.getFromField() != null && inclusionResolver.isValid(e)) { - Set<ColumnValues> dependentPks = resolveDependentPks(e, unresolvedPks, resolvedPks); - resolvePks(e.getTo(), dependentPks, resolvedPks); + Set<ColumnValues> dependentPks = resolveDependentPks(connection, e, unresolvedPks, resolvedPks); + resolvePks(connection, inclusionResolver, e.getTo(), dependentPks, resolvedPks); } else { //add nothing or create a new record for this table //this will mark it as "done" @@ -184,8 +180,8 @@ public class EntityRelationshipFilter extends AbstractTableFilter { } } else { if (e.getToField() != null) { - Set<ColumnValues> dependingPks = resolveDependingPks(e, unresolvedPks, resolvedPks); - resolvePks(e.getFrom(), dependingPks, resolvedPks); + Set<ColumnValues> dependingPks = resolveDependingPks(connection, e, unresolvedPks, resolvedPks); + resolvePks(connection, inclusionResolver, e.getFrom(), dependingPks, resolvedPks); } else { resolvedPks.getOrCreate(e.getFrom().getTranslation().getTableName()); } @@ -193,8 +189,8 @@ public class EntityRelationshipFilter extends AbstractTableFilter { } }
- private Set<ColumnValues> - resolveDependentPks(Edge edge, Set<ColumnValues> fromPks, ColumnValuesTableMap resolvedPks) throws SQLException { + private static Set<ColumnValues> + resolveDependentPks(IDatabaseConnection connection, Edge edge, Set<ColumnValues> fromPks, ColumnValuesTableMap resolvedPks) throws SQLException {
RelationshipTranslation translation = edge.getTranslation();
@@ -227,7 +223,7 @@ public class EntityRelationshipFilter extends AbstractTableFilter { translation.getRelationTableFromColumns().length, translation.getRelationTableToColumns().length);
if (fromPks != null) { - Set<ColumnValues> fromAndToValues = getValuesFromTable(translation.getRelationTable(), fromAndToCols, + Set<ColumnValues> fromAndToValues = getValuesFromTable(connection, translation.getRelationTable(), fromAndToCols, columnValues);
//add the relation table to the resolvedPks using fromAndToValues as its primary keys @@ -257,7 +253,7 @@ public class EntityRelationshipFilter extends AbstractTableFilter { }
//get the values of the "fromColumns" of the relation from the "from" table - Set<ColumnValues> columnValues = getValuesFromTable(edge.getFrom().getTranslation().getTableName(), + Set<ColumnValues> columnValues = getValuesFromTable(connection, edge.getFrom().getTranslation().getTableName(), translation.getFromColumns(), fromPks);
//now change the names of the columns in columnValues to correspond to the ones @@ -269,14 +265,14 @@ public class EntityRelationshipFilter extends AbstractTableFilter { } }
- Set<ColumnValues> ret = getValuesFromTable(edge.getTo().getTranslation().getTableName(), edge.getTo() + Set<ColumnValues> ret = getValuesFromTable(connection, edge.getTo().getTranslation().getTableName(), edge.getTo() .getTranslation().getPkColumns(), columnValues);
return removeValuesWithNullColumn(ret); } }
- private Set<ColumnValues> resolveDependingPks(Edge edge, Set<ColumnValues> toPks, ColumnValuesTableMap resolvedPks) + private static Set<ColumnValues> resolveDependingPks(IDatabaseConnection connection, Edge edge, Set<ColumnValues> toPks, ColumnValuesTableMap resolvedPks) throws SQLException {
RelationshipTranslation translation = edge.getTranslation(); @@ -287,16 +283,21 @@ public class EntityRelationshipFilter extends AbstractTableFilter { }
//get the foreign keys in the "to" table - Set<ColumnValues> columnValues = getValuesFromTable(edge.getTo().getTranslation().getTableName(), + Set<ColumnValues> columnValues = getValuesFromTable(connection, edge.getTo().getTranslation().getTableName(), translation.getToColumns(), toPks);
- //now rename the foreign keys to their primary key counterparts in the "from" table + //now rename the foreign keys to their foreign key counterparts in the "from" table for (int i = 0; i < translation.getFromColumns().length; ++i) { for (ColumnValues cols : columnValues) { cols.getColumns().get(i).setName(translation.getFromColumns()[i]); } }
+ //now translate the foreign keys into primary keys + EntityTranslation fromTranslation = edge.getFrom().getTranslation(); + columnValues = getValuesFromTable(connection, fromTranslation.getTableName(), fromTranslation.getPkColumns(), + removeValuesWithNullColumn(columnValues)); + return removeValuesWithNullColumn(columnValues); } else { //only bother with one-to-many relationships. A many-to-many @@ -332,7 +333,7 @@ public class EntityRelationshipFilter extends AbstractTableFilter { translation.getRelationTableFromColumns().length, translation.getRelationTableToColumns().length);
if (toPks != null) { - Set<ColumnValues> fromAndToValues = getValuesFromTable(translation.getRelationTable(), + Set<ColumnValues> fromAndToValues = getValuesFromTable(connection, translation.getRelationTable(), fromAndToCols, columnValues);
//add the relation table to the resolvedPks using fromAndToValues as its primary keys @@ -399,7 +400,7 @@ public class EntityRelationshipFilter extends AbstractTableFilter { return bld.substring(1); }
- private Set<ColumnValues> getValuesFromTable(String tableName, String[] valueColumns, + private static Set<ColumnValues> getValuesFromTable(IDatabaseConnection connection, String tableName, String[] valueColumns, Set<ColumnValues> knownlColumns) throws SQLException { //I know, doing this one by one is super lame, but prevents the 1000 IN clause members limit of Oracle StringBuilder sqlCommon = new StringBuilder("SELECT ").append(colNamesToSql(valueColumns)).append(" FROM ") diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipTableIterator.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipTableIterator.java index a8d4c5d..841cd4e 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipTableIterator.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipTableIterator.java @@ -19,7 +19,9 @@
package org.rhq.helpers.perftest.support.dbunit;
+import java.util.ArrayList; import java.util.HashSet; +import java.util.List; import java.util.Set;
import org.dbunit.dataset.DataSetException; @@ -101,10 +103,9 @@ public class EntityRelationshipTableIterator implements ITableIterator { private class FilteredTable implements ITable {
private ITable wrappedTable; - private Set<Integer> allowedRowNumbers; + private List<Integer> allowedRowNumbers;
public FilteredTable(ITable wrappedTable, Set<ColumnValues> allowedPks) throws DataSetException { - super(); this.wrappedTable = wrappedTable; this.allowedRowNumbers = getRowNumbers(wrappedTable, allowedPks); } @@ -118,33 +119,29 @@ public class EntityRelationshipTableIterator implements ITableIterator { }
public Object getValue(int row, String column) throws DataSetException { - if (!allowedRowNumbers.contains(Integer.valueOf(row))) { + if (row >= allowedRowNumbers.size()) { throw new RowOutOfBoundsException(); } - return wrappedTable.getValue(row, column); + return wrappedTable.getValue(allowedRowNumbers.get(row), column); }
- private Set<Integer> getRowNumbers(ITable table, Set<ColumnValues> pks) throws DataSetException { - Set<Integer> ret = new HashSet<Integer>(); + private List<Integer> getRowNumbers(ITable table, Set<ColumnValues> pks) throws DataSetException { + List<Integer> ret = new ArrayList<Integer>();
if (pks.isEmpty()) { return ret; }
ColumnValues sample = pks.iterator().next(); - + for (int i = 0; i < table.getRowCount(); ++i) { - boolean add = true; - + ColumnValues rowValues = new ColumnValues(); for (ColumnValues.Column c : sample) { Object val = table.getValue(i, c.getName()); - if (val == null ? c.getValue() != null : !val.equals(c.getValue())) { - add = false; - break; - } + rowValues.add(c.getName(), val); }
- if (add) { + if (pks.contains(rowValues)) { ret.add(i); } } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/CsvInput.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/CsvInput.java index ab20b2b..fbf1c85 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/CsvInput.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/CsvInput.java @@ -53,6 +53,7 @@ public class CsvInput implements Input { }
public void close() throws IOException { + producer = null; }
} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/InputStreamProvider.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/InputStreamProvider.java new file mode 100644 index 0000000..22138be --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/InputStreamProvider.java @@ -0,0 +1,39 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.input; + +import java.io.IOException; +import java.io.InputStream; + +import org.rhq.helpers.perftest.support.Input; + +/** + * A simple interface used by {@link Input} implementations to get a "fresh" copy of the + * same input stream. + * + * @author Lukas Krejci + */ +public interface InputStreamProvider { + + /** + * @return a new input stream corresponding to the same underlying "resource" (e.g. file, URL, ...) each time. + */ + InputStream createInputStream() throws IOException; +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/XmlInput.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/XmlInput.java index 7b7ae7e..a5367c3 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/XmlInput.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/XmlInput.java @@ -33,24 +33,27 @@ import org.xml.sax.InputSource; */ public class XmlInput implements Input {
- InputStream stream; + InputStreamProvider provider; + InputStream currentStream; FlatXmlProducer producer; boolean doClose;
- public XmlInput(InputStream stream, boolean doClose) { - this.stream = stream; + public XmlInput(InputStreamProvider provider, boolean doClose) { + this.provider = provider; this.doClose = doClose; }
public void close() throws IOException { - if (doClose) { - stream.close(); + if (doClose && currentStream != null) { + currentStream.close(); } + producer = null; }
public IDataSetProducer getProducer() throws Exception { if (producer == null) { - producer = new FlatXmlProducer(new InputSource(stream)); + currentStream = provider.createInputStream(); + producer = new FlatXmlProducer(new InputSource(currentStream)); }
return producer; diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ColumnValues.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ColumnValues.java index ba7cb05..0207f1e 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ColumnValues.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ColumnValues.java @@ -20,6 +20,7 @@ package org.rhq.helpers.perftest.support.jpa;
import java.util.ArrayList; +import java.util.Arrays; import java.util.HashSet; import java.util.Iterator; import java.util.List; @@ -115,6 +116,10 @@ public class ColumnValues implements Iterable<ColumnValues.Column>, Cloneable { } }
+ public ColumnValues(Column... columns) { + this.columns.addAll(Arrays.asList(columns)); + } + public ColumnValues(Map<String, Object> pks) { for (Map.Entry<String, Object> entry : pks.entrySet()) { columns.add(new Column(entry.getKey(), entry.getValue())); diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ConfigurableDependencyInclusionResolver.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ConfigurableDependencyInclusionResolver.java index 5502466..ea1181e 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ConfigurableDependencyInclusionResolver.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ConfigurableDependencyInclusionResolver.java @@ -19,11 +19,11 @@
package org.rhq.helpers.perftest.support.jpa;
-import java.util.Set; +import java.lang.reflect.Field;
import org.rhq.helpers.perftest.support.config.Entity; -import org.rhq.helpers.perftest.support.config.Relationship; import org.rhq.helpers.perftest.support.config.ExportConfiguration; +import org.rhq.helpers.perftest.support.config.Relationship;
/** * @@ -33,46 +33,51 @@ public class ConfigurableDependencyInclusionResolver implements DependencyInclus
private ExportConfiguration edg;
- public ConfigurableDependencyInclusionResolver() { - - } - public ConfigurableDependencyInclusionResolver(ExportConfiguration edg) { this.edg = edg; }
public boolean isValid(Edge edge) { + Entity from = edg.getEntity(edge.getFrom().getEntity()); + Entity to = edg.getEntity(edge.getTo().getEntity());
- Entity directFrom = edg.getEntity(edge.getFrom().getEntity()); - if (directFrom != null) { - if (directFrom.getIncludeAllDependents() != null - && directFrom.getIncludeAllDependents().equals(Boolean.TRUE)) { - return true; - } - for (Relationship r : directFrom.getRelationships()) { - if (r.getSourceField() != null) { - if (edge.getFromField() != null && edge.getFromField().getName().equals(r.getSourceField())) { - return true; - } - } else { - String edgeToField = edge.getToField() == null ? null : edge.getToField().getName(); - Class<?> target = edge.getTo().getEntity(); - - if (edgeToField != null && edgeToField.equals(r.getTargetField()) - && target.equals(edg.getClassForEntity(directFrom))) { - return true; - } + //check if we should include all the explicitly defined dependent entities + //implicitly. + if (edg.isIncludeExplicitDependentsImplicitly()) { + if (edge.getFromField() != null) { + //this is a candidate for implicit inclusion, but check if there + //aren't some explicit inclusion rules configured first. + if (from == null) { + //k, there aren't + return true; } } }
- //check if some of the parents wasn't declared as "includeAllDependents" - Set<Node> parentFroms = edge.getFrom().getTransitiveParents(true); + if (from != null) { + //we have an explicit configuration for this entity, let's see if the edge matches + return isValid(from, edge.getFromField()); + }
- for (Node parentFrom : parentFroms) { - Entity parentEntity = edg.getEntity(parentFrom.getEntity()); - if (parentEntity != null && parentEntity.getIncludeAllDependents() != null - && parentEntity.getIncludeAllDependents().equals(Boolean.TRUE)) { + if (to != null) { + return isValid(to, edge.getToField()); + } + + return false; + } + + private boolean isValid(Entity entity, Field field) { + if (entity.isIncludeAllFields()) { + return true; + } + + if (field == null) { + return false; + } + + for (Relationship relationship : entity.getRelationships()) { + String fieldName = relationship.getField(); + if (field.getName().equals(fieldName)) { return true; } } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EntityDependencyGraph.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EntityDependencyGraph.java index b91d960..390c2db 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EntityDependencyGraph.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EntityDependencyGraph.java @@ -194,8 +194,19 @@ public class EntityDependencyGraph { String mappedBy = oneToOne.mappedBy();
if (!mappedBy.isEmpty()) { - targetField = target.getEntity().getField(mappedBy); + targetField = JPAUtil.getField(target.getEntity(), mappedBy); forward = false; + } else { + //try to find the matching @OneToOne in target + Set<Field> possibleTargetFields = JPAUtil.getJPAFields(target.getEntity(), OneToOne.class); + for (Field f : possibleTargetFields) { + if (n.getEntity().equals(getRelevantType(f, null)) && + f.getAnnotation(OneToOne.class).mappedBy().equals(field.getName())) { + + targetField = f; + break; + } + } }
if (forward) { diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Node.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Node.java index c4bd27b..d477d6f 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Node.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Node.java @@ -76,6 +76,28 @@ public class Node implements Comparable<Node> { return edges; }
+ public Set<Edge> getOutgoingEdges() { + Set<Edge> ret = new HashSet<Edge>(); + for(Edge e : edges) { + if (this == e.getFrom()) { + ret.add(e); + } + } + + return ret; + } + + public Set<Edge> getIncomingEdges() { + Set<Edge> ret = new HashSet<Edge>(); + for(Edge e : edges) { + if (this == e.getTo()) { + ret.add(e); + } + } + + return ret; + } + public SortedSet<Node> getParents(boolean onlyExplicitRelations) { SortedSet<Node> ret = new TreeSet<Node>();
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/ColumnValuesTableMap.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/ColumnValuesTableMap.java index 38bd802..d6e669a 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/ColumnValuesTableMap.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/ColumnValuesTableMap.java @@ -21,6 +21,7 @@ package org.rhq.helpers.perftest.support.jpa.mapping;
import java.util.HashMap; import java.util.HashSet; +import java.util.LinkedHashSet; import java.util.Set;
import org.rhq.helpers.perftest.support.jpa.ColumnValues; @@ -36,7 +37,7 @@ public class ColumnValuesTableMap extends HashMap<String, Set<ColumnValues>> { public Set<ColumnValues> getOrCreate(Object key) { Set<ColumnValues> ret = super.get(key); if (ret == null) { - ret = new HashSet<ColumnValues>(); + ret = new LinkedHashSet<ColumnValues>(); put((String)key, ret); }
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/MappingTranslator.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/MappingTranslator.java index c6b2f6e..2d7f566 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/MappingTranslator.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/MappingTranslator.java @@ -21,22 +21,20 @@ package org.rhq.helpers.perftest.support.jpa.mapping;
import java.lang.annotation.Annotation; import java.lang.reflect.Field; +import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; +import java.util.List; import java.util.Set;
import javax.persistence.Column; import javax.persistence.DiscriminatorValue; -import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.IdClass; import javax.persistence.JoinColumn; import javax.persistence.JoinColumns; import javax.persistence.JoinTable; -import javax.persistence.ManyToMany; import javax.persistence.ManyToOne; -import javax.persistence.OneToMany; -import javax.persistence.OneToOne; import javax.persistence.Table;
import org.rhq.helpers.perftest.support.jpa.Edge; @@ -157,7 +155,7 @@ public class MappingTranslator { } }
- private static String[] getJoinColumnNames(Field field) { + private static List<JoinColumn> getJoinColumns(Field field) { if (field == null) { return null; } @@ -166,7 +164,35 @@ public class MappingTranslator {
if (colSpec != null) { //a single join column specified - return new String[] { colSpec.name() }; + return Collections.singletonList(colSpec); + } else { + //see, if there are more join cols + JoinColumns joinColumns = field.getAnnotation(JoinColumns.class); + if (joinColumns != null) { + JoinColumn[] cols = joinColumns.value(); + List<JoinColumn> ret = new ArrayList<JoinColumn>(); + + for(int i = 0; i < cols.length; ++i) { + ret.add(cols[i]); + } + + return ret; + } + } + + return null; + } + + private static String[] referencedJoinColumnNames(Field field) { + if (field == null) { + return null; + } + + JoinColumn colSpec = field.getAnnotation(JoinColumn.class); + + if (colSpec != null) { + //a single join column specified + return new String[] { colSpec.referencedColumnName().toUpperCase() }; } else { //see, if there are more join cols JoinColumns joinColumns = field.getAnnotation(JoinColumns.class); @@ -175,7 +201,7 @@ public class MappingTranslator { String[] ret = new String[cols.length];
for(int i = 0; i < cols.length; ++i) { - ret[i] = cols[i].name(); + ret[i] = cols[i].referencedColumnName().toUpperCase(); }
return ret; @@ -259,18 +285,53 @@ public class MappingTranslator {
RelationshipTranslation translation = new RelationshipTranslation();
- String[] fromColumn = getJoinColumnNames(fromField); - if (fromColumn == null) { - fromColumn = relationship.getFrom().getTranslation().getPkColumns(); - } + List<JoinColumn> joins = getJoinColumns(fromField);
- String[] toColumn = getJoinColumnNames(toField); - if (toColumn == null) { - toColumn = relationship.getTo().getTranslation().getPkColumns(); + String[] fCols = new String[joins.size()]; + String[] tCols = new String[joins.size()]; + + int i = 0; + for(JoinColumn c : joins) { + String fkey = c.name().toUpperCase(); + String refCol = c.referencedColumnName().toUpperCase(); + + //determine whether we have the foreign key in the from or to table + if (toField == null) { + //unidirectional mapping, the fkey is in the from table + fCols[i] = fkey; + if (!refCol.isEmpty()) { + tCols[i] = refCol; + } + } else if (refCol.isEmpty()) { + //bidirectional with no referenced column definition. + //the fkey is in the target table + tCols[i] = fkey; + } else { + //bidirectional with referenced column definition. + //the fkey is in the from table, referencing the refCol + fCols[i] = fkey; + tCols[i] = refCol; + } + ++i; + } + + //now fill in the empty fCols and tCols with the corresponding primary keys of the to table + String[] fromPks = relationship.getFrom().getTranslation().getPkColumns(); + for(i = 0; i < fCols.length; ++i) { + if (fCols[i] == null) { + fCols[i] = fromPks[i]; + } }
- translation.setFromColumns(fromColumn); - translation.setToColumns(toColumn); + String[] toPks = relationship.getTo().getTranslation().getPkColumns(); + for(i = 0; i < tCols.length; ++i) { + if (tCols[i] == null) { + tCols[i] = toPks[i]; + } + } + + translation.setFromColumns(fCols); + translation.setToColumns(tCols);
return translation; } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java index ec4475f..850fc0f 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java @@ -22,6 +22,7 @@ package org.rhq.helpers.perftest.support.testng; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; +import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Method; import java.sql.Connection; @@ -29,6 +30,7 @@ import java.sql.Connection; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.rhq.helpers.perftest.support.Importer; +import org.rhq.helpers.perftest.support.input.InputStreamProvider; import org.rhq.helpers.perftest.support.input.XmlInput; import org.testng.IInvokedMethod; import org.testng.IInvokedMethodListener; @@ -52,14 +54,14 @@ public class DatabaseSetupInterceptor implements IInvokedMethodListener { Method connectionProviderMethod = getConnectionProviderMethod(method, state);
try { - InputStream dataInput = getDataInput(state.url(), state.storage(), method); + InputStreamProvider dataInput = getDataInput(state.url(), state.storage(), method); Object classInstance = method.getTestMethod().getInstances()[0]; Connection connection = (Connection) connectionProviderMethod.invoke(classInstance, (Object[]) null);
- XmlInput input = new XmlInput(dataInput, state.storage() == DatabaseStateStorage.FILESYSTEM); + XmlInput input = new XmlInput(dataInput, true);
try { - Importer.run(connection, input.getProducer()); + Importer.run(connection, input); } finally { input.close(); } @@ -101,14 +103,22 @@ public class DatabaseSetupInterceptor implements IInvokedMethodListener {
}
- private static InputStream getDataInput(String url, DatabaseStateStorage storage, IInvokedMethod method) + private static InputStreamProvider getDataInput(final String url, DatabaseStateStorage storage, final IInvokedMethod method) throws FileNotFoundException { switch (storage) { case CLASSLOADER: - ClassLoader cl = method.getTestMethod().getMethod().getDeclaringClass().getClassLoader(); - return cl.getResourceAsStream(url); + return new InputStreamProvider() { + public InputStream createInputStream() throws IOException { + ClassLoader cl = method.getTestMethod().getMethod().getDeclaringClass().getClassLoader(); + return cl.getResourceAsStream(url); + } + }; case FILESYSTEM: - return new FileInputStream(new File(url)); + return new InputStreamProvider() { + public InputStream createInputStream() throws IOException { + return new FileInputStream(new File(url)); + } + }; default: return null; }
commit 1ffd7383e63ea50f1ab1ea331637388ca876b578 Author: Lukas Krejci lkrejci@redhat.com Date: Tue Sep 7 15:27:26 2010 +0200
Implement resetting the tables before importing the data.
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java index 9d7950f..42c5206 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java @@ -24,8 +24,7 @@ import java.util.Properties;
import org.dbunit.database.DatabaseConnection; import org.dbunit.database.IDatabaseConnection; -import org.dbunit.dataset.IDataSet; -import org.dbunit.dataset.stream.IDataSetProducer; +import org.dbunit.dataset.ReplacementDataSet; import org.dbunit.dataset.stream.StreamingDataSet; import org.dbunit.operation.DatabaseOperation; import org.rhq.helpers.perftest.support.dbunit.DbUnitUtil; @@ -40,16 +39,25 @@ public class Importer {
}
- public static void run(Connection jdbcConnection, IDataSetProducer producer) throws Exception { - run(new DatabaseConnection(jdbcConnection), producer); + public static void run(Connection jdbcConnection, Input input) throws Exception { + run(new DatabaseConnection(jdbcConnection), input); }
- public static void run(Properties settings, IDataSetProducer producer) throws Exception { - run(DbUnitUtil.getConnection(settings), producer); + public static void run(Properties settings, Input input) throws Exception { + run(DbUnitUtil.getConnection(settings), input); }
- private static void run(IDatabaseConnection connection, IDataSetProducer producer) throws Exception { - IDataSet data = new StreamingDataSet(producer); - DatabaseOperation.CLEAN_INSERT.execute(connection, data); + private static void run(IDatabaseConnection connection, Input input) throws Exception { + ReplacementDataSet dataSet = new ReplacementDataSet(new StreamingDataSet(input.getProducer())); + dataSet.addReplacementObject(Settings.NULL_REPLACEMENT, null); + + DatabaseOperation.DELETE_ALL.execute(connection, dataSet); + + input.close(); + + dataSet = new ReplacementDataSet(new StreamingDataSet(input.getProducer())); + dataSet.addReplacementObject(Settings.NULL_REPLACEMENT, null); + + DatabaseOperation.INSERT.execute(connection, dataSet); } } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Input.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Input.java index fadc603..3f87e52 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Input.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Input.java @@ -41,7 +41,8 @@ public interface Input { IDataSetProducer getProducer() throws Exception;
/** - * Closes any system resources that were used by the producer. + * Closes any system resources that were used by the producer and prepares the input to + * provide a new data set producer with the call to {@link #getProducer()}. * * @throws IOException */ diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Main.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Main.java index 80e04f2..1e7d03d 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Main.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Main.java @@ -136,7 +136,7 @@ public class Main { for(String entity : entities) { Entity e = new Entity(); e.setName(entity); - e.setIncludeAllDependents(true); + e.setIncludeAllFields(true); e.setFilter("SELECT * FROM " + MappingTranslator.getTableName(config.getClassForEntity(e))); config.getEntities().add(e); } @@ -154,7 +154,7 @@ public class Main { } else if (doImport) { Input input = Settings.getInputObject(format, ioFileName); try { - Importer.run(settings, input.getProducer()); + Importer.run(settings, input); } finally { input.close(); } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Settings.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Settings.java index 42d37e5..6d031b4 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Settings.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Settings.java @@ -28,6 +28,7 @@ import java.io.InputStream; import java.io.OutputStream;
import org.rhq.helpers.perftest.support.input.CsvInput; +import org.rhq.helpers.perftest.support.input.InputStreamProvider; import org.rhq.helpers.perftest.support.input.XmlInput; import org.rhq.helpers.perftest.support.output.CsvOutput; import org.rhq.helpers.perftest.support.output.XmlOutput; @@ -102,8 +103,11 @@ public class Settings {
switch (format) { case XML: - InputStream stream = inputSpec == null ? System.in : new FileInputStream(new File(inputSpec)); - return new XmlInput(stream, stream != System.in); + return new XmlInput(new InputStreamProvider() { + public InputStream createInputStream() throws FileNotFoundException { + return inputSpec == null ? System.in : new FileInputStream(new File(inputSpec)); + } + }, inputSpec != null); case CSV: return new CsvInput(new File(inputSpec)); default:
commit dfa045fa24c4a77d89da073a3e996d9cc15f24ed Author: Lukas Krejci lkrejci@redhat.com Date: Mon Sep 6 10:40:28 2010 +0200
First (sloooow) version of data export/import using pk value filtering.
diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/EntityDependencyGraph.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/EntityDependencyGraph.java deleted file mode 100644 index d2a9860..0000000 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/EntityDependencyGraph.java +++ /dev/null @@ -1,419 +0,0 @@ -/* - * RHQ Management Platform - * Copyright (C) 2005-2010 Red Hat, Inc. - * All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -package org.rhq.helpers.perftest.support; - -import static org.rhq.helpers.perftest.support.util.JPAUtil.getJPAFields; -import static org.rhq.helpers.perftest.support.util.JPAUtil.isEntity; - -import java.lang.annotation.Annotation; -import java.lang.reflect.Field; -import java.lang.reflect.ParameterizedType; -import java.lang.reflect.Type; -import java.lang.reflect.WildcardType; -import java.util.Collection; -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import javax.persistence.ManyToMany; -import javax.persistence.ManyToOne; -import javax.persistence.OneToMany; -import javax.persistence.OneToOne; -import javax.persistence.Table; - -import org.rhq.helpers.perftest.support.util.Annotations; - -/** - * - * @author Lukas Krejci - */ -public class EntityDependencyGraph { - - Map<Node, Node> nodes = new HashMap<Node, Node>(); - - public enum DependencyType { - ONE_TO_ONE { - public Class<? extends Annotation> annotationType() { - return OneToOne.class; - } - - public DependencyType getOpposite() { - return ONE_TO_ONE; - } - }, - MANY_TO_ONE{ - public Class<? extends Annotation> annotationType() { - return ManyToOne.class; - } - - public DependencyType getOpposite() { - return ONE_TO_MANY; - } - }, - ONE_TO_MANY{ - public Class<? extends Annotation> annotationType() { - return OneToMany.class; - } - - public DependencyType getOpposite() { - return MANY_TO_ONE; - } - }, - MANY_TO_MANY{ - public Class<? extends Annotation> annotationType() { - return ManyToMany.class; - } - - public DependencyType getOpposite() { - return MANY_TO_MANY; - } - }; - - public abstract DependencyType getOpposite(); - - public abstract Class<? extends Annotation> annotationType(); - } - - public static class Edge { - private Node from; - private Node to; - - private Field fromField; - private Field toField; - - private DependencyType dependencyType; - - public Edge(Node from, Node to, Field fromField, Field toField, DependencyType dependencyType) { - this.from = from; - this.to = to; - this.fromField = fromField; - this.toField = toField; - this.dependencyType = dependencyType; - } - - /** - * @return the from - */ - public Node getFrom() { - return from; - } - - /** - * @return the to - */ - public Node getTo() { - return to; - } - - /** - * @return the fromField - */ - public Field getFromField() { - return fromField; - } - - /** - * @return the toField - */ - public Field getToField() { - return toField; - } - - /** - * @return the dependencyType - */ - public DependencyType getDependencyType() { - return dependencyType; - } - - public int hashCode() { - return from.hashCode() * to.hashCode(); - } - - public boolean equals(Object other) { - if (!(other instanceof Edge)) { - return false; - } - - Edge o = (Edge) other; - - return fromField == o.fromField && toField == o.toField; - } - } - - public static class Node { - private Class<?> entity; - private Set<Edge> edges; - - public Node(Class<?> entity) { - this.entity = entity; - edges = new HashSet<Edge>(); - } - - public String getTable() { - Table tableAnnotation = entity.getAnnotation(Table.class); - - if (tableAnnotation == null) { - //I'm sure there are more complicated rules than this... - return entity.getSimpleName().toUpperCase(); - } - - return tableAnnotation.name(); - } - - public Class<?> getEntity() { - return entity; - } - - public void addParent(Node parent, Field parentField, Field thisField, DependencyType dependencyType) { - Edge edge = new Edge(parent, this, parentField, thisField, dependencyType); - - if (edges.add(edge)) { - parent.addChild(this, thisField, parentField, dependencyType.getOpposite()); - } - } - - public void addChild(Node child) { - if (children.add(child)) { - child.addParent(this); - } - } - - public Set<Edge> getEdges() { - return edges; - } - - public int hashCode() { - return entity.hashCode(); - } - - /** - * Returns true if other is a Node representing the same entity - * *OR* if other is a Class instance representing the same class - * as the entity of this node. - * - * This basically violates the contract of Object.equals() but - * is extremely handy for quick lookup in maps where nodes are keys - * without needing to create a new node instance. - */ - public boolean equals(Object other) { - if (!(other instanceof Node)) { - - if (other instanceof Class) { - return entity.equals(other); - } - } - - return entity.equals(((Node) other).getEntity()); - } - } - - public Node addEntity(Class<?> entity) { - Node n = new Node(entity); - return analyze(n); - } - - public Set<Node> getRootNodes() { - Set<Node> ret = new HashSet<Node>(); - - for (Node n : nodes.keySet()) { - if (n.getParents().isEmpty()) { - ret.add(n); - } - } - - return ret; - } - - public Set<Node> getLeafNodes() { - Set<Node> ret = new HashSet<Node>(); - - for (Node n : nodes.keySet()) { - if (n.getChildren().isEmpty()) { - ret.add(n); - } - } - - return ret; - } - - public String toString() { - StringBuilder bld = new StringBuilder(); - bld.append("Child tree:\n"); - toString(bld, getRootNodes(), false); - bld.append("\nParent tree:\n"); - toString(bld, getLeafNodes(), true); - return bld.toString(); - } - - private void toString(StringBuilder bld, Set<Node> nodes, boolean parentTree) { - bld.append("["); - for (Node root : nodes) { - bld.append("\n"); - root.indentingToString(bld, 0, parentTree); - } - bld.append("\n]"); - } - - /** - * Analyzes the node and returns true if the node was incorporated into the - * dependency graph (or if it was already there). - * - * @param n the node to analyze. - * @return - */ - private Node analyze(Node n) { - //skip if already analyzed - Node existingNode = nodes.get(n); - if (existingNode != null) { - return existingNode; - } - - //we only care about JPA entities - if (!isEntity(n.getEntity())) { - return null; - } - - //first, let's add the node to the set so that we prevent - //recursion on possible circular references further below. - nodes.put(n, n); - - //RHQ has convention of declaring the JPA annotations strictly - //on fields. - Map<Field, Annotations> fields = getJPAFields(n.getEntity()); - - for (Map.Entry<Field, Annotations> entry : fields.entrySet()) { - Field field = entry.getKey(); - Annotations annotations = entry.getValue(); - - OneToOne oneToOne = annotations.get(OneToOne.class); - ManyToOne manyToOne = annotations.get(ManyToOne.class); - OneToMany oneToMany = annotations.get(OneToMany.class); - ManyToMany manyToMany = annotations.get(ManyToMany.class); - if (oneToOne != null) { - analyzeOneToOne(n, field, annotations, oneToOne); - } else if (manyToOne != null) { - analyzeManyToOne(n, field, annotations, manyToOne); - } else if (oneToMany != null) { - analyzeOneToMany(n, field, annotations, oneToMany); - } else if (manyToMany != null) { - analyzManyToMany(n, field, annotations, manyToMany); - } - } - - return n; - } - - private void analyzeOneToOne(Node n, Field field, Annotations annotations, OneToOne oneToOne) { - Class<?> targetEntity = oneToOne.targetEntity(); - analyzeCommon(n, field, targetEntity, false); - } - - private void analyzeManyToOne(Node n, Field field, Annotations annotations, ManyToOne manyToOne) { - Class<?> targetEntity = manyToOne.targetEntity(); - analyzeCommon(n, field, targetEntity, true); - } - - private void analyzeOneToMany(Node n, Field field, Annotations annotations, OneToMany oneToMany) { - Class<?> targetEntity = oneToMany.targetEntity(); - analyzeCommon(n, field, targetEntity, false); - } - - private void analyzManyToMany(Node n, Field field, Annotations annotations, ManyToMany manyToMany) { - Class<?> targetEntity = manyToMany.targetEntity(); - analyzeCommon(n, field, targetEntity, false); - } - - private void analyzeCommon(Node n, Field field, Class<?> declaredTargetEntity, boolean asParent) { - if (declaredTargetEntity == null || declaredTargetEntity == void.class) { - declaredTargetEntity = field.getType(); - } - - if (isCollection(declaredTargetEntity)) { - Type type = field.getGenericType(); - - declaredTargetEntity = getCollectionTypeParameter(type, 0); - } - - if (isMap(declaredTargetEntity)) { - Type type = field.getGenericType(); - - declaredTargetEntity = getCollectionTypeParameter(type, 1); - } - - Node targetNode = analyze(new Node(declaredTargetEntity)); - - if (asParent) { - //avoid cycles in the graph - if (!n.getTransitiveChildren().contains(targetNode)) { - n.addParent(targetNode); - } - } else { - //avoid cycles in the graph - if (!n.getTransitiveParents().contains(targetNode)) { - n.addChild(targetNode); - } - } - } - - private static boolean isCollection(Class<?> clazz) { - return clazz == Collection.class || clazz == List.class || clazz == Set.class; - } - - private static boolean isMap(Class<?> clazz) { - return clazz == Map.class; - } - - /** - * Returns the class of the collection's type parameter. - * - * @param collectionType - * @return - */ - private static Class<?> getCollectionTypeParameter(Type collectionType, int parameterPosition) { - if (collectionType instanceof ParameterizedType) { - Type[] typeArguments = ((ParameterizedType) collectionType).getActualTypeArguments(); - return resolveTypeParameter(typeArguments[parameterPosition]); - } else { - return (Class<?>) collectionType; - } - } - - private static Class<?> resolveTypeParameter(Type typeParameter) { - if (typeParameter instanceof WildcardType) { - Type[] upperBounds = ((WildcardType) typeParameter).getUpperBounds(); - if (upperBounds.length > 1) { - return Object.class; - } else { - return (Class<?>) upperBounds[0]; - } - } else { - return (Class<?>) typeParameter; - } - } - - public static void main(String[] args) throws Exception { - EntityDependencyGraph g = new EntityDependencyGraph(); - g.addEntity(Class.forName("org.rhq.core.domain.resource.Resource")); - System.out.println(g); - } -} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Exporter.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Exporter.java index 3a02751..e435284 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Exporter.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Exporter.java @@ -23,35 +23,26 @@ import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; -import java.util.Arrays; import java.util.HashMap; +import java.util.HashSet; import java.util.Map; -import java.util.Map.Entry; -import java.util.Properties; -import java.util.SortedSet; -import java.util.TreeSet; - -import org.apache.commons.collections.set.ListOrderedSet; -import org.dbunit.database.DatabaseConfig; -import org.dbunit.database.ForwardOnlyResultSetTableFactory; +import java.util.Set; + import org.dbunit.database.IDatabaseConnection; -import org.dbunit.database.PrimaryKeyFilter.PkTableMap; -import org.dbunit.database.search.ImportedKeysSearchCallbackFilteredByPKs; -import org.dbunit.database.search.TablesDependencyHelper; import org.dbunit.dataset.Column; -import org.dbunit.dataset.CompositeDataSet; import org.dbunit.dataset.DataSetException; import org.dbunit.dataset.FilteredDataSet; import org.dbunit.dataset.IDataSet; import org.dbunit.dataset.ReplacementDataSet; -import org.dbunit.dataset.filter.ITableFilter; import org.dbunit.dataset.stream.DataSetProducerAdapter; import org.dbunit.dataset.stream.IDataSetConsumer; -import org.dbunit.util.CollectionsHelper; -import org.dbunit.util.search.DepthFirstSearch; -import org.dbunit.util.search.SearchException; -import org.rhq.helpers.perftest.support.util.DbUnitUtil; -import org.rhq.helpers.perftest.support.util.ExportedKeysSearchCallbackFilteredByPKs; +import org.rhq.helpers.perftest.support.config.Entity; +import org.rhq.helpers.perftest.support.config.ExportConfiguration; +import org.rhq.helpers.perftest.support.dbunit.DbUnitUtil; +import org.rhq.helpers.perftest.support.dbunit.EntityRelationshipFilter; +import org.rhq.helpers.perftest.support.jpa.ColumnValues; +import org.rhq.helpers.perftest.support.jpa.ConfigurableDependencyInclusionResolver; +import org.rhq.helpers.perftest.support.jpa.mapping.MappingTranslator;
/** * @@ -63,20 +54,22 @@ public class Exporter {
}
- public static void run(Properties settings, IDataSetConsumer consumer) throws Exception { - IDatabaseConnection connection = DbUnitUtil.getConnection(settings); + public static void run(ExportConfiguration config, IDataSetConsumer consumer) throws Exception { + IDatabaseConnection connection = DbUnitUtil.getConnection(config.getSettings()); try { - //get the list of the tables to load from the settings. + //get the list of the entities to load from the settings. //empty = all tables - Map<String, String> tableQueries = getTableQueries(settings); + Map<Entity, String> entityQueries = getEntityQueries(config);
- PkTableMap pksToLoad = new PkTableMap(); - for (Map.Entry<String, String> entry : tableQueries.entrySet()) { - String table = entry.getKey(); + Map<Class<?>, Set<ColumnValues>> pksToLoad = new HashMap<Class<?>, Set<ColumnValues>>(); + for (Map.Entry<Entity, String> entry : entityQueries.entrySet()) { + Entity entity = entry.getKey(); String query = entry.getValue();
- SortedSet<Object> pks = getPksFromQuery(connection, table, query); - pksToLoad.addAll(table, pks); + String tableName = MappingTranslator.getTableName(config.getClassForEntity(entity)); + + Set<ColumnValues> pks = getPksFromQuery(connection, tableName, query); + pksToLoad.put(config.getClassForEntity(entity), pks); }
IDataSet data = null; @@ -84,11 +77,8 @@ public class Exporter { if (pksToLoad.isEmpty()) { data = connection.createDataSet(); } else { - IDataSet dependingData = getDependingData(connection, pksToLoad); - IDataSet dependentData = TablesDependencyHelper.getDataset(connection, pksToLoad); - data = new CompositeDataSet(new IDataSet[] {dependingData, dependentData}); - System.err.println("rhq_resource_type depends on: " + Arrays.asList(TablesDependencyHelper.getDependsOnTables(connection, "rhq_resource_type"))); - System.err.println("Depending on rhq_resource_type: " + Arrays.asList(TablesDependencyHelper.getDependentTables(connection, "rhq_resource_type"))); + EntityRelationshipFilter filter = new EntityRelationshipFilter(connection, pksToLoad, new ConfigurableDependencyInclusionResolver(config)); + data = new FilteredDataSet(filter, connection.createDataSet()); }
ReplacementDataSet nullReplacingData = new ReplacementDataSet(data); @@ -102,25 +92,19 @@ public class Exporter { } }
- private static SortedSet<Object> getPksFromQuery(IDatabaseConnection connection, String table, String query) + private static Set<ColumnValues> getPksFromQuery(IDatabaseConnection connection, String table, String query) throws DataSetException, SQLException {
- SortedSet<Object> ret = new TreeSet<Object>(); + Set<ColumnValues> ret = new HashSet<ColumnValues>();
if (query == null) { - return ret; + return null; }
IDataSet data = connection.createDataSet(new String[] { table });
Column[] tablePks = data.getTableMetaData(table).getPrimaryKeys();
- if (tablePks.length > 1) { - throw new UnsupportedOperationException( - "Filtering on tables with multi-column primary key is not supported. Table '" + table - + "' has the following primary keys: " + Arrays.asList(tablePks)); - } - String pkName = tablePks[0].getColumnName();
//the connection shouldn't be closed here, because we're just reusing an already existing one. @@ -132,9 +116,13 @@ public class Exporter { ResultSet results = statement.executeQuery(query);
while (results.next()) { - Object pk = results.getObject(pkName); + ColumnValues pks = new ColumnValues(); + for(Column pk : tablePks) { + Object pkVal = results.getObject(pkName); + pks.add(pk.getColumnName(), pkVal); + }
- ret.add(pk); + ret.add(pks); } } finally { if (statement != null) { @@ -145,38 +133,14 @@ public class Exporter { return ret; }
- private static Map<String, String> getTableQueries(Properties settings) { - Map<String, String> ret = new HashMap<String, String>(); + private static Map<Entity, String> getEntityQueries(ExportConfiguration config) { + Map<Entity, String> ret = new HashMap<Entity, String>();
- for (Entry<Object, Object> entry : settings.entrySet()) { - if (entry.getKey() instanceof String && (entry.getValue() == null || entry.getValue() instanceof String)) { - String key = (String) entry.getKey(); - String value = (String) entry.getValue(); - - if (key.startsWith("table.")) { - String tableName = key.substring("table.".length()); - String filterSql = value; - if (value != null && value.trim().isEmpty()) { - filterSql = null; - } - - ret.put(tableName, filterSql); - } - } + for (Entity e : config.getEntities()) { + String sql = e.getFilter(); + ret.put(e, sql); } - + return ret; - } - - private static IDataSet getDependingData(IDatabaseConnection connection, PkTableMap rootTables) throws SearchException, DataSetException, SQLException { - ExportedKeysSearchCallbackFilteredByPKs callback = new ExportedKeysSearchCallbackFilteredByPKs(connection, rootTables); - ITableFilter filter = callback.getFilter(); - DepthFirstSearch search = new DepthFirstSearch(); - String[] tableNames = rootTables.getTableNames(); - ListOrderedSet tmpTables = search.search( tableNames, callback ); - String[] dependentTables = CollectionsHelper.setToStrings( tmpTables ); - IDataSet tmpDataset = connection.createDataSet( dependentTables ); - FilteredDataSet dataset = new FilteredDataSet(filter, tmpDataset); - return dataset; - } + } } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java index 0c928a3..9d7950f 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java @@ -28,7 +28,7 @@ import org.dbunit.dataset.IDataSet; import org.dbunit.dataset.stream.IDataSetProducer; import org.dbunit.dataset.stream.StreamingDataSet; import org.dbunit.operation.DatabaseOperation; -import org.rhq.helpers.perftest.support.util.DbUnitUtil; +import org.rhq.helpers.perftest.support.dbunit.DbUnitUtil;
/** * diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Main.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Main.java index 1550a37..80e04f2 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Main.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Main.java @@ -19,13 +19,20 @@
package org.rhq.helpers.perftest.support;
-import java.io.FileInputStream; +import gnu.getopt.Getopt; +import gnu.getopt.LongOpt; + +import java.io.FileReader; import java.util.ArrayList; import java.util.List; import java.util.Properties;
-import gnu.getopt.Getopt; -import gnu.getopt.LongOpt; +import javax.xml.bind.JAXBContext; +import javax.xml.bind.Unmarshaller; + +import org.rhq.helpers.perftest.support.config.Entity; +import org.rhq.helpers.perftest.support.config.ExportConfiguration; +import org.rhq.helpers.perftest.support.jpa.mapping.MappingTranslator;
/** * @@ -62,7 +69,7 @@ public class Main { String format = "xml"; boolean doExport = false; boolean doImport = false; - List<String> tables = new ArrayList<String>(); + List<String> entities = new ArrayList<String>();
int option; while ((option = options.getopt()) != -1) { @@ -102,34 +109,45 @@ public class Main { }
for (int i = options.getOptind(); i < args.length; i++) { - tables.add(args[i]); + entities.add(args[i]); }
Properties settings = new Properties(); - - if (configFile != null) { - FileInputStream file = new FileInputStream(configFile); - try { - settings.load(file); - } finally { - file.close(); - } - } - putNotNull(settings, "url", url); putNotNull(settings, "user", user); putNotNull(settings, "password", password); putNotNull(settings, "driverClass", driverClass); - for(String table : tables) { - putNotNull(settings, "table." + table, ""); - }
validate(settings); + + ExportConfiguration config = null; + + if (configFile != null) { + JAXBContext c = ExportConfiguration.getJAXBContext(); + Unmarshaller um = c.createUnmarshaller(); + config = (ExportConfiguration) um.unmarshal(new FileReader(configFile)); + } + + if (config == null) { + config = new ExportConfiguration(); + + //only use the entities from the command line if no config file + //was specified. + for(String entity : entities) { + Entity e = new Entity(); + e.setName(entity); + e.setIncludeAllDependents(true); + e.setFilter("SELECT * FROM " + MappingTranslator.getTableName(config.getClassForEntity(e))); + config.getEntities().add(e); + } + } + config.setSettings(settings);
if (doExport) { Output output = Settings.getOutputObject(format, ioFileName); + try { - Exporter.run(settings, output.getConsumer()); + Exporter.run(config, output.getConsumer()); } finally { output.close(); } diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Settings.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Settings.java index 1826993..42d37e5 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Settings.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Settings.java @@ -27,17 +27,10 @@ import java.io.IOException; import java.io.InputStream; import java.io.OutputStream;
-import org.dbunit.dataset.csv.CsvDataSetWriter; -import org.dbunit.dataset.csv.CsvProducer; -import org.dbunit.dataset.stream.IDataSetConsumer; -import org.dbunit.dataset.stream.IDataSetProducer; -import org.dbunit.dataset.xml.FlatXmlProducer; -import org.dbunit.dataset.xml.FlatXmlWriter; import org.rhq.helpers.perftest.support.input.CsvInput; import org.rhq.helpers.perftest.support.input.XmlInput; import org.rhq.helpers.perftest.support.output.CsvOutput; import org.rhq.helpers.perftest.support.output.XmlOutput; -import org.xml.sax.InputSource;
/** * diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Entity.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Entity.java new file mode 100644 index 0000000..c1da68e --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Entity.java @@ -0,0 +1,109 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.config; + +import java.util.HashSet; +import java.util.Set; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlRootElement; + +/** + * + * @author Lukas Krejci + */ +@XmlRootElement +@XmlAccessorType(XmlAccessType.FIELD) +public class Entity { + + @XmlID + @XmlAttribute + private String name; + + @XmlAttribute + private Boolean includeAllDependents; + + @XmlElement(name = "rel") + private Set<Relationship> relationships = new HashSet<Relationship>(); + + @XmlElement(name = "filter") + private String filter; + + public Set<Relationship> getRelationships() { + return relationships; + } + + public void setRelationships(Set<Relationship> relationships) { + this.relationships = relationships; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + /** + * @return the allDependents + */ + public Boolean getIncludeAllDependents() { + return includeAllDependents; + } + + /** + * @param allDependents the allDependents to set + */ + public void setIncludeAllDependents(Boolean allDependents) { + this.includeAllDependents = allDependents; + } + + /** + * @return the filter + */ + public String getFilter() { + return filter; + } + + /** + * @param filter the filter to set + */ + public void setFilter(String filter) { + this.filter = filter; + } + + public int hashCode() { + return name.hashCode(); + } + + public boolean equals(Object other) { + if (!(other instanceof Entity)) { + return false; + } + + return name.equals(((Entity)other).name); + } +} + diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/ExportConfiguration.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/ExportConfiguration.java new file mode 100644 index 0000000..ab649bf --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/ExportConfiguration.java @@ -0,0 +1,186 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.config; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.Map; +import java.util.Properties; +import java.util.Set; + +import javax.xml.bind.JAXBContext; +import javax.xml.bind.JAXBException; +import javax.xml.bind.Marshaller; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlTransient; + +import org.rhq.helpers.perftest.support.jpa.Edge; +import org.rhq.helpers.perftest.support.jpa.Node; + +/** + * + * @author Lukas Krejci + */ +@XmlRootElement(name = "graph") +@XmlAccessorType(XmlAccessType.FIELD) +public class ExportConfiguration { + + @XmlElement(name = "entity") + private Set<Entity> entity = new HashSet<Entity>(); + + @XmlAttribute + private String packagePrefix; + + @XmlTransient + private Properties settings; + + public Set<Entity> getEntities() { + return entity; + } + + public void setEntities(Set<Entity> nodes) { + this.entity = nodes; + } + + public Class<?> getClassForEntity(Entity n) { + String className = packagePrefix == null ? n.getName() : packagePrefix + "." + n.getName(); + + try { + return Class.forName(className); + } catch (ClassNotFoundException e) { + //maybe it's an absolute name after all + try { + return Class.forName(n.getName()); + } catch (ClassNotFoundException e1) { + //hmm... run out of options + return null; + } + } + } + + public Entity getEntity(Class<?> clazz) { + for (Entity e : entity) { + if (getClassForEntity(e).equals(clazz)) { + return e; + } + } + + return null; + } + public String getPackagePrefix() { + return packagePrefix; + } + + public void setPackagePrefix(String packagePrefix) { + this.packagePrefix = packagePrefix; + } + + /** + * @return the settings + */ + public Properties getSettings() { + return settings; + } + + /** + * @param settings the settings to set + */ + public void setSettings(Properties settings) { + this.settings = settings; + } + + public static JAXBContext getJAXBContext() throws JAXBException { + return JAXBContext.newInstance(ExportConfiguration.class, Entity.class, Relationship.class); + } + + public static ExportConfiguration fromRealDependencyGraph(String packagePrefix, + org.rhq.helpers.perftest.support.jpa.EntityDependencyGraph g) { + ExportConfiguration ret = new ExportConfiguration(); + ret.setPackagePrefix(packagePrefix); + + Map<Node, Entity> realToSerialized = new HashMap<Node, Entity>(); + + for (Node node : g.getAllNodes()) { + Entity serialized = fromRealNode(packagePrefix, node); + realToSerialized.put(node, serialized); + ret.getEntities().add(serialized); + } + + //now go through the edges.. this has to be done only after we have all the nodes + for (Node node : g.getAllNodes()) { + Set<Relationship> edges = new HashSet<Relationship>(); + + for (Edge edge : node.getEdges()) { + if (edge.getFrom() == node) { + edges.add(fromRealEdge(edge, realToSerialized)); + } + } + + Entity serialized = realToSerialized.get(node); + serialized.setRelationships(edges); + } + + return ret; + } + + private static Entity fromRealNode(String packageNamePrefix, Node node) { + String className = node.getEntity().getName(); + if (className.startsWith(packageNamePrefix)) { + className = className.substring(packageNamePrefix.length() + 1); + } + + Entity ret = new Entity(); + ret.setName(className); + + return ret; + } + + private static Relationship fromRealEdge(Edge edge, Map<Node, Entity> realToSerializedNodes) { + Relationship ret = new Relationship(); + if (edge.getFromField() != null) { + ret.setSourceField(edge.getFromField().getName()); + } else { + //this is intentional... the relation is either defined by the from field + //or, if it's not defined by the to field and the target node. + if (edge.getToField() != null) { + ret.setTargetField(edge.getToField().getName()); + } + + ret.setTargetEntity(realToSerializedNodes.get(edge.getTo())); + } + return ret; + } + + public static void main(String[] args) throws Exception { + JAXBContext c = JAXBContext.newInstance(ExportConfiguration.class, Entity.class, Relationship.class); + Marshaller m = c.createMarshaller(); + + org.rhq.helpers.perftest.support.jpa.EntityDependencyGraph edg = new org.rhq.helpers.perftest.support.jpa.EntityDependencyGraph(); + edg.addEntity(Class.forName("org.rhq.core.domain.resource.Resource")); + + m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, + new Boolean(true)); + m.marshal(ExportConfiguration.fromRealDependencyGraph("org.rhq.core.domain", edg), System.out); + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Relationship.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Relationship.java new file mode 100644 index 0000000..7d2894d --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/config/Relationship.java @@ -0,0 +1,127 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.config; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlTransient; + +/** + * + * @author Lukas Krejci + */ +@XmlRootElement(name = "rel") +@XmlAccessorType(XmlAccessType.FIELD) +public class Relationship { + + @XmlAttribute + private String sourceField; + + @XmlAttribute + private String targetField; + + @XmlIDREF + @XmlAttribute + private Entity targetEntity; + + @XmlTransient + private Entity sourceEntity; + + /** + * @return the fromField + */ + public String getSourceField() { + return sourceField; + } + + /** + * @param fromField the fromField to set + */ + public void setSourceField(String fromField) { + this.sourceField = fromField; + } + + /** + * @return the toField + */ + public String getTargetField() { + return targetField; + } + + /** + * @param toField the toField to set + */ + public void setTargetField(String toField) { + this.targetField = toField; + } + + /** + * @return the targetNode + */ + public Entity getTargetEntity() { + return targetEntity; + } + + /** + * @param targetNode the targetNode to set + */ + public void setTargetEntity(Entity targetNode) { + this.targetEntity = targetNode; + } + + /** + * @return the sourceNode + */ + public Entity getSourceEntity() { + return sourceEntity; + } + + /** + * @param sourceNode the sourceNode to set + */ + public void setSourceEntity(Entity sourceNode) { + this.sourceEntity = sourceNode; + } + + public int hashCode() { + int fromHash = sourceField == null ? 1 : sourceField.hashCode(); + int toHash = targetField == null ? 1 : targetField.hashCode(); + int targetHash = targetEntity == null ? 1 : targetEntity.hashCode(); + + return fromHash * toHash * targetHash; + } + + public boolean equals(Object other) { + if (!(other instanceof Relationship)) { + return false; + } + + Relationship o = (Relationship) other; + + boolean fromEq = sourceField == null ? o.sourceField == null : sourceField.equals(o.sourceField); + boolean toEq = targetField == null ? o.targetField == null : targetField.equals(o.targetField); + boolean targetEq = targetEntity == null ? o.targetEntity == null : targetEntity.equals(o.targetEntity); + + return fromEq && toEq && targetEq; + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/DbUnitUtil.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/DbUnitUtil.java new file mode 100644 index 0000000..5afe6ea --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/DbUnitUtil.java @@ -0,0 +1,63 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.dbunit; + +import java.sql.Connection; +import java.sql.DriverManager; +import java.sql.SQLException; +import java.util.Properties; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.dbunit.DatabaseUnitException; +import org.dbunit.database.DatabaseConnection; +import org.dbunit.database.IDatabaseConnection; +import org.rhq.helpers.perftest.support.Settings; + +/** + * + * @author Lukas Krejci + */ +public class DbUnitUtil { + + private static final Log LOG = LogFactory.getLog(DbUnitUtil.class); + + private DbUnitUtil() { + + } + + public static IDatabaseConnection getConnection(Properties settings) throws SQLException, DatabaseUnitException { + String driverClass = settings.getProperty(Settings.DATABASE_DRIVER_CLASS_PROPERTY); + if (driverClass != null) { + try { + Class.forName(driverClass); + } catch (ClassNotFoundException e) { + LOG.error("Failed to load the driver class.", e); + } + } + return getConnection(settings.getProperty("url"), settings.getProperty("user"), settings.getProperty("password")); + } + + public static IDatabaseConnection getConnection(String url, String user, String password) throws SQLException, DatabaseUnitException { + Connection jdbcConnection = DriverManager.getConnection(url, user, password); + + return new DatabaseConnection(jdbcConnection); + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipFilter.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipFilter.java new file mode 100644 index 0000000..ce5c7c0 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipFilter.java @@ -0,0 +1,476 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.dbunit; + +import java.io.StringReader; +import java.sql.DriverManager; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.ResultSetMetaData; +import java.sql.SQLException; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Iterator; +import java.util.Map; +import java.util.Set; + +import javax.xml.bind.JAXBContext; +import javax.xml.bind.Unmarshaller; + +import org.dbunit.database.DatabaseConnection; +import org.dbunit.database.IDatabaseConnection; +import org.dbunit.database.PrimaryKeyFilteredTableWrapper; +import org.dbunit.dataset.DataSetException; +import org.dbunit.dataset.IDataSet; +import org.dbunit.dataset.ITable; +import org.dbunit.dataset.ITableIterator; +import org.dbunit.dataset.ITableMetaData; +import org.dbunit.dataset.filter.AbstractTableFilter; +import org.rhq.helpers.perftest.support.config.Entity; +import org.rhq.helpers.perftest.support.config.Relationship; +import org.rhq.helpers.perftest.support.config.ExportConfiguration; +import org.rhq.helpers.perftest.support.jpa.ColumnValues; +import org.rhq.helpers.perftest.support.jpa.ConfigurableDependencyInclusionResolver; +import org.rhq.helpers.perftest.support.jpa.DependencyInclusionResolver; +import org.rhq.helpers.perftest.support.jpa.DependencyType; +import org.rhq.helpers.perftest.support.jpa.EagerMappingInclusionResolver; +import org.rhq.helpers.perftest.support.jpa.Edge; +import org.rhq.helpers.perftest.support.jpa.EntityDependencyGraph; +import org.rhq.helpers.perftest.support.jpa.Node; +import org.rhq.helpers.perftest.support.jpa.mapping.ColumnValuesTableMap; +import org.rhq.helpers.perftest.support.jpa.mapping.EntityTranslation; +import org.rhq.helpers.perftest.support.jpa.mapping.RelationshipTranslation; + +/** + * + * @author Lukas Krejci + */ +public class EntityRelationshipFilter extends AbstractTableFilter { + + private IDatabaseConnection connection; + + private EntityDependencyGraph edg; + private Map<String, Node> tableToNode = new HashMap<String, Node>(); + private Map<String, Edge> relationTableToEdge = new HashMap<String, Edge>(); + private Map<Class<?>, Set<ColumnValues>> primaryPks = new HashMap<Class<?>, Set<ColumnValues>>(); + private DependencyInclusionResolver inclusionResolver; + + public EntityRelationshipFilter(IDatabaseConnection connection, Map<Class<?>, Set<ColumnValues>> allowedPks, + DependencyInclusionResolver inclusionResolver) { + this.connection = connection; + this.inclusionResolver = inclusionResolver; + + edg = new EntityDependencyGraph(); + edg.addEntities(allowedPks.keySet()); + + primaryPks.putAll(allowedPks); + } + + public boolean isValidName(String tableName) throws DataSetException { + return tableToNode.get(tableName) != null || relationTableToEdge.get(tableName) != null; + } + + public ITableIterator iterator(IDataSet dataSet, boolean reversed) throws DataSetException { + //TODO iterate over the tables in the correct order from the roots of the dependency graph down. + //TODO actually do the PK filtering. + + try { + ColumnValuesTableMap resolvedPks = new ColumnValuesTableMap(); + resolvePks(primaryPks, resolvedPks, true); + + return new EntityRelationshipTableIterator(reversed ? dataSet.reverseIterator() : dataSet.iterator(), + resolvedPks); + } catch (SQLException e) { + throw new DataSetException("Primary keys resolution failed during dataset inspection.", e); + } + } + + private void resolvePks(Map<Class<?>, Set<ColumnValues>> primaryPks, ColumnValuesTableMap resolvedPks, + boolean resolveDependents) throws SQLException { + for (Map.Entry<Class<?>, Set<ColumnValues>> entry : primaryPks.entrySet()) { + Node node = edg.getNode(entry.getKey()); + Set<ColumnValues> pks = entry.getValue(); + + //check that the pk columns have defined names from the user + if (pks != null) { + for (ColumnValues pk : pks) { + int idx = 0; + for (ColumnValues.Column col : pk) { + if (col.getName() == null) { + col.setName(node.getTranslation().getPkColumns()[idx]); + } + + idx++; + } + } + } + + resolvePks(node, pks, resolvedPks); + } + } + + private void resolvePks(Node node, Set<ColumnValues> nodePks, ColumnValuesTableMap resolvedPks) throws SQLException { + Set<ColumnValues> unresolvedPks; + + Set<ColumnValues> resolvedTablePks = resolvedPks.get(node.getTranslation().getTableName()); + + //determine whether to bale out... + if (resolvedPks.containsKey(node.getTranslation().getTableName())) { + if (resolvedTablePks == null) { + //yes, this table has been identified as "include all" + return; + } + + if (nodePks == null) { + //there is an entry for this table in the resolved pks already and we're + //telling it to include everything... let's leave what's in the resolution + //already and quit. + return; + } + } + + if (resolvedTablePks == null || resolvedTablePks.isEmpty()) { + unresolvedPks = nodePks; + } else { + unresolvedPks = new HashSet<ColumnValues>(); + for (ColumnValues pk : nodePks) { + if (!resolvedTablePks.contains(pk)) { + unresolvedPks.add(pk); + } + } + } + + if (unresolvedPks != null) { + if (!unresolvedPks.isEmpty()) { + resolvedPks.getOrCreate(node.getTranslation().getTableName()).addAll(unresolvedPks); + } else { + //there are no data to include for this table. bale out. + return; + } + } else { + resolvedPks.put(node.getTranslation().getTableName(), null); + } + + for (Edge e : node.getEdges()) { + if (e.getFrom() == node) { + //only include the dependents if the relationship + //is actually defined on the entity (i.e. don't include + //"back-references", like combined @JoinColumn @ManyToOne defined only on the target + //entity + if (e.getFromField() != null && inclusionResolver.isValid(e)) { + Set<ColumnValues> dependentPks = resolveDependentPks(e, unresolvedPks, resolvedPks); + resolvePks(e.getTo(), dependentPks, resolvedPks); + } else { + //add nothing or create a new record for this table + //this will mark it as "done" + resolvedPks.getOrCreate(e.getTo().getTranslation().getTableName()); + } + } else { + if (e.getToField() != null) { + Set<ColumnValues> dependingPks = resolveDependingPks(e, unresolvedPks, resolvedPks); + resolvePks(e.getFrom(), dependingPks, resolvedPks); + } else { + resolvedPks.getOrCreate(e.getFrom().getTranslation().getTableName()); + } + } + } + } + + private Set<ColumnValues> + resolveDependentPks(Edge edge, Set<ColumnValues> fromPks, ColumnValuesTableMap resolvedPks) throws SQLException { + + RelationshipTranslation translation = edge.getTranslation(); + + if (translation.getRelationTable() != null) { + //copy the fromPks to columnValues. We'll use the pks from the from table + //to find the corresponding entries in the relation table + Set<ColumnValues> columnValues = null; + + if (fromPks != null) { + columnValues = new HashSet<ColumnValues>(); + for (ColumnValues pk : fromPks) { + columnValues.add(pk.clone()); + } + + //now change the names of the columns in columnValues to the corresponding + //relationTableFromColumns (this assumes the same order of the columns + //in the case of composite pk) + for (int i = 0; i < translation.getRelationTableFromColumns().length; ++i) { + for (ColumnValues cols : columnValues) { + cols.getColumns().get(i).setName(translation.getRelationTableFromColumns()[i]); + } + } + } + + String[] fromAndToCols = new String[translation.getRelationTableFromColumns().length + + translation.getRelationTableToColumns().length]; + System.arraycopy(translation.getRelationTableFromColumns(), 0, fromAndToCols, 0, + translation.getRelationTableFromColumns().length); + System.arraycopy(translation.getRelationTableToColumns(), 0, fromAndToCols, + translation.getRelationTableFromColumns().length, translation.getRelationTableToColumns().length); + + if (fromPks != null) { + Set<ColumnValues> fromAndToValues = getValuesFromTable(translation.getRelationTable(), fromAndToCols, + columnValues); + + //add the relation table to the resolvedPks using fromAndToValues as its primary keys + resolvedPks.getOrCreate(translation.getRelationTable()).addAll(fromAndToValues); + + //now read out the to pks from fromAndToCols are return them as the "to" table primary keys + Set<ColumnValues> toPks = new HashSet<ColumnValues>(); + for (ColumnValues cols : fromAndToValues) { + ColumnValues toPk = new ColumnValues(); + for (int i = 0; i < translation.getRelationTableToColumns().length; ++i) { + String colName = translation.getRelationTableToColumns()[i]; + String pkName = edge.getTo().getTranslation().getPkColumns()[i]; + + toPk.add(pkName, cols.getColumnByName(colName).getValue()); + } + toPks.add(toPk); + } + + return removeValuesWithNullColumn(toPks); + } else { + resolvedPks.put(translation.getRelationTable(), null); + return null; + } + } else { + if (fromPks == null) { + return null; + } + + //get the values of the "fromColumns" of the relation from the "from" table + Set<ColumnValues> columnValues = getValuesFromTable(edge.getFrom().getTranslation().getTableName(), + translation.getFromColumns(), fromPks); + + //now change the names of the columns in columnValues to correspond to the ones + //in the "to" table (this assumes that the columns in fromColumns and toColumns + //correspond to each other by position) + for (int i = 0; i < translation.getToColumns().length; ++i) { + for (ColumnValues cols : columnValues) { + cols.getColumns().get(i).setName(translation.getToColumns()[i]); + } + } + + Set<ColumnValues> ret = getValuesFromTable(edge.getTo().getTranslation().getTableName(), edge.getTo() + .getTranslation().getPkColumns(), columnValues); + + return removeValuesWithNullColumn(ret); + } + } + + private Set<ColumnValues> resolveDependingPks(Edge edge, Set<ColumnValues> toPks, ColumnValuesTableMap resolvedPks) + throws SQLException { + + RelationshipTranslation translation = edge.getTranslation(); + + if (translation.getRelationTable() == null) { + if (toPks == null) { + return null; + } + + //get the foreign keys in the "to" table + Set<ColumnValues> columnValues = getValuesFromTable(edge.getTo().getTranslation().getTableName(), + translation.getToColumns(), toPks); + + //now rename the foreign keys to their primary key counterparts in the "from" table + for (int i = 0; i < translation.getFromColumns().length; ++i) { + for (ColumnValues cols : columnValues) { + cols.getColumns().get(i).setName(translation.getFromColumns()[i]); + } + } + + return removeValuesWithNullColumn(columnValues); + } else { + //only bother with one-to-many relationships. A many-to-many + //relationship implicitly means that the two entities are not tightly + //connected (with a many-to-many relationship, either of the entities + //can always "live without" the entities from the other side of the relationship). + if (edge.getDependencyType() != DependencyType.MANY_TO_MANY) { + //copy the toPks to columnValues. We'll use the pks from the to table + //to find the corresponding entries in the relation table + Set<ColumnValues> columnValues = null; + + if (toPks != null) { + columnValues = new HashSet<ColumnValues>(); + for (ColumnValues pk : toPks) { + columnValues.add(pk.clone()); + } + + //now change the names of the columns in columnValues to the corresponding + //relationTableToColumns (this assumes the same order of the columns + //in the case of composite pk) + for (int i = 0; i < translation.getRelationTableToColumns().length; ++i) { + for (ColumnValues cols : columnValues) { + cols.getColumns().get(i).setName(translation.getRelationTableToColumns()[i]); + } + } + } + + String[] fromAndToCols = new String[translation.getRelationTableFromColumns().length + + translation.getRelationTableToColumns().length]; + System.arraycopy(translation.getRelationTableFromColumns(), 0, fromAndToCols, 0, + translation.getRelationTableFromColumns().length); + System.arraycopy(translation.getRelationTableToColumns(), 0, fromAndToCols, + translation.getRelationTableFromColumns().length, translation.getRelationTableToColumns().length); + + if (toPks != null) { + Set<ColumnValues> fromAndToValues = getValuesFromTable(translation.getRelationTable(), + fromAndToCols, columnValues); + + //add the relation table to the resolvedPks using fromAndToValues as its primary keys + resolvedPks.getOrCreate(translation.getRelationTable()).addAll(fromAndToValues); + + //now read out the to pks from fromAndToCols are return them as the "from" table primary keys + Set<ColumnValues> fromPks = new HashSet<ColumnValues>(); + for (ColumnValues cols : fromAndToValues) { + ColumnValues fromPk = new ColumnValues(); + for (int i = 0; i < translation.getRelationTableFromColumns().length; ++i) { + String colName = translation.getRelationTableFromColumns()[i]; + String pkName = edge.getFrom().getTranslation().getPkColumns()[i]; + fromPk.add(pkName, cols.getColumnByName(colName).getValue()); + } + fromPks.add(fromPk); + } + + return removeValuesWithNullColumn(fromPks); + } else { + resolvedPks.put(translation.getRelationTable(), null); + return null; + } + } else { + //put no restrictions on the search if the toPks are null (unrestricted) + //otherwise pretend there's nothing depending. + return toPks == null ? null : new HashSet<ColumnValues>(); + } + } + } + + /** + * @param columnValues + * @return + */ + private static Set<ColumnValues> removeValuesWithNullColumn(Set<ColumnValues> columnValues) { + Set<ColumnValues> ret = new HashSet<ColumnValues>(); + + for (ColumnValues cols : columnValues) { + boolean add = true; + for (ColumnValues.Column c : cols) { + if (c.getValue() == null) { + add = false; + break; + } + } + if (add) { + ret.add(cols); + } + } + + return ret; + } + + private static String colNamesToSql(String[] colNames) { + StringBuilder bld = new StringBuilder(); + + if (colNames.length == 0) + return ""; + + for (String col : colNames) { + bld.append(", ").append(col); + } + + return bld.substring(1); + } + + private Set<ColumnValues> getValuesFromTable(String tableName, String[] valueColumns, + Set<ColumnValues> knownlColumns) throws SQLException { + //I know, doing this one by one is super lame, but prevents the 1000 IN clause members limit of Oracle + StringBuilder sqlCommon = new StringBuilder("SELECT ").append(colNamesToSql(valueColumns)).append(" FROM ") + .append(tableName).append(" WHERE "); + + Set<ColumnValues> ret = new HashSet<ColumnValues>(); + + for (ColumnValues cols : knownlColumns) { + StringBuilder sql = new StringBuilder(sqlCommon); + for (ColumnValues.Column c : cols) { + sql.append(c.getName()).append(" = ? AND "); + } + + sql.replace(sql.length() - 4, sql.length(), ""); + + PreparedStatement st = null; + try { + st = connection.getConnection().prepareStatement(sql.toString()); + int idx = 1; + for (ColumnValues.Column c : cols) { + st.setObject(idx++, c.getValue()); + } + + ResultSet rs = st.executeQuery(); + + ResultSetMetaData rsmd = rs.getMetaData(); + + while (rs.next()) { + ColumnValues vals = new ColumnValues(); + + for (int i = 1; i <= rsmd.getColumnCount(); ++i) { + String columnName = rsmd.getColumnName(i); + Object value = rs.getObject(i); + vals.add(columnName, value); + } + + ret.add(vals); + } + } finally { + if (st != null) { + st.close(); + } + } + } + + return ret; + } + + public static void main(String[] args) throws Exception { + HashMap<Class<?>, Set<ColumnValues>> allowed = new HashMap<Class<?>, Set<ColumnValues>>(); + allowed.put(Class.forName("org.rhq.core.domain.resource.Resource"), ColumnValues.setOf(10001)); + + Class.forName("org.postgresql.Driver"); + DatabaseConnection con = new DatabaseConnection(DriverManager.getConnection( + "jdbc:postgresql://127.0.0.1:5432/rhqdev", "rhqadmin", "rhqadmin")); + +// EntityRelationshipFilter f = new EntityRelationshipFilter(con, allowed, new EagerMappingInclusionResolver()); +// System.out.println(f.edg); +// +// f.iterator(con.createDataSet(), false); + + String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n" + + "<graph packagePrefix="org.rhq.core.domain">\n" + + " <entity name="resource.Resource" includeAllDependents="true" />\n" + "</graph>"; + + JAXBContext c = ExportConfiguration.getJAXBContext(); + Unmarshaller um = c.createUnmarshaller(); + ExportConfiguration edg = (ExportConfiguration) um.unmarshal(new StringReader(xml)); + + EntityRelationshipFilter f2 = new EntityRelationshipFilter(con, allowed, + new ConfigurableDependencyInclusionResolver(edg)); + f2.iterator(con.createDataSet(), false); + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipTableIterator.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipTableIterator.java new file mode 100644 index 0000000..a8d4c5d --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/dbunit/EntityRelationshipTableIterator.java @@ -0,0 +1,155 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.dbunit; + +import java.util.HashSet; +import java.util.Set; + +import org.dbunit.dataset.DataSetException; +import org.dbunit.dataset.ITable; +import org.dbunit.dataset.ITableIterator; +import org.dbunit.dataset.ITableMetaData; +import org.dbunit.dataset.RowOutOfBoundsException; +import org.rhq.helpers.perftest.support.jpa.ColumnValues; +import org.rhq.helpers.perftest.support.jpa.mapping.ColumnValuesTableMap; + +/** + * + * @author Lukas Krejci + */ +public class EntityRelationshipTableIterator implements ITableIterator { + + private ITableIterator wrappedIterator; + private ColumnValuesTableMap allowedPks; + + public EntityRelationshipTableIterator(ITableIterator wrappedIterator, + ColumnValuesTableMap allowedPks) { + + this.wrappedIterator = wrappedIterator; + this.allowedPks = allowedPks; + } + + public boolean next() throws DataSetException { + while (wrappedIterator.next()) { + if (allowedPks.containsKey(wrappedIterator.getTableMetaData().getTableName().toUpperCase())) { + return true; + } + } + return false; + } + + public ITableMetaData getTableMetaData() throws DataSetException { + return wrappedIterator.getTableMetaData(); + } + + public ITable getTable() throws DataSetException { + String tableName = getTableMetaData().getTableName().toUpperCase(); + + Set<ColumnValues> pks = allowedPks.get(tableName); + + ITable wrappedTable = wrappedIterator.getTable(); + + if (pks == null) { + //no filtering + return wrappedTable; + } else if (pks.isEmpty()) { + return new EmptyTable(wrappedTable.getTableMetaData()); + } else { + return new FilteredTable(wrappedTable, pks); + } + } + + private static class EmptyTable implements ITable { + + private ITableMetaData metadata; + + public EmptyTable(ITableMetaData metadata) { + this.metadata = metadata; + } + + public ITableMetaData getTableMetaData() { + return metadata; + } + + public int getRowCount() { + return 0; + } + + public Object getValue(int row, String column) throws DataSetException { + throw new RowOutOfBoundsException("This table is always empty."); + } + + } + + private class FilteredTable implements ITable { + + private ITable wrappedTable; + private Set<Integer> allowedRowNumbers; + + public FilteredTable(ITable wrappedTable, Set<ColumnValues> allowedPks) throws DataSetException { + super(); + this.wrappedTable = wrappedTable; + this.allowedRowNumbers = getRowNumbers(wrappedTable, allowedPks); + } + + public ITableMetaData getTableMetaData() { + return wrappedTable.getTableMetaData(); + } + + public int getRowCount() { + return allowedRowNumbers.size(); + } + + public Object getValue(int row, String column) throws DataSetException { + if (!allowedRowNumbers.contains(Integer.valueOf(row))) { + throw new RowOutOfBoundsException(); + } + return wrappedTable.getValue(row, column); + } + + private Set<Integer> getRowNumbers(ITable table, Set<ColumnValues> pks) throws DataSetException { + Set<Integer> ret = new HashSet<Integer>(); + + if (pks.isEmpty()) { + return ret; + } + + ColumnValues sample = pks.iterator().next(); + + for (int i = 0; i < table.getRowCount(); ++i) { + boolean add = true; + + for (ColumnValues.Column c : sample) { + Object val = table.getValue(i, c.getName()); + if (val == null ? c.getValue() != null : !val.equals(c.getValue())) { + add = false; + break; + } + } + + if (add) { + ret.add(i); + } + } + + return ret; + } + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Annotations.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Annotations.java new file mode 100644 index 0000000..c23b86a --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Annotations.java @@ -0,0 +1,53 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.jpa; + +import java.util.HashMap; +import java.util.Map; + +/** + * + * @author Lukas Krejci + */ +public class Annotations extends HashMap<Class<?>, Object> { + + private static final long serialVersionUID = 1L; + + public Annotations() { + super(); + } + + public Annotations(int initialCapacity, float loadFactor) { + super(initialCapacity, loadFactor); + } + + public Annotations(int initialCapacity) { + super(initialCapacity); + } + + public Annotations(Map<? extends Class<?>, ? extends Object> m) { + super(m); + } + + public <T> T get(Class<T> annotationClass) { + Object annotation = get((Object)annotationClass); + return annotationClass.cast(annotation); + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ColumnValues.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ColumnValues.java new file mode 100644 index 0000000..ba7cb05 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ColumnValues.java @@ -0,0 +1,195 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.jpa; + +import java.util.ArrayList; +import java.util.HashSet; +import java.util.Iterator; +import java.util.List; +import java.util.Map; +import java.util.Set; + +/** + * Represents a (composite) primary key of a table. + * + * @author Lukas Krejci + */ +public class ColumnValues implements Iterable<ColumnValues.Column>, Cloneable { + + public static class Column { + private String name; + private Object value; + + private Column(String name, Object value) { + this.name = name == null ? null : name.toUpperCase(); + this.value = value; + } + + /** + * @return the name + */ + public String getName() { + return name; + } + + /** + * @param name the name to set + */ + public void setName(String name) { + this.name = name == null ? null : name.toUpperCase(); + } + + /** + * @return the value + */ + public Object getValue() { + return value; + } + + /** + * @param value the value to set + */ + public void setValue(Object value) { + this.value = value; + } + + public int hashCode() { + if (name != null) { + return name.hashCode(); + } else if (value != null) { + return value.hashCode(); + } else { + return 1; + } + } + + public boolean equals(Object other) { + if (!(other instanceof Column)) { + return false; + } + + Column o = (Column) other; + + boolean nameEquals = name == null ? o.name == null : name.equalsIgnoreCase(o.name); + boolean valueEquals = value == null ? o.value == null : value.equals(o.value); + + return nameEquals && valueEquals; + } + + @Override + public String toString() { + return "Column[name='" + name + "', value='" + value + "']"; + } + } + + List<Column> columns = new ArrayList<Column>(); + + public ColumnValues() { + + } + + public ColumnValues(Object pk) { + columns.add(new Column(null, pk)); + } + + public ColumnValues(Object... pks) { + for (Object pk : pks) { + columns.add(new Column(null, pk)); + } + } + + public ColumnValues(Map<String, Object> pks) { + for (Map.Entry<String, Object> entry : pks.entrySet()) { + columns.add(new Column(entry.getKey(), entry.getValue())); + } + } + + public static Set<ColumnValues> setOf(Object... values) { + Set<ColumnValues> ret = new HashSet<ColumnValues>(); + for (Object val : values) { + ret.add(new ColumnValues(val)); + } + + return ret; + } + + public List<Column> getColumns() { + return columns; + } + + public void add(Object value) { + add(null, value); + } + + public void add(String colName, Object value) { + columns.add(new Column(colName, value)); + } + + public Column getColumnByName(String columnName) { + int idx = -1; + + int i = 0; + for (Column c : columns) { + if (columnName.equalsIgnoreCase(c.getName())) { + idx = i; + break; + } + ++i; + } + + if (idx < 0) { + return null; + } else { + return columns.get(idx); + } + } + + public Iterator<Column> iterator() { + return columns.iterator(); + } + + public int hashCode() { + return columns.hashCode(); + } + + public boolean equals(Object other) { + if (!(other instanceof ColumnValues)) { + return false; + } + + ColumnValues o = (ColumnValues) other; + + return columns.equals(o.columns); + } + + @Override + public String toString() { + return "ColumnValues" + columns.toString(); + } + + public ColumnValues clone() { + ColumnValues ret = new ColumnValues(); + for (Column c : getColumns()) { + ret.add(c.getName(), c.getValue()); + } + + return ret; + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ConfigurableDependencyInclusionResolver.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ConfigurableDependencyInclusionResolver.java new file mode 100644 index 0000000..5502466 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/ConfigurableDependencyInclusionResolver.java @@ -0,0 +1,82 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.jpa; + +import java.util.Set; + +import org.rhq.helpers.perftest.support.config.Entity; +import org.rhq.helpers.perftest.support.config.Relationship; +import org.rhq.helpers.perftest.support.config.ExportConfiguration; + +/** + * + * @author Lukas Krejci + */ +public class ConfigurableDependencyInclusionResolver implements DependencyInclusionResolver { + + private ExportConfiguration edg; + + public ConfigurableDependencyInclusionResolver() { + + } + + public ConfigurableDependencyInclusionResolver(ExportConfiguration edg) { + this.edg = edg; + } + + public boolean isValid(Edge edge) { + + Entity directFrom = edg.getEntity(edge.getFrom().getEntity()); + if (directFrom != null) { + if (directFrom.getIncludeAllDependents() != null + && directFrom.getIncludeAllDependents().equals(Boolean.TRUE)) { + return true; + } + for (Relationship r : directFrom.getRelationships()) { + if (r.getSourceField() != null) { + if (edge.getFromField() != null && edge.getFromField().getName().equals(r.getSourceField())) { + return true; + } + } else { + String edgeToField = edge.getToField() == null ? null : edge.getToField().getName(); + Class<?> target = edge.getTo().getEntity(); + + if (edgeToField != null && edgeToField.equals(r.getTargetField()) + && target.equals(edg.getClassForEntity(directFrom))) { + return true; + } + } + } + } + + //check if some of the parents wasn't declared as "includeAllDependents" + Set<Node> parentFroms = edge.getFrom().getTransitiveParents(true); + + for (Node parentFrom : parentFroms) { + Entity parentEntity = edg.getEntity(parentFrom.getEntity()); + if (parentEntity != null && parentEntity.getIncludeAllDependents() != null + && parentEntity.getIncludeAllDependents().equals(Boolean.TRUE)) { + return true; + } + } + + return false; + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/DependencyInclusionResolver.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/DependencyInclusionResolver.java new file mode 100644 index 0000000..7ef906b --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/DependencyInclusionResolver.java @@ -0,0 +1,36 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.jpa; + +import org.rhq.helpers.perftest.support.dbunit.EntityRelationshipFilter; + +/** + * Implementations of this interface can tell the EntityRelationshipFilter + * whether to traverse the entity dependency graph down a particular relationship. + * + * This is used in the {@link EntityRelationshipFilter} when determining the tables + * to include in the output. + * + * @author Lukas Krejci + */ +public interface DependencyInclusionResolver { + + boolean isValid(Edge edge); +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/DependencyType.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/DependencyType.java new file mode 100644 index 0000000..fc2e6bb --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/DependencyType.java @@ -0,0 +1,46 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.jpa; + +import java.lang.annotation.Annotation; + +import javax.persistence.ManyToMany; +import javax.persistence.OneToMany; +import javax.persistence.OneToOne; + +public enum DependencyType { + ONE_TO_ONE { + public Class<? extends Annotation> annotationType() { + return OneToOne.class; + } + }, + ONE_TO_MANY { + public Class<? extends Annotation> annotationType() { + return OneToMany.class; + } + }, + MANY_TO_MANY { + public Class<? extends Annotation> annotationType() { + return ManyToMany.class; + } + }; + + public abstract Class<? extends Annotation> annotationType(); +} \ No newline at end of file diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EagerMappingInclusionResolver.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EagerMappingInclusionResolver.java new file mode 100644 index 0000000..f126ef5 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EagerMappingInclusionResolver.java @@ -0,0 +1,69 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.jpa; + +import java.lang.reflect.Field; + +import javax.persistence.FetchType; +import javax.persistence.ManyToMany; +import javax.persistence.OneToMany; +import javax.persistence.OneToOne; + +/** + * + * @author Lukas Krejci + */ +public class EagerMappingInclusionResolver implements DependencyInclusionResolver { + + public boolean isValid(Edge edge) { + switch (edge.getDependencyType()) { + case ONE_TO_ONE: + return analyzeOneToOne(edge); + case ONE_TO_MANY: + return analyzeOneToMany(edge); + case MANY_TO_MANY: + return analyzeManyToMany(edge); + default: + return true; + } + } + + private boolean analyzeOneToOne(Edge edge) { + return edge.getFromField().getAnnotation(OneToOne.class).fetch() == FetchType.EAGER; + } + + private boolean analyzeOneToMany(Edge edge) { + Field fromField = edge.getFromField(); + + return fromField != null && fromField.getAnnotation(OneToMany.class).fetch() == FetchType.EAGER; + } + + private boolean analyzeManyToMany(Edge edge) { + Field fromField = edge.getFromField(); + Field toField = edge.getToField(); + + ManyToMany fromAnnotation = fromField.getAnnotation(ManyToMany.class); + ManyToMany toAnnotation = toField.getAnnotation(ManyToMany.class); + + return (fromAnnotation != null && fromAnnotation.fetch() == FetchType.EAGER) + || (toAnnotation != null && fromAnnotation.fetch() == FetchType.EAGER); + + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Edge.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Edge.java new file mode 100644 index 0000000..598ac1b --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Edge.java @@ -0,0 +1,107 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.jpa; + +import java.lang.reflect.Field; + +import org.rhq.helpers.perftest.support.jpa.mapping.RelationshipTranslation; + +public class Edge { + + private Node from; + + private Node to; + + private Field fromField; + + private Field toField; + + private RelationshipTranslation translation; + + private DependencyType dependencyType; + + public Edge(Node from, Node to, Field fromField, Field toField, DependencyType dependencyType) { + this.from = from; + this.to = to; + this.fromField = fromField; + this.toField = toField; + this.dependencyType = dependencyType; + } + + /** + * @return the from + */ + public Node getFrom() { + return from; + } + + /** + * @return the to + */ + public Node getTo() { + return to; + } + + /** + * @return the fromField + */ + public Field getFromField() { + return fromField; + } + + /** + * @return the toField + */ + public Field getToField() { + return toField; + } + + /** + * @return the dependencyType + */ + public DependencyType getDependencyType() { + return dependencyType; + } + + public RelationshipTranslation getTranslation() { + return translation; + } + + public void setTranslation(RelationshipTranslation translation) { + this.translation = translation; + } + + + public int hashCode() { + return from.hashCode() * to.hashCode(); + } + + public boolean equals(Object other) { + if (!(other instanceof Edge)) { + return false; + } + + Edge o = (Edge) other; + + boolean fromEqual = fromField == null ? o.fromField == null : fromField.equals(o.fromField); + boolean toEqual = toField == null ? o.toField == null : toField.equals(o.toField); + return fromEqual && toEqual; + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EntityDependencyGraph.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EntityDependencyGraph.java new file mode 100644 index 0000000..b91d960 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/EntityDependencyGraph.java @@ -0,0 +1,334 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.jpa; + +import static org.rhq.helpers.perftest.support.jpa.JPAUtil.getJPAFields; +import static org.rhq.helpers.perftest.support.jpa.JPAUtil.isEntity; + +import java.lang.reflect.Field; +import java.lang.reflect.ParameterizedType; +import java.lang.reflect.Type; +import java.lang.reflect.WildcardType; +import java.util.Arrays; +import java.util.Collection; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import javax.persistence.ManyToMany; +import javax.persistence.ManyToOne; +import javax.persistence.OneToMany; +import javax.persistence.OneToOne; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.rhq.helpers.perftest.support.jpa.mapping.MappingTranslator; + +/** + * + * @author Lukas Krejci + */ +public class EntityDependencyGraph { + + private static final Log LOG = LogFactory.getLog(EntityDependencyGraph.class); + + Map<Node, Node> nodes = new HashMap<Node, Node>(); + private MappingTranslator mappingTranslator = new MappingTranslator(); + + public Node addEntity(Class<?> entity) { + Node n = new Node(entity); + n = analyze(n); + + translateEverything(); + + return n; + } + + public Set<Node> addEntities(Class<?>... entities) { + return addEntities(Arrays.asList(entities)); + } + + public Set<Node> addEntities(Collection<Class<?>> entities) { + Set<Node> ret = new HashSet<Node>(); + for (Class<?> e : entities) { + ret.add(analyze(new Node(e))); + } + + translateEverything(); + + return ret; + } + + public Set<Node> getAllNodes() { + return nodes.keySet(); + } + + public Node getNode(Class<?> entityClass) { + return nodes.get(new Node(entityClass)); + } + + public Set<Node> getRootNodes() { + Set<Node> ret = new HashSet<Node>(); + + for (Node n : nodes.keySet()) { + if (n.getParents(false).isEmpty()) { + ret.add(n); + } + } + return ret; + } + + public Set<Node> getLeafNodes() { + Set<Node> ret = new HashSet<Node>(); + + for (Node n : nodes.keySet()) { + if (n.getChildren(false).isEmpty()) { + ret.add(n); + } + } + return ret; + } + + public String toString() { + StringBuilder bld = new StringBuilder(); + bld.append("EntityDependencyGraph[\n"); + for (Node n : nodes.keySet()) { + bld.append(n).append("\n"); + } + bld.append("]"); + return bld.toString(); + } + + private void translateEverything() { + for (Node n : getAllNodes()) { + if (n.getTranslation() == null) { + n.setTranslation(mappingTranslator.translate(n)); + } + } + + for (Node n : getAllNodes()) { + for(Edge e : n.getEdges()) { + if (e.getTranslation() == null) { + e.setTranslation(mappingTranslator.translate(e)); + } + } + } + } + + /** + * Analyzes the node and returns true if the node was incorporated into the + * dependency graph (or if it was already there). + * + * @param n the node to analyze. + * @return + */ + private Node analyze(Node n) { + //skip if already analyzed + Node existingNode = nodes.get(n); + if (existingNode != null) { + return existingNode; + } + + //we only care about JPA entities + if (!isEntity(n.getEntity())) { + return null; + } + + //first, let's add the node to the set so that we prevent + //recursion on possible circular references further below. + nodes.put(n, n); + + //RHQ has convention of declaring the JPA annotations strictly + //on fields. + Map<Field, Annotations> fields = getJPAFields(n.getEntity()); + + for (Map.Entry<Field, Annotations> entry : fields.entrySet()) { + Field field = entry.getKey(); + Annotations annotations = entry.getValue(); + + OneToOne oneToOne = annotations.get(OneToOne.class); + ManyToOne manyToOne = annotations.get(ManyToOne.class); + OneToMany oneToMany = annotations.get(OneToMany.class); + ManyToMany manyToMany = annotations.get(ManyToMany.class); + + if (oneToOne != null) { + analyzeOneToOne(n, field, annotations, oneToOne); + } else if (manyToOne != null) { + analyzeManyToOne(n, field, annotations, manyToOne); + } else if (oneToMany != null) { + analyzeOneToMany(n, field, annotations, oneToMany); + } else if (manyToMany != null) { + analyzeManyToMany(n, field, annotations, manyToMany); + } + } + + return n; + } + + private void analyzeOneToOne(Node n, Field field, Annotations annotations, OneToOne oneToOne) { + try { + Class<?> targetEntity = oneToOne.targetEntity(); + Node target = getTargetNode(field, targetEntity); + Field targetField = null; + boolean forward = true; //forward = true, backwards = false + + String mappedBy = oneToOne.mappedBy(); + + if (!mappedBy.isEmpty()) { + targetField = target.getEntity().getField(mappedBy); + forward = false; + } + + if (forward) { + n.addChild(target, targetField, field, DependencyType.ONE_TO_ONE); + } else { + n.addParent(target, targetField, field, DependencyType.ONE_TO_ONE); + } + } catch (Exception e) { + LOG.error("Failed to analyze a @OneToOne relationship '" + field.getName() + "' on " + n.getEntity(), e); + } + } + + private void analyzeManyToOne(Node n, Field field, Annotations annotations, ManyToOne manyToOne) { + Class<?> targetEntity = manyToOne.targetEntity(); + Node target = getTargetNode(field, targetEntity); + Field targetField = null; + + Set<Field> possibleTargetFields = JPAUtil.getJPAFields(target.getEntity(), OneToMany.class); + for (Field f : possibleTargetFields) { + if (f.getAnnotation(OneToMany.class).mappedBy().equals(field.getName()) + && n.getEntity().equals(getRelevantType(f, null))) { + targetField = f; + break; + } + } + + n.addParent(target, targetField, field, DependencyType.ONE_TO_MANY); + } + + private void analyzeOneToMany(Node n, Field field, Annotations annotations, OneToMany oneToMany) { + Class<?> targetEntity = oneToMany.targetEntity(); + Node target = getTargetNode(field, targetEntity); + Field targetField = null; + + if (!oneToMany.mappedBy().isEmpty()) { + targetField = JPAUtil.getField(target.getEntity(), oneToMany.mappedBy()); + } + + n.addChild(target, targetField, field, DependencyType.ONE_TO_MANY); + } + + private void analyzeManyToMany(Node n, Field field, Annotations annotations, ManyToMany manyToMany) { + Class<?> targetEntity = manyToMany.targetEntity(); + Node target = getTargetNode(field, targetEntity); + Field targetField = null; + boolean forward = true; + + Set<Field> possibleTargetFields = JPAUtil.getJPAFields(target.getEntity(), ManyToMany.class); + String thisMappedBy = manyToMany.mappedBy(); + for (Field f : possibleTargetFields) { + if (thisMappedBy.equals(f.getName())) { + targetField = f; + forward = false; + break; + } else if (f.getAnnotation(ManyToMany.class).mappedBy().equals(field.getName())) { + targetField = f; + break; + } + } + + if (forward) { + n.addChild(target, targetField, field, DependencyType.MANY_TO_MANY); + } else { + n.addParent(target, targetField, field, DependencyType.MANY_TO_MANY); + } + } + + private Class<?> getRelevantType(Field field, Class<?> declaredTargetEntity) { + if (declaredTargetEntity == null || declaredTargetEntity == void.class) { + declaredTargetEntity = field.getType(); + } + + if (isCollection(declaredTargetEntity)) { + Type type = field.getGenericType(); + + declaredTargetEntity = getCollectionTypeParameter(type, 0); + } else if (isMap(declaredTargetEntity)) { + Type type = field.getGenericType(); + + declaredTargetEntity = getCollectionTypeParameter(type, 1); + } + + return declaredTargetEntity; + } + + private Node getTargetNode(Field field, Class<?> declaredTargetEntity) { + declaredTargetEntity = getRelevantType(field, declaredTargetEntity); + + return analyze(new Node(declaredTargetEntity)); + } + + private static boolean isCollection(Class<?> clazz) { + //this is actually copied from Hibernate impl. It seems to be rather strict about + //the JPA collection classes. + return clazz == Collection.class || clazz == List.class || clazz == Set.class; + } + + private static boolean isMap(Class<?> clazz) { + return clazz == Map.class; + } + + /** + * Returns the class of the collection's type parameter. + * + * @param collectionType + * @return + */ + private static Class<?> getCollectionTypeParameter(Type collectionType, int parameterPosition) { + if (collectionType instanceof ParameterizedType) { + Type[] typeArguments = ((ParameterizedType) collectionType).getActualTypeArguments(); + return resolveTypeParameter(typeArguments[parameterPosition]); + } else { + return (Class<?>) collectionType; + } + } + + private static Class<?> resolveTypeParameter(Type typeParameter) { + if (typeParameter instanceof WildcardType) { + Type[] upperBounds = ((WildcardType) typeParameter).getUpperBounds(); + if (upperBounds.length > 1) { + return Object.class; + } else { + return (Class<?>) upperBounds[0]; + } + } else { + return (Class<?>) typeParameter; + } + } + + public static void main(String[] args) throws Exception { + EntityDependencyGraph g = new EntityDependencyGraph(); + //g.addEntity(Class.forName("org.rhq.core.domain.configuration.Configuration")); + g.addEntity(Class.forName("org.rhq.core.domain.resource.Resource")); + System.out.println(g); + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/JPAUtil.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/JPAUtil.java new file mode 100644 index 0000000..dcd4ab8 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/JPAUtil.java @@ -0,0 +1,131 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.jpa; + +import java.lang.annotation.Annotation; +import java.lang.reflect.Field; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import javax.persistence.Embedded; +import javax.persistence.Entity; + + +/** + * + * @author Lukas Krejci + */ +public class JPAUtil { + + private JPAUtil() { + + } + + public static boolean isEntity(Class<?> clazz) { + return clazz.getAnnotation(Entity.class) != null; + } + + public static Annotations getJPAAnnotations(Class<?> clazz) { + return extractJPAAnnotations(clazz.getAnnotations()); + } + + public static Annotations getJPAAnnotations(Field field) { + return extractJPAAnnotations(field.getAnnotations()); + } + + public static Map<Field, Annotations> getJPAFields(Class<?> clazz) { + HashMap<Field, Annotations> ret = new HashMap<Field, Annotations>(); + + for (Field f : getAllFields(clazz)) { + if (f.getAnnotation(Embedded.class) == null) { + ret.put(f, extractJPAAnnotations(f.getAnnotations())); + } else { + ret.putAll(getJPAFields(f.getType())); + } + } + + return ret; + } + + public static Set<Field> getJPAFields(Class<?> clazz, Class<? extends Annotation> desiredAnnotation) { + HashSet<Field> ret = new HashSet<Field>(); + + for(Field f : getAllFields(clazz)) { + if (f.getAnnotation(desiredAnnotation) != null) { + ret.add(f); + } else if (f.getAnnotation(Embedded.class) != null) { + ret.addAll(getJPAFields(f.getType(), desiredAnnotation)); + } + } + + return ret; + } + + private static Annotations extractJPAAnnotations(Annotation[] annotations) { + Annotations ret = new Annotations(); + + for (Annotation annon : annotations) { + if (annon.annotationType().getPackage().getName().startsWith("javax.persistence")) { + ret.put(annon.annotationType(), annon); + } + } + + return ret; + } + + public static Field getField(Class<?> clazz, String name) { + while (clazz != null) { + Field f = null; + try { + f = clazz.getDeclaredField(name); + } catch (SecurityException e) { + return null; + } catch (NoSuchFieldException e) { + //let's continue below + } + + if (f != null) { + return f; + } else { + clazz = clazz.getSuperclass(); + } + } + + return null; + } + private static List<Field> getAllFields(Class<?> clazz) { + ArrayList<Field> fields = new ArrayList<Field>(); + + fields.addAll(Arrays.asList(clazz.getDeclaredFields())); + + Class<?> superClass = clazz.getSuperclass(); + + if (superClass != null) { + fields.addAll(getAllFields(clazz.getSuperclass())); + } + + return fields; + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Node.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Node.java new file mode 100644 index 0000000..c4bd27b --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/Node.java @@ -0,0 +1,199 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.jpa; + +import java.lang.reflect.Field; +import java.util.HashSet; +import java.util.Set; +import java.util.SortedSet; +import java.util.TreeSet; + +import org.rhq.helpers.perftest.support.jpa.mapping.EntityTranslation; + +public class Node implements Comparable<Node> { + + private Class<?> entity; + + private Set<Edge> edges; + + private EntityTranslation translation; + + public Node(Class<?> entity) { + this.entity = entity; + edges = new HashSet<Edge>(); + } + + public Class<?> getEntity() { + return entity; + } + + public EntityTranslation getTranslation() { + return translation; + } + + public void setTranslation(EntityTranslation translation) { + this.translation = translation; + } + + public void addParent(Node parent, Field parentField, Field thisField, DependencyType dependencyType) { + Edge edge = new Edge(parent, this, parentField, thisField, dependencyType); + + if (edges.add(edge)) { + parent.addEdge(edge); + } + } + + public void addChild(Node child, Field childField, Field thisField, DependencyType dependencyType) { + Edge edge = new Edge(this, child, thisField, childField, dependencyType); + + if (edges.add(edge)) { + child.addEdge(edge); + } + } + + protected void addEdge(Edge edge) { + edges.add(edge); + } + + public Set<Edge> getEdges() { + return edges; + } + + public SortedSet<Node> getParents(boolean onlyExplicitRelations) { + SortedSet<Node> ret = new TreeSet<Node>(); + + for(Edge e : edges) { + //== *is* correct here + if (e.getTo() == this && (onlyExplicitRelations ? e.getFromField() != null : true)) { + ret.add(e.getFrom()); + } + } + + return ret; + } + + public SortedSet<Node> getChildren(boolean onlyExplicitRelations) { + SortedSet<Node> ret = new TreeSet<Node>(); + + for(Edge e : edges) { + //== *is* correct here + if (e.getFrom() == this && (onlyExplicitRelations ? e.getToField() != null : true)) { + ret.add(e.getTo()); + } + } + + return ret; + } + + public SortedSet<Node> getTransitiveParents(boolean onlyExplicitRelations) { + SortedSet<Node> ret = new TreeSet<Node>(); + + ret.add(this); + + Set<Node> currentParents = getParents(onlyExplicitRelations); + + while (!currentParents.isEmpty()) { + Set<Node> parentsCopy = new HashSet<Node>(currentParents); + + if (!ret.addAll(currentParents)) { + //if the returned set already contained all the current parents, + //then we're inside a cycle and there's no need to continue. + break; + } + + currentParents.clear(); + + for (Node p : parentsCopy) { + currentParents.addAll(p.getParents(onlyExplicitRelations)); + } + } + + return ret; + } + + public SortedSet<Node> getTransitiveChildren(boolean onlyExplicitRelations) { + SortedSet<Node> ret = new TreeSet<Node>(); + + ret.add(this); + + Set<Node> currentChildren = getChildren(onlyExplicitRelations); + + while (!currentChildren.isEmpty()) { + Set<Node> childrenCopy = new HashSet<Node>(currentChildren); + + if (!ret.addAll(currentChildren)) { + //if the returned set already contained all the current children, + //then we're inside a cycle and there's no need to continue. + break; + } + + currentChildren.clear(); + + for (Node c : childrenCopy) { + currentChildren.addAll(c.getChildren(onlyExplicitRelations)); + } + } + + return ret; + } + + public int hashCode() { + return entity.hashCode(); + } + + @SuppressWarnings("unchecked") + @Override + public boolean equals(Object other) { + if (!(other instanceof Node)) { + return false; + } + + return entity.equals(((Node) other).getEntity()); + } + + public int compareTo(Node o) { + return entity.getName().compareTo(o.entity.getName()); + } + + public String toString() { + StringBuilder bld = new StringBuilder(); + + bld.append(entity.getSimpleName()).append("[\n"); + bld.append("attachment=").append(translation).append("\n"); + for(Edge e : edges) { + String fromField = e.getFromField() != null ? e.getFromField().getName() : "?"; + String toField = e.getToField() != null ? e.getToField().getName() : "?"; + + if (e.getFrom() == this) { + bld.append("(").append(fromField); + bld.append(") -").append(e.getDependencyType()).append("> ").append(e.getTo().getEntity().getSimpleName()); + bld.append("(").append(toField).append(")"); + } else { + bld.append("(").append(toField); + bld.append(") <").append(e.getDependencyType()).append("- ").append(e.getFrom().getEntity().getSimpleName()); + bld.append("(").append(fromField).append(")"); + } + bld.append("\n").append("(attachment=").append(e.getTranslation()).append(")\n"); + } + bld.append("]"); + + return bld.toString(); + } +} \ No newline at end of file diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/ColumnValuesTableMap.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/ColumnValuesTableMap.java new file mode 100644 index 0000000..38bd802 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/ColumnValuesTableMap.java @@ -0,0 +1,45 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.jpa.mapping; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.Set; + +import org.rhq.helpers.perftest.support.jpa.ColumnValues; + +/** + * + * @author Lukas Krejci + */ +public class ColumnValuesTableMap extends HashMap<String, Set<ColumnValues>> { + + private static final long serialVersionUID = 1L; + + public Set<ColumnValues> getOrCreate(Object key) { + Set<ColumnValues> ret = super.get(key); + if (ret == null) { + ret = new HashSet<ColumnValues>(); + put((String)key, ret); + } + + return ret; + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/EntityTranslation.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/EntityTranslation.java new file mode 100644 index 0000000..4167413 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/EntityTranslation.java @@ -0,0 +1,47 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.jpa.mapping; + +import java.util.Arrays; + +public class EntityTranslation { + private String tableName; + private String[] pkColumns; + + public void setTableName(String tableName) { + this.tableName = tableName; + } + + public String getTableName() { + return tableName; + } + + public void setPkColumns(String[] pkColumns) { + this.pkColumns = pkColumns; + } + + public String[] getPkColumns() { + return pkColumns; + } + + public String toString() { + return "EntityTranslation[table='" + getTableName() + "', pk=" + Arrays.asList(getPkColumns()) + "]"; + } +} \ No newline at end of file diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/MappingTranslator.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/MappingTranslator.java new file mode 100644 index 0000000..c6b2f6e --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/MappingTranslator.java @@ -0,0 +1,410 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.jpa.mapping; + +import java.lang.annotation.Annotation; +import java.lang.reflect.Field; +import java.util.Collections; +import java.util.HashSet; +import java.util.Set; + +import javax.persistence.Column; +import javax.persistence.DiscriminatorValue; +import javax.persistence.FetchType; +import javax.persistence.Id; +import javax.persistence.IdClass; +import javax.persistence.JoinColumn; +import javax.persistence.JoinColumns; +import javax.persistence.JoinTable; +import javax.persistence.ManyToMany; +import javax.persistence.ManyToOne; +import javax.persistence.OneToMany; +import javax.persistence.OneToOne; +import javax.persistence.Table; + +import org.rhq.helpers.perftest.support.jpa.Edge; +import org.rhq.helpers.perftest.support.jpa.JPAUtil; +import org.rhq.helpers.perftest.support.jpa.Node; + + +/** + * Translates the {@link Node} and its {@link Edge}s into table and column names. + * + * @author Lukas Krejci + */ +public class MappingTranslator { + private static class AnnotatedField { + private Field field; + private Annotation[] annotations; + + public AnnotatedField(Field f) { + field = f; + annotations = new Annotation[f.getAnnotations().length]; + System.arraycopy(f.getAnnotations(), 0, annotations, 0, annotations.length); + } + + public void addAnnotations(Annotation[] annotations) { + Annotation[] thisAnnotations = this.annotations; + + this.annotations = new Annotation[this.annotations.length + annotations.length]; + System.arraycopy(thisAnnotations, 0, this.annotations, 0, thisAnnotations.length); + System.arraycopy(annotations, 0, this.annotations, thisAnnotations.length, annotations.length); + } + + public Annotation[] getAnnotations() { + return annotations; + } + + public <T extends Annotation> T getAnnotation(Class<T> type) { + for (int i = 0; i < annotations.length; ++i) { + if (annotations[i].annotationType().equals(type)) { + return type.cast(annotations[i]); + } + } + + return null; + } + + public String getName() { + return field.getName(); + } + } + + public EntityTranslation translate(Node node) { + EntityTranslation translation = new EntityTranslation(); + + translation.setTableName(getTableName(node)); + translation.setPkColumns(getPkColumns(node)); + + return translation; + } + + public RelationshipTranslation translate(Edge edge) { + switch (edge.getDependencyType()) { + case ONE_TO_ONE: + return analyzeOneToOne(edge); + case ONE_TO_MANY: + return analyzeOneToMany(edge); + case MANY_TO_MANY: + return analyzeManyToMany(edge); + default: + return null; + } + } + + + private static String getTableName(Node node) { + return getTableName(node.getEntity()); + } + + private static String[] getPkColumns(Node node) { + Set<AnnotatedField> pkFields = getIdFields(node.getEntity()); + + if (pkFields.isEmpty()) { + return null; + } + + String[] columns = new String[pkFields.size()]; + int idx = 0; + for (AnnotatedField f : pkFields) { + columns[idx] = getColumnName(f); + if (columns[idx] == null) { + //check for the special case, @Id with @JoinColumn and @ManyToOne + ManyToOne manyToOne = f.getAnnotation(ManyToOne.class); + if (manyToOne == null) { + columns[idx] = f.getName().toUpperCase(); + } else { + JoinColumn joinColumn = f.getAnnotation(JoinColumn.class); + columns[idx] = joinColumn.name(); + if (columns[idx].isEmpty()) { + columns[idx] = f.getName().toUpperCase(); + } + } + } + idx++; + } + return columns; + } + + private static String getColumnName(Field field) { + if (field == null) { + return null; + } + + Column colSpec = field.getAnnotation(Column.class); + + if (colSpec != null && !colSpec.name().isEmpty()) { + return colSpec.name(); + } else { + return null; + } + } + + private static String[] getJoinColumnNames(Field field) { + if (field == null) { + return null; + } + + JoinColumn colSpec = field.getAnnotation(JoinColumn.class); + + if (colSpec != null) { + //a single join column specified + return new String[] { colSpec.name() }; + } else { + //see, if there are more join cols + JoinColumns joinColumns = field.getAnnotation(JoinColumns.class); + if (joinColumns != null) { + JoinColumn[] cols = joinColumns.value(); + String[] ret = new String[cols.length]; + + for(int i = 0; i < cols.length; ++i) { + ret[i] = cols[i].name(); + } + + return ret; + } + } + + return null; + } + + private static String getColumnName(AnnotatedField field) { + if (field == null) { + return null; + } + + Column colSpec = field.getAnnotation(Column.class); + + if (colSpec != null && !colSpec.name().isEmpty()) { + return colSpec.name().toUpperCase(); + } else { + return null; + } + } + + public static String getTableName(Class<?> entity) { + Table tableAnnotation = entity.getAnnotation(Table.class); + if (tableAnnotation != null) { + String name = tableAnnotation.name(); + if (name.isEmpty()) { + name = entity.getSimpleName(); + } + + return name.toUpperCase(); + } else { + DiscriminatorValue discriminatorValueAnnotation = entity.getAnnotation(DiscriminatorValue.class); + if (discriminatorValueAnnotation != null) { + return getTableName(entity.getSuperclass()); + } + } + + return null; + } + + public static Set<AnnotatedField> getIdFields(Class<?> entity) { + //we have 3 ways of defining ids of an entity + //1) single @Id + //2) @IdClass and multiple @Id fields + //3) these rules applied recursively in @Embedded fields + + //3 is handled implicitly by JPAUtil + + Set<Field> idFields = JPAUtil.getJPAFields(entity, Id.class); + + if (idFields.size() == 0) { + return null; + } else if (idFields.size() == 1) { + return Collections.singleton(new AnnotatedField(idFields.iterator().next())); + } else { + //@IdClass + Class<?> idClass = entity.getAnnotation(IdClass.class).value(); + + Set<AnnotatedField> ret = new HashSet<AnnotatedField>(); + for (Field f : idFields) { + AnnotatedField af = new AnnotatedField(f); + + try { + Field idF = idClass.getDeclaredField(f.getName()); + af.addAnnotations(idF.getAnnotations()); + } catch (Exception e) { + } + + ret.add(af); + } + + return ret; + } + } + + private static RelationshipTranslation analyzeOneToOne(Edge relationship) { + Field fromField = relationship.getFromField(); + Field toField = relationship.getToField(); + + RelationshipTranslation translation = new RelationshipTranslation(); + + String[] fromColumn = getJoinColumnNames(fromField); + if (fromColumn == null) { + fromColumn = relationship.getFrom().getTranslation().getPkColumns(); + } + + String[] toColumn = getJoinColumnNames(toField); + if (toColumn == null) { + toColumn = relationship.getTo().getTranslation().getPkColumns(); + } + + translation.setFromColumns(fromColumn); + translation.setToColumns(toColumn); + + return translation; + } + + private static RelationshipTranslation analyzeOneToMany(Edge relationship) { + Field fromField = relationship.getFromField(); + Field toField = relationship.getToField(); + + RelationshipTranslation translation = new RelationshipTranslation(); + + if (toField == null) { + JoinTable t = fromField.getAnnotation(JoinTable.class); + JoinColumn c = fromField.getAnnotation(JoinColumn.class); + if (t != null) { + analyzeJoinTable(translation, t); + } else if (c != null) { + //join column represents the column in the target table. + String fromColumn = getColumnName(fromField); + if (fromColumn == null) { + translation.setFromColumns(relationship.getFrom().getTranslation().getPkColumns()); + } else { + translation.setFromColumns(new String[] { fromColumn }); + } + + translation.setToColumns(joinColumnNames(new JoinColumn[] { c })); + } else { + throw new IllegalArgumentException("Default mappings on @OneToMany not implemented."); + } + + } else { + String fromColumn = getColumnName(fromField); + if (fromColumn == null) { + translation.setFromColumns(relationship.getFrom().getTranslation().getPkColumns()); + } else { + translation.setFromColumns(new String[] { fromColumn }); + } + + String toColumn = getColumnName(toField); + if (toColumn == null) { + AnnotatedField fullField = getFieldWithFullAnnotations(toField); + JoinColumn joinColumn = fullField.getAnnotation(JoinColumn.class); + if (joinColumn == null) { + translation.setToColumns(relationship.getTo().getTranslation().getPkColumns()); + } else { + translation.setToColumns(joinColumnNames(new JoinColumn[] { joinColumn })); + } + } else { + translation.setToColumns(new String[] { toColumn }); + } + } + + return translation; + } + + private static RelationshipTranslation analyzeManyToMany(Edge relationship) { + Field fromField = relationship.getFromField(); + Field toField = relationship.getToField(); + + JoinTable t = fromField.getAnnotation(JoinTable.class); + + if (t == null) { + t = toField.getAnnotation(JoinTable.class); + } + + if (t == null) { + throw new IllegalStateException("Default values for a @JoinTable are not supported."); + } + + RelationshipTranslation translation = new RelationshipTranslation(); + + analyzeJoinTable(translation, t); + + return translation; + } + + private static void analyzeJoinTable(RelationshipTranslation translation, JoinTable joinTable) { + JoinColumn[] joinCols = joinTable.joinColumns(); + JoinColumn[] inverseCols = joinTable.inverseJoinColumns(); + String tableName = joinTable.name().toUpperCase(); + + translation.setRelationTable(tableName); + translation.setRelationTableFromColumns(joinColumnNames(joinCols)); + translation.setRelationTableToColumns(joinColumnNames(inverseCols)); + + translation.setFromColumns(new String[joinCols.length]); + translation.setToColumns(new String[inverseCols.length]); + + updateWithJoinColumnReferencedNames(translation.getFromColumns(), joinCols); + updateWithJoinColumnReferencedNames(translation.getToColumns(), inverseCols); + } + + private static String[] joinColumnNames(JoinColumn[] columns) { + String[] ret = new String[columns.length]; + + for (int i = 0; i < columns.length; ++i) { + ret[i] = columns[i].name().toUpperCase(); + } + + return ret; + } + + private static void updateWithJoinColumnReferencedNames(String[] names, JoinColumn[] columns) { + if (names.length != columns.length) { + return; + } + + for (int i = 0; i < columns.length; ++i) { + if (!columns[i].referencedColumnName().isEmpty()) { + names[i] = columns[i].referencedColumnName().toUpperCase(); + } + } + } + + /** + * This method returns something else than just wrapped f only in case + * when f is a part of composite id defined by an {@link IdClass @IdClass}. + * In that case the returned annotated field contains annotations defined on + * both the field itself and the corresponding field from the id class. + * + * @param f + * @return + */ + private static AnnotatedField getFieldWithFullAnnotations(Field f) { + AnnotatedField ret = new AnnotatedField(f); + + IdClass idClass = f.getDeclaringClass().getAnnotation(IdClass.class); + if (idClass != null) { + try { + Field correspondingIdField = idClass.value().getDeclaredField(f.getName()); + ret.addAnnotations(correspondingIdField.getAnnotations()); + } catch (Exception e) { + } + } + + return ret; + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/RelationshipTranslation.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/RelationshipTranslation.java new file mode 100644 index 0000000..ea2880c --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/jpa/mapping/RelationshipTranslation.java @@ -0,0 +1,83 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.jpa.mapping; + +import java.util.Arrays; + +public class RelationshipTranslation { + private String[] fromColumns; + private String[] toColumns; + private String relationTable; + private String[] relationTableFromColumns; + private String[] relationTableToColumns; + + public void setFromColumns(String[] fromColumns) { + this.fromColumns = fromColumns; + } + + public String[] getFromColumns() { + return fromColumns; + } + + public void setToColumns(String[] toColumns) { + this.toColumns = toColumns; + } + + public String[] getToColumns() { + return toColumns; + } + + public void setRelationTable(String relationTable) { + this.relationTable = relationTable; + } + + public String getRelationTable() { + return relationTable; + } + + public void setRelationTableFromColumns(String[] relationTableFromColumns) { + this.relationTableFromColumns = relationTableFromColumns; + } + + public String[] getRelationTableFromColumns() { + return relationTableFromColumns; + } + + public void setRelationTableToColumns(String[] relationTableToColumns) { + this.relationTableToColumns = relationTableToColumns; + } + + public String[] getRelationTableToColumns() { + return relationTableToColumns; + } + + public String toString() { + String ret = "RelationshipTranslation[from=" + Arrays.asList(getFromColumns()) + ", to=" + + Arrays.asList(getToColumns()) + ""; + if (getRelationTable() != null) { + ret += ", relationTable='" + getRelationTable() + "', relationTableFrom=" + + Arrays.asList(getRelationTableFromColumns()) + ", relationTableTo=" + + Arrays.asList(getRelationTableToColumns()) + ""; + } + ret += "]"; + + return ret; + } +} \ No newline at end of file diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java index f524db2..ec4475f 100644 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java @@ -44,8 +44,13 @@ public class DatabaseSetupInterceptor implements IInvokedMethodListener {
public void beforeInvocation(IInvokedMethod method, ITestResult testResult) { DatabaseState state = getRequiredDatabaseState(method); + + if (state == null) { + return; + } + Method connectionProviderMethod = getConnectionProviderMethod(method, state); - + try { InputStream dataInput = getDataInput(state.url(), state.storage(), method); Object classInstance = method.getTestMethod().getInstances()[0]; diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/Annotations.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/Annotations.java deleted file mode 100644 index 5b445ee..0000000 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/Annotations.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * RHQ Management Platform - * Copyright (C) 2005-2010 Red Hat, Inc. - * All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -package org.rhq.helpers.perftest.support.util; - -import java.util.HashMap; -import java.util.Map; - -/** - * - * @author Lukas Krejci - */ -public class Annotations extends HashMap<Class<?>, Object> { - - private static final long serialVersionUID = 1L; - - public Annotations() { - super(); - } - - public Annotations(int initialCapacity, float loadFactor) { - super(initialCapacity, loadFactor); - } - - public Annotations(int initialCapacity) { - super(initialCapacity); - } - - public Annotations(Map<? extends Class<?>, ? extends Object> m) { - super(m); - } - - public <T> T get(Class<T> annotationClass) { - Object annotation = get((Object)annotationClass); - return annotationClass.cast(annotation); - } -} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/DbUnitUtil.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/DbUnitUtil.java deleted file mode 100644 index 2a70703..0000000 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/DbUnitUtil.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * RHQ Management Platform - * Copyright (C) 2005-2010 Red Hat, Inc. - * All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -package org.rhq.helpers.perftest.support.util; - -import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.SQLException; -import java.util.Properties; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.dbunit.DatabaseUnitException; -import org.dbunit.database.DatabaseConnection; -import org.dbunit.database.IDatabaseConnection; -import org.rhq.helpers.perftest.support.Settings; - -/** - * - * @author Lukas Krejci - */ -public class DbUnitUtil { - - private static final Log LOG = LogFactory.getLog(DbUnitUtil.class); - - private DbUnitUtil() { - - } - - public static IDatabaseConnection getConnection(Properties settings) throws SQLException, DatabaseUnitException { - String driverClass = settings.getProperty(Settings.DATABASE_DRIVER_CLASS_PROPERTY); - if (driverClass != null) { - try { - Class.forName(driverClass); - } catch (ClassNotFoundException e) { - LOG.error("Failed to load the driver class.", e); - } - } - return getConnection(settings.getProperty("url"), settings.getProperty("user"), settings.getProperty("password")); - } - - public static IDatabaseConnection getConnection(String url, String user, String password) throws SQLException, DatabaseUnitException { - Connection jdbcConnection = DriverManager.getConnection(url, user, password); - - return new DatabaseConnection(jdbcConnection); - } -} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/EntityDependencySearchCallbackFilteredByIds.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/EntityDependencySearchCallbackFilteredByIds.java deleted file mode 100644 index eed4ee2..0000000 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/EntityDependencySearchCallbackFilteredByIds.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * RHQ Management Platform - * Copyright (C) 2005-2010 Red Hat, Inc. - * All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -package org.rhq.helpers.perftest.support.util; - -import java.util.SortedSet; - -import org.dbunit.dataset.filter.ITableFilter; -import org.dbunit.util.search.IEdge; -import org.dbunit.util.search.ISearchCallback; -import org.dbunit.util.search.SearchException; -import org.rhq.helpers.perftest.support.EntityDependencyGraph; - -/** - * - * @author Lukas Krejci - */ -public class EntityDependencySearchCallbackFilteredByIds implements ISearchCallback { - - private static class Edge implements IEdge { - - private EntityDependencyGraph.Node from; - private EntityDependencyGraph.Node to; - - public Edge(EntityDependencyGraph.Node from, EntityDependencyGraph.Node to) { - this.from = from; - this.to = to; - } - - public int compareTo(Object o) { - return from.getTable().compareTo(to.getTable()); - } - - public Object getFrom() { - return from; - } - - public Object getTo() { - return to; - } - }; - - ITableFilter getFilter() { - - } - - public SortedSet<Object> getEdges(Object fromNode) throws SearchException { - // TODO Auto-generated method stub - return null; - } - - public void nodeAdded(Object fromNode) throws SearchException { - // TODO Auto-generated method stub - - } - - public boolean searchNode(Object node) throws SearchException { - // TODO Auto-generated method stub - return false; - } - -} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/ExportedKeysSearchCallbackFilteredByPKs.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/ExportedKeysSearchCallbackFilteredByPKs.java deleted file mode 100644 index c0fc82b..0000000 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/ExportedKeysSearchCallbackFilteredByPKs.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * RHQ Management Platform - * Copyright (C) 2005-2010 Red Hat, Inc. - * All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -package org.rhq.helpers.perftest.support.util; - -import java.sql.ResultSet; - -import org.dbunit.database.IDatabaseConnection; -import org.dbunit.database.PrimaryKeyFilter; -import org.dbunit.database.PrimaryKeyFilter.PkTableMap; -import org.dbunit.database.search.ExportedKeysSearchCallback; -import org.dbunit.database.search.ForeignKeyRelationshipEdge; -import org.dbunit.dataset.filter.ITableFilter; -import org.dbunit.util.search.IEdge; -import org.dbunit.util.search.SearchException; - -/** - * - * @author Lukas Krejci - */ -public class ExportedKeysSearchCallbackFilteredByPKs extends ExportedKeysSearchCallback { - - private final PrimaryKeyFilter pksFilter; - - public ExportedKeysSearchCallbackFilteredByPKs(IDatabaseConnection connection, PkTableMap allowedPKs) { - super(connection); - this.pksFilter = new PrimaryKeyFilter(connection, allowedPKs, true); - } - - /** - * Get the primary key filter associated with the call back - * @return primary key filter associated with the call back - */ - public ITableFilter getFilter() { - return this.pksFilter; - } - - public void nodeAdded(Object node) throws SearchException { - this.pksFilter.nodeAdded(node); - } - - protected IEdge newEdge(ResultSet rs, int type, String from, String to, String fkColumn, String pkColumn) - throws SearchException { - - ForeignKeyRelationshipEdge edge = createFKEdge(rs, type, from, to, fkColumn, pkColumn); - this.pksFilter.edgeAdded(edge); - return edge; - } -} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/JPAUtil.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/JPAUtil.java deleted file mode 100644 index 03c2570..0000000 --- a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/JPAUtil.java +++ /dev/null @@ -1,89 +0,0 @@ -/* - * RHQ Management Platform - * Copyright (C) 2005-2010 Red Hat, Inc. - * All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -package org.rhq.helpers.perftest.support.util; - -import java.lang.annotation.Annotation; -import java.lang.reflect.Field; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import javax.persistence.Entity; - -/** - * - * @author Lukas Krejci - */ -public class JPAUtil { - - private JPAUtil() { - - } - - public static boolean isEntity(Class<?> clazz) { - return clazz.getAnnotation(Entity.class) != null; - } - - public static Annotations getJPAAnnotations(Class<?> clazz) { - return extractJPAAnnotations(clazz.getAnnotations()); - } - - public static Annotations getJPAAnnotations(Field field) { - return extractJPAAnnotations(field.getAnnotations()); - } - - public static Map<Field, Annotations> getJPAFields(Class<?> clazz) { - HashMap<Field, Annotations> ret = new HashMap<Field, Annotations>(); - - for (Field f : getAllFields(clazz)) { - ret.put(f, extractJPAAnnotations(f.getAnnotations())); - } - - return ret; - } - - private static Annotations extractJPAAnnotations(Annotation[] annotations) { - Annotations ret = new Annotations(); - - for (Annotation annon : annotations) { - if (annon.annotationType().getPackage().getName().startsWith("javax.persistence")) { - ret.put(annon.annotationType(), annon); - } - } - - return ret; - } - - private static List<Field> getAllFields(Class<?> clazz) { - ArrayList<Field> fields = new ArrayList<Field>(); - - fields.addAll(Arrays.asList(clazz.getDeclaredFields())); - - Class<?> superClass = clazz.getSuperclass(); - - if (superClass != null) { - fields.addAll(getAllFields(clazz.getSuperclass())); - } - - return fields; - } -}
commit 240b2f3cfdd45037ec1931cb5d8ad25acc1f7474 Author: Lukas Krejci lkrejci@redhat.com Date: Fri Aug 27 15:51:35 2010 +0200
temp commit
diff --git a/modules/enterprise/remoting/cli/pom.xml b/modules/enterprise/remoting/cli/pom.xml index b118a9e..6bf2f26 100644 --- a/modules/enterprise/remoting/cli/pom.xml +++ b/modules/enterprise/remoting/cli/pom.xml @@ -24,7 +24,6 @@ <persistence-api.version>1.0</persistence-api.version> <hibernate-all.version>1.0.0.Alpha9</hibernate-all.version> <opencsv.version>1.8</opencsv.version> - <testng.version>5.9</testng.version> </properties>
<dependencies> diff --git a/modules/enterprise/remoting/webservices/pom.xml b/modules/enterprise/remoting/webservices/pom.xml index 393d2e9..71e2f93 100644 --- a/modules/enterprise/remoting/webservices/pom.xml +++ b/modules/enterprise/remoting/webservices/pom.xml @@ -20,7 +20,6 @@ <scm.module.path>modules/enterprise/remoting/</scm.module.path> <persistence-api.version>1.0</persistence-api.version> <ant.contrib.version>1.0b3</ant.contrib.version> - <testng.version>5.9</testng.version> </properties>
<dependencies> diff --git a/modules/helpers/perftest-support/hs_err_pid10752.log b/modules/helpers/perftest-support/hs_err_pid10752.log new file mode 100644 index 0000000..2f17c72 --- /dev/null +++ b/modules/helpers/perftest-support/hs_err_pid10752.log @@ -0,0 +1,266 @@ +# +# A fatal error has been detected by the Java Runtime Environment: +# +# SIGSEGV (0xb) at pc=0xb701d3ec, pid=10752, tid=1905032048 +# +# JRE version: 6.0_20-b02 +# Java VM: Java HotSpot(TM) Server VM (16.3-b01 mixed mode linux-x86 ) +# Problematic frame: +# V [libjvm.so+0x4813ec] +# +# If you would like to submit a bug report, please visit: +# http://java.sun.com/webapps/bugreport/crash.jsp +# + +--------------- T H R E A D --------------- + +Current thread (0xb6a9e000): JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_vm, id=10766, stack(0x71877000,0x718c8000)] + +siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0xd1b3e228 + +Registers: +EAX=0x08f7ed04, EBX=0xb72f51e0, ECX=0x00000000, EDX=0x722f0150 +ESP=0x718c6c60, EBP=0x718c6cc8, ESI=0x08f7dce8, EDI=0xb6a9e7e8 +EIP=0xb701d3ec, CR2=0xd1b3e228, EFLAGS=0x00010206 + +Top of Stack: (sp=0x718c6c60) +0x718c6c60: 718c6c8c b6a97410 b730b7e0 b6a9e84c +0x718c6c70: 722f0150 0000000c 08f7dce8 0000000f +0x718c6c80: 718c6c90 b6a9e000 718c6cb8 b6a9e850 +0x718c6c90: b6a9e000 b6a9e7c8 b6a9e7e0 b6a9e7e8 +0x718c6ca0: b6a9ebd4 718c7000 00000000 b7131694 +0x718c6cb0: b6f239d9 b72f51e0 00000000 b72f51e0 +0x718c6cc0: b6a04580 718c6cf0 718c6d38 b6fbb5e6 +0x718c6cd0: b6a04580 7249f5b8 718c6d58 718c6d54 + +Instructions: (pc=0xb701d3ec) +0xb701d3dc: 50 51 e8 1d 19 ee ff 8b 75 b0 8b 55 a8 83 c4 10 +0xb701d3ec: 89 04 96 8b 75 ac 8b 45 b4 46 89 75 ac 39 45 ac + +Stack: [0x71877000,0x718c8000], sp=0x718c6c60, free space=13f718c65f0k +Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) +V [libjvm.so+0x4813ec] +V [libjvm.so+0x41f5e6] +C [libjdwp.so+0x6a00] +C [libjdwp.so+0x6b20] +C [libjdwp.so+0x13143] +C [libjdwp.so+0x27fd5] +C [libjdwp.so+0x282d3] +V [libjvm.so+0x4988e9] +V [libjvm.so+0x64cfde] +V [libjvm.so+0x55f24e] +C [libpthread.so.0+0x6919] + + +--------------- P R O C E S S --------------- + +Java Threads: ( => current thread ) + 0xb6aa7400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10776, stack(0x71682000,0x716d3000)] + 0xb6aa4000 JavaThread "CompilerThread1" daemon [_thread_blocked, id=10775, stack(0x716d3000,0x71754000)] + 0xb6aa2400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10774, stack(0x71754000,0x717d5000)] + 0x08edac00 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=10769, stack(0x717d5000,0x71826000)] + 0xb6aa0800 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=10768, stack(0x71826000,0x71877000)] +=>0xb6a9e000 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_vm, id=10766, stack(0x71877000,0x718c8000)] + 0xb6a96000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10764, stack(0x718c8000,0x71919000)] + 0xb6a86000 JavaThread "Finalizer" daemon [_thread_blocked, id=10763, stack(0x71919000,0x7196a000)] + 0xb6a84800 JavaThread "Reference Handler" daemon [_thread_blocked, id=10762, stack(0x71c2e000,0x71c7f000)] + 0xb6a07400 JavaThread "main" [_thread_blocked, id=10757, stack(0xb6b4b000,0xb6b9c000)] + +Other Threads: + 0xb6a81c00 VMThread [stack: 0x71c7f000,0x71d00000] [id=10761] + 0xb6aa9000 WatcherThread [stack: 0x71601000,0x71682000] [id=10777] + +VM state:not at safepoint (normal execution) + +VM Mutex/Monitor currently owned by a thread: None + +Heap + PSYoungGen total 18304K, used 3195K [0x9f050000, 0xa04b0000, 0xb36f0000) + eden space 15744K, 20% used [0x9f050000,0x9f36ed30,0x9ffb0000) + from space 2560K, 0% used [0xa0230000,0xa0230000,0xa04b0000) + to space 2560K, 0% used [0x9ffb0000,0x9ffb0000,0xa0230000) + PSOldGen total 41856K, used 0K [0x762f0000, 0x78bd0000, 0x9f050000) + object space 41856K, 0% used [0x762f0000,0x762f0000,0x78bd0000) + PSPermGen total 16384K, used 2510K [0x722f0000, 0x732f0000, 0x762f0000) + object space 16384K, 15% used [0x722f0000,0x72563a70,0x732f0000) + +Dynamic libraries: +008bd000-008db000 r-xp 00000000 fd:01 16965 /lib/ld-2.12.so +008db000-008dc000 r-xp 0001d000 fd:01 16965 /lib/ld-2.12.so +008dc000-008dd000 rwxp 0001e000 fd:01 16965 /lib/ld-2.12.so +008df000-00a64000 r-xp 00000000 fd:01 17044 /lib/libc-2.12.so +00a64000-00a65000 ---p 00185000 fd:01 17044 /lib/libc-2.12.so +00a65000-00a67000 r-xp 00185000 fd:01 17044 /lib/libc-2.12.so +00a67000-00a68000 rwxp 00187000 fd:01 17044 /lib/libc-2.12.so +00a68000-00a6b000 rwxp 00000000 00:00 0 +00a6d000-00a95000 r-xp 00000000 fd:01 71600 /lib/libm-2.12.so +00a95000-00a96000 r-xp 00027000 fd:01 71600 /lib/libm-2.12.so +00a96000-00a97000 rwxp 00028000 fd:01 71600 /lib/libm-2.12.so +00a99000-00a9c000 r-xp 00000000 fd:01 23961 /lib/libdl-2.12.so +00a9c000-00a9d000 r-xp 00002000 fd:01 23961 /lib/libdl-2.12.so +00a9d000-00a9e000 rwxp 00003000 fd:01 23961 /lib/libdl-2.12.so +00aa0000-00ab7000 r-xp 00000000 fd:01 20003 /lib/libpthread-2.12.so +00ab7000-00ab8000 r-xp 00016000 fd:01 20003 /lib/libpthread-2.12.so +00ab8000-00ab9000 rwxp 00017000 fd:01 20003 /lib/libpthread-2.12.so +00ab9000-00abb000 rwxp 00000000 00:00 0 +00ad2000-00ad9000 r-xp 00000000 fd:01 44483 /lib/librt-2.12.so +00ad9000-00ada000 r-xp 00006000 fd:01 44483 /lib/librt-2.12.so +00ada000-00adb000 rwxp 00007000 fd:01 44483 /lib/librt-2.12.so +0282b000-02842000 r-xp 00000000 fd:01 20600 /lib/libnsl-2.12.so +02842000-02843000 r-xp 00016000 fd:01 20600 /lib/libnsl-2.12.so +02843000-02844000 rwxp 00017000 fd:01 20600 /lib/libnsl-2.12.so +02844000-02846000 rwxp 00000000 00:00 0 +08048000-08052000 r-xp 00000000 fd:01 2107316 /home/metlos/Progs/jdk1.6.0_20/bin/java +08052000-08053000 rwxp 00009000 fd:01 2107316 /home/metlos/Progs/jdk1.6.0_20/bin/java +08ed9000-08fa1000 rwxp 00000000 00:00 0 [heap] +71300000-713c4000 rwxp 00000000 00:00 0 +713c4000-71400000 ---p 00000000 00:00 0 +71493000-71500000 r-xs 0048c000 fd:01 551714 /home/metlos/.m2/repository/com/google/gwt/gwt-user/2.0.3/gwt-user-2.0.3.jar +71500000-715fd000 rwxp 00000000 00:00 0 +715fd000-71600000 ---p 00000000 00:00 0 +71601000-71602000 ---p 00000000 00:00 0 +71602000-71682000 rwxp 00000000 00:00 0 +71682000-71685000 ---p 00000000 00:00 0 +71685000-716d3000 rwxp 00000000 00:00 0 +716d3000-716d6000 ---p 00000000 00:00 0 +716d6000-71754000 rwxp 00000000 00:00 0 +71754000-71757000 ---p 00000000 00:00 0 +71757000-717d5000 rwxp 00000000 00:00 0 +717d5000-717d8000 ---p 00000000 00:00 0 +717d8000-71826000 rwxp 00000000 00:00 0 +71826000-71829000 ---p 00000000 00:00 0 +71829000-71877000 rwxp 00000000 00:00 0 +71877000-7187a000 ---p 00000000 00:00 0 +7187a000-718c8000 rwxp 00000000 00:00 0 +718c8000-718cb000 ---p 00000000 00:00 0 +718cb000-71919000 rwxp 00000000 00:00 0 +71919000-7191c000 ---p 00000000 00:00 0 +7191c000-7196a000 rwxp 00000000 00:00 0 +7196a000-71b00000 r-xs 02fd0000 fd:01 2109027 /home/metlos/Progs/jdk1.6.0_20/jre/lib/rt.jar +71b00000-71b21000 rwxp 00000000 00:00 0 +71b21000-71c00000 ---p 00000000 00:00 0 +71c29000-71c2c000 r-xs 0000a000 fd:01 365242 /home/metlos/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar +71c2c000-71c2e000 r-xs 0000e000 fd:01 363886 /home/metlos/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar +71c2e000-71c31000 ---p 00000000 00:00 0 +71c31000-71c7f000 rwxp 00000000 00:00 0 +71c7f000-71c80000 ---p 00000000 00:00 0 +71c80000-71d00000 rwxp 00000000 00:00 0 +71d00000-71d21000 rwxp 00000000 00:00 0 +71d21000-71e00000 ---p 00000000 00:00 0 +71e00000-71e02000 r-xs 00004000 fd:01 363882 /home/metlos/.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar +71e02000-71e05000 r-xs 00013000 fd:01 363879 /home/metlos/.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar +71e05000-71e26000 r-xs 00208000 fd:01 365233 /home/metlos/.m2/repository/hibernate/hibernate3/3.2.r14201-2/hibernate3-3.2.r14201-2.jar +71e26000-71e28000 r-xs 0000e000 fd:01 1835099 /home/metlos/.m2/repository/i18nlog/i18nlog/1.0.10/i18nlog-1.0.10.jar +71e28000-71e2e000 r-xs 0006e000 fd:01 530888 /home/metlos/.m2/repository/postgresql/postgresql/8.4-701.jdbc3/postgresql-8.4-701.jdbc3.jar +71e2e000-71e3b000 r-xs 000c4000 fd:01 262976 /home/metlos/.m2/repository/org/testng/testng/5.9/testng-5.9-jdk15.jar +71e3b000-71e49000 r-xs 0007f000 fd:01 365637 /home/metlos/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar +71e49000-71e7c000 rwxp 00000000 00:00 0 +71e7c000-71e7d000 ---p 00000000 00:00 0 +71e7d000-71efd000 rwxp 00000000 00:00 0 +71efd000-71efe000 ---p 00000000 00:00 0 +71efe000-71f86000 rwxp 00000000 00:00 0 +71f86000-71f9e000 rwxp 00000000 00:00 0 +71f9e000-71fb3000 rwxp 00000000 00:00 0 +71fb3000-720e5000 rwxp 00000000 00:00 0 +720e5000-720ed000 rwxp 00000000 00:00 0 +720ed000-72105000 rwxp 00000000 00:00 0 +72105000-7211a000 rwxp 00000000 00:00 0 +7211a000-7224b000 rwxp 00000000 00:00 0 +7224b000-72256000 rwxp 00000000 00:00 0 +72256000-722ef000 rwxp 00000000 00:00 0 +722ef000-732f0000 rwxp 00000000 00:00 0 +732f0000-762f0000 rwxp 00000000 00:00 0 +762f0000-78bd0000 rwxp 00000000 00:00 0 +78bd0000-9f050000 rwxp 00000000 00:00 0 +9f050000-a04b0000 rwxp 00000000 00:00 0 +a04b0000-b36f0000 rwxp 00000000 00:00 0 +b36f1000-b36f4000 r-xs 00023000 fd:01 362729 /home/metlos/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar +b36f4000-b36f7000 r-xs 0001b000 fd:01 363895 /home/metlos/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar +b36f7000-b3700000 rwxp 00000000 00:00 0 +b3700000-b37b7000 rwxp 00000000 00:00 0 +b37b7000-b39f7000 rwxp 00000000 00:00 0 +b39f7000-b67b7000 rwxp 00000000 00:00 0 +b67b7000-b67c3000 r-xp 00000000 fd:01 42253 /lib/libnss_files-2.12.so +b67c3000-b67c4000 r-xp 0000b000 fd:01 42253 /lib/libnss_files-2.12.so +b67c4000-b67c5000 rwxp 0000c000 fd:01 42253 /lib/libnss_files-2.12.so +b67c5000-b69c5000 r-xp 00000000 fd:01 79711 /usr/lib/locale/locale-archive +b69c5000-b69ff000 r-xp 00000000 fd:01 2104785 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libjdwp.so +b69ff000-b6a00000 rwxp 00039000 fd:01 2104785 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libjdwp.so +b6a00000-b6aff000 rwxp 00000000 00:00 0 +b6aff000-b6b00000 ---p 00000000 00:00 0 +b6b00000-b6b01000 r-xs 00001000 fd:01 2257666 /home/metlos/.m2/repository/org/slf4j/slf4j-jcl/1.5.6/slf4j-jcl-1.5.6.jar +b6b01000-b6b03000 r-xs 0000c000 fd:01 363873 /home/metlos/.m2/repository/commons-logging/commons-logging/1.1.0.jboss/commons-logging-1.1.0.jboss.jar +b6b03000-b6b0d000 r-xs 00085000 fd:01 1720803 /home/metlos/.m2/repository/org/dbunit/dbunit/2.4.7/dbunit-2.4.7.jar +b6b0d000-b6b1c000 r-xp 00000000 fd:01 2104728 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libzip.so +b6b1c000-b6b1e000 rwxp 0000e000 fd:01 2104728 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libzip.so +b6b1e000-b6b26000 rwxs 00000000 fd:01 2765120 /tmp/hsperfdata_metlos/10752 +b6b26000-b6b49000 r-xp 00000000 fd:01 2104718 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libjava.so +b6b49000-b6b4b000 rwxp 00023000 fd:01 2104718 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libjava.so +b6b4b000-b6b4e000 ---p 00000000 00:00 0 +b6b4e000-b6b9c000 rwxp 00000000 00:00 0 +b6b9c000-b72a8000 r-xp 00000000 fd:01 2104699 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/server/libjvm.so +b72a8000-b72f9000 rwxp 0070b000 fd:01 2104699 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/server/libjvm.so +b72f9000-b7719000 rwxp 00000000 00:00 0 +b7719000-b7720000 r-xp 00000000 fd:01 2104726 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/jli/libjli.so +b7720000-b7722000 rwxp 00006000 fd:01 2104726 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/jli/libjli.so +b7722000-b7723000 r-xs 0000d000 fd:01 366079 /home/metlos/.m2/repository/gnu-getopt/getopt/1.0.13/getopt-1.0.13.jar +b7723000-b7725000 r-xs 00004000 fd:01 902240 /home/metlos/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar +b7725000-b7728000 r-xp 00000000 fd:01 2104786 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libdt_socket.so +b7728000-b7729000 rwxp 00003000 fd:01 2104786 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libdt_socket.so +b7729000-b772c000 r-xp 00000000 fd:01 2104729 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libnpt.so +b772c000-b772d000 rwxp 00002000 fd:01 2104729 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libnpt.so +b772d000-b7733000 r-xp 00000000 fd:01 2104697 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/native_threads/libhpi.so +b7733000-b7734000 rwxp 00006000 fd:01 2104697 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/native_threads/libhpi.so +b7734000-b7735000 rwxp 00000000 00:00 0 +b7735000-b7736000 r-xp 00000000 00:00 0 +b7736000-b7741000 r-xp 00000000 fd:01 2104716 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libverify.so +b7741000-b7742000 rwxp 0000b000 fd:01 2104716 /home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/libverify.so +b7742000-b7743000 rwxp 00000000 00:00 0 +b7743000-b7744000 r-xp 00000000 00:00 0 [vdso] +bfae5000-bfafb000 rwxp 00000000 00:00 0 [stack] + +VM Arguments: +jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:36513 -Dfile.encoding=UTF-8 +java_command: org.rhq.helpers.perftest.support.EntityDependencyGraph +Launcher Type: SUN_STANDARD + +Environment Variables: +JAVA_HOME=/home/metlos/Progs/jdk1.6.0_14 +PATH=/home/metlos/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/RealPlayer11:/home/metlos/Progs/java6/bin:/home/metlos/bin:/home/metlos/Progs/jdk1.6.0_14/bin +LD_LIBRARY_PATH=/home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/server:/home/metlos/Progs/jdk1.6.0_20/jre/lib/i386:/home/metlos/Progs/jdk1.6.0_20/jre/../lib/i386:/home/metlos/Progs/jdk1.6.0_20/jre/lib/i386/client:/home/metlos/Progs/jdk1.6.0_20/jre/lib/i386:/usr/lib/xulrunner-1.9.2:/usr/lib/xulrunner-1.9.2 +SHELL=/bin/bash +DISPLAY=:0.0 + +Signal Handlers: +SIGSEGV: [libjvm.so+0x68d5c0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGBUS: [libjvm.so+0x68d5c0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGFPE: [libjvm.so+0x55cb30], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGPIPE: [libjvm.so+0x55cb30], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGXFSZ: [libjvm.so+0x55cb30], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGILL: [libjvm.so+0x55cb30], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 +SIGUSR2: [libjvm.so+0x55f770], sa_mask[0]=0x00000004, sa_flags=0x10000004 +SIGHUP: [libjvm.so+0x55f4a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGINT: [libjvm.so+0x55f4a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGTERM: [libjvm.so+0x55f4a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGQUIT: [libjvm.so+0x55f4a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 + + +--------------- S Y S T E M --------------- + +OS:Fedora release 13 (Goddard) + +uname:Linux 2.6.33.8-149.fc13.i686.PAE #1 SMP Tue Aug 17 22:39:27 UTC 2010 i686 +libc:glibc 2.12 NPTL 2.12 +rlimit: STACK 10240k, CORE 0k, NPROC 1024, NOFILE 1024, AS infinity +load average:0.19 0.34 0.37 + +CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1 + +Memory: 4k page, physical 4014072k(133448k free), swap 5111800k(5111668k free) + +vm_info: Java HotSpot(TM) Server VM (16.3-b01) for linux-x86 JRE (1.6.0_20-b02), built on Apr 12 2010 13:58:11 by "java_re" with gcc 3.2.1-7a (J2SE release) + +time: Fri Aug 27 12:46:44 2010 +elapsed time: 2686 seconds + diff --git a/modules/helpers/perftest-support/pom.xml b/modules/helpers/perftest-support/pom.xml new file mode 100644 index 0000000..5f29ea8 --- /dev/null +++ b/modules/helpers/perftest-support/pom.xml @@ -0,0 +1,95 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>rhq-helpers</artifactId> + <groupId>org.rhq.helpers</groupId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <groupId>org.rhq.helpers</groupId> + <artifactId>data-gen</artifactId> + <version>4.0.0-SNAPSHOT</version> + <name>Performance Testing Support</name> + <description>To support performance testing, this is a basic tool to support extracting and later reimporting of data from/to a database.</description> + <dependencies> + <dependency> + <groupId>org.dbunit</groupId> + <artifactId>dbunit</artifactId> + <version>2.4.7</version> + <exclusions> + <exclusion> + <artifactId>junit</artifactId> + <groupId>junit</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>gnu-getopt</groupId> + <artifactId>getopt</artifactId> + </dependency> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>${commons-logging.version}</version> + </dependency> + <dependency> + <groupId>org.testng</groupId> + <artifactId>testng</artifactId> + <version>5.9</version> <!-- replace with ${testng.version} once it's correctly integrated in the build --> + <!-- <version>${testng.version}</version> --> + <classifier>jdk15</classifier> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-jcl</artifactId> + <version>1.5.6</version> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>postgresql</groupId> + <artifactId>postgresql</artifactId> + <version>${postgresql.version}</version> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>org.rhq</groupId> + <artifactId>rhq-core-domain</artifactId> + <version>${project.version}</version> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>javax.persistence</groupId> + <artifactId>persistence-api</artifactId> + <version>1.0</version> + </dependency> + </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifest> + <addClasspath>true</addClasspath> + <mainClass>org.rhq.helpers.perftest.support.Main</mainClass> + </manifest> + </archive> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-dependencies</id> + <phase>package</phase> + <goals> + <goal>copy-dependencies</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + +</project> \ No newline at end of file diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/EntityDependencyGraph.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/EntityDependencyGraph.java new file mode 100644 index 0000000..d2a9860 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/EntityDependencyGraph.java @@ -0,0 +1,419 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support; + +import static org.rhq.helpers.perftest.support.util.JPAUtil.getJPAFields; +import static org.rhq.helpers.perftest.support.util.JPAUtil.isEntity; + +import java.lang.annotation.Annotation; +import java.lang.reflect.Field; +import java.lang.reflect.ParameterizedType; +import java.lang.reflect.Type; +import java.lang.reflect.WildcardType; +import java.util.Collection; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import javax.persistence.ManyToMany; +import javax.persistence.ManyToOne; +import javax.persistence.OneToMany; +import javax.persistence.OneToOne; +import javax.persistence.Table; + +import org.rhq.helpers.perftest.support.util.Annotations; + +/** + * + * @author Lukas Krejci + */ +public class EntityDependencyGraph { + + Map<Node, Node> nodes = new HashMap<Node, Node>(); + + public enum DependencyType { + ONE_TO_ONE { + public Class<? extends Annotation> annotationType() { + return OneToOne.class; + } + + public DependencyType getOpposite() { + return ONE_TO_ONE; + } + }, + MANY_TO_ONE{ + public Class<? extends Annotation> annotationType() { + return ManyToOne.class; + } + + public DependencyType getOpposite() { + return ONE_TO_MANY; + } + }, + ONE_TO_MANY{ + public Class<? extends Annotation> annotationType() { + return OneToMany.class; + } + + public DependencyType getOpposite() { + return MANY_TO_ONE; + } + }, + MANY_TO_MANY{ + public Class<? extends Annotation> annotationType() { + return ManyToMany.class; + } + + public DependencyType getOpposite() { + return MANY_TO_MANY; + } + }; + + public abstract DependencyType getOpposite(); + + public abstract Class<? extends Annotation> annotationType(); + } + + public static class Edge { + private Node from; + private Node to; + + private Field fromField; + private Field toField; + + private DependencyType dependencyType; + + public Edge(Node from, Node to, Field fromField, Field toField, DependencyType dependencyType) { + this.from = from; + this.to = to; + this.fromField = fromField; + this.toField = toField; + this.dependencyType = dependencyType; + } + + /** + * @return the from + */ + public Node getFrom() { + return from; + } + + /** + * @return the to + */ + public Node getTo() { + return to; + } + + /** + * @return the fromField + */ + public Field getFromField() { + return fromField; + } + + /** + * @return the toField + */ + public Field getToField() { + return toField; + } + + /** + * @return the dependencyType + */ + public DependencyType getDependencyType() { + return dependencyType; + } + + public int hashCode() { + return from.hashCode() * to.hashCode(); + } + + public boolean equals(Object other) { + if (!(other instanceof Edge)) { + return false; + } + + Edge o = (Edge) other; + + return fromField == o.fromField && toField == o.toField; + } + } + + public static class Node { + private Class<?> entity; + private Set<Edge> edges; + + public Node(Class<?> entity) { + this.entity = entity; + edges = new HashSet<Edge>(); + } + + public String getTable() { + Table tableAnnotation = entity.getAnnotation(Table.class); + + if (tableAnnotation == null) { + //I'm sure there are more complicated rules than this... + return entity.getSimpleName().toUpperCase(); + } + + return tableAnnotation.name(); + } + + public Class<?> getEntity() { + return entity; + } + + public void addParent(Node parent, Field parentField, Field thisField, DependencyType dependencyType) { + Edge edge = new Edge(parent, this, parentField, thisField, dependencyType); + + if (edges.add(edge)) { + parent.addChild(this, thisField, parentField, dependencyType.getOpposite()); + } + } + + public void addChild(Node child) { + if (children.add(child)) { + child.addParent(this); + } + } + + public Set<Edge> getEdges() { + return edges; + } + + public int hashCode() { + return entity.hashCode(); + } + + /** + * Returns true if other is a Node representing the same entity + * *OR* if other is a Class instance representing the same class + * as the entity of this node. + * + * This basically violates the contract of Object.equals() but + * is extremely handy for quick lookup in maps where nodes are keys + * without needing to create a new node instance. + */ + public boolean equals(Object other) { + if (!(other instanceof Node)) { + + if (other instanceof Class) { + return entity.equals(other); + } + } + + return entity.equals(((Node) other).getEntity()); + } + } + + public Node addEntity(Class<?> entity) { + Node n = new Node(entity); + return analyze(n); + } + + public Set<Node> getRootNodes() { + Set<Node> ret = new HashSet<Node>(); + + for (Node n : nodes.keySet()) { + if (n.getParents().isEmpty()) { + ret.add(n); + } + } + + return ret; + } + + public Set<Node> getLeafNodes() { + Set<Node> ret = new HashSet<Node>(); + + for (Node n : nodes.keySet()) { + if (n.getChildren().isEmpty()) { + ret.add(n); + } + } + + return ret; + } + + public String toString() { + StringBuilder bld = new StringBuilder(); + bld.append("Child tree:\n"); + toString(bld, getRootNodes(), false); + bld.append("\nParent tree:\n"); + toString(bld, getLeafNodes(), true); + return bld.toString(); + } + + private void toString(StringBuilder bld, Set<Node> nodes, boolean parentTree) { + bld.append("["); + for (Node root : nodes) { + bld.append("\n"); + root.indentingToString(bld, 0, parentTree); + } + bld.append("\n]"); + } + + /** + * Analyzes the node and returns true if the node was incorporated into the + * dependency graph (or if it was already there). + * + * @param n the node to analyze. + * @return + */ + private Node analyze(Node n) { + //skip if already analyzed + Node existingNode = nodes.get(n); + if (existingNode != null) { + return existingNode; + } + + //we only care about JPA entities + if (!isEntity(n.getEntity())) { + return null; + } + + //first, let's add the node to the set so that we prevent + //recursion on possible circular references further below. + nodes.put(n, n); + + //RHQ has convention of declaring the JPA annotations strictly + //on fields. + Map<Field, Annotations> fields = getJPAFields(n.getEntity()); + + for (Map.Entry<Field, Annotations> entry : fields.entrySet()) { + Field field = entry.getKey(); + Annotations annotations = entry.getValue(); + + OneToOne oneToOne = annotations.get(OneToOne.class); + ManyToOne manyToOne = annotations.get(ManyToOne.class); + OneToMany oneToMany = annotations.get(OneToMany.class); + ManyToMany manyToMany = annotations.get(ManyToMany.class); + if (oneToOne != null) { + analyzeOneToOne(n, field, annotations, oneToOne); + } else if (manyToOne != null) { + analyzeManyToOne(n, field, annotations, manyToOne); + } else if (oneToMany != null) { + analyzeOneToMany(n, field, annotations, oneToMany); + } else if (manyToMany != null) { + analyzManyToMany(n, field, annotations, manyToMany); + } + } + + return n; + } + + private void analyzeOneToOne(Node n, Field field, Annotations annotations, OneToOne oneToOne) { + Class<?> targetEntity = oneToOne.targetEntity(); + analyzeCommon(n, field, targetEntity, false); + } + + private void analyzeManyToOne(Node n, Field field, Annotations annotations, ManyToOne manyToOne) { + Class<?> targetEntity = manyToOne.targetEntity(); + analyzeCommon(n, field, targetEntity, true); + } + + private void analyzeOneToMany(Node n, Field field, Annotations annotations, OneToMany oneToMany) { + Class<?> targetEntity = oneToMany.targetEntity(); + analyzeCommon(n, field, targetEntity, false); + } + + private void analyzManyToMany(Node n, Field field, Annotations annotations, ManyToMany manyToMany) { + Class<?> targetEntity = manyToMany.targetEntity(); + analyzeCommon(n, field, targetEntity, false); + } + + private void analyzeCommon(Node n, Field field, Class<?> declaredTargetEntity, boolean asParent) { + if (declaredTargetEntity == null || declaredTargetEntity == void.class) { + declaredTargetEntity = field.getType(); + } + + if (isCollection(declaredTargetEntity)) { + Type type = field.getGenericType(); + + declaredTargetEntity = getCollectionTypeParameter(type, 0); + } + + if (isMap(declaredTargetEntity)) { + Type type = field.getGenericType(); + + declaredTargetEntity = getCollectionTypeParameter(type, 1); + } + + Node targetNode = analyze(new Node(declaredTargetEntity)); + + if (asParent) { + //avoid cycles in the graph + if (!n.getTransitiveChildren().contains(targetNode)) { + n.addParent(targetNode); + } + } else { + //avoid cycles in the graph + if (!n.getTransitiveParents().contains(targetNode)) { + n.addChild(targetNode); + } + } + } + + private static boolean isCollection(Class<?> clazz) { + return clazz == Collection.class || clazz == List.class || clazz == Set.class; + } + + private static boolean isMap(Class<?> clazz) { + return clazz == Map.class; + } + + /** + * Returns the class of the collection's type parameter. + * + * @param collectionType + * @return + */ + private static Class<?> getCollectionTypeParameter(Type collectionType, int parameterPosition) { + if (collectionType instanceof ParameterizedType) { + Type[] typeArguments = ((ParameterizedType) collectionType).getActualTypeArguments(); + return resolveTypeParameter(typeArguments[parameterPosition]); + } else { + return (Class<?>) collectionType; + } + } + + private static Class<?> resolveTypeParameter(Type typeParameter) { + if (typeParameter instanceof WildcardType) { + Type[] upperBounds = ((WildcardType) typeParameter).getUpperBounds(); + if (upperBounds.length > 1) { + return Object.class; + } else { + return (Class<?>) upperBounds[0]; + } + } else { + return (Class<?>) typeParameter; + } + } + + public static void main(String[] args) throws Exception { + EntityDependencyGraph g = new EntityDependencyGraph(); + g.addEntity(Class.forName("org.rhq.core.domain.resource.Resource")); + System.out.println(g); + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Exporter.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Exporter.java new file mode 100644 index 0000000..3a02751 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Exporter.java @@ -0,0 +1,182 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support; + +import java.sql.Connection; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Statement; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Properties; +import java.util.SortedSet; +import java.util.TreeSet; + +import org.apache.commons.collections.set.ListOrderedSet; +import org.dbunit.database.DatabaseConfig; +import org.dbunit.database.ForwardOnlyResultSetTableFactory; +import org.dbunit.database.IDatabaseConnection; +import org.dbunit.database.PrimaryKeyFilter.PkTableMap; +import org.dbunit.database.search.ImportedKeysSearchCallbackFilteredByPKs; +import org.dbunit.database.search.TablesDependencyHelper; +import org.dbunit.dataset.Column; +import org.dbunit.dataset.CompositeDataSet; +import org.dbunit.dataset.DataSetException; +import org.dbunit.dataset.FilteredDataSet; +import org.dbunit.dataset.IDataSet; +import org.dbunit.dataset.ReplacementDataSet; +import org.dbunit.dataset.filter.ITableFilter; +import org.dbunit.dataset.stream.DataSetProducerAdapter; +import org.dbunit.dataset.stream.IDataSetConsumer; +import org.dbunit.util.CollectionsHelper; +import org.dbunit.util.search.DepthFirstSearch; +import org.dbunit.util.search.SearchException; +import org.rhq.helpers.perftest.support.util.DbUnitUtil; +import org.rhq.helpers.perftest.support.util.ExportedKeysSearchCallbackFilteredByPKs; + +/** + * + * @author Lukas Krejci + */ +public class Exporter { + + private Exporter() { + + } + + public static void run(Properties settings, IDataSetConsumer consumer) throws Exception { + IDatabaseConnection connection = DbUnitUtil.getConnection(settings); + try { + //get the list of the tables to load from the settings. + //empty = all tables + Map<String, String> tableQueries = getTableQueries(settings); + + PkTableMap pksToLoad = new PkTableMap(); + for (Map.Entry<String, String> entry : tableQueries.entrySet()) { + String table = entry.getKey(); + String query = entry.getValue(); + + SortedSet<Object> pks = getPksFromQuery(connection, table, query); + pksToLoad.addAll(table, pks); + } + + IDataSet data = null; + + if (pksToLoad.isEmpty()) { + data = connection.createDataSet(); + } else { + IDataSet dependingData = getDependingData(connection, pksToLoad); + IDataSet dependentData = TablesDependencyHelper.getDataset(connection, pksToLoad); + data = new CompositeDataSet(new IDataSet[] {dependingData, dependentData}); + System.err.println("rhq_resource_type depends on: " + Arrays.asList(TablesDependencyHelper.getDependsOnTables(connection, "rhq_resource_type"))); + System.err.println("Depending on rhq_resource_type: " + Arrays.asList(TablesDependencyHelper.getDependentTables(connection, "rhq_resource_type"))); + } + + ReplacementDataSet nullReplacingData = new ReplacementDataSet(data); + nullReplacingData.addReplacementObject(null, Settings.NULL_REPLACEMENT); + + DataSetProducerAdapter producer = new DataSetProducerAdapter(nullReplacingData); + producer.setConsumer(consumer); + producer.produce(); + } finally { + connection.close(); + } + } + + private static SortedSet<Object> getPksFromQuery(IDatabaseConnection connection, String table, String query) + throws DataSetException, SQLException { + + SortedSet<Object> ret = new TreeSet<Object>(); + + if (query == null) { + return ret; + } + + IDataSet data = connection.createDataSet(new String[] { table }); + + Column[] tablePks = data.getTableMetaData(table).getPrimaryKeys(); + + if (tablePks.length > 1) { + throw new UnsupportedOperationException( + "Filtering on tables with multi-column primary key is not supported. Table '" + table + + "' has the following primary keys: " + Arrays.asList(tablePks)); + } + + String pkName = tablePks[0].getColumnName(); + + //the connection shouldn't be closed here, because we're just reusing an already existing one. + Connection jdbcConnection = connection.getConnection(); + + Statement statement = null; + try { + statement = jdbcConnection.createStatement(); + ResultSet results = statement.executeQuery(query); + + while (results.next()) { + Object pk = results.getObject(pkName); + + ret.add(pk); + } + } finally { + if (statement != null) { + statement.close(); + } + } + + return ret; + } + + private static Map<String, String> getTableQueries(Properties settings) { + Map<String, String> ret = new HashMap<String, String>(); + + for (Entry<Object, Object> entry : settings.entrySet()) { + if (entry.getKey() instanceof String && (entry.getValue() == null || entry.getValue() instanceof String)) { + String key = (String) entry.getKey(); + String value = (String) entry.getValue(); + + if (key.startsWith("table.")) { + String tableName = key.substring("table.".length()); + String filterSql = value; + if (value != null && value.trim().isEmpty()) { + filterSql = null; + } + + ret.put(tableName, filterSql); + } + } + } + + return ret; + } + + private static IDataSet getDependingData(IDatabaseConnection connection, PkTableMap rootTables) throws SearchException, DataSetException, SQLException { + ExportedKeysSearchCallbackFilteredByPKs callback = new ExportedKeysSearchCallbackFilteredByPKs(connection, rootTables); + ITableFilter filter = callback.getFilter(); + DepthFirstSearch search = new DepthFirstSearch(); + String[] tableNames = rootTables.getTableNames(); + ListOrderedSet tmpTables = search.search( tableNames, callback ); + String[] dependentTables = CollectionsHelper.setToStrings( tmpTables ); + IDataSet tmpDataset = connection.createDataSet( dependentTables ); + FilteredDataSet dataset = new FilteredDataSet(filter, tmpDataset); + return dataset; + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/FileFormat.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/FileFormat.java new file mode 100644 index 0000000..a0c6d1c --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/FileFormat.java @@ -0,0 +1,29 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support; + +/** + * Represents a file format to export/import database data to/from. + * + * @author Lukas Krejci + */ +public enum FileFormat { + XML, CSV +} \ No newline at end of file diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java new file mode 100644 index 0000000..0c928a3 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Importer.java @@ -0,0 +1,55 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support; + +import java.sql.Connection; +import java.util.Properties; + +import org.dbunit.database.DatabaseConnection; +import org.dbunit.database.IDatabaseConnection; +import org.dbunit.dataset.IDataSet; +import org.dbunit.dataset.stream.IDataSetProducer; +import org.dbunit.dataset.stream.StreamingDataSet; +import org.dbunit.operation.DatabaseOperation; +import org.rhq.helpers.perftest.support.util.DbUnitUtil; + +/** + * + * @author Lukas Krejci + */ +public class Importer { + + private Importer() { + + } + + public static void run(Connection jdbcConnection, IDataSetProducer producer) throws Exception { + run(new DatabaseConnection(jdbcConnection), producer); + } + + public static void run(Properties settings, IDataSetProducer producer) throws Exception { + run(DbUnitUtil.getConnection(settings), producer); + } + + private static void run(IDatabaseConnection connection, IDataSetProducer producer) throws Exception { + IDataSet data = new StreamingDataSet(producer); + DatabaseOperation.CLEAN_INSERT.execute(connection, data); + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Input.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Input.java new file mode 100644 index 0000000..fadc603 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Input.java @@ -0,0 +1,49 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support; + +import java.io.IOException; + +import org.dbunit.dataset.stream.IDataSetProducer; + +/** + * Implementations of this interface wrap the {@link IDataSetProducer} instances and are able to + * close the system resources when the producer instance is no longer needed. + * + * @author Lukas Krejci + */ +public interface Input { + + /** + * The returned producer is assumed to produce a data set that can then be fed into a database. + * (the specification of the producer is left for the subclasses to define). + * + * @return the dbUnit data set producer + * @throws Exception + */ + IDataSetProducer getProducer() throws Exception; + + /** + * Closes any system resources that were used by the producer. + * + * @throws IOException + */ + void close() throws IOException; +} \ No newline at end of file diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Main.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Main.java new file mode 100644 index 0000000..1550a37 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Main.java @@ -0,0 +1,168 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support; + +import java.io.FileInputStream; +import java.util.ArrayList; +import java.util.List; +import java.util.Properties; + +import gnu.getopt.Getopt; +import gnu.getopt.LongOpt; + +/** + * + * @author Lukas Krejci + */ +public class Main { + + private Main() { + + } + + public static void main(String[] args) throws Exception { + LongOpt[] longOptions = new LongOpt[10]; + + longOptions[0] = new LongOpt("url", LongOpt.REQUIRED_ARGUMENT, null, 'r'); + longOptions[1] = new LongOpt("user", LongOpt.REQUIRED_ARGUMENT, null, 'u'); + longOptions[2] = new LongOpt("password", LongOpt.REQUIRED_ARGUMENT, null, 'p'); + longOptions[3] = new LongOpt("driver-class", LongOpt.REQUIRED_ARGUMENT, null, 'd'); + longOptions[4] = new LongOpt("config-file", LongOpt.REQUIRED_ARGUMENT, null, 'c'); + longOptions[5] = new LongOpt("export", LongOpt.NO_ARGUMENT, null, 'e'); + longOptions[6] = new LongOpt("import", LongOpt.NO_ARGUMENT, null, 'i'); + longOptions[7] = new LongOpt("help", LongOpt.NO_ARGUMENT, null, 'h'); + longOptions[8] = new LongOpt("file", LongOpt.REQUIRED_ARGUMENT, null, 'f'); + longOptions[9] = new LongOpt("format", LongOpt.REQUIRED_ARGUMENT, null, 'o'); + + Getopt options = new Getopt("datagen", args, "eihr:u:p:d:c:f:o:", longOptions); + + String url = null; + String user = null; + String password = null; + String driverClass = null; + String configFile = null; + String ioFileName = null; + String format = "xml"; + boolean doExport = false; + boolean doImport = false; + List<String> tables = new ArrayList<String>(); + + int option; + while ((option = options.getopt()) != -1) { + switch (option) { + case 'r': + url = options.getOptarg(); + break; + case 'u': + user = options.getOptarg(); + break; + case 'p': + password = options.getOptarg(); + break; + case 'd': + driverClass = options.getOptarg(); + break; + case 'c': + configFile = options.getOptarg(); + break; + case 'e': + doExport = true; + break; + case 'i': + doImport = true; + break; + case 'h': + usage(); + break; + case 'f': + ioFileName = options.getOptarg(); + break; + case 'o': + format = options.getOptarg(); + break; + + } + } + + for (int i = options.getOptind(); i < args.length; i++) { + tables.add(args[i]); + } + + Properties settings = new Properties(); + + if (configFile != null) { + FileInputStream file = new FileInputStream(configFile); + try { + settings.load(file); + } finally { + file.close(); + } + } + + putNotNull(settings, "url", url); + putNotNull(settings, "user", user); + putNotNull(settings, "password", password); + putNotNull(settings, "driverClass", driverClass); + for(String table : tables) { + putNotNull(settings, "table." + table, ""); + } + + validate(settings); + + if (doExport) { + Output output = Settings.getOutputObject(format, ioFileName); + try { + Exporter.run(settings, output.getConsumer()); + } finally { + output.close(); + } + } else if (doImport) { + Input input = Settings.getInputObject(format, ioFileName); + try { + Importer.run(settings, input.getProducer()); + } finally { + input.close(); + } + } else { + System.err.println("You must specify whether to export or import."); + System.exit(1); + } + + System.exit(0); + } + + private static void putNotNull(Properties settings, String key, String value) { + if (value != null) { + settings.put(key, value); + } + } + + private static void validate(Properties settings) { + //TODO implement + } + + private static void usage() { + System.out.println("Usage:"); + + //TODO implement + + System.exit(0); + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Output.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Output.java new file mode 100644 index 0000000..6d15b12 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Output.java @@ -0,0 +1,49 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support; + +import java.io.IOException; + +import org.dbunit.dataset.stream.IDataSetConsumer; + +/** + * Implementations of this interface wrap the {@link IDataSetConsumer} instances and are able to + * close the system resources when the consumer instance is no longer needed. + * + * @author Lukas Krejci + */ +public interface Output { + + /** + * The returned consumer is assumed to consume a data set and produce some kind of output + * (the specification of which is left for the subclasses to define). + * + * @return the dbUnit data set consumer + * @throws Exception + */ + IDataSetConsumer getConsumer() throws Exception; + + /** + * Closes any system resources that were used by the consumer. + * + * @throws IOException + */ + void close() throws IOException; +} \ No newline at end of file diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Settings.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Settings.java new file mode 100644 index 0000000..1826993 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/Settings.java @@ -0,0 +1,120 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; + +import org.dbunit.dataset.csv.CsvDataSetWriter; +import org.dbunit.dataset.csv.CsvProducer; +import org.dbunit.dataset.stream.IDataSetConsumer; +import org.dbunit.dataset.stream.IDataSetProducer; +import org.dbunit.dataset.xml.FlatXmlProducer; +import org.dbunit.dataset.xml.FlatXmlWriter; +import org.rhq.helpers.perftest.support.input.CsvInput; +import org.rhq.helpers.perftest.support.input.XmlInput; +import org.rhq.helpers.perftest.support.output.CsvOutput; +import org.rhq.helpers.perftest.support.output.XmlOutput; +import org.xml.sax.InputSource; + +/** + * + * @author Lukas Krejci + */ +public class Settings { + + public static final String DATABASE_DRIVER_CLASS_PROPERTY = "driverClass"; + public static final String DATABASE_URL_PROPERTY = "url"; + public static final String DATABASE_USER_PROPERTY = "user"; + public static final String DATABASE_PASSWORD_PROPERTY = "password"; + + public static final String NULL_REPLACEMENT = "%NULL%"; + + private Settings() { + + } + + /** + * Creates an "output object" which is a wrapper object able to create a dbUnit consumer + * that is then used to "consume" the database data and produce an output. The wrapper can + * then close any system resources that the consumer used. + * <p> + * For XML format, the <code>outputSpec</code> can be either a file name or null (in which case + * the xml is written to standard output). + * <p> + * For CSV format, the <code>outputSpec</code> is a path to a directory (possibly non-existing) + * to which the CSV files corresponding to database tables will be written. + * + * @param fileFormat one of the values specified in {@link FileFormat} (case-insensitive) + * @param outputSpec format dependent specifier of output location + * @return an output object + * @throws FileNotFoundException + */ + public static Output getOutputObject(String fileFormat, final String outputSpec) throws FileNotFoundException { + + FileFormat format = fileFormat == null ? FileFormat.XML : Enum.valueOf(FileFormat.class, + fileFormat.toUpperCase()); + + if (format == null) { + throw new IllegalArgumentException("Unknown file format specified: " + fileFormat); + } + + switch (format) { + case XML: + OutputStream stream = outputSpec == null ? System.out : new FileOutputStream(new File(outputSpec)); + return new XmlOutput(stream, stream != System.out); + case CSV: + return new CsvOutput(new File(outputSpec)); + default: + throw new IllegalStateException("FileFormat defined, but don't know how to create it: " + format); + } + } + + /** + * An analogous method to {@link #getOutputObject(String, String)} only handling input. + * + * @param fileFormat + * @param inputSpec + * @return + */ + public static Input getInputObject(String fileFormat, final String inputSpec) throws IOException { + FileFormat format = fileFormat == null ? FileFormat.XML : Enum.valueOf(FileFormat.class, + fileFormat.toUpperCase()); + + if (format == null) { + throw new IllegalArgumentException("Unknown file format specified: " + fileFormat); + } + + switch (format) { + case XML: + InputStream stream = inputSpec == null ? System.in : new FileInputStream(new File(inputSpec)); + return new XmlInput(stream, stream != System.in); + case CSV: + return new CsvInput(new File(inputSpec)); + default: + throw new IllegalStateException("FileFormat defined, but don't know how to create it: " + format); + } + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/CsvInput.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/CsvInput.java new file mode 100644 index 0000000..ab20b2b --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/CsvInput.java @@ -0,0 +1,58 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.input; + +import java.io.File; +import java.io.IOException; + +import org.dbunit.dataset.csv.CsvProducer; +import org.dbunit.dataset.stream.IDataSetProducer; +import org.rhq.helpers.perftest.support.Input; + +/** + * + * @author Lukas Krejci + */ +public class CsvInput implements Input { + + private File directory; + private CsvProducer producer; + + public CsvInput(File directory) { + this.directory = directory; + } + + public IDataSetProducer getProducer() throws Exception { + if (producer == null) { + if (!directory.isDirectory()) { + throw new IllegalArgumentException("'" + directory.getAbsolutePath() + + "' must be a directory for CSV type input."); + } + + producer = new CsvProducer(directory); + } + + return producer; + } + + public void close() throws IOException { + } + +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/XmlInput.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/XmlInput.java new file mode 100644 index 0000000..7b7ae7e --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/input/XmlInput.java @@ -0,0 +1,58 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.input; + +import java.io.IOException; +import java.io.InputStream; + +import org.dbunit.dataset.stream.IDataSetProducer; +import org.dbunit.dataset.xml.FlatXmlProducer; +import org.rhq.helpers.perftest.support.Input; +import org.xml.sax.InputSource; + +/** + * + * @author Lukas Krejci + */ +public class XmlInput implements Input { + + InputStream stream; + FlatXmlProducer producer; + boolean doClose; + + public XmlInput(InputStream stream, boolean doClose) { + this.stream = stream; + this.doClose = doClose; + } + + public void close() throws IOException { + if (doClose) { + stream.close(); + } + } + + public IDataSetProducer getProducer() throws Exception { + if (producer == null) { + producer = new FlatXmlProducer(new InputSource(stream)); + } + + return producer; + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/CsvOutput.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/CsvOutput.java new file mode 100644 index 0000000..dab03a4 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/CsvOutput.java @@ -0,0 +1,53 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.output; + +import java.io.File; +import java.io.IOException; + +import org.dbunit.dataset.csv.CsvDataSetWriter; +import org.dbunit.dataset.stream.IDataSetConsumer; +import org.rhq.helpers.perftest.support.Output; + +/** + * + * @author Lukas Krejci + */ +public class CsvOutput implements Output { + + private File directory; + private CsvDataSetWriter consumer; + + public CsvOutput(File directory) { + this.directory = directory; + } + + public IDataSetConsumer getConsumer() throws Exception { + if (consumer == null) { + consumer = new CsvDataSetWriter(directory); + } + + return consumer; + } + + public void close() throws IOException { + } + +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/XmlOutput.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/XmlOutput.java new file mode 100644 index 0000000..deafa65 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/output/XmlOutput.java @@ -0,0 +1,58 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.output; + +import java.io.IOException; +import java.io.OutputStream; + +import org.dbunit.dataset.stream.IDataSetConsumer; +import org.dbunit.dataset.xml.FlatXmlWriter; +import org.rhq.helpers.perftest.support.Output; + +/** + * + * @author Lukas Krejci + */ +public class XmlOutput implements Output { + + private OutputStream stream; + private FlatXmlWriter consumer; + private boolean doClose; + + public XmlOutput(OutputStream stream, boolean doClose) { + this.stream = stream; + this.doClose = doClose; + } + + public IDataSetConsumer getConsumer() throws Exception { + if (consumer == null) { + consumer = new FlatXmlWriter(stream); + } + + return consumer; + } + + public void close() throws IOException { + if (doClose) { + stream.close(); + } + } + +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/ConnectionProviderMethod.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/ConnectionProviderMethod.java new file mode 100644 index 0000000..a70ebdc --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/ConnectionProviderMethod.java @@ -0,0 +1,36 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.testng; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * + * @author Lukas Krejci + */ +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface ConnectionProviderMethod { + + String value(); +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java new file mode 100644 index 0000000..f524db2 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseSetupInterceptor.java @@ -0,0 +1,111 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.testng; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.InputStream; +import java.lang.reflect.Method; +import java.sql.Connection; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.rhq.helpers.perftest.support.Importer; +import org.rhq.helpers.perftest.support.input.XmlInput; +import org.testng.IInvokedMethod; +import org.testng.IInvokedMethodListener; +import org.testng.ITestResult; + +/** + * + * @author Lukas Krejci + */ +public class DatabaseSetupInterceptor implements IInvokedMethodListener { + + private static final Log LOG = LogFactory.getLog(DatabaseSetupInterceptor.class); + + public void beforeInvocation(IInvokedMethod method, ITestResult testResult) { + DatabaseState state = getRequiredDatabaseState(method); + Method connectionProviderMethod = getConnectionProviderMethod(method, state); + + try { + InputStream dataInput = getDataInput(state.url(), state.storage(), method); + Object classInstance = method.getTestMethod().getInstances()[0]; + Connection connection = (Connection) connectionProviderMethod.invoke(classInstance, (Object[]) null); + + XmlInput input = new XmlInput(dataInput, state.storage() == DatabaseStateStorage.FILESYSTEM); + + try { + Importer.run(connection, input.getProducer()); + } finally { + input.close(); + } + } catch (Exception e) { + LOG.warn("Failed to setup a database for method '" + method.getTestMethod().getMethodName() + "'.", e); + } + } + + public void afterInvocation(IInvokedMethod method, ITestResult testResult) { + //nothing to do + } + + private static DatabaseState getRequiredDatabaseState(IInvokedMethod method) { + Method javaMethod = method.getTestMethod().getMethod(); + + return javaMethod.getAnnotation(DatabaseState.class); + } + + private static Method getConnectionProviderMethod(IInvokedMethod method, DatabaseState state) { + String methodName = state.connectionProviderMethod(); + Class<?> declaringClass = method.getTestMethod().getMethod().getDeclaringClass(); + if (methodName == null || methodName.trim().isEmpty()) { + ConnectionProviderMethod methodAnnotation = declaringClass.getAnnotation(ConnectionProviderMethod.class); + if (methodAnnotation == null) { + throw new IllegalStateException( + "Neither 'connectionProviderMethod' attribute of the @DatabaseState annotation nor @ConnectionProviderMethod annotation could be found. Cannot initialize the database state without being able to get a connection."); + } + methodName = methodAnnotation.value(); + } + try { + return declaringClass.getMethod(methodName, (Class<?>[])null); + } catch (SecurityException e) { + LOG.warn("Failed to find a method declared by the @ConnectionProviderMethod annotation.", e); + return null; + } catch (NoSuchMethodException e) { + LOG.warn("Failed to find a method declared by the @ConnectionProviderMethod annotation.", e); + return null; + } + + } + + private static InputStream getDataInput(String url, DatabaseStateStorage storage, IInvokedMethod method) + throws FileNotFoundException { + switch (storage) { + case CLASSLOADER: + ClassLoader cl = method.getTestMethod().getMethod().getDeclaringClass().getClassLoader(); + return cl.getResourceAsStream(url); + case FILESYSTEM: + return new FileInputStream(new File(url)); + default: + return null; + } + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java new file mode 100644 index 0000000..afb0580 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseState.java @@ -0,0 +1,40 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.testng; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * + * @author Lukas Krejci + */ +@Retention(value = RetentionPolicy.RUNTIME) +@Target(value = { ElementType.METHOD }) +public @interface DatabaseState { + + String url(); + + DatabaseStateStorage storage() default DatabaseStateStorage.CLASSLOADER; + + String connectionProviderMethod() default ""; +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseStateStorage.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseStateStorage.java new file mode 100644 index 0000000..bff3977 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/testng/DatabaseStateStorage.java @@ -0,0 +1,28 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.testng; + +/** + * + * @author Lukas Krejci + */ +public enum DatabaseStateStorage { + FILESYSTEM, CLASSLOADER +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/Annotations.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/Annotations.java new file mode 100644 index 0000000..5b445ee --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/Annotations.java @@ -0,0 +1,53 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.util; + +import java.util.HashMap; +import java.util.Map; + +/** + * + * @author Lukas Krejci + */ +public class Annotations extends HashMap<Class<?>, Object> { + + private static final long serialVersionUID = 1L; + + public Annotations() { + super(); + } + + public Annotations(int initialCapacity, float loadFactor) { + super(initialCapacity, loadFactor); + } + + public Annotations(int initialCapacity) { + super(initialCapacity); + } + + public Annotations(Map<? extends Class<?>, ? extends Object> m) { + super(m); + } + + public <T> T get(Class<T> annotationClass) { + Object annotation = get((Object)annotationClass); + return annotationClass.cast(annotation); + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/DbUnitUtil.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/DbUnitUtil.java new file mode 100644 index 0000000..2a70703 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/DbUnitUtil.java @@ -0,0 +1,63 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.util; + +import java.sql.Connection; +import java.sql.DriverManager; +import java.sql.SQLException; +import java.util.Properties; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.dbunit.DatabaseUnitException; +import org.dbunit.database.DatabaseConnection; +import org.dbunit.database.IDatabaseConnection; +import org.rhq.helpers.perftest.support.Settings; + +/** + * + * @author Lukas Krejci + */ +public class DbUnitUtil { + + private static final Log LOG = LogFactory.getLog(DbUnitUtil.class); + + private DbUnitUtil() { + + } + + public static IDatabaseConnection getConnection(Properties settings) throws SQLException, DatabaseUnitException { + String driverClass = settings.getProperty(Settings.DATABASE_DRIVER_CLASS_PROPERTY); + if (driverClass != null) { + try { + Class.forName(driverClass); + } catch (ClassNotFoundException e) { + LOG.error("Failed to load the driver class.", e); + } + } + return getConnection(settings.getProperty("url"), settings.getProperty("user"), settings.getProperty("password")); + } + + public static IDatabaseConnection getConnection(String url, String user, String password) throws SQLException, DatabaseUnitException { + Connection jdbcConnection = DriverManager.getConnection(url, user, password); + + return new DatabaseConnection(jdbcConnection); + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/EntityDependencySearchCallbackFilteredByIds.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/EntityDependencySearchCallbackFilteredByIds.java new file mode 100644 index 0000000..eed4ee2 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/EntityDependencySearchCallbackFilteredByIds.java @@ -0,0 +1,78 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.util; + +import java.util.SortedSet; + +import org.dbunit.dataset.filter.ITableFilter; +import org.dbunit.util.search.IEdge; +import org.dbunit.util.search.ISearchCallback; +import org.dbunit.util.search.SearchException; +import org.rhq.helpers.perftest.support.EntityDependencyGraph; + +/** + * + * @author Lukas Krejci + */ +public class EntityDependencySearchCallbackFilteredByIds implements ISearchCallback { + + private static class Edge implements IEdge { + + private EntityDependencyGraph.Node from; + private EntityDependencyGraph.Node to; + + public Edge(EntityDependencyGraph.Node from, EntityDependencyGraph.Node to) { + this.from = from; + this.to = to; + } + + public int compareTo(Object o) { + return from.getTable().compareTo(to.getTable()); + } + + public Object getFrom() { + return from; + } + + public Object getTo() { + return to; + } + }; + + ITableFilter getFilter() { + + } + + public SortedSet<Object> getEdges(Object fromNode) throws SearchException { + // TODO Auto-generated method stub + return null; + } + + public void nodeAdded(Object fromNode) throws SearchException { + // TODO Auto-generated method stub + + } + + public boolean searchNode(Object node) throws SearchException { + // TODO Auto-generated method stub + return false; + } + +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/ExportedKeysSearchCallbackFilteredByPKs.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/ExportedKeysSearchCallbackFilteredByPKs.java new file mode 100644 index 0000000..c0fc82b --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/ExportedKeysSearchCallbackFilteredByPKs.java @@ -0,0 +1,65 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.util; + +import java.sql.ResultSet; + +import org.dbunit.database.IDatabaseConnection; +import org.dbunit.database.PrimaryKeyFilter; +import org.dbunit.database.PrimaryKeyFilter.PkTableMap; +import org.dbunit.database.search.ExportedKeysSearchCallback; +import org.dbunit.database.search.ForeignKeyRelationshipEdge; +import org.dbunit.dataset.filter.ITableFilter; +import org.dbunit.util.search.IEdge; +import org.dbunit.util.search.SearchException; + +/** + * + * @author Lukas Krejci + */ +public class ExportedKeysSearchCallbackFilteredByPKs extends ExportedKeysSearchCallback { + + private final PrimaryKeyFilter pksFilter; + + public ExportedKeysSearchCallbackFilteredByPKs(IDatabaseConnection connection, PkTableMap allowedPKs) { + super(connection); + this.pksFilter = new PrimaryKeyFilter(connection, allowedPKs, true); + } + + /** + * Get the primary key filter associated with the call back + * @return primary key filter associated with the call back + */ + public ITableFilter getFilter() { + return this.pksFilter; + } + + public void nodeAdded(Object node) throws SearchException { + this.pksFilter.nodeAdded(node); + } + + protected IEdge newEdge(ResultSet rs, int type, String from, String to, String fkColumn, String pkColumn) + throws SearchException { + + ForeignKeyRelationshipEdge edge = createFKEdge(rs, type, from, to, fkColumn, pkColumn); + this.pksFilter.edgeAdded(edge); + return edge; + } +} diff --git a/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/JPAUtil.java b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/JPAUtil.java new file mode 100644 index 0000000..03c2570 --- /dev/null +++ b/modules/helpers/perftest-support/src/main/java/org/rhq/helpers/perftest/support/util/JPAUtil.java @@ -0,0 +1,89 @@ +/* + * RHQ Management Platform + * Copyright (C) 2005-2010 Red Hat, Inc. + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +package org.rhq.helpers.perftest.support.util; + +import java.lang.annotation.Annotation; +import java.lang.reflect.Field; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import javax.persistence.Entity; + +/** + * + * @author Lukas Krejci + */ +public class JPAUtil { + + private JPAUtil() { + + } + + public static boolean isEntity(Class<?> clazz) { + return clazz.getAnnotation(Entity.class) != null; + } + + public static Annotations getJPAAnnotations(Class<?> clazz) { + return extractJPAAnnotations(clazz.getAnnotations()); + } + + public static Annotations getJPAAnnotations(Field field) { + return extractJPAAnnotations(field.getAnnotations()); + } + + public static Map<Field, Annotations> getJPAFields(Class<?> clazz) { + HashMap<Field, Annotations> ret = new HashMap<Field, Annotations>(); + + for (Field f : getAllFields(clazz)) { + ret.put(f, extractJPAAnnotations(f.getAnnotations())); + } + + return ret; + } + + private static Annotations extractJPAAnnotations(Annotation[] annotations) { + Annotations ret = new Annotations(); + + for (Annotation annon : annotations) { + if (annon.annotationType().getPackage().getName().startsWith("javax.persistence")) { + ret.put(annon.annotationType(), annon); + } + } + + return ret; + } + + private static List<Field> getAllFields(Class<?> clazz) { + ArrayList<Field> fields = new ArrayList<Field>(); + + fields.addAll(Arrays.asList(clazz.getDeclaredFields())); + + Class<?> superClass = clazz.getSuperclass(); + + if (superClass != null) { + fields.addAll(getAllFields(clazz.getSuperclass())); + } + + return fields; + } +} diff --git a/modules/helpers/perftest-support/tmp.xml b/modules/helpers/perftest-support/tmp.xml new file mode 100644 index 0000000..88dc891 --- /dev/null +++ b/modules/helpers/perftest-support/tmp.xml @@ -0,0 +1,3731 @@ +<?xml version='1.0' encoding='UTF-8'?> +<dataset> + <rhq_bundle_type id="10001" name="File Template Bundle" resource_type_id="10166"/> + <rhq_bundle_type id="10002" name="Ant Bundle" resource_type_id="10196"/> + <rhq_event_def id="10001" resource_type_id="10001" name="SnmpTrap" display_name="Snmp Trap" description="One single incoming trap"/> + <rhq_event_def id="10002" resource_type_id="10004" name="TwitterEvent" display_name="Twitter Event" description="%NULL%"/> + <rhq_event_def id="10003" resource_type_id="10005" name="FeedEvent" display_name="Feed Event" description="%NULL%"/> + <rhq_event_def id="10004" resource_type_id="10007" name="Event Log" display_name="Event Log" description="Windows event log"/> + <rhq_event_def id="10005" resource_type_id="10008" name="Event Log" display_name="Event Log" description="Syslog event logs"/> + <rhq_event_def id="10006" resource_type_id="10009" name="Event Log" display_name="Event Log" description="Syslog event logs"/> + <rhq_event_def id="10007" resource_type_id="10013" name="Event Log" display_name="Event Log" description="Syslog event logs"/> + <rhq_event_def id="10008" resource_type_id="10048" name="logEntry" display_name="Log Entry" description="a log message"/> + <rhq_event_def id="10009" resource_type_id="10063" name="logEntry" display_name="Log Entry" description="an entry was appended to a log file"/> + <rhq_event_def id="10010" resource_type_id="10121" name="logEntry" display_name="Log Entry" description="an entry in a log file"/> + <rhq_event_def id="10011" resource_type_id="10190" name="errorLogEntry" display_name="Error Log Entry" description="an entry in the error log file"/> + <rhq_measurement_def id="10001" resource_type_id="10001" name="trap_count" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Trap_count" display_order="1" description="Trap_count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10002" resource_type_id="10001" name="trap_count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Trap_count per Minute" display_order="2" description="Trap_count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10003" resource_type_id="10003" name="lastSuccessfulBuildNumber" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Last Successful Build Number" display_order="1" description="Last Successful Build Number" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10004" resource_type_id="10003" name="lastSuccessfulBuildTime" resource_version_range="%NULL%" category="1" units="14" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Last Successful Build Time" display_order="2" description="Last Successful Build Time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10005" resource_type_id="10003" name="lastBuildNumber" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Last Build Number" display_order="3" description="Last Build Number" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10006" resource_type_id="10003" name="lastBuildTime" resource_version_range="%NULL%" category="1" units="14" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Last Build Time" display_order="4" description="Last Build Time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10007" resource_type_id="10003" name="lastBuildResult" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Last Build Result" display_order="5" description="Last Build Result" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10008" resource_type_id="10003" name="healthScore" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Health Score" display_order="6" description="Health Score" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10009" resource_type_id="10003" name="lastBuildDuration" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Last Build Duration" display_order="7" description="Last Build Duration" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10010" resource_type_id="10004" name="tweetCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Tweet count" display_order="1" description="Number of new tweets since last poll" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10011" resource_type_id="10004" name="followerCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="14400000" display_name="Follower count" display_order="2" description="Number of followers" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10012" resource_type_id="10005" name="tweetCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Tweet count" display_order="1" description="Number of new tweets since last poll" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10013" resource_type_id="10007" name="Native.MemoryInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Free Memory" display_order="1" description="The total free system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10014" resource_type_id="10007" name="Native.MemoryInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Memory" display_order="2" description="The total used system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10015" resource_type_id="10007" name="Native.MemoryInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Memory" display_order="3" description="The total system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10016" resource_type_id="10007" name="Native.SwapInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Free Swap Space" display_order="4" description="The total free system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10017" resource_type_id="10007" name="Native.SwapInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Swap Space" display_order="5" description="The total used system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10018" resource_type_id="10007" name="Native.SwapInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Swap Space" display_order="6" description="The total system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10019" resource_type_id="10007" name="CpuPerc.idle" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Idle" display_order="7" description="Idle percentage of all CPUs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10020" resource_type_id="10007" name="CpuPerc.sys" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="System Load" display_order="8" description="Percentage of all CPUs running in system mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10021" resource_type_id="10007" name="CpuPerc.user" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="User Load" display_order="9" description="Percentage of all CPUs running in user mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10022" resource_type_id="10007" name="CpuPerc.wait" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Wait Load" display_order="10" description="Percentage of all CPUs waiting on I/O" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10023" resource_type_id="10007" name="Trait.hostname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hostname" display_order="11" description="Name that this platform is known as" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10024" resource_type_id="10007" name="Trait.osname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Name" display_order="12" description="Name that the operating system is known as" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10025" resource_type_id="10007" name="Trait.osversion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Version" display_order="13" description="Version of the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10026" resource_type_id="10007" name="Trait.sysarch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Architecture" display_order="14" description="Hardware architecture of the platform" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10027" resource_type_id="10008" name="Native.MemoryInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Free Memory" display_order="1" description="The total free system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10028" resource_type_id="10008" name="Native.MemoryInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Memory" display_order="2" description="The total used system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10029" resource_type_id="10008" name="Native.MemoryInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Memory" display_order="3" description="The total system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10030" resource_type_id="10008" name="Native.SwapInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Free Swap Space" display_order="4" description="The total free system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10031" resource_type_id="10008" name="Native.SwapInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Swap Space" display_order="5" description="The total used system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10032" resource_type_id="10008" name="Native.SwapInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Swap Space" display_order="6" description="The total system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10033" resource_type_id="10008" name="CpuPerc.idle" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Idle" display_order="7" description="Idle percentage of all CPUs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10034" resource_type_id="10008" name="CpuPerc.sys" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="System Load" display_order="8" description="Percentage of all CPUs running in system mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10035" resource_type_id="10008" name="CpuPerc.user" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="User Load" display_order="9" description="Percentage of all CPUs running in user mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10036" resource_type_id="10008" name="CpuPerc.wait" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Wait Load" display_order="10" description="Percentage of all CPUs waiting on I/O" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10037" resource_type_id="10008" name="Trait.hostname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hostname" display_order="11" description="Name that this platform is known as" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10038" resource_type_id="10008" name="Trait.osname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Name" display_order="12" description="Name that the operating system is known as" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10039" resource_type_id="10008" name="Trait.osversion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Version" display_order="13" description="Version of the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10040" resource_type_id="10008" name="Trait.sysarch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Architecture" display_order="14" description="Hardware architecture of the platform" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10041" resource_type_id="10008" name="distro.name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Distribution Name" display_order="15" description="name of the Linux distribution" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10042" resource_type_id="10008" name="distro.version" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Distribution Version" display_order="16" description="version of the Linux distribution" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10043" resource_type_id="10009" name="Native.MemoryInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Free Memory" display_order="1" description="The total free system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10044" resource_type_id="10009" name="Native.MemoryInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Memory" display_order="2" description="The total used system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10045" resource_type_id="10009" name="Native.MemoryInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Memory" display_order="3" description="The total system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10046" resource_type_id="10009" name="Native.SwapInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Free Swap Space" display_order="4" description="The total free system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10047" resource_type_id="10009" name="Native.SwapInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Swap Space" display_order="5" description="The total used system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10048" resource_type_id="10009" name="Native.SwapInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Swap Space" display_order="6" description="The total system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10049" resource_type_id="10009" name="CpuPerc.idle" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Idle" display_order="7" description="Idle percentage of all CPUs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10050" resource_type_id="10009" name="CpuPerc.sys" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="System Load" display_order="8" description="Percentage of all CPUs running in system mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10051" resource_type_id="10009" name="CpuPerc.user" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="User Load" display_order="9" description="Percentage of all CPUs running in user mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10052" resource_type_id="10009" name="CpuPerc.wait" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Wait Load" display_order="10" description="Percentage of all CPUs waiting on I/O" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10053" resource_type_id="10009" name="Trait.hostname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hostname" display_order="11" description="Name that this platform is known as" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10054" resource_type_id="10009" name="Trait.osname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Name" display_order="12" description="Name that the operating system is known as" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10055" resource_type_id="10009" name="Trait.osversion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Version" display_order="13" description="Version of the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10056" resource_type_id="10009" name="Trait.sysarch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Architecture" display_order="14" description="Hardware architecture of the platform" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10057" resource_type_id="10010" name="Native.MemoryInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Free Memory" display_order="1" description="The total free system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10058" resource_type_id="10010" name="Native.MemoryInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Memory" display_order="2" description="The total used system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10059" resource_type_id="10010" name="Native.MemoryInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Memory" display_order="3" description="The total system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10060" resource_type_id="10010" name="Native.SwapInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Free Swap Space" display_order="4" description="The total free system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10061" resource_type_id="10010" name="Native.SwapInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Swap Space" display_order="5" description="The total used system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10062" resource_type_id="10010" name="Native.SwapInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Swap Space" display_order="6" description="The total system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10063" resource_type_id="10010" name="CpuPerc.idle" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Idle" display_order="7" description="Idle percentage of all CPUs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10064" resource_type_id="10010" name="CpuPerc.sys" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="System Load" display_order="8" description="Percentage of all CPUs running in system mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10065" resource_type_id="10010" name="CpuPerc.user" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="User Load" display_order="9" description="Percentage of all CPUs running in user mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10066" resource_type_id="10010" name="CpuPerc.wait" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Wait Load" display_order="10" description="Percentage of all CPUs waiting on I/O" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10067" resource_type_id="10010" name="Trait.hostname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hostname" display_order="11" description="Name that this platform is known as" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10068" resource_type_id="10010" name="Trait.osname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Name" display_order="12" description="Name that the operating system is known as" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10069" resource_type_id="10010" name="Trait.osversion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Version" display_order="13" description="Version of the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10070" resource_type_id="10010" name="Trait.sysarch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Architecture" display_order="14" description="Hardware architecture of the platform" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10071" resource_type_id="10011" name="Native.MemoryInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Free Memory" display_order="1" description="The total free system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10072" resource_type_id="10011" name="Native.MemoryInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Memory" display_order="2" description="The total used system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10073" resource_type_id="10011" name="Native.MemoryInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Memory" display_order="3" description="The total system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10074" resource_type_id="10011" name="Native.SwapInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Free Swap Space" display_order="4" description="The total free system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10075" resource_type_id="10011" name="Native.SwapInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Swap Space" display_order="5" description="The total used system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10076" resource_type_id="10011" name="Native.SwapInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Swap Space" display_order="6" description="The total system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10077" resource_type_id="10011" name="CpuPerc.idle" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Idle" display_order="7" description="Idle percentage of all CPUs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10078" resource_type_id="10011" name="CpuPerc.sys" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="System Load" display_order="8" description="Percentage of all CPUs running in system mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10079" resource_type_id="10011" name="CpuPerc.user" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="User Load" display_order="9" description="Percentage of all CPUs running in user mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10080" resource_type_id="10011" name="CpuPerc.wait" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Wait Load" display_order="10" description="Percentage of all CPUs waiting on I/O" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10081" resource_type_id="10011" name="Trait.hostname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hostname" display_order="11" description="Name that this platform is known as" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10082" resource_type_id="10011" name="Trait.osname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Name" display_order="12" description="Name that the operating system is known as" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10083" resource_type_id="10011" name="Trait.osversion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Version" display_order="13" description="Version of the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10084" resource_type_id="10011" name="Trait.sysarch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Architecture" display_order="14" description="Hardware architecture of the platform" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10085" resource_type_id="10012" name="Native.MemoryInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Free Memory" display_order="1" description="The total free system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10086" resource_type_id="10012" name="Native.MemoryInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Memory" display_order="2" description="The total used system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10087" resource_type_id="10012" name="Native.MemoryInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Memory" display_order="3" description="The total system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10088" resource_type_id="10012" name="Native.SwapInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Free Swap Space" display_order="4" description="The total free system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10089" resource_type_id="10012" name="Native.SwapInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Swap Space" display_order="5" description="The total used system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10090" resource_type_id="10012" name="Native.SwapInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Swap Space" display_order="6" description="The total system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10091" resource_type_id="10012" name="CpuPerc.idle" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Idle" display_order="7" description="Idle percentage of all CPUs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10092" resource_type_id="10012" name="CpuPerc.sys" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="System Load" display_order="8" description="Percentage of all CPUs running in system mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10093" resource_type_id="10012" name="CpuPerc.user" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="User Load" display_order="9" description="Percentage of all CPUs running in user mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10094" resource_type_id="10012" name="CpuPerc.wait" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Wait Load" display_order="10" description="Percentage of all CPUs waiting on I/O" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10095" resource_type_id="10012" name="Trait.hostname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hostname" display_order="11" description="Name that this platform is known as" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10096" resource_type_id="10012" name="Trait.osname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Name" display_order="12" description="Name that the operating system is known as" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10097" resource_type_id="10012" name="Trait.osversion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Version" display_order="13" description="Version of the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10098" resource_type_id="10012" name="Trait.sysarch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Architecture" display_order="14" description="Hardware architecture of the platform" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10099" resource_type_id="10013" name="Native.MemoryInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Free Memory" display_order="1" description="The total free system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10100" resource_type_id="10013" name="Native.MemoryInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Memory" display_order="2" description="The total used system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10101" resource_type_id="10013" name="Native.MemoryInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Memory" display_order="3" description="The total system memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10102" resource_type_id="10013" name="Native.SwapInfo.free" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Free Swap Space" display_order="4" description="The total free system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10103" resource_type_id="10013" name="Native.SwapInfo.used" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Used Swap Space" display_order="5" description="The total used system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10104" resource_type_id="10013" name="Native.SwapInfo.total" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="120000" display_name="Total Swap Space" display_order="6" description="The total system swap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10105" resource_type_id="10013" name="CpuPerc.idle" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Idle" display_order="7" description="Idle percentage of all CPUs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10106" resource_type_id="10013" name="CpuPerc.sys" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="System Load" display_order="8" description="Percentage of all CPUs running in system mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10107" resource_type_id="10013" name="CpuPerc.user" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="User Load" display_order="9" description="Percentage of all CPUs running in user mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10108" resource_type_id="10013" name="CpuPerc.wait" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="120000" display_name="Wait Load" display_order="10" description="Percentage of all CPUs waiting on I/O" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10109" resource_type_id="10013" name="Trait.hostname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hostname" display_order="11" description="Name that this platform is known as" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10110" resource_type_id="10013" name="Trait.osname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Name" display_order="12" description="Name that the operating system is known as" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10111" resource_type_id="10013" name="Trait.osversion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Version" display_order="13" description="Version of the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10112" resource_type_id="10013" name="Trait.sysarch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Architecture" display_order="14" description="Hardware architecture of the platform" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10113" resource_type_id="10014" name="Trait.hostname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hostname" display_order="1" description="Name that this platform is known as" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10114" resource_type_id="10014" name="Trait.osname" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Name" display_order="2" description="Name that the operating system is known as" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10115" resource_type_id="10014" name="Trait.osversion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="OS Version" display_order="3" description="Version of the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10116" resource_type_id="10014" name="Trait.sysarch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Architecture" display_order="4" description="Hardware architecture of the platform" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10117" resource_type_id="10015" name="Process.cpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="User Time" display_order="1" description="The aggregate amount of CPU user time spent by all processes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10118" resource_type_id="10015" name="Process.cpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="User Time per Minute" display_order="2" description="The aggregate amount of CPU user time spent by all processes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10119" resource_type_id="10015" name="Process.cpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Kernel Time" display_order="3" description="The aggregate amount of CPU kernel time spent by all processes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10120" resource_type_id="10015" name="Process.cpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Kernel Time per Minute" display_order="4" description="The aggregate amount of CPU kernel time spent by all processes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10121" resource_type_id="10015" name="Process.cpu.percent" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="CPU Percentage" display_order="5" description="The percentage of CPU currently being used by all processes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10122" resource_type_id="10015" name="Process.memory.resident" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical Memory" display_order="6" description="The aggregate amount of resident memory used by all processes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10123" resource_type_id="10015" name="Process.memory.size" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Virtual Memory" display_order="7" description="The aggregate amount of virtual memory used by all processes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10124" resource_type_id="10015" name="Process.fileDescriptor.total" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Open File Descriptors" display_order="8" description="The aggregate number of file descriptors open by all processes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10125" resource_type_id="10016" name="fileSystemUsage.free" resource_version_range="%NULL%" category="1" units="3" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Space" display_order="1" description="The total free bytes on filesystem" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10126" resource_type_id="10016" name="fileSystemUsage.usePercent" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Used Percentage" display_order="2" description="The percentage of disk used" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10127" resource_type_id="10016" name="fileSystemUsage.total" resource_version_range="%NULL%" category="1" units="3" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="Capacity" display_order="3" description="The total size of the filesystem" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10128" resource_type_id="10016" name="fileSystem.typeName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Volume Type" display_order="4" description="The filesystem's generic type name" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10129" resource_type_id="10016" name="fileSystem.sysTypeName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Drive Type" display_order="5" description="The filesystem's operating system-specific type name" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10130" resource_type_id="10016" name="fileSystem.devName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="name" display_order="6" description="The name of this device" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10131" resource_type_id="10016" name="fileSystemUsage.freeFiles" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Free Files" display_order="7" description="The number of free file nodes on the filesystem" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10132" resource_type_id="10016" name="fileSystem.flags" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="Flags" display_order="8" description="The filesystem's flags" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10133" resource_type_id="10016" name="fileSystemUsage.used" resource_version_range="%NULL%" category="1" units="3" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Used" display_order="9" description="The total bytes used on the filesystem" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10134" resource_type_id="10016" name="fileSystemUsage.diskReads" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Disk Reads" display_order="10" description="The number of physical disk reads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10135" resource_type_id="10016" name="fileSystemUsage.diskReads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Disk Reads per Minute" display_order="11" description="The number of physical disk reads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10136" resource_type_id="10016" name="fileSystemUsage.diskWrites" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Disk Writes" display_order="12" description="The number of physical disk writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10137" resource_type_id="10016" name="fileSystemUsage.diskWrites" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Disk Writes per Minute" display_order="13" description="The number of physical disk writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10138" resource_type_id="10016" name="fileSystemUsage.diskReadBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Disk Read Bytes" display_order="14" description="The number of physical disk bytes read" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10139" resource_type_id="10016" name="fileSystemUsage.diskReadBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Disk Read Bytes per Minute" display_order="15" description="The number of physical disk bytes read" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10140" resource_type_id="10016" name="fileSystemUsage.diskWriteBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Disk Write Bytes" display_order="16" description="The number of physical disk bytes written" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10141" resource_type_id="10016" name="fileSystemUsage.diskWriteBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Disk Write Bytes per Minute" display_order="17" description="The number of physical disk bytes written" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10142" resource_type_id="10016" name="fileSystemUsage.diskQueue" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Disk Queue" display_order="18" description="The number of I/Os currently in progress" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10143" resource_type_id="10017" name="Trait.net4.address" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Inet4Address" display_order="1" description="IP address of the network adaptor" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10144" resource_type_id="10017" name="Trait.interfaceFlags" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Interface Flags" display_order="2" description="Flag constants for network related ops" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10145" resource_type_id="10017" name="rxBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Bytes Received" display_order="3" description="The total number of bytes received across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10146" resource_type_id="10017" name="rxBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Bytes Received per Minute" display_order="4" description="The total number of bytes received across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10147" resource_type_id="10017" name="rxPackets" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Packets Received" display_order="5" description="The total number of packets received across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10148" resource_type_id="10017" name="rxPackets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Packets Received per Minute" display_order="6" description="The total number of packets received across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10149" resource_type_id="10017" name="txBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Bytes Transmitted" display_order="7" description="The total number of bytes transmitted across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10150" resource_type_id="10017" name="txBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Bytes Transmitted per Minute" display_order="8" description="The total number of bytes transmitted across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10151" resource_type_id="10017" name="txPackets" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Packets Transmitted" display_order="9" description="The total number of packets transmitted across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10152" resource_type_id="10017" name="txPackets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Packets Transmitted per Minute" display_order="10" description="The total number of packets transmitted across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10153" resource_type_id="10017" name="rxErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Receive Errors" display_order="11" description="'errors' statistic for received packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10154" resource_type_id="10017" name="rxErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Receive Errors per Minute" display_order="12" description="'errors' statistic for received packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10155" resource_type_id="10017" name="rxDropped" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Receive Packets Dropped" display_order="13" description="'dropped' statistic for received packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10156" resource_type_id="10017" name="rxDropped" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Receive Packets Dropped per Minute" display_order="14" description="'dropped' statistic for received packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10157" resource_type_id="10017" name="rxOverruns" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Receive Overrurns" display_order="15" description="'overruns' statistic for received packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10158" resource_type_id="10017" name="rxOverruns" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Receive Overrurns per Minute" display_order="16" description="'overruns' statistic for received packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10159" resource_type_id="10017" name="rxFrame" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Receive Frame" display_order="17" description="'frame' statistic for received packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10160" resource_type_id="10017" name="rxFrame" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Receive Frame per Minute" display_order="18" description="'frame' statistic for received packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10161" resource_type_id="10017" name="txErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Transmit Errors" display_order="19" description="'errors' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10162" resource_type_id="10017" name="txErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Transmit Errors per Minute" display_order="20" description="'errors' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10163" resource_type_id="10017" name="txDropped" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Transmit Packets Dropped" display_order="21" description="'dropped' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10164" resource_type_id="10017" name="txDropped" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Transmit Packets Dropped per Minute" display_order="22" description="'dropped' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10165" resource_type_id="10017" name="txOverruns" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Transmit Overruns" display_order="23" description="'overruns' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10166" resource_type_id="10017" name="txOverruns" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Transmit Overruns per Minute" display_order="24" description="'overruns' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10167" resource_type_id="10017" name="txCollisions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Transmit Collisions" display_order="25" description="'collisions' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10168" resource_type_id="10017" name="txCollisions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Transmit Collisions per Minute" display_order="26" description="'collisions' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10169" resource_type_id="10017" name="txCarrier" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Transmit Carrier" display_order="27" description="'carrier' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10170" resource_type_id="10017" name="txCarrier" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Transmit Carrier per Minute" display_order="28" description="'carrier' statistic for transmitted packets across this network interface since it started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10171" resource_type_id="10018" name="CpuPerc.idle" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Idle" display_order="1" description="Idle percentage of this CPU" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10172" resource_type_id="10018" name="CpuPerc.sys" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="System Load" display_order="2" description="Percentage of this CPU running in system mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10173" resource_type_id="10018" name="CpuPerc.user" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="User Load" display_order="3" description="Percentage of this CPU running in user mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10174" resource_type_id="10018" name="CpuPerc.wait" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Wait Load" display_order="4" description="Percentage of this CPU waiting on I/O" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10175" resource_type_id="10018" name="Cpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Time" display_order="5" description="The total system CPU user time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10176" resource_type_id="10018" name="Cpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="User Time per Minute" display_order="6" description="The total system CPU user time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10177" resource_type_id="10018" name="Cpu.nice" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Nice Time" display_order="7" description="The total system CPU nice time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10178" resource_type_id="10018" name="Cpu.nice" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Nice Time per Minute" display_order="8" description="The total system CPU nice time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10179" resource_type_id="10018" name="Cpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="System Time" display_order="9" description="The total system CPU kernel time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10180" resource_type_id="10018" name="Cpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="System Time per Minute" display_order="10" description="The total system CPU kernel time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10181" resource_type_id="10018" name="Cpu.idle" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Idle Time" display_order="11" description="The total system CPU idle time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10182" resource_type_id="10018" name="Cpu.idle" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Idle Time per Minute" display_order="12" description="The total system CPU idle time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10183" resource_type_id="10018" name="Cpu.wait" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Wait Time" display_order="13" description="The total system CPU I/O wait time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10184" resource_type_id="10018" name="Cpu.wait" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Wait Time per Minute" display_order="14" description="The total system CPU I/O wait time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10185" resource_type_id="10018" name="CpuTrait.vendor" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="3600000" display_name="Vendor" display_order="15" description="Vendor of this CPU" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10186" resource_type_id="10018" name="CpuTrait.model" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="3600000" display_name="CPU Model" display_order="16" description="Model of this CPU" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10187" resource_type_id="10018" name="CpuTrait.mhz" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="3600000" display_name="CPU Speed" display_order="17" description="Speed of this CPU in Mhz" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10188" resource_type_id="10018" name="CpuTrait.cacheSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="3600000" display_name="Cache size" display_order="18" description="Cache Size of this CPU" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10189" resource_type_id="10019" name="connectTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Connect Time" display_order="1" description="The to connect to the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10190" resource_type_id="10019" name="readTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Read Time" display_order="2" description="The time to transfer the requested content" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10191" resource_type_id="10019" name="contentLength" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Content Length" display_order="3" description="The size of the returned content" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10192" resource_type_id="10019" name="contentAge" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Content Age" display_order="4" description="The declared age of the requested page" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10193" resource_type_id="10020" name="ipAddress" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Ip Address" display_order="1" description="The ip address of the host" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10194" resource_type_id="10020" name="hostName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Host Name" display_order="2" description="The hostname of the host" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10195" resource_type_id="10020" name="responseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Response Time" display_order="3" description="Time to ping the address" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10196" resource_type_id="10022" name="FreePhysicalMemorySize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Physical Memory" display_order="1" description="The amount of free physical memory for the OS" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10197" resource_type_id="10022" name="FreeSwapSpaceSize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Swap Memory" display_order="2" description="The amount of free swap space for the OS" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10198" resource_type_id="10022" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Process CPU Time" display_order="3" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10199" resource_type_id="10022" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Process CPU Time per Minute" display_order="4" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10200" resource_type_id="10022" name="CommittedVirtualMemorySize" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Committed Virtual Memory" display_order="5" description="Size of virtual memory used by this process" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10201" resource_type_id="10023" name="LoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Loaded Classes" display_order="1" description="The number of classes currently loaded in the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10202" resource_type_id="10023" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Classes Loaded" display_order="2" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10203" resource_type_id="10023" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total Classes Loaded per Minute" display_order="3" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10204" resource_type_id="10023" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Unloaded Classes" display_order="4" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10205" resource_type_id="10023" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Unloaded Classes per Minute" display_order="5" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10206" resource_type_id="10024" name="{HeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Usage" display_order="1" description="Current heap memory usage" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10207" resource_type_id="10024" name="{HeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Committed" display_order="2" description="Current heap memory allocated. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10208" resource_type_id="10024" name="{NonHeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Usage" display_order="3" description="Current memory usage outside the heap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10209" resource_type_id="10024" name="{NonHeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Committed" display_order="4" description="Current memory allocated outside the heap. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10210" resource_type_id="10024" name="ObjectPendingFinalizationCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Objects Pending Finalization" display_order="5" description="The approximate number of objects for which finalization is pending." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10211" resource_type_id="10024" name="{HeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Initial Size" display_order="6" description="The amount of heap that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10212" resource_type_id="10024" name="{HeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Maximum Size" display_order="7" description="Maximum amount of heap that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10213" resource_type_id="10024" name="{NonHeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Initial Size" display_order="8" description="The amount of non-heap memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10214" resource_type_id="10024" name="{NonHeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Maximum Size" display_order="9" description="Maximum amount of non-heap memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10215" resource_type_id="10025" name="TotalCompilationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Total Compilation Time" display_order="1" description="The approximate accumulated elapsed time spent in compilation" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10216" resource_type_id="10027" name="ThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Thread Count" display_order="1" description="Number of active threads in the system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10217" resource_type_id="10027" name="PeakThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Peak Thread Count" display_order="2" description="Peak count of active threads in the system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10218" resource_type_id="10027" name="TotalStartedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Total Started Thread Count" display_order="3" description="Count of threads started since system start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10219" resource_type_id="10027" name="DaemonThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Daemon Thread Count" display_order="4" description="Count of threads marked as daemons in the system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10220" resource_type_id="10027" name="SuspendedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Suspended Thread Count" display_order="5" description="Count of suspended threads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10221" resource_type_id="10027" name="DeadLockedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Deadlocked Thread Count" display_order="6" description="Count of threads that are deadlocked waiting to acquire object monitors. This is a CPU-time consuming metric." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10222" resource_type_id="10028" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Count" display_order="1" description="Number of collections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10223" resource_type_id="10028" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Count per Minute" display_order="2" description="Number of collections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10224" resource_type_id="10028" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Time" display_order="3" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10225" resource_type_id="10028" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Time per Minute" display_order="4" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10226" resource_type_id="10028" name="MemoryPoolNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Pool Names" display_order="5" description="The names of the memory pools used by this type of garbage collector" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10227" resource_type_id="10029" name="{Usage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Used" display_order="1" description="Current memory usage" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10228" resource_type_id="10029" name="{Usage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Committed" display_order="2" description="Current memory allocated" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10229" resource_type_id="10029" name="{Usage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Initial Size" display_order="3" description="The amount of memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10230" resource_type_id="10029" name="{Usage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum Size" display_order="4" description="Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10231" resource_type_id="10029" name="MemoryManagerNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Manager Names" display_order="5" description="Garbage collectors for this space" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10232" resource_type_id="10029" name="Type" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Type" display_order="6" description="Pool location" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10233" resource_type_id="10030" name="Catalina:type=Server:serverInfo" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Server Identifier" display_order="1" description="Tomcat server release identifier" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10234" resource_type_id="10033" name="Catalina:type=GlobalRequestProcessor,name=%handler%%address%-%port%:maxTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Maximum Request Time" display_order="1" description="Maximum time it took to process a request." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10235" resource_type_id="10033" name="Catalina:type=GlobalRequestProcessor,name=%handler%%address%-%port%:requestCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Request count" display_order="2" description="Total number of requests processed since last restart." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10236" resource_type_id="10033" name="Catalina:type=GlobalRequestProcessor,name=%handler%%address%-%port%:requestCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Request count per Minute" display_order="3" description="Total number of requests processed since last restart." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10237" resource_type_id="10033" name="Catalina:type=GlobalRequestProcessor,name=%handler%%address%-%port%:errorCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Error count" display_order="4" description="Number of errors while processing since last restart." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10238" resource_type_id="10033" name="Catalina:type=GlobalRequestProcessor,name=%handler%%address%-%port%:errorCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Error count per Minute" display_order="5" description="Number of errors while processing since last restart." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10239" resource_type_id="10033" name="Catalina:type=ThreadPool,name=%handler%%address%-%port%:currentThreadsBusy" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Threadpool Threads Active" display_order="6" description="Number of current busy threads." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10240" resource_type_id="10033" name="Catalina:type=ThreadPool,name=%handler%%address%-%port%:currentThreadCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Threadpool Threads Allocated" display_order="7" description="Number of current threads." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10241" resource_type_id="10033" name="Catalina:type=ThreadPool,name=%handler%%address%-%port%:maxThreads" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Threadpool Max Threads" display_order="8" description="Maximum number of threads that can be allocated for the ThreadPool." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10242" resource_type_id="10036" name="ThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Thread Count" display_order="1" description="Number of active threads in the system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10243" resource_type_id="10036" name="PeakThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Peak Thread Count" display_order="2" description="Peak count of active threads in the system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10244" resource_type_id="10036" name="TotalStartedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Total Started Thread Count" display_order="3" description="Count of threads started since system start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10245" resource_type_id="10036" name="DaemonThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Daemon Thread Count" display_order="4" description="Count of threads marked as daemons in the system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10246" resource_type_id="10036" name="SuspendedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Suspended Thread Count" display_order="5" description="Count of suspended threads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10247" resource_type_id="10036" name="DeadLockedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Deadlocked Thread Count" display_order="6" description="Count of threads that are deadlocked waiting to acquire object monitors. This is a CPU-time consuming metric." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10248" resource_type_id="10037" name="Application.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded deployment" display_order="1" description="Whether deployed as a .war file or an exploded directory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10249" resource_type_id="10037" name="Servlet.NumRequests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Requests served" display_order="2" description="Number of requests served by servlets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10250" resource_type_id="10037" name="Servlet.NumRequests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Requests served per Minute" display_order="3" description="Number of requests served by servlets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10251" resource_type_id="10037" name="Servlet.NumErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Processing Errors" display_order="4" description="Number of errors while processing servlets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10252" resource_type_id="10037" name="Servlet.NumErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Processing Errors per Minute" display_order="5" description="Number of errors while processing servlets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10253" resource_type_id="10037" name="Session.activeSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Currently Active Sessions" display_order="6" description="Number active sessions for the webapp right now" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10254" resource_type_id="10037" name="Session.maxActive" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Maximum number of Active Sessions" display_order="7" description="Maximum number of active sessions for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10255" resource_type_id="10037" name="Session.sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Sessions created" display_order="8" description="Number of sessions created for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10256" resource_type_id="10037" name="Session.sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Sessions created per Minute" display_order="9" description="Number of sessions created for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10257" resource_type_id="10037" name="Session.expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Expired Sessions" display_order="10" description="Number of expired sessions for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10258" resource_type_id="10037" name="Session.expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Expired Sessions per Minute" display_order="11" description="Number of expired sessions for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10259" resource_type_id="10037" name="Session.rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Rejected Sessions" display_order="12" description="Number of sessions rejected for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10260" resource_type_id="10037" name="Session.rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Rejected Sessions per Minute" display_order="13" description="Number of sessions rejected for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10261" resource_type_id="10037" name="Session.sessionAverageAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Session Average alive time" display_order="14" description="Average alive time of a Session" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10262" resource_type_id="10037" name="Session.sessionMaxAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Session alive time" display_order="15" description="Maximum alive time of a Session" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10263" resource_type_id="10037" name="VHost.name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="Virtual Hosts" display_order="16" description="Virtual hosts this app runs on" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10264" resource_type_id="10037" name="ResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="60000" display_name="HTTP Response Time" display_order="17" description="the minimum, maximum, and average response times for HTTP requests serviced by this web application" destination_type="URL" version="0"/> + <rhq_measurement_def id="10265" resource_type_id="10039" name="TotalCompilationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Total Compilation Time" display_order="1" description="The approximate accumulated elapsed time spent in compilation" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10266" resource_type_id="10041" name="{HeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Usage" display_order="1" description="Current heap memory usage" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10267" resource_type_id="10041" name="{HeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Committed" display_order="2" description="Current heap memory allocated. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10268" resource_type_id="10041" name="{NonHeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Usage" display_order="3" description="Current memory usage outside the heap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10269" resource_type_id="10041" name="{NonHeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Committed" display_order="4" description="Current memory allocated outside the heap. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10270" resource_type_id="10041" name="ObjectPendingFinalizationCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Objects Pending Finalization" display_order="5" description="The approximate number of objects for which finalization is pending." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10271" resource_type_id="10041" name="{HeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Initial Size" display_order="6" description="The amount of heap that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10272" resource_type_id="10041" name="{HeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Maximum Size" display_order="7" description="Maximum amount of heap that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10273" resource_type_id="10041" name="{NonHeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Initial Size" display_order="8" description="The amount of non-heap memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10274" resource_type_id="10041" name="{NonHeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Maximum Size" display_order="9" description="Maximum amount of non-heap memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10275" resource_type_id="10042" name="LoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Loaded Classes" display_order="1" description="The number of classes currently loaded in the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10276" resource_type_id="10042" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Classes Loaded" display_order="2" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10277" resource_type_id="10042" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total Classes Loaded per Minute" display_order="3" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10278" resource_type_id="10042" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Unloaded Classes" display_order="4" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10279" resource_type_id="10042" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Unloaded Classes per Minute" display_order="5" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10280" resource_type_id="10043" name="FreePhysicalMemorySize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Physical Memory" display_order="1" description="The amount of free physical memory for the OS" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10281" resource_type_id="10043" name="FreeSwapSpaceSize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Swap Memory" display_order="2" description="The amount of free swap space for the OS" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10282" resource_type_id="10043" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Process CPU Time" display_order="3" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10283" resource_type_id="10043" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Process CPU Time per Minute" display_order="4" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10284" resource_type_id="10043" name="CommittedVirtualMemorySize" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Committed Virtual Memory" display_order="5" description="Size of virtual memory used by this process" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10285" resource_type_id="10045" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Count" display_order="1" description="Number of collections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10286" resource_type_id="10045" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Count per Minute" display_order="2" description="Number of collections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10287" resource_type_id="10045" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Time" display_order="3" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10288" resource_type_id="10045" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Time per Minute" display_order="4" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10289" resource_type_id="10045" name="MemoryPoolNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Pool Names" display_order="5" description="The names of the memory pools used by this type of garbage collector" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10290" resource_type_id="10046" name="accessCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Access Count" display_order="1" description="Number of cache accesses" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10291" resource_type_id="10046" name="hitsCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hits Count" display_order="2" description="Number of cache hits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10292" resource_type_id="10046" name="cacheSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Cache Size" display_order="3" description="Number of cache entries" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10293" resource_type_id="10046" name="cacheMaxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Cache Max Size" display_order="4" description="Maximum number of cache entries" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10294" resource_type_id="10047" name="{Usage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Used" display_order="1" description="Current memory usage" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10295" resource_type_id="10047" name="{Usage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Committed" display_order="2" description="Current memory allocated" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10296" resource_type_id="10047" name="{Usage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Initial Size" display_order="3" description="The amount of memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10297" resource_type_id="10047" name="{Usage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum Size" display_order="4" description="Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10298" resource_type_id="10047" name="MemoryManagerNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Manager Names" display_order="5" description="Garbage collectors for this space" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10299" resource_type_id="10047" name="Type" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Type" display_order="6" description="Pool location" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10300" resource_type_id="10048" name="Trait.SigarVersion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="SIGAR Version" display_order="1" description="The version of the SIGAR (System Information Gatherer and Reporter) native library used by the Agent" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10301" resource_type_id="10048" name="Trait.ReasonForLastRestart" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Reason For Last Restart" display_order="2" description="Indicates what caused the last agent restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10302" resource_type_id="10048" name="Trait.AgentHomeDirectory" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="86400000" display_name="Agent Home Directory" display_order="3" description="The directory where the agent is installed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10303" resource_type_id="10048" name="NumberAgentRestarts" resource_version_range="%NULL%" category="0" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number of Agent Restarts" display_order="4" description="Number of times the agent was restarted during the lifetime of its Java Virtual Machine" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10304" resource_type_id="10048" name="AgentServerClockDifference" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="Agent-Server Clock Difference" display_order="5" description="Number of milliseconds the agent's clock differs from its server's clock" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10305" resource_type_id="10048" name="Uptime" resource_version_range="%NULL%" category="0" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Up Time" display_order="6" description="Total number of seconds since the agent was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10306" resource_type_id="10048" name="NumberTotalCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total Number Of Commands Received" display_order="7" description="Total number of messages this agent has received from the RHQ Server" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10307" resource_type_id="10048" name="NumberTotalCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total Number Of Commands Received per Minute" display_order="8" description="Total number of messages this agent has received from the RHQ Server" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10308" resource_type_id="10048" name="NumberSuccessfulCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of Commands Received Successfully" display_order="9" description="Number of messages this agent has received from the RHQ Server and succesfully processed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10309" resource_type_id="10048" name="NumberSuccessfulCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number of Commands Received Successfully per Minute" display_order="10" description="Number of messages this agent has received from the RHQ Server and succesfully processed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10310" resource_type_id="10048" name="NumberFailedCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of Commands Received but Failed " display_order="11" description="Number of messages this agent has received from the RHQ Server but failed to process" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10311" resource_type_id="10048" name="NumberFailedCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number of Commands Received but Failed per Minute" display_order="12" description="Number of messages this agent has received from the RHQ Server but failed to process" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10312" resource_type_id="10048" name="AverageExecutionTimeReceived" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Avg Execution Time Commands Received Successfully" display_order="13" description="Average time it took to process incoming commands that are ultimately successful" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10313" resource_type_id="10048" name="AverageExecutionTimeSent" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Avg Execution Time Commands Sent Successfully" display_order="14" description="Average time it took to send commands that are ultimately successful" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10314" resource_type_id="10048" name="NumberTotalCommandsSent" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total Number of Commands Sent" display_order="15" description="Total number of messages this agent has sent to the RHQ Server" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10315" resource_type_id="10048" name="NumberTotalCommandsSent" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total Number of Commands Sent per Minute" display_order="16" description="Total number of messages this agent has sent to the RHQ Server" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10316" resource_type_id="10048" name="NumberSuccessfulCommandsSent" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of Commands Successfully Sent" display_order="17" description="Number of messages this agent has sent to the RHQ Server successfully" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10317" resource_type_id="10048" name="NumberSuccessfulCommandsSent" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number of Commands Successfully Sent per Minute" display_order="18" description="Number of messages this agent has sent to the RHQ Server successfully" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10318" resource_type_id="10048" name="NumberFailedCommandsSent" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of Commands Sent but Failed" display_order="19" description="Number of messages this agent has either tried, but failed, to send or were not processed succesfully by the RHQ Server" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10319" resource_type_id="10048" name="NumberFailedCommandsSent" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number of Commands Sent but Failed per Minute" display_order="20" description="Number of messages this agent has either tried, but failed, to send or were not processed succesfully by the RHQ Server" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10320" resource_type_id="10048" name="NumberCommandsActiveSent" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Number Of Active Commands Being Sent" display_order="21" description="The number of messages this agent is currently sending" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10321" resource_type_id="10048" name="NumberCommandsInQueue" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Number of Commands In Queue" display_order="22" description="Number of messages currently queued waiting to be sent to the RHQ Server" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10322" resource_type_id="10048" name="NumberCommandsSpooled" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number of Commands Spooled To Disk" display_order="23" description="Number of messages spooled to disk waiting to be sent to the RHQ Server" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10323" resource_type_id="10048" name="JVMFreeMemory" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="JVM Free Memory" display_order="24" description="The amount of free memory the agent JVM has in its heap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10324" resource_type_id="10048" name="JVMTotalMemory" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="JVM Total Memory" display_order="25" description="The amount of total memory the agent JVM has in its heap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10325" resource_type_id="10048" name="JVMActiveThreads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="JVM Active Threads" display_order="26" description="The number of active threads currently running in the agent JVM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10326" resource_type_id="10049" name="CurrentlyScheduleMeasurements" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Currently Schedule Measurements" display_order="1" description="The total number of active measurement schedules currently being collected by this RHQ Agent" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10327" resource_type_id="10049" name="MeasurementsCollected" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Measurements Collected" display_order="2" description="The total number of measurements collected since this RHQ Agent was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10328" resource_type_id="10049" name="MeasurementsCollected" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Measurements Collected per Minute" display_order="3" description="The total number of measurements collected since this RHQ Agent was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10329" resource_type_id="10049" name="TotalTimeCollectingMeasurements" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Time Collecting Measurements" display_order="4" description="The amount of time this RHQ Agent has spent collecting measurements since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10330" resource_type_id="10049" name="TotalTimeCollectingMeasurements" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Time Collecting Measurements per Minute" display_order="5" description="The amount of time this RHQ Agent has spent collecting measurements since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10331" resource_type_id="10049" name="FailedCollections" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Failed Collections" display_order="6" description="The number of individual measurement collections that have failed since this RHQ Agent was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10332" resource_type_id="10049" name="FailedCollections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Failed Collections per Minute" display_order="7" description="The number of individual measurement collections that have failed since this RHQ Agent was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10333" resource_type_id="10049" name="LateCollections" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Late Collections" display_order="8" description="The number of individual measurement collections that have fallen behind from their desired schedule" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10334" resource_type_id="10049" name="LateCollections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Late Collections per Minute" display_order="9" description="The number of individual measurement collections that have fallen behind from their desired schedule" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10335" resource_type_id="10053" name="NumberOfPluginClassLoaders" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="3600000" display_name="Number Of Plugin Class Loaders" display_order="1" description="The total number of plugin classloaders currently created and actively managed." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10336" resource_type_id="10053" name="NumberOfDiscoveryClassLoaders" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="3600000" display_name="Number Of Discovery Class Loaders" display_order="2" description="The total number of discovery classloaders currently created and actively managed." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10337" resource_type_id="10053" name="NumberOfResourceClassLoaders" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number Of Resource Class Loaders" display_order="3" description="The total number of individual resource classloaders currently created and assigned to resources." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10338" resource_type_id="10055" name="ThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Thread Count" display_order="1" description="Number of active threads in the system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10339" resource_type_id="10055" name="PeakThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Peak Thread Count" display_order="2" description="Peak count of active threads in the system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10340" resource_type_id="10055" name="TotalStartedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Total Started Thread Count" display_order="3" description="Count of threads started since system start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10341" resource_type_id="10055" name="DaemonThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Daemon Thread Count" display_order="4" description="Count of threads marked as daemons in the system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10342" resource_type_id="10055" name="SuspendedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Suspended Thread Count" display_order="5" description="Count of suspended threads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10343" resource_type_id="10055" name="DeadLockedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Deadlocked Thread Count" display_order="6" description="Count of threads that are deadlocked waiting to acquire object monitors. This is a CPU-time consuming metric." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10344" resource_type_id="10056" name="TotalCompilationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Total Compilation Time" display_order="1" description="The approximate accumulated elapsed time spent in compilation" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10345" resource_type_id="10057" name="FreePhysicalMemorySize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Physical Memory" display_order="1" description="The amount of free physical memory for the OS" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10346" resource_type_id="10057" name="FreeSwapSpaceSize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Swap Memory" display_order="2" description="The amount of free swap space for the OS" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10347" resource_type_id="10057" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Process CPU Time" display_order="3" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10348" resource_type_id="10057" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Process CPU Time per Minute" display_order="4" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10349" resource_type_id="10057" name="CommittedVirtualMemorySize" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Committed Virtual Memory" display_order="5" description="Size of virtual memory used by this process" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10350" resource_type_id="10058" name="{HeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Usage" display_order="1" description="Current heap memory usage" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10351" resource_type_id="10058" name="{HeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Committed" display_order="2" description="Current heap memory allocated. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10352" resource_type_id="10058" name="{NonHeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Usage" display_order="3" description="Current memory usage outside the heap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10353" resource_type_id="10058" name="{NonHeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Committed" display_order="4" description="Current memory allocated outside the heap. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10354" resource_type_id="10058" name="ObjectPendingFinalizationCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Objects Pending Finalization" display_order="5" description="The approximate number of objects for which finalization is pending." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10355" resource_type_id="10058" name="{HeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Initial Size" display_order="6" description="The amount of heap that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10356" resource_type_id="10058" name="{HeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Maximum Size" display_order="7" description="Maximum amount of heap that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10357" resource_type_id="10058" name="{NonHeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Initial Size" display_order="8" description="The amount of non-heap memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10358" resource_type_id="10058" name="{NonHeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Maximum Size" display_order="9" description="Maximum amount of non-heap memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10359" resource_type_id="10060" name="LoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Loaded Classes" display_order="1" description="The number of classes currently loaded in the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10360" resource_type_id="10060" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Classes Loaded" display_order="2" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10361" resource_type_id="10060" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total Classes Loaded per Minute" display_order="3" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10362" resource_type_id="10060" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Unloaded Classes" display_order="4" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10363" resource_type_id="10060" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Unloaded Classes per Minute" display_order="5" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10364" resource_type_id="10061" name="{Usage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Used" display_order="1" description="Current memory usage" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10365" resource_type_id="10061" name="{Usage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Committed" display_order="2" description="Current memory allocated" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10366" resource_type_id="10061" name="{Usage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Initial Size" display_order="3" description="The amount of memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10367" resource_type_id="10061" name="{Usage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum Size" display_order="4" description="Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10368" resource_type_id="10061" name="MemoryManagerNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Manager Names" display_order="5" description="Garbage collectors for this space" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10369" resource_type_id="10061" name="Type" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Type" display_order="6" description="Pool location" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10370" resource_type_id="10062" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Count" display_order="1" description="Number of collections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10371" resource_type_id="10062" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Count per Minute" display_order="2" description="Number of collections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10372" resource_type_id="10062" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Time" display_order="3" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10373" resource_type_id="10062" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Time per Minute" display_order="4" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10374" resource_type_id="10062" name="MemoryPoolNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Pool Names" display_order="5" description="The names of the memory pools used by this type of garbage collector" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10375" resource_type_id="10063" name="MCBean|ServerConfig|*|partitionName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Cluster Partition Name" display_order="1" description="the name of the cluster partition this server belongs to" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10376" resource_type_id="10063" name="MCBean|ServerConfig|*|serverName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Server Name" display_order="2" description="the name of the active profile (i.e. configuration set) this server is using" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10377" resource_type_id="10063" name="MCBean|ServerConfig|*|serverHomeDir" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Server Home Dir" display_order="3" description="the full path of the configuration set directory this server is using (e.g. /opt/jboss-5.1.0.CR1/server/default)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10378" resource_type_id="10063" name="MCBean|MCServer|*|versionName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Version Name" display_order="5" description="the code name for the this app server instance's major version (AS 5.0 = Morpheus, AS 5.1 = The Oracle, AS 6.0 = Neo)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10379" resource_type_id="10063" name="MCBean|MCServer|*|buildDate" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Build Date" display_order="6" description="the date this app server was built" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10380" resource_type_id="10063" name="MCBean|MCServer|*|startDate" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Start Date" display_order="7" description="the date and time this app server instance was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10381" resource_type_id="10063" name="MCBean|ServerInfo|*|activeThreadCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Active Thread Count" display_order="8" description="The current number of active threads for this app server instance" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10382" resource_type_id="10063" name="MCBean|ServerInfo|*|activeThreadGroupCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Active Thread Group Count" display_order="9" description="The current number of active thread groups for this app server instance" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10383" resource_type_id="10063" name="MCBean|ServerInfo|*|freeMemory" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="JVM Free Memory" display_order="10" description="An approximation of the total amount of memory currently available in the app server JVM for future allocated objects, measured in bytes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10384" resource_type_id="10063" name="MCBean|ServerInfo|*|maxMemory" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="JVM Max Memory" display_order="11" description="The maximum amount of memory that the app server JVM will attempt to use, measured in bytes; if there is no inherent limit then the value Long.MAX_VALUE will be returned" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10385" resource_type_id="10063" name="MCBean|ServerInfo|*|totalMemory" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="JVM Total Memory" display_order="12" description="The total amount of memory currently available in the app server JVM for current and future objects, measured in bytes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10386" resource_type_id="10063" name="MCBean|JTA|*|transactionCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total Transactions" display_order="13" description="Total number of transactions since last restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10387" resource_type_id="10063" name="MCBean|JTA|*|transactionCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total Transactions per Minute" display_order="14" description="Total number of transactions since last restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10388" resource_type_id="10063" name="MCBean|JTA|*|commitCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transactions Committed" display_order="15" description="Number of transactions committed since last restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10389" resource_type_id="10063" name="MCBean|JTA|*|commitCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Transactions Committed per Minute" display_order="16" description="Number of transactions committed since last restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10390" resource_type_id="10063" name="MCBean|JTA|*|rollbackCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transactions Rolled Back" display_order="17" description="Number of transactions rolled back since last restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10391" resource_type_id="10063" name="MCBean|JTA|*|rollbackCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Transactions Rolled Back per Minute" display_order="18" description="Number of transactions rolled back since last restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10392" resource_type_id="10064" name="custom.path" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Path" display_order="1" description="the absolute path of this EAR file or directory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10393" resource_type_id="10064" name="custom.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded?" display_order="2" description="whether this EAR is deployed exploded (i.e. as a directory)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10394" resource_type_id="10068" name="runState" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="30000" display_name="Run State" display_order="1" description="Run State" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10395" resource_type_id="10068" name="poolJndiName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Pool JNDI Name" display_order="2" description="Pool JNDI Name" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10396" resource_type_id="10068" name="availableConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Available Connection Count" display_order="3" description="Number of available connections." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10397" resource_type_id="10068" name="connectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Count" display_order="4" description="Connection Count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10398" resource_type_id="10068" name="connectionCreatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Created Count" display_order="5" description="Connection Created Count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10399" resource_type_id="10068" name="connectionDestroyedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Destroyed Count" display_order="6" description="Connection Destroyed Count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10400" resource_type_id="10068" name="inUseConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="In Use Connection Count" display_order="7" description="Mumber of connections currently in use." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10401" resource_type_id="10068" name="maxConnectionsInUseCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Connections In Use Count" display_order="8" description="Maximum number of maximum connections that have been in use." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10402" resource_type_id="10068" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Size" display_order="9" description="Max Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10403" resource_type_id="10068" name="minSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Min Size" display_order="10" description="Min Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10404" resource_type_id="10069" name="custom.path" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Path" display_order="1" description="the absolute path of this WAR file or directory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10405" resource_type_id="10069" name="custom.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded?" display_order="2" description="whether this WAR is deployed exploded (i.e. as a directory)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10406" resource_type_id="10069" name="contextRoot" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Context Root" display_order="3" description="this context root of this WAR (e.g. jmx-console) - used as a unique path prefix for URLs corresponding to this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10407" resource_type_id="10069" name="virtualHosts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Virtual Hosts" display_order="4" description="the virtual host(s) to which this WAR is deployed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10408" resource_type_id="10070" name="custom.transactionType" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Transaction Type" display_order="1" description="The type of transactions used by this connection factory - Local or XA" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10409" resource_type_id="10070" name="runState" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="30000" display_name="Run State" display_order="2" description="Run State" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10410" resource_type_id="10070" name="poolJndiName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Pool JNDI Name" display_order="3" description="Pool JNDI Name" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10411" resource_type_id="10070" name="availableConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Available Connection Count" display_order="4" description="Number of available connections." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10412" resource_type_id="10070" name="connectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Count" display_order="5" description="Connection Count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10413" resource_type_id="10070" name="connectionCreatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Created Count" display_order="6" description="Connection Created Count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10414" resource_type_id="10070" name="connectionDestroyedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Destroyed Count" display_order="7" description="Connection Destroyed Count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10415" resource_type_id="10070" name="inUseConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="In Use Connection Count" display_order="8" description="Mumber of connections currently in use." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10416" resource_type_id="10070" name="maxConnectionsInUseCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Connections In Use Count" display_order="9" description="Maximum number of maximum connections that have been in use." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10417" resource_type_id="10070" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Size" display_order="10" description="Max Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10418" resource_type_id="10070" name="minSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Min Size" display_order="11" description="Min Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10419" resource_type_id="10071" name="custom.path" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Path" display_order="1" description="the absolute path of this EJB JAR file or directory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10420" resource_type_id="10071" name="custom.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded?" display_order="2" description="whether this EJB JAR is deployed exploded (i.e. as a directory)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10421" resource_type_id="10072" name="runState" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="30000" display_name="Run State" display_order="1" description="Run State" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10422" resource_type_id="10072" name="poolJndiName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Pool JNDI Name" display_order="2" description="the JNDI name of the connection pool for this datasource" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10423" resource_type_id="10072" name="availableConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Available Connection Count" display_order="3" description="the maximum number of connections that are available" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10424" resource_type_id="10072" name="connectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Count" display_order="4" description="the number of connections that are currently in the pool" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10425" resource_type_id="10072" name="connectionCreatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Created Count" display_order="5" description="the number of connections that have been created since the datasource was last started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10426" resource_type_id="10072" name="connectionDestroyedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Destroyed Count" display_order="6" description="the number of connections that have been destroyed since the datasource was last started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10427" resource_type_id="10072" name="inUseConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="In Use Connection Count" display_order="7" description="the number of connections that are currently in use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10428" resource_type_id="10072" name="local-transaction" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Local Transaction" display_order="8" description="Local Transaction" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10429" resource_type_id="10072" name="maxConnectionsInUseCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Connections In Use Count" display_order="9" description="the most connections that have been simultaneously in use since this datasource was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10430" resource_type_id="10072" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Size" display_order="10" description="Max Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10431" resource_type_id="10072" name="minSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Min Size" display_order="11" description="Min Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10432" resource_type_id="10073" name="custom.parent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Parent" display_order="1" description="the name of this EJB JAR's parent deployment" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10433" resource_type_id="10074" name="runState" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="30000" display_name="Run State" display_order="1" description="Run State" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10434" resource_type_id="10074" name="poolJndiName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Pool JNDI Name" display_order="2" description="the JNDI name of the connection pool for this datasource" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10435" resource_type_id="10074" name="availableConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Available Connection Count" display_order="3" description="the maximum number of connections that are available" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10436" resource_type_id="10074" name="connectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Count" display_order="4" description="the number of connections that are currently in the pool" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10437" resource_type_id="10074" name="connectionCreatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Created Count" display_order="5" description="the number of connections that have been created since the datasource was last started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10438" resource_type_id="10074" name="connectionDestroyedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Destroyed Count" display_order="6" description="the number of connections that have been destroyed since the datasource was last started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10439" resource_type_id="10074" name="inUseConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="In Use Connection Count" display_order="7" description="the number of connections that are currently in use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10440" resource_type_id="10074" name="local-transaction" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Local Transaction" display_order="8" description="Local Transaction" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10441" resource_type_id="10074" name="maxConnectionsInUseCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Connections In Use Count" display_order="9" description="the most connections that have been simultaneously in use since this datasource was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10442" resource_type_id="10074" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Size" display_order="10" description="Max Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10443" resource_type_id="10074" name="minSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Min Size" display_order="11" description="Min Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10444" resource_type_id="10076" name="runState" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="30000" display_name="Run State" display_order="1" description="Run State" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10445" resource_type_id="10076" name="poolJndiName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Pool JNDI Name" display_order="2" description="the JNDI name of the connection pool for this datasource" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10446" resource_type_id="10076" name="availableConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Available Connection Count" display_order="3" description="the maximum number of connections that are available" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10447" resource_type_id="10076" name="connectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Count" display_order="4" description="the number of connections that are currently in the pool" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10448" resource_type_id="10076" name="connectionCreatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Created Count" display_order="5" description="the number of connections that have been created since the datasource was last started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10449" resource_type_id="10076" name="connectionDestroyedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Destroyed Count" display_order="6" description="the number of connections that have been destroyed since the datasource was last started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10450" resource_type_id="10076" name="inUseConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="In Use Connection Count" display_order="7" description="the number of connections that are currently in use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10451" resource_type_id="10076" name="local-transaction" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Local Transaction" display_order="8" description="Local Transaction" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10452" resource_type_id="10076" name="maxConnectionsInUseCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Connections In Use Count" display_order="9" description="the most connections that have been simultaneously in use since this datasource was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10453" resource_type_id="10076" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Size" display_order="10" description="Max Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10454" resource_type_id="10076" name="minSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Min Size" display_order="11" description="Min Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10455" resource_type_id="10077" name="custom.path" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Path" display_order="1" description="the absolute path of this RAR file or directory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10456" resource_type_id="10077" name="custom.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded?" display_order="2" description="whether this RAR is deployed exploded (i.e. as a directory)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10457" resource_type_id="10078" name="custom.parent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Parent" display_order="1" description="the name of this RAR's parent deployment" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10458" resource_type_id="10079" name="activeBindingSetName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Active Binding Set" display_order="1" description="The active binding set used to obtain port bindings from." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10459" resource_type_id="10080" name="custom.parent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Parent" display_order="1" description="the name of this WAR's parent deployment" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10460" resource_type_id="10080" name="contextRoot" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Context Root" display_order="2" description="this context root of this WAR (e.g. jmx-console) - used as a unique path prefix for URLs corresponding to this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10461" resource_type_id="10080" name="virtualHosts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Virtual Hosts" display_order="3" description="the virtual host(s) to which this WAR is deployed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10462" resource_type_id="10081" name="custom.parent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Parent" display_order="1" description="the name of this EJB JAR's parent deployment" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10463" resource_type_id="10082" name="custom.path" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Path" display_order="1" description="the absolute path of this EJB JAR file or directory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10464" resource_type_id="10082" name="custom.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded?" display_order="2" description="whether this EJB JAR is deployed exploded (i.e. as a directory)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10465" resource_type_id="10083" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="1" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10466" resource_type_id="10083" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="2" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10467" resource_type_id="10083" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="3" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10468" resource_type_id="10083" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="4" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10469" resource_type_id="10083" name="CurrentPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Pool Size" display_order="5" description="The number of beans in the pool." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10470" resource_type_id="10083" name="MaxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Max Pool Size" display_order="6" description="The maximum pool size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10471" resource_type_id="10083" name="methodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="7" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> + <rhq_measurement_def id="10472" resource_type_id="10084" name="virtualHost" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Virtual Host" display_order="1" description="the virtual host with which this context is associated" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10473" resource_type_id="10084" name="responseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Response Time" display_order="2" description="the minimum, maximum, and average response times for requests serviced by this webapp" destination_type="URL" version="0"/> + <rhq_measurement_def id="10474" resource_type_id="10084" name="activeSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Currently Active Sessions" display_order="3" description="the number of sessions that are currently active for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10475" resource_type_id="10084" name="maxActive" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Maximum Active Sessions" display_order="4" description="the maximum number of sessions that have been active for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10476" resource_type_id="10084" name="sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Created Sessions" display_order="5" description="the number of sessions created for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10477" resource_type_id="10084" name="sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Created Sessions per Minute" display_order="6" description="the number of sessions created for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10478" resource_type_id="10084" name="expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Expired Sessions" display_order="7" description="the number of expired sessions for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10479" resource_type_id="10084" name="expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Expired Sessions per Minute" display_order="8" description="the number of expired sessions for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10480" resource_type_id="10084" name="rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Rejected Sessions" display_order="9" description="the number of sessions rejected for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10481" resource_type_id="10084" name="rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Rejected Sessions per Minute" display_order="10" description="the number of sessions rejected for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10482" resource_type_id="10084" name="sessionAverageAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Average Session Alive Time" display_order="11" description="the average alive time of sessions for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10483" resource_type_id="10084" name="sessionMaxAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Session Alive Time" display_order="12" description="the maximum alive time of sessions for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10484" resource_type_id="10084" name="Servlet.minimumResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Minimum Response Time" display_order="13" description="the minimum response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10485" resource_type_id="10084" name="Servlet.averageResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Average Response Time" display_order="14" description="the average response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10486" resource_type_id="10084" name="Servlet.maximumResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Maximum Response Time" display_order="15" description="the maximum response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10487" resource_type_id="10084" name="Servlet.totalResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Response Time" display_order="16" description="the total response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10488" resource_type_id="10084" name="Servlet.totalResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total Response Time per Minute" display_order="17" description="the total response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10489" resource_type_id="10084" name="Servlet.requestCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of Requests Serviced" display_order="18" description="the number of requests serviced by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10490" resource_type_id="10084" name="Servlet.requestCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number of Requests Serviced per Minute" display_order="19" description="the number of requests serviced by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10491" resource_type_id="10084" name="Servlet.errorCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of Error Responses" display_order="20" description="the number of error responses sent by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10492" resource_type_id="10084" name="Servlet.errorCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number of Error Responses per Minute" display_order="21" description="the number of error responses sent by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10493" resource_type_id="10085" name="{HeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Usage" display_order="1" description="Current heap memory usage" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10494" resource_type_id="10085" name="{HeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Committed" display_order="2" description="Current heap memory allocated. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10495" resource_type_id="10085" name="{NonHeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Usage" display_order="3" description="Current memory usage outside the heap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10496" resource_type_id="10085" name="{NonHeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Committed" display_order="4" description="Current memory allocated outside the heap. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10497" resource_type_id="10085" name="ObjectPendingFinalizationCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Objects Pending Finalization" display_order="5" description="The approximate number of objects for which finalization is pending." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10498" resource_type_id="10085" name="{HeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Initial Size" display_order="6" description="The amount of heap that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10499" resource_type_id="10085" name="{HeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Maximum Size" display_order="7" description="Maximum amount of heap that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10500" resource_type_id="10085" name="{NonHeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Initial Size" display_order="8" description="The amount of non-heap memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10501" resource_type_id="10085" name="{NonHeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Maximum Size" display_order="9" description="Maximum amount of non-heap memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10502" resource_type_id="10086" name="name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Name" display_order="1" description="The name of this binding set." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10503" resource_type_id="10086" name="defaultHostName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Default Host Name" display_order="2" description="The default host name of this binding set." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10504" resource_type_id="10086" name="portOffset" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Port Offset" display_order="3" description="The port offset of this binding set." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10505" resource_type_id="10087" name="runState" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="30000" display_name="Run State" display_order="1" description="Run State" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10506" resource_type_id="10087" name="createdProgrammatically" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Created Programmatically" display_order="2" description="Was this topic created programmatically? If Yes, the topic will not survive a restart of the application server. If No, the topic was created via a deployment XML file." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10507" resource_type_id="10087" name="messageCounterHistoryDayLimit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Message Counter History Day Limit" display_order="3" description="This topic's message counter history day limit - <0: unlimited, =0: history disabled, >0: maximum day count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10508" resource_type_id="10087" name="allMessageCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="All Message Count" display_order="4" description="The count of all messages in all subscriptions to this topic" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10509" resource_type_id="10087" name="allSubscriptionsCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="All Subscriptions Count" display_order="5" description="The count of all subscriptions to this topic" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10510" resource_type_id="10087" name="durableMessageCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Durable Message Count" display_order="6" description="The count of all messages for all durable subscriptions to this topic" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10511" resource_type_id="10087" name="durableSubscriptionsCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Durable Subscriptions Count" display_order="7" description="The count of all durable subscriptions to this topic" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10512" resource_type_id="10087" name="nonDurableMessageCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Non Durable Message Count" display_order="8" description="The count of all messages in all non durable subscriptions to this topic" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10513" resource_type_id="10087" name="nonDurableSubscriptionsCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Non Durable Subscriptions Count" display_order="9" description="The count of all non durable subscriptions to this topic" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10514" resource_type_id="10088" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="1" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10515" resource_type_id="10088" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="2" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10516" resource_type_id="10088" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="3" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10517" resource_type_id="10088" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="4" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10518" resource_type_id="10088" name="CurrentPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Pool Size" display_order="5" description="The number of beans in the pool." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10519" resource_type_id="10088" name="MaxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Max Pool Size" display_order="6" description="The maximum pool size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10520" resource_type_id="10088" name="CacheSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Cache Size" display_order="7" description="Cache Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10521" resource_type_id="10089" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="1" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10522" resource_type_id="10089" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="2" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10523" resource_type_id="10089" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="3" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10524" resource_type_id="10089" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="4" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10525" resource_type_id="10089" name="CurrentPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Pool Size" display_order="5" description="The number of beans in the pool." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10526" resource_type_id="10089" name="MaxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Max Pool Size" display_order="6" description="The maximum pool size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10527" resource_type_id="10089" name="methodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="7" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> + <rhq_measurement_def id="10528" resource_type_id="10090" name="name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="EJB Name" display_order="1" description="the name of this EJB" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10529" resource_type_id="10090" name="availableCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Available Count" display_order="2" description="The number of pooled instances of this EJB3 Session Bean in the method-ready state" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10530" resource_type_id="10090" name="createCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="3" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10531" resource_type_id="10090" name="createCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="4" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10532" resource_type_id="10090" name="currentSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current Count" display_order="5" description="The total number of currently pooled instances of this EJB3 Session Bean" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10533" resource_type_id="10090" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Size" display_order="6" description="The maximum number of instances that are allowed to be pooled" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10534" resource_type_id="10090" name="removeCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="7" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10535" resource_type_id="10090" name="removeCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="8" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10536" resource_type_id="10090" name="methodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="9" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> + <rhq_measurement_def id="10537" resource_type_id="10090" name="cacheSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Cache Size" display_order="10" description="Cache Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10538" resource_type_id="10090" name="passivatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Passivated Count" display_order="11" description="Passivated Count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10539" resource_type_id="10090" name="totalSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Total Size" display_order="12" description="Total Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10540" resource_type_id="10091" name="name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="EJB Name" display_order="1" description="the name of this EJB" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10541" resource_type_id="10091" name="availableCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Available Count" display_order="2" description="The number of pooled instances of this EJB3 Session Bean in the method-ready state" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10542" resource_type_id="10091" name="createCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="3" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10543" resource_type_id="10091" name="createCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="4" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10544" resource_type_id="10091" name="currentSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current Count" display_order="5" description="The total number of currently pooled instances of this EJB3 Session Bean" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10545" resource_type_id="10091" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Size" display_order="6" description="The maximum number of instances that are allowed to be pooled" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10546" resource_type_id="10091" name="removeCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="7" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10547" resource_type_id="10091" name="removeCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="8" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10548" resource_type_id="10091" name="methodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="9" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> + <rhq_measurement_def id="10549" resource_type_id="10093" name="name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="EJB Name" display_order="1" description="the name of this EJB" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10550" resource_type_id="10093" name="minPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Minimum Pool Size" display_order="2" description="Minimum Pool Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10551" resource_type_id="10093" name="maxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Maximum Pool Size" display_order="3" description="Maximum Pool Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10552" resource_type_id="10093" name="maxMessages" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Maximum number of Messages" display_order="4" description="Maximum number of Messages" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10553" resource_type_id="10094" name="maxTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Maximum Request Time" display_order="1" description="the maximum time it took to process a request since the last restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10554" resource_type_id="10094" name="requestCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Request Count" display_order="2" description="the total number of requests processed since the last restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10555" resource_type_id="10094" name="requestCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Request Count per Minute" display_order="3" description="the total number of requests processed since the last restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10556" resource_type_id="10094" name="errorCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Error Count" display_order="4" description="the number of errors while processing requests since the last restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10557" resource_type_id="10094" name="errorCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Error Count per Minute" display_order="5" description="the number of errors while processing requests since the last restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10558" resource_type_id="10094" name="ThreadPool|currentThreadsBusy" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Active Threads" display_order="6" description="the number of threads for this connector that are currently active" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10559" resource_type_id="10094" name="ThreadPool|currentThreadCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Thread Count" display_order="7" description="the number of threads for this connector that currently exist" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10560" resource_type_id="10095" name="LoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Loaded Classes" display_order="1" description="The number of classes currently loaded in the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10561" resource_type_id="10095" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Classes Loaded" display_order="2" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10562" resource_type_id="10095" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total Classes Loaded per Minute" display_order="3" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10563" resource_type_id="10095" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Unloaded Classes" display_order="4" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10564" resource_type_id="10095" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Unloaded Classes per Minute" display_order="5" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10565" resource_type_id="10096" name="name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="EJB Name" display_order="1" description="the name of this EJB" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10566" resource_type_id="10096" name="availableCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Available Count" display_order="2" description="The number of pooled instances of this EJB3 Session Bean in the method-ready state" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10567" resource_type_id="10096" name="createCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="3" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10568" resource_type_id="10096" name="createCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="4" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10569" resource_type_id="10096" name="currentSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current Count" display_order="5" description="The total number of currently pooled instances of this EJB3 Session Bean" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10570" resource_type_id="10096" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Size" display_order="6" description="The maximum number of instances that are allowed to be pooled" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10571" resource_type_id="10096" name="removeCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="7" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10572" resource_type_id="10096" name="removeCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="8" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10573" resource_type_id="10096" name="methodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="9" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> + <rhq_measurement_def id="10574" resource_type_id="10097" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="1" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10575" resource_type_id="10097" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="2" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10576" resource_type_id="10097" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="3" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10577" resource_type_id="10097" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="4" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10578" resource_type_id="10097" name="CurrentPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Pool Size" display_order="5" description="The number of beans in the pool." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10579" resource_type_id="10097" name="MaxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Max Pool Size" display_order="6" description="The maximum pool size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10580" resource_type_id="10097" name="methodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="7" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> + <rhq_measurement_def id="10581" resource_type_id="10097" name="PassivatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Passive Beans" display_order="8" description="The count of beans in the passivated state" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10582" resource_type_id="10098" name="aliases" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Aliases" display_order="1" description="the aliases for this virtual host, if any" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10583" resource_type_id="10099" name="CurrentPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Pool Size" display_order="1" description="The number of beans in the pool." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10584" resource_type_id="10099" name="MaxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Max Pool Size" display_order="2" description="The maximum pool size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10585" resource_type_id="10099" name="MessageCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Message Count" display_order="3" description="The number of messages sent/received" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10586" resource_type_id="10099" name="MessageCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Message Count per Minute" display_order="4" description="The number of messages sent/received" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10587" resource_type_id="10100" name="CurrentPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Pool Size" display_order="1" description="The number of beans in the pool." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10588" resource_type_id="10100" name="MaxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Max Pool Size" display_order="2" description="The maximum pool size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10589" resource_type_id="10100" name="MessageCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Message Count" display_order="3" description="The number of messages sent/received" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10590" resource_type_id="10100" name="MessageCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Message Count per Minute" display_order="4" description="The number of messages sent/received" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10591" resource_type_id="10101" name="runState" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="30000" display_name="Run State" display_order="1" description="Run State" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10592" resource_type_id="10101" name="createdProgrammatically" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Created Programmatically" display_order="2" description="Was this queue created programmatically? If Yes, the queue will not survive a restart of the application server. If No, the queue was created via a deployment XML file." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10593" resource_type_id="10101" name="messageCounterHistoryDayLimit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Message Counter History Day Limit" display_order="3" description="This queue's message counter history day limit - <0: unlimited, =0: history disabled, >0: maximum day count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10594" resource_type_id="10101" name="consumerCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Consumer Count" display_order="4" description="The number of consumers on the queue" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10595" resource_type_id="10101" name="deliveringCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Delivering Count" display_order="5" description="The number of messages currently being delivered" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10596" resource_type_id="10101" name="messageCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Message Count" display_order="6" description="The number of messages in the queue" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10597" resource_type_id="10101" name="scheduledMessageCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Scheduled Message Count" display_order="7" description="The number of scheduled messages in the queue" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10598" resource_type_id="10101" name="messageStatistics.count" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Count" display_order="8" description="The total message count since startup or last counter reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10599" resource_type_id="10101" name="messageStatistics.countDelta" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Count Delta" display_order="9" description="The message count delta since last method call" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10600" resource_type_id="10101" name="messageStatistics.depth" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Depth" display_order="10" description="The current message count of pending messages within the queue waiting for dispatch" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10601" resource_type_id="10101" name="messageStatistics.depthDelta" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Depth Delta" display_order="11" description="The message count delta of pending messages since last method call" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10602" resource_type_id="10101" name="messageStatistics.timeLastUpdate" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Time Last Update" display_order="12" description="The timestamp of the last message add" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10603" resource_type_id="10102" name="ThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Thread Count" display_order="1" description="Number of active threads in the system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10604" resource_type_id="10102" name="PeakThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Peak Thread Count" display_order="2" description="Peak count of active threads in the system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10605" resource_type_id="10102" name="TotalStartedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Total Started Thread Count" display_order="3" description="Count of threads started since system start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10606" resource_type_id="10102" name="DaemonThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Daemon Thread Count" display_order="4" description="Count of threads marked as daemons in the system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10607" resource_type_id="10102" name="SuspendedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Suspended Thread Count" display_order="5" description="Count of suspended threads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10608" resource_type_id="10102" name="DeadLockedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Deadlocked Thread Count" display_order="6" description="Count of threads that are deadlocked waiting to acquire object monitors. This is a CPU-time consuming metric." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10609" resource_type_id="10103" name="name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="EJB Name" display_order="1" description="the name of this EJB" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10610" resource_type_id="10103" name="minPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Minimum Pool Size" display_order="2" description="Minimum Pool Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10611" resource_type_id="10103" name="maxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Maximum Pool Size" display_order="3" description="Maximum Pool Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10612" resource_type_id="10103" name="maxMessages" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Maximum number of Messages" display_order="4" description="Maximum number of Messages" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10613" resource_type_id="10104" name="name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="EJB Name" display_order="1" description="the name of this EJB" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10614" resource_type_id="10104" name="availableCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Available Count" display_order="2" description="The number of pooled instances of this EJB3 Session Bean in the method-ready state" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10615" resource_type_id="10104" name="createCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="3" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10616" resource_type_id="10104" name="createCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="4" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10617" resource_type_id="10104" name="currentSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current Count" display_order="5" description="The total number of currently pooled instances of this EJB3 Session Bean" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10618" resource_type_id="10104" name="maxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Size" display_order="6" description="The maximum number of instances that are allowed to be pooled" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10619" resource_type_id="10104" name="removeCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="7" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10620" resource_type_id="10104" name="removeCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="8" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10621" resource_type_id="10104" name="methodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="9" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> + <rhq_measurement_def id="10622" resource_type_id="10104" name="cacheSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Cache Size" display_order="10" description="Cache Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10623" resource_type_id="10104" name="passivatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Passivated Count" display_order="11" description="Passivated Count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10624" resource_type_id="10104" name="totalSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Total Size" display_order="12" description="Total Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10625" resource_type_id="10105" name="virtualHost" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Virtual Host" display_order="1" description="the virtual host with which this context is associated" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10626" resource_type_id="10105" name="responseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Response Time" display_order="2" description="the minimum, maximum, and average response times for requests serviced by this webapp" destination_type="URL" version="0"/> + <rhq_measurement_def id="10627" resource_type_id="10105" name="activeSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Currently Active Sessions" display_order="3" description="the number of sessions that are currently active for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10628" resource_type_id="10105" name="maxActive" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Maximum Active Sessions" display_order="4" description="the maximum number of sessions that have been active for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10629" resource_type_id="10105" name="sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Created Sessions" display_order="5" description="the number of sessions created for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10630" resource_type_id="10105" name="sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Created Sessions per Minute" display_order="6" description="the number of sessions created for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10631" resource_type_id="10105" name="expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Expired Sessions" display_order="7" description="the number of expired sessions for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10632" resource_type_id="10105" name="expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Expired Sessions per Minute" display_order="8" description="the number of expired sessions for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10633" resource_type_id="10105" name="rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Rejected Sessions" display_order="9" description="the number of sessions rejected for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10634" resource_type_id="10105" name="rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Rejected Sessions per Minute" display_order="10" description="the number of sessions rejected for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10635" resource_type_id="10105" name="sessionAverageAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Average Session Alive Time" display_order="11" description="the average alive time of sessions for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10636" resource_type_id="10105" name="sessionMaxAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Session Alive Time" display_order="12" description="the maximum alive time of sessions for this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10637" resource_type_id="10105" name="Servlet.minimumResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Minimum Response Time" display_order="13" description="the minimum response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10638" resource_type_id="10105" name="Servlet.averageResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Average Response Time" display_order="14" description="the average response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10639" resource_type_id="10105" name="Servlet.maximumResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Maximum Response Time" display_order="15" description="the maximum response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10640" resource_type_id="10105" name="Servlet.totalResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Response Time" display_order="16" description="the total response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10641" resource_type_id="10105" name="Servlet.totalResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total Response Time per Minute" display_order="17" description="the total response time for requests serviced by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10642" resource_type_id="10105" name="Servlet.requestCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of Requests Serviced" display_order="18" description="the number of requests serviced by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10643" resource_type_id="10105" name="Servlet.requestCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number of Requests Serviced per Minute" display_order="19" description="the number of requests serviced by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10644" resource_type_id="10105" name="Servlet.errorCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of Error Responses" display_order="20" description="the number of error responses sent by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10645" resource_type_id="10105" name="Servlet.errorCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number of Error Responses per Minute" display_order="21" description="the number of error responses sent by this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10646" resource_type_id="10106" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="1" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10647" resource_type_id="10106" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="2" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10648" resource_type_id="10106" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="3" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10649" resource_type_id="10106" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="4" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10650" resource_type_id="10106" name="CurrentPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Pool Size" display_order="5" description="The number of beans in the pool." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10651" resource_type_id="10106" name="MaxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Max Pool Size" display_order="6" description="The maximum pool size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10652" resource_type_id="10106" name="CacheSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Cache Size" display_order="7" description="Cache Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10653" resource_type_id="10107" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="1" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10654" resource_type_id="10107" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="2" description="The number of instances of this EJB2 Session Bean that have been created. since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10655" resource_type_id="10107" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="3" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10656" resource_type_id="10107" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="4" description="The number of instances of this EJB2 Session Bean that have been removed since server start." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10657" resource_type_id="10107" name="CurrentPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Pool Size" display_order="5" description="The number of beans in the pool." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10658" resource_type_id="10107" name="MaxPoolSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Max Pool Size" display_order="6" description="The maximum pool size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10659" resource_type_id="10107" name="methodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="7" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> + <rhq_measurement_def id="10660" resource_type_id="10107" name="PassivatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Passive Beans" display_order="8" description="The count of beans in the passivated state" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10661" resource_type_id="10108" name="TotalCompilationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Total Compilation Time" display_order="1" description="The approximate accumulated elapsed time spent in compilation" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10662" resource_type_id="10109" name="FreePhysicalMemorySize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Physical Memory" display_order="1" description="The amount of free physical memory for the OS" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10663" resource_type_id="10109" name="FreeSwapSpaceSize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Swap Memory" display_order="2" description="The amount of free swap space for the OS" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10664" resource_type_id="10109" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Process CPU Time" display_order="3" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10665" resource_type_id="10109" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Process CPU Time per Minute" display_order="4" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10666" resource_type_id="10109" name="CommittedVirtualMemorySize" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Committed Virtual Memory" display_order="5" description="Size of virtual memory used by this process" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10667" resource_type_id="10110" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Count" display_order="1" description="Number of collections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10668" resource_type_id="10110" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Count per Minute" display_order="2" description="Number of collections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10669" resource_type_id="10110" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Time" display_order="3" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10670" resource_type_id="10110" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Time per Minute" display_order="4" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10671" resource_type_id="10110" name="MemoryPoolNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Pool Names" display_order="5" description="The names of the memory pools used by this type of garbage collector" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10672" resource_type_id="10111" name="{Usage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Used" display_order="1" description="Current memory usage" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10673" resource_type_id="10111" name="{Usage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Committed" display_order="2" description="Current memory allocated" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10674" resource_type_id="10111" name="{Usage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Initial Size" display_order="3" description="The amount of memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10675" resource_type_id="10111" name="{Usage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum Size" display_order="4" description="Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10676" resource_type_id="10111" name="MemoryManagerNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Manager Names" display_order="5" description="Garbage collectors for this space" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10677" resource_type_id="10111" name="Type" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Type" display_order="6" description="Pool location" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10678" resource_type_id="10113" name="ClusterConfig" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Cluster Config" display_order="1" description="Cluster Config" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10679" resource_type_id="10113" name="NodeLockingScheme" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Node Locking Scheme" display_order="2" description="Node Locking Scheme" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10680" resource_type_id="10113" name="ExposeManagementStatistics" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Expose Management Statistics?" display_order="3" description="Expose Management Statistics?" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10681" resource_type_id="10113" name="RegisterJmxResource" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Register JMX Resource?" display_order="4" description="Register JMX Resource?" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10682" resource_type_id="10113" name="CacheLoaderConfiguration" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Cache Loader Configuration" display_order="5" description="Cache Loader Configuration" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10683" resource_type_id="10113" name="MultiplexerStack" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Multiplexer Stack" display_order="6" description="Multiplexer Stack" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10684" resource_type_id="10113" name="ReplQueueMaxElements" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Replication Queue Max Elements" display_order="7" description="Replication Queue Max Elements" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10685" resource_type_id="10113" name="NumberOfAttributes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Number of Attributes" display_order="8" description="Number of Attributes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10686" resource_type_id="10113" name="CacheLoaderConfig" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Cache Loader Config" display_order="9" description="Cache Loader Config" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10687" resource_type_id="10113" name="ClusterName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Cluster Name" display_order="10" description="Cluster Name" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10688" resource_type_id="10113" name="InactiveOnStartup" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Inactive on Startup?" display_order="11" description="Inactive on Startup?" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10689" resource_type_id="10113" name="CacheMode" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Cache Mode" display_order="12" description="Cache Mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10690" resource_type_id="10113" name="IsolationLevel" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Isolation Level" display_order="13" description="Isolation Level" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10691" resource_type_id="10113" name="ReplicationVersion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Replication Version" display_order="14" description="Replication Version" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10692" resource_type_id="10113" name="FetchInMemoryState" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Fetch In-Memory State?" display_order="15" description="Fetch In-Memory State?" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10693" resource_type_id="10113" name="InitialStateRetrievalTimeout" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Initial State Retrieval Timeout" display_order="16" description="Initial State Retrieval Timeout" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10694" resource_type_id="10113" name="BuddyReplicationConfig" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Buddy Replication Config" display_order="17" description="Buddy Replication Config" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10695" resource_type_id="10113" name="ReplQueueInterval" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Replication Queue Interval" display_order="18" description="Replication Queue Interval" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10696" resource_type_id="10113" name="UseReplQueue" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Use Replication Queue?" display_order="19" description="Use Replication Queue?" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10697" resource_type_id="10113" name="UseRegionBasedMarshalling" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Use Region-Based Marshalling?" display_order="20" description="Use Region-Based Marshalling?" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10698" resource_type_id="10113" name="LockAcquisitionTimeout" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Lock Acquisition Timeout" display_order="21" description="Lock Acquisition Timeout" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10699" resource_type_id="10113" name="NumberOfNodes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number of Nodes" display_order="22" description="Number of Nodes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10700" resource_type_id="10113" name="SyncCommitPhase" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Sync Commit Phase?" display_order="23" description="Sync Commit Phase?" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10701" resource_type_id="10113" name="SyncReplTimeout" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Sync Replication Timeout" display_order="24" description="Sync Replication Timeout" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10702" resource_type_id="10113" name="EvictionPolicyConfig" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Eviction Policy Config" display_order="25" description="Eviction Policy Config" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10703" resource_type_id="10113" name="State" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="State" display_order="26" description="State" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10704" resource_type_id="10113" name="StateRetrievalTimeout" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="State Retrieval Timeout" display_order="27" description="State Retrieval Timeout" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10705" resource_type_id="10113" name="TransactionManagerLookupClass" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Transaction Manager Lookup Class" display_order="28" description="Transaction Manager Lookup Class" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10706" resource_type_id="10113" name="ClusterProperties" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Cluster Properties" display_order="29" description="Cluster Properties" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10707" resource_type_id="10114" name="Commits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Commits" display_order="1" description="the number of transaction commits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10708" resource_type_id="10114" name="StatisticsEnabled" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Statistics Enabled?" display_order="2" description="a String representation of the transaction map" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10709" resource_type_id="10114" name="Rollbacks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Rollbacks" display_order="3" description="the number of transaction rollbacks" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10710" resource_type_id="10114" name="Prepares" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Prepares" display_order="4" description="the number of transaction prepares" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10711" resource_type_id="10114" name="numberOfSyncsRegistered" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number Of Syncs Registered" display_order="5" description="the number of transaction synchronizations currently registered" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10712" resource_type_id="10116" name="numRegions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Number of Regions" display_order="1" description="the total number of regions" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10713" resource_type_id="10117" name="Enabled" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="RPC Enabled?" display_order="1" description="whether or not the RPC Manager is used in this cache instance" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10714" resource_type_id="10117" name="ReplicationFailures" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Failed Replications" display_order="2" description="the number of failed replications" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10715" resource_type_id="10117" name="LocalAddressString" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Local Address" display_order="3" description="Local address" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10716" resource_type_id="10117" name="StatisticsEnabled" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Statistics Enabled" display_order="4" description="Statistics Enabled" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10717" resource_type_id="10117" name="ReplicationCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Successful Replications" display_order="5" description="the number of successful replications" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10718" resource_type_id="10117" name="SuccessRatio" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Success Ratio" display_order="6" description="RPC call success ratio" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10719" resource_type_id="10117" name="MembersString" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Members" display_order="7" description="cluster view" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10720" resource_type_id="10118" name="Evictions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Evictions" display_order="1" description="the number of cache eviction operations" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10721" resource_type_id="10118" name="Evictions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Evictions per Minute" display_order="2" description="the number of cache eviction operations" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10722" resource_type_id="10118" name="HitMissRatio" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hit/Miss Ratio" display_order="3" description="Hit/Miss Ratio" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10723" resource_type_id="10118" name="ReadWriteRatio" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Read/Write Ratio" display_order="4" description="Read/Write Ratio" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10724" resource_type_id="10118" name="NumberOfNodes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="NumberOfNodes" display_order="5" description="the number of nodes in the cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10725" resource_type_id="10118" name="Hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Hits" display_order="6" description="the number of cache attribute hits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10726" resource_type_id="10118" name="Hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Hits per Minute" display_order="7" description="the number of cache attribute hits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10727" resource_type_id="10118" name="NumberOfAttributes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number Of Attributes" display_order="8" description="the number of cache attributes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10728" resource_type_id="10118" name="StatisticsEnabled" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Statistics Enabled" display_order="9" description="Statistics Enabled" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10729" resource_type_id="10118" name="ElapsedTime" resource_version_range="%NULL%" category="3" units="20" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Elapsed Time" display_order="10" description="the time elapsed since the cache was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10730" resource_type_id="10118" name="ElapsedTime" resource_version_range="%NULL%" category="3" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Elapsed Time per Minute" display_order="11" description="the time elapsed since the cache was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10731" resource_type_id="10118" name="TimeSinceReset" resource_version_range="%NULL%" category="3" units="20" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Time Since Reset" display_order="12" description="the time elapsed since the cache statistics were last reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10732" resource_type_id="10118" name="TimeSinceReset" resource_version_range="%NULL%" category="3" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Time Since Reset per Minute" display_order="13" description="the time elapsed since the cache statistics were last reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10733" resource_type_id="10118" name="Misses" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Misses" display_order="14" description="the number of cache attribute misses" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10734" resource_type_id="10118" name="Misses" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Misses per Minute" display_order="15" description="the number of cache attribute misses" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10735" resource_type_id="10118" name="AverageWriteTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Average Write Time" display_order="16" description="the average amount of time per write operation" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10736" resource_type_id="10118" name="Stores" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Stores" display_order="17" description="the number of cache attribute put operations" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10737" resource_type_id="10118" name="Stores" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Stores per Minute" display_order="18" description="the number of cache attribute put operations" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10738" resource_type_id="10118" name="AverageReadTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Average Read Time" display_order="19" description="the average amount of time per read operation" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10739" resource_type_id="10119" name="numberOfRegisteredTransactions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number Of Registered Transactions" display_order="1" description="the number of registered transactions" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10740" resource_type_id="10119" name="transactionMap" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Transaction Map" display_order="2" description="a string representation of the transaction map" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10741" resource_type_id="10120" name="concurrency level" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Concurrency level" display_order="1" description="The concurrency level that the MVCC Lock Manager has been configured with." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10742" resource_type_id="10120" name="locks held" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Locks held" display_order="2" description="The number of exclusive locks that are held." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10743" resource_type_id="10121" name="partitionName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Partition Name" display_order="1" description="the name of the cluster partition this app server instance belongs to" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10744" resource_type_id="10121" name="jboss.system:type=Server:VersionName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Version Name" display_order="2" description="the code name for the this app server instance's major version (AS 3.2 = WonderLand, AS 4.0 = Zion, AS 4.2 = Trinity, EAP 4.x = EAP, SOA 4.x = SOA)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10745" resource_type_id="10121" name="jboss.system:type=Server:BuildDate" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Build Date" display_order="3" description="the date this app server was built" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10746" resource_type_id="10121" name="jboss.system:type=Server:StartDate" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Start Date" display_order="4" description="the date and time this app server instance was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10747" resource_type_id="10121" name="jboss.system:type=ServerInfo:ActiveThreadCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Active Thread Count" display_order="5" description="The current number of active threads for this app server instance" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10748" resource_type_id="10121" name="jboss.system:type=ServerInfo:ActiveThreadGroupCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Active Thread Group Count" display_order="6" description="The current number of active thread groups for this app server instance" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10749" resource_type_id="10121" name="jboss.system:type=ServerInfo:FreeMemory" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="JVM Free Memory" display_order="7" description="An approximation of the total amount of memory currently available in the app server JVM for future allocated objects, measured in bytes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10750" resource_type_id="10121" name="jboss.system:type=ServerInfo:MaxMemory" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="JVM Max Memory" display_order="8" description="The maximum amount of memory that the app server JVM will attempt to use, measured in bytes; if there is no inherent limit then the value Long.MAX_VALUE will be returned" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10751" resource_type_id="10121" name="jboss.system:type=ServerInfo:TotalMemory" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="JVM Total Memory" display_order="9" description="The total amount of memory currently available in the app server JVM for current and future objects, measured in bytes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10752" resource_type_id="10121" name="jboss:service=TransactionManager:TransactionCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total Transactions" display_order="10" description="Total number of transactions since last restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10753" resource_type_id="10121" name="jboss:service=TransactionManager:TransactionCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total Transactions per Minute" display_order="11" description="Total number of transactions since last restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10754" resource_type_id="10121" name="jboss:service=TransactionManager:CommitCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transactions Committed" display_order="12" description="Number of transactions commited since last restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10755" resource_type_id="10121" name="jboss:service=TransactionManager:CommitCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Transactions Committed per Minute" display_order="13" description="Number of transactions commited since last restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10756" resource_type_id="10121" name="jboss:service=TransactionManager:RollbackCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transactions Rolledback" display_order="14" description="Number of transactions commited since last restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10757" resource_type_id="10121" name="jboss:service=TransactionManager:RollbackCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Transactions Rolledback per Minute" display_order="15" description="Number of transactions commited since last restart" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10758" resource_type_id="10122" name="NumberOfLocksHeld" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number Of Locks Held" display_order="1" description="The number of entities locked for update / replication across the (clustered) tree cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10759" resource_type_id="10122" name="NumberOfNodes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number Of Nodes" display_order="2" description="The total number of entities currently cached across the (clustered) tree cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10760" resource_type_id="10124" name="jboss.mq:service=MessageCache:CacheHits" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="JMS Message Cache Hits" display_order="1" description="The number of cache hits to the JMS Message Cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10761" resource_type_id="10124" name="jboss.mq:service=MessageCache:CacheHits" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="300000" display_name="JMS Message Cache Hits per Minute" display_order="2" description="The number of cache hits to the JMS Message Cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10762" resource_type_id="10124" name="jboss.mq:service=MessageCache:CacheMisses" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="JMS Message Cache Misses" display_order="3" description="The number of cache misses to the JMS Message Cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10763" resource_type_id="10124" name="jboss.mq:service=MessageCache:CacheMisses" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="300000" display_name="JMS Message Cache Misses per Minute" display_order="4" description="The number of cache misses to the JMS Message Cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10764" resource_type_id="10124" name="jboss.mq:service=MessageCache:CurrentMemoryUsage" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="JMS Message Cache Current Memory Usage" display_order="5" description="The total memory currently in use by the JMS Message Cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10765" resource_type_id="10124" name="jboss.mq:service=MessageCache:HighMemoryMark" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="JMS Message Cache High Memory Mark" display_order="6" description="The peak amount of memory the JMS Message Cache has actively used since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10766" resource_type_id="10124" name="jboss.mq:service=MessageCache:MaxMemoryMark" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="JMS Message Cache Max Memory Mark" display_order="7" description="The maximum amount of memory the JMS Message Cache is allowed to use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10767" resource_type_id="10124" name="jboss.mq:service=MessageCache:TotalCacheSize" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="JMS Message Cache Size" display_order="8" description="The number of messages currently in the JMS Message Cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10768" resource_type_id="10125" name="jboss.messaging:service=ServerPeer:ProviderVersion" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Version of the Provider" display_order="1" description="The version of JBoss Messaging in use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10769" resource_type_id="10126" name="ConnectionCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Total Connections" display_order="1" description="Total Number of Connections for the Connection Pool, both active and in-active." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10770" resource_type_id="10126" name="AvailableConnectionCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Available Connections" display_order="2" description="Number of available connections in the connection pool in-active and waiting." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10771" resource_type_id="10126" name="InUseConnectionCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Active Connections" display_order="3" description="Number of Connections currently supporting clients." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10772" resource_type_id="10126" name="ConnectionCreatedCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Connections Created" display_order="4" description="Number of Connections created since the Connection Pool was created." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10773" resource_type_id="10126" name="ConnectionCreatedCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Connections Created per Minute" display_order="5" description="Number of Connections created since the Connection Pool was created." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10774" resource_type_id="10126" name="ConnectionDestroyedCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Connections Destroyed" display_order="6" description="Number of Connections destroyed since the Connection Pool was created." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10775" resource_type_id="10126" name="ConnectionDestroyedCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Connections Destroyed per Minute" display_order="7" description="Number of Connections destroyed since the Connection Pool was created." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10776" resource_type_id="10127" name="{stats.createCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Calls" display_order="1" description="The number of instances of this EJB 1.x or 2.x Stateless Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10777" resource_type_id="10127" name="{stats.createCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Calls per Minute" display_order="2" description="The number of instances of this EJB 1.x or 2.x Stateless Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10778" resource_type_id="10127" name="{stats.removeCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Calls" display_order="3" description="The number of instances of this EJB 1.x or 2.x Stateless Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10779" resource_type_id="10127" name="{stats.removeCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Calls per Minute" display_order="4" description="The number of instances of this EJB 1.x or 2.x Stateless Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10780" resource_type_id="10127" name="{stats.methodReadyCount.current}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Method-Ready Beans" display_order="5" description="The number of pooled instances of this EJB 1.x or 2.x Stateless Session Bean in the method-ready state" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10781" resource_type_id="10127" name="{{jboss.j2ee:jndiName=%name%,plugin=pool,service=EJB}CurrentSize}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Pool Size" display_order="6" description="The total number of currently pooled instances of this EJB 1.x or 2.x Stateless Session Bean" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10782" resource_type_id="10127" name="{{jboss.j2ee:jndiName=%name%,plugin=pool,service=EJB}MaxSize}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Pool Size" display_order="7" description="The maximum number of instances that are allowed to be pooled" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10783" resource_type_id="10127" name="MethodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="8" description="the minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> + <rhq_measurement_def id="10784" resource_type_id="10128" name="Application.path" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Path" display_order="1" description="The absolute path of this EAR file or directory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10785" resource_type_id="10128" name="Application.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded?" display_order="2" description="Whether this EAR is deployed exploded (i.e. as a directory)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10786" resource_type_id="10129" name="AvailableConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Available Connection Count" display_order="1" description="Number of available connections." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10787" resource_type_id="10129" name="ConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Count" display_order="2" description="Connection Count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10788" resource_type_id="10129" name="ConnectionCreatedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Created Count" display_order="3" description="Connection Created Count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10789" resource_type_id="10129" name="ConnectionDestroyedCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Connection Destroyed Count" display_order="4" description="Connection Destroyed Count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10790" resource_type_id="10129" name="InUseConnectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="In Use Connection Count" display_order="5" description="Mumber of connections currently in use." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10791" resource_type_id="10129" name="MaxConnectionsInUseCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Connections In Use Count" display_order="6" description="Maximum number of maximum connections that have been in use." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10792" resource_type_id="10129" name="MaxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Max Size" display_order="7" description="Max Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10793" resource_type_id="10129" name="MinSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="60000" display_name="Min Size" display_order="8" description="Min Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10794" resource_type_id="10131" name="Application.path" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Path" display_order="1" description="the absolute path of this WAR file or directory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10795" resource_type_id="10131" name="Application.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded?" display_order="2" description="whether this WAR is deployed exploded (i.e. as a directory)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10796" resource_type_id="10131" name="ContextRoot" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Context Root" display_order="3" description="this WAR's context root - used as a unique path prefix for URLs corresponding to this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10797" resource_type_id="10131" name="ResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="60000" display_name="HTTP Response Time" display_order="4" description="the minimum, maximum, and average response times for HTTP requests serviced by this webapp" destination_type="URL" version="0"/> + <rhq_measurement_def id="10798" resource_type_id="10131" name="Servlet.MinResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Min. Servlet Resp. Time" display_order="5" description="Minimum response time of a servlet" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10799" resource_type_id="10131" name="Servlet.AvgResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Avg. Servlet Resp. Time" display_order="6" description="Average response time of a servlet" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10800" resource_type_id="10131" name="Servlet.MaxResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max. Servlet Resp. Time" display_order="7" description="Maximum response time of a servlet" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10801" resource_type_id="10131" name="Servlet.TotalTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total processing time" display_order="8" description="Total processing time of the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10802" resource_type_id="10131" name="Servlet.TotalTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total processing time per Minute" display_order="9" description="Total processing time of the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10803" resource_type_id="10131" name="Servlet.NumRequests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Requests served" display_order="10" description="Number of requests served by servlets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10804" resource_type_id="10131" name="Servlet.NumRequests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Requests served per Minute" display_order="11" description="Number of requests served by servlets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10805" resource_type_id="10131" name="Servlet.NumErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Errors while processing" display_order="12" description="Number of errors while processing" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10806" resource_type_id="10131" name="Servlet.NumErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Errors while processing per Minute" display_order="13" description="Number of errors while processing" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10807" resource_type_id="10131" name="Session.activeSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Currently Active Sessions" display_order="14" description="Number active sessions for the webapp right now" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10808" resource_type_id="10131" name="Session.maxActive" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Maximum number of Active Sessions" display_order="15" description="Maximum number of active sessions for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10809" resource_type_id="10131" name="Session.sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Sessions created" display_order="16" description="Number of sessions created for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10810" resource_type_id="10131" name="Session.sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Sessions created per Minute" display_order="17" description="Number of sessions created for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10811" resource_type_id="10131" name="Session.expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Expired Sessions" display_order="18" description="Number of expired sessions for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10812" resource_type_id="10131" name="Session.expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Expired Sessions per Minute" display_order="19" description="Number of expired sessions for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10813" resource_type_id="10131" name="Session.rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Rejected Sessions" display_order="20" description="Number of sessions rejected for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10814" resource_type_id="10131" name="Session.rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Rejected Sessions per Minute" display_order="21" description="Number of sessions rejected for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10815" resource_type_id="10131" name="Session.sessionAverageAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Session Average alive time" display_order="22" description="Average alive time of a Sessions" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10816" resource_type_id="10131" name="Session.sessionMaxAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Session alive time" display_order="23" description="Maximum alive time of a Sessions" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10817" resource_type_id="10131" name="Vhost.name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="Vhost" display_order="24" description="Virtual hosts this app runs on" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10818" resource_type_id="10132" name="{stats.createCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Calls" display_order="1" description="The number of instances of this EJB 1.x or 2.x Stateful Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10819" resource_type_id="10132" name="{stats.createCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Calls per Minute" display_order="2" description="The number of instances of this EJB 1.x or 2.x Stateful Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10820" resource_type_id="10132" name="{stats.removeCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Calls" display_order="3" description="The number of instances of this EJB 1.x or 2.x Stateful Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10821" resource_type_id="10132" name="{stats.removeCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Calls per Minute" display_order="4" description="The number of instances of this EJB 1.x or 2.x Stateful Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10822" resource_type_id="10132" name="{stats.methodReadyCount.current}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Method-Ready Beans" display_order="5" description="The number of pooled instances of this EJB 1.x or 2.x Stateful Session Bean in the method-ready state" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10823" resource_type_id="10132" name="{stats.passiveCount.current}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Passive Beans" display_order="6" description="The number of pooled instances of this EJB 1.x or 2.x Stateful Session Bean in the passivated state" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10824" resource_type_id="10132" name="MethodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="7" description="the minimum, maximum, and average invocation times for each of the methods exposed by this EJB" destination_type="Method Name" version="0"/> + <rhq_measurement_def id="10825" resource_type_id="10133" name="CurrentSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current Count" display_order="1" description="The total number of currently pooled instances of this EJB3 Session Bean" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10826" resource_type_id="10133" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Count" display_order="2" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10827" resource_type_id="10133" name="CreateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Count per Minute" display_order="3" description="The number of instances of this EJB3 Session Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10828" resource_type_id="10133" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Count" display_order="4" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10829" resource_type_id="10133" name="RemoveCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Count per Minute" display_order="5" description="The number of instances of this EJB3 Session Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10830" resource_type_id="10133" name="AvailableCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Available Count" display_order="6" description="The number of pooled instances of this EJB3 Session Bean in the method-ready state" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10831" resource_type_id="10133" name="MaxSize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Size" display_order="7" description="The maximum number of instances that are allowed to be pooled" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10832" resource_type_id="10133" name="MethodInvocationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method Invocation Time" display_order="8" description="The minimum, maximum, and average invocation times for each of the methods exposed by this EJB; NOTE: this metric is only available if JBoss EJB3 RC9 Patch 1 or later is being used (a capable version of EJB3 is included with JBossAS 4.2.0.GA or later)" destination_type="Method Name" version="0"/> + <rhq_measurement_def id="10833" resource_type_id="10135" name="{stats.createCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Calls" display_order="1" description="The number of instances of this EJB 1.x or 2.x Message Driven Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10834" resource_type_id="10135" name="{stats.createCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Calls per Minute" display_order="2" description="The number of instances of this EJB 1.x or 2.x Message Driven Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10835" resource_type_id="10135" name="{stats.removeCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Calls" display_order="3" description="The number of instances of this EJB 1.x or 2.x Message Driven Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10836" resource_type_id="10135" name="{stats.removeCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Calls per Minute" display_order="4" description="The number of instances of this EJB 1.x or 2.x Message Driven Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10837" resource_type_id="10135" name="{stats.messageCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Method-Ready Beans" display_order="5" description="The number of pooled instances of this EJB 1.x or 2.x Message Driven Bean in the method-ready state" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10838" resource_type_id="10135" name="{stats.messageCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Method-Ready Beans per Minute" display_order="6" description="The number of pooled instances of this EJB 1.x or 2.x Message Driven Bean in the method-ready state" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10839" resource_type_id="10136" name="{stats.createCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Create Calls" display_order="1" description="The number of instances of this EJB 1.x or 2.x Entity Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10840" resource_type_id="10136" name="{stats.createCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Create Calls per Minute" display_order="2" description="The number of instances of this EJB 1.x or 2.x Entity Bean that have been created since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10841" resource_type_id="10136" name="{stats.removeCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Remove Calls" display_order="3" description="The number of instances of this EJB 1.x or 2.x Entity Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10842" resource_type_id="10136" name="{stats.removeCount.count}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Remove Calls per Minute" display_order="4" description="The number of instances of this EJB 1.x or 2.x Entity Bean that have been removed since server start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10843" resource_type_id="10136" name="{stats.methodReadyCount.current}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Method-Ready Beans" display_order="5" description="The number of pooled instances of this EJB 1.x or 2.x Entity Bean in the method-ready state" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10844" resource_type_id="10136" name="{stats.pooledCount.current}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Pooled Beans" display_order="6" description="The total number of currently pooled instances of this EJB 1.x or 2.x Entity Bean" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10845" resource_type_id="10136" name="{{jboss.j2ee:jndiName=%name%,plugin=cache,service=EJB}CacheSize}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Cache Size" display_order="7" description="The total number of currently cached instances of this EJB 1.x or 2.x Entity Bean" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10846" resource_type_id="10136" name="{{jboss.j2ee:jndiName=%name%,plugin=cache,service=EJB}PassivatedCount}" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Passivated Count" display_order="8" description="The number of pooled instances of this EJB 1.x or 2.x Entity Bean in the passivated state" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10847" resource_type_id="10136" name="{{jboss.j2ee:jndiName=%name%,plugin=cache,service=EJB}PassivatedCount}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Passivated Count per Minute" display_order="9" description="The number of pooled instances of this EJB 1.x or 2.x Entity Bean in the passivated state" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10848" resource_type_id="10136" name="{{jboss.j2ee:jndiName=%name%,plugin=pool,service=EJB}PoolSize}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Current Size" display_order="10" description="The total number of currently pooled instances of this EJB 1.x or 2.x Entity Bean" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10849" resource_type_id="10136" name="{{jboss.j2ee:jndiName=%name%,plugin=pool,service=EJB}MaxPoolSize}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Max Size" display_order="11" description="The maximum number of instances that are allowed to be pooled" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10850" resource_type_id="10137" name="{HeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Usage" display_order="1" description="Current heap memory usage" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10851" resource_type_id="10137" name="{HeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Committed" display_order="2" description="Current heap memory allocated. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10852" resource_type_id="10137" name="{NonHeapMemoryUsage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Usage" display_order="3" description="Current memory usage outside the heap" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10853" resource_type_id="10137" name="{NonHeapMemoryUsage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Committed" display_order="4" description="Current memory allocated outside the heap. This amount of memory is guaranteed for the Java virtual machine to use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10854" resource_type_id="10137" name="ObjectPendingFinalizationCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Objects Pending Finalization" display_order="5" description="The approximate number of objects for which finalization is pending." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10855" resource_type_id="10137" name="{HeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Initial Size" display_order="6" description="The amount of heap that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10856" resource_type_id="10137" name="{HeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Heap Maximum Size" display_order="7" description="Maximum amount of heap that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10857" resource_type_id="10137" name="{NonHeapMemoryUsage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Initial Size" display_order="8" description="The amount of non-heap memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10858" resource_type_id="10137" name="{NonHeapMemoryUsage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-Heap Maximum Size" display_order="9" description="Maximum amount of non-heap memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10859" resource_type_id="10138" name="jboss.web:name=%schema%%dash%%address%-%port%,type=GlobalRequestProcessor:maxTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Maximum Request Time" display_order="1" description="Maximum time it took to process a request" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10860" resource_type_id="10138" name="jboss.web:name=%schema%%dash%%address%-%port%,type=GlobalRequestProcessor:requestCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Request count" display_order="2" description="Total number of requests processed since last restart." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10861" resource_type_id="10138" name="jboss.web:name=%schema%%dash%%address%-%port%,type=GlobalRequestProcessor:requestCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Request count per Minute" display_order="3" description="Total number of requests processed since last restart." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10862" resource_type_id="10138" name="jboss.web:name=%schema%%dash%%address%-%port%,type=GlobalRequestProcessor:errorCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Error count" display_order="4" description="Number of errors while processing since last restart." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10863" resource_type_id="10138" name="jboss.web:name=%schema%%dash%%address%-%port%,type=GlobalRequestProcessor:errorCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Error count per Minute" display_order="5" description="Number of errors while processing since last restart." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10864" resource_type_id="10138" name="jboss.web:name=%schema%%dash%%address%-%port%,type=ThreadPool:currentThreadsBusy" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Threads Active" display_order="6" description="Threads Active" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10865" resource_type_id="10138" name="jboss.web:name=%schema%%dash%%address%-%port%,type=ThreadPool:currentThreadCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Threads Allocated" display_order="7" description="Threads Allocated" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10866" resource_type_id="10139" name="HitMissRatio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hit Miss Ratio" display_order="1" description="Returns the hit/miss ratio for the cache. This ratio is defined as hits/(hits + misses)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10867" resource_type_id="10139" name="ReadWriteRatio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Read Write Ratio" display_order="2" description="Returns the read/write ratio for the cache. This ratio is defined as (hits + misses)/stores." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10868" resource_type_id="10139" name="Hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hits" display_order="3" description="Returns the number of requests made to this cache which it could answer without interrogating the underlying data store" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10869" resource_type_id="10139" name="Misses" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Misses" display_order="4" description="Returns the number of requests made to this cache which required interrogating the underlying data store" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10870" resource_type_id="10139" name="Evictions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Evictions" display_order="5" description="Returns the number of elements purged from this cache in accordance with its specific eviction policy" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10871" resource_type_id="10139" name="NumberOfLocksHeld" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Number Of Locks Held" display_order="6" description="The number of elements locked by this interceptor for update / replication across the (clustered) tree cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10872" resource_type_id="10139" name="NumberOfNodes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Number Of Nodes" display_order="7" description="The total number of entities currently cached across the (clustered) tree cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10873" resource_type_id="10139" name="AverageWriteTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Average Write Time" display_order="8" description="The average time it takes to insert or update elements for the cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10874" resource_type_id="10139" name="TimeSinceReset" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Time Since Reset" display_order="9" description="The amount of time since this cache was reset / cleared" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10875" resource_type_id="10139" name="AverageReadTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Average Read Time" display_order="10" description="The average time it takes to read elements for the cache, includes " destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10876" resource_type_id="10139" name="Stores" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Stores" display_order="11" description="Number of store / writes into this cache made by this interceptor" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10877" resource_type_id="10139" name="NumberOfAttributes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Number Of Attributes" display_order="12" description="The total number of attributes (properties of an entity) currently cached across the (clustered) tree cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10878" resource_type_id="10139" name="ElapsedTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Elapsed Time" display_order="13" description="The amount of time since this cache was created" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10879" resource_type_id="10140" name="FreePhysicalMemorySize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Physical Memory" display_order="1" description="The amount of free physical memory for the OS" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10880" resource_type_id="10140" name="FreeSwapSpaceSize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Free Swap Memory" display_order="2" description="The amount of free swap space for the OS" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10881" resource_type_id="10140" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Process CPU Time" display_order="3" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10882" resource_type_id="10140" name="ProcessCpuTime" resource_version_range="%NULL%" category="1" units="17" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Process CPU Time per Minute" display_order="4" description="The cpu time used by this process" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10883" resource_type_id="10140" name="CommittedVirtualMemorySize" resource_version_range="%NULL%" category="3" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Committed Virtual Memory" display_order="5" description="Size of virtual memory used by this process" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10884" resource_type_id="10141" name="AllMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="All Message Counter" display_order="1" description="Returns the total message count for all subscriptions." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10885" resource_type_id="10141" name="DurableMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Durable Message Count" display_order="2" description="Total number of messages for all durable subscriptions." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10886" resource_type_id="10141" name="NonDurableMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-durable Message Count" display_order="3" description="Total number of messages for all non-durable subscriptions." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10887" resource_type_id="10141" name="AllSubscriptionsCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="All Subscription Count" display_order="4" description="Number of subscriptions waiting for a message." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10888" resource_type_id="10141" name="DurableSubscriptionsCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Durable Subscription Count" display_order="5" description="Number of durable subscriptions waiting for a message." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10889" resource_type_id="10141" name="NonDurableSubscriptionsCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Non-durable Subscription Count" display_order="6" description="Number of non-durable subscriptions waiting for a message." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10890" resource_type_id="10142" name="TotalCompilationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Total Compilation Time" display_order="1" description="The approximate accumulated elapsed time spent in compilation" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10891" resource_type_id="10144" name="Application.path" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Path" display_order="1" description="the absolute path of this WAR file or directory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10892" resource_type_id="10144" name="Application.exploded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Exploded?" display_order="2" description="whether this WAR is deployed exploded (i.e. as a directory)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10893" resource_type_id="10144" name="ContextRoot" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Context Root" display_order="3" description="this WAR's context root - used as a unique path prefix for URLs corresponding to this WAR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10894" resource_type_id="10144" name="ResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="60000" display_name="HTTP Response Time" display_order="4" description="the minimum, maximum, and average response times for HTTP requests serviced by this webapp" destination_type="URL" version="0"/> + <rhq_measurement_def id="10895" resource_type_id="10144" name="Servlet.MinResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Min. Servlet Resp. Time" display_order="5" description="Minimum response time of a servlet" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10896" resource_type_id="10144" name="Servlet.AvgResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Avg. Servlet Resp. Time" display_order="6" description="Average response time of a servlet" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10897" resource_type_id="10144" name="Servlet.MaxResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max. Servlet Resp. Time" display_order="7" description="Maximum response time of a servlet" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10898" resource_type_id="10144" name="Servlet.TotalTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total processing time" display_order="8" description="Total processing time of the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10899" resource_type_id="10144" name="Servlet.TotalTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total processing time per Minute" display_order="9" description="Total processing time of the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10900" resource_type_id="10144" name="Servlet.NumRequests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Requests served" display_order="10" description="Number of requests served by servlets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10901" resource_type_id="10144" name="Servlet.NumRequests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Requests served per Minute" display_order="11" description="Number of requests served by servlets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10902" resource_type_id="10144" name="Servlet.NumErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Errors while processing" display_order="12" description="Number of errors while processing" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10903" resource_type_id="10144" name="Servlet.NumErrors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Errors while processing per Minute" display_order="13" description="Number of errors while processing" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10904" resource_type_id="10144" name="Session.activeSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Currently Active Sessions" display_order="14" description="Number active sessions for the webapp right now" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10905" resource_type_id="10144" name="Session.maxActive" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Maximum number of Active Sessions" display_order="15" description="Maximum number of active sessions for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10906" resource_type_id="10144" name="Session.sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Sessions created" display_order="16" description="Number of sessions created for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10907" resource_type_id="10144" name="Session.sessionCounter" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Sessions created per Minute" display_order="17" description="Number of sessions created for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10908" resource_type_id="10144" name="Session.expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Expired Sessions" display_order="18" description="Number of expired sessions for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10909" resource_type_id="10144" name="Session.expiredSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Expired Sessions per Minute" display_order="19" description="Number of expired sessions for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10910" resource_type_id="10144" name="Session.rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Rejected Sessions" display_order="20" description="Number of sessions rejected for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10911" resource_type_id="10144" name="Session.rejectedSessions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Rejected Sessions per Minute" display_order="21" description="Number of sessions rejected for the webapp" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10912" resource_type_id="10144" name="Session.sessionAverageAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Session Average alive time" display_order="22" description="Average alive time of a Sessions" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10913" resource_type_id="10144" name="Session.sessionMaxAliveTime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Max Session alive time" display_order="23" description="Maximum alive time of a Sessions" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10914" resource_type_id="10144" name="Vhost.name" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="Vhost" display_order="24" description="Virtual hosts this app runs on" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10915" resource_type_id="10145" name="MessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Messages in Queue" display_order="1" description="The number of messages in the queue." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10916" resource_type_id="10145" name="ConsumerCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Consumer Count" display_order="2" description="The number of ClientConsumers waiting for a message." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10917" resource_type_id="10145" name="ScheduledMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Scheduled Message Count" display_order="3" description="The number of scheduled messages in the Queue" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10918" resource_type_id="10145" name="CreatedProgrammatically" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Created programmatically" display_order="4" description="Was this Queue created dynamically" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10919" resource_type_id="10145" name="DeliveringCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Delivering Count" display_order="5" description="The number of messages currently being delivered" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10920" resource_type_id="10146" name="AllMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="All Message Counter" display_order="1" description="Returns the total message count for all subscriptions." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10921" resource_type_id="10146" name="DurableMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Durable Message Count" display_order="2" description="Total number of messages for all durable subscriptions." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10922" resource_type_id="10146" name="NonDurableMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Non-durable Message Count" display_order="3" description="Total number of messages for all non-durable subscriptions." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10923" resource_type_id="10146" name="AllSubscriptionsCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="All Subscription Count" display_order="4" description="Number of subscriptions waiting for a message." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10924" resource_type_id="10146" name="DurableSubscriptionsCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Durable Subscription Count" display_order="5" description="Number of durable subscriptions waiting for a message." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10925" resource_type_id="10146" name="NonDurableSubscriptionsCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Non-durable Subscription Count" display_order="6" description="Number of non-durable subscriptions waiting for a message." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10926" resource_type_id="10146" name="CreatedProgrammatically" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Created programmatically" display_order="7" description="Was this Topic created dynamically" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10927" resource_type_id="10147" name="ThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Thread Count" display_order="1" description="Number of active threads in the system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10928" resource_type_id="10147" name="PeakThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Peak Thread Count" display_order="2" description="Peak count of active threads in the system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10929" resource_type_id="10147" name="TotalStartedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Total Started Thread Count" display_order="3" description="Count of threads started since system start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10930" resource_type_id="10147" name="DaemonThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Daemon Thread Count" display_order="4" description="Count of threads marked as daemons in the system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10931" resource_type_id="10147" name="SuspendedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Suspended Thread Count" display_order="5" description="Count of suspended threads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10932" resource_type_id="10147" name="DeadLockedThreadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Deadlocked Thread Count" display_order="6" description="Count of threads that are deadlocked waiting to acquire object monitors. This is a CPU-time consuming metric." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10933" resource_type_id="10148" name="jboss.web:type=Host,host=%name%:aliases" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="Aliases" display_order="1" description="The aliases for this virtual host" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10934" resource_type_id="10149" name="QueueDepth" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Messages in Queue" display_order="1" description="The number of undelivered messages in the queue." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10935" resource_type_id="10149" name="ReceiversCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Receivers Count" display_order="2" description="The number of ClientConsumers waiting for a message." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10936" resource_type_id="10149" name="ScheduledMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Scheduled Message Count" display_order="3" description="The number of messages waiting to be scheduled" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10937" resource_type_id="10149" name="InProcessMessageCount" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="In Process Message Count" display_order="4" description="The number of messages received by clients but not acknowledged (from AS 4.0.5)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10938" resource_type_id="10150" name="LoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Loaded Classes" display_order="1" description="The number of classes currently loaded in the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10939" resource_type_id="10150" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Classes Loaded" display_order="2" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10940" resource_type_id="10150" name="TotalLoadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Total Classes Loaded per Minute" display_order="3" description="The total number of classes loaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10941" resource_type_id="10150" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Unloaded Classes" display_order="4" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10942" resource_type_id="10150" name="UnloadedClassCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Unloaded Classes per Minute" display_order="5" description="The total number of classes unloaded since the start of the VM" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10943" resource_type_id="10151" name="{Usage.used}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Used" display_order="1" description="Current memory usage" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10944" resource_type_id="10151" name="{Usage.committed}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Committed" display_order="2" description="Current memory allocated" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10945" resource_type_id="10151" name="{Usage.init}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Initial Size" display_order="3" description="The amount of memory that the Java virtual machine initially requests from the operating system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10946" resource_type_id="10151" name="{Usage.max}" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum Size" display_order="4" description="Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10947" resource_type_id="10151" name="MemoryManagerNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Manager Names" display_order="5" description="Garbage collectors for this space" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10948" resource_type_id="10151" name="Type" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Type" display_order="6" description="Pool location" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10949" resource_type_id="10152" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Count" display_order="1" description="Number of collections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10950" resource_type_id="10152" name="CollectionCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Count per Minute" display_order="2" description="Number of collections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10951" resource_type_id="10152" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Collection Time" display_order="3" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10952" resource_type_id="10152" name="CollectionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Collection Time per Minute" display_order="4" description="The amount of time spent in collection" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10953" resource_type_id="10152" name="MemoryPoolNames" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Memory Pool Names" display_order="5" description="The names of the memory pools used by this type of garbage collector" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10954" resource_type_id="10153" name="AvailabilityCacheElementCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Availability Cache Element Count" display_order="1" description="The number of elements in the alerts cache that check conditions against availability data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10955" resource_type_id="10153" name="MeasurementCacheElementCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Measurement Cache Element Count" display_order="2" description="The number of elements in the alerts cache that check conditions against measurement numeric or trait data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10956" resource_type_id="10153" name="EventCacheElementCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Event Cache Element Count" display_order="3" description="The number of elements in the alerts cache that check conditions against event history data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10957" resource_type_id="10153" name="OperationCacheElementCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Operation Cache Element Count" display_order="4" description="The number of elements in the alerts cache that check conditions against operation history data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10958" resource_type_id="10153" name="ResourceConfigurationCacheElementCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Resource Configuration Cache Element Count" display_order="5" description="The number of elements in the alerts cache that check conditions against resource configuration data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10959" resource_type_id="10153" name="TotalCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Cache Element Matches" display_order="6" description="The total number of times ANY cache element has triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10960" resource_type_id="10153" name="TotalCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Cache Element Matches per Minute" display_order="7" description="The total number of times ANY cache element has triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10961" resource_type_id="10153" name="AvailabilityCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Availability Cache Element Matches" display_order="8" description="The total number of times availability-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10962" resource_type_id="10153" name="AvailabilityCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Availability Cache Element Matches per Minute" display_order="9" description="The total number of times availability-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10963" resource_type_id="10153" name="MeasurementCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Measurement Cache Element Matches" display_order="10" description="The total number of times measurement-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10964" resource_type_id="10153" name="MeasurementCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Measurement Cache Element Matches per Minute" display_order="11" description="The total number of times measurement-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10965" resource_type_id="10153" name="EventCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Event Cache Element Matches" display_order="12" description="The total number of times events-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10966" resource_type_id="10153" name="EventCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Event Cache Element Matches per Minute" display_order="13" description="The total number of times events-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10967" resource_type_id="10153" name="ResourceConfigurationCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Resource Configuration Cache Element Matches" display_order="14" description="The total number of times resource configuration-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10968" resource_type_id="10153" name="ResourceConfigurationCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Resource Configuration Cache Element Matches per Minute" display_order="15" description="The total number of times resource configuration-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10969" resource_type_id="10153" name="OperationCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Operation Cache Element Matches" display_order="16" description="The total number of times operation-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10970" resource_type_id="10153" name="OperationCacheElementMatches" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Operation Cache Element Matches per Minute" display_order="17" description="The total number of times operation-based conditions have triggered against incoming data since this RHQ Server instance was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10971" resource_type_id="10153" name="TotalProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Processing Time" display_order="18" description="The total amount of time spent by the alerts cache processing ALL types of data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10972" resource_type_id="10153" name="TotalProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Processing Time per Minute" display_order="19" description="The total amount of time spent by the alerts cache processing ALL types of data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10973" resource_type_id="10153" name="AvailabilityProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Availability Processing Time" display_order="20" description="The total amount of time spent by the alerts cache processing availability data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10974" resource_type_id="10153" name="AvailabilityProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Availability Processing Time per Minute" display_order="21" description="The total amount of time spent by the alerts cache processing availability data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10975" resource_type_id="10153" name="MeasurementProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Measurement Processing Time" display_order="22" description="The total amount of time spent by the alerts cache processing measurement numeric or trait data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10976" resource_type_id="10153" name="MeasurementProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Measurement Processing Time per Minute" display_order="23" description="The total amount of time spent by the alerts cache processing measurement numeric or trait data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10977" resource_type_id="10153" name="EventProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Event Processing Time" display_order="24" description="The total amount of time spent by the alerts cache processing event history data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10978" resource_type_id="10153" name="EventProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Event Processing Time per Minute" display_order="25" description="The total amount of time spent by the alerts cache processing event history data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10979" resource_type_id="10153" name="ResourceConfigurationProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Resource Configuration Processing Time" display_order="26" description="The total amount of time spent by the alerts cache processing resource configuration data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10980" resource_type_id="10153" name="ResourceConfigurationProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Resource Configuration Processing Time per Minute" display_order="27" description="The total amount of time spent by the alerts cache processing resource configuration data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10981" resource_type_id="10153" name="OperationProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Operation Processing Time" display_order="28" description="The total amount of time spent by the alerts cache processing operation history data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10982" resource_type_id="10153" name="OperationProcessingTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Operation Processing Time per Minute" display_order="29" description="The total amount of time spent by the alerts cache processing operation history data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10983" resource_type_id="10154" name="CalltimeValuesInserted" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Calltime Values Inserted" display_order="1" description="The total number of call time data records inserted into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10984" resource_type_id="10154" name="CalltimeValuesInserted" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Calltime Values Inserted per Minute" display_order="2" description="The total number of call time data records inserted into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10985" resource_type_id="10154" name="CallTimeInsertTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Call Time Insert Time" display_order="3" description="The total amount of time taken to insert call time data into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10986" resource_type_id="10154" name="CallTimeInsertTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Call Time Insert Time per Minute" display_order="4" description="The total amount of time taken to insert call time data into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10987" resource_type_id="10154" name="MeasurementsInserted" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Measurements Inserted" display_order="5" description="The total number of measurement records (incl. Calltime data) inserted into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10988" resource_type_id="10154" name="MeasurementsInserted" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Measurements Inserted per Minute" display_order="6" description="The total number of measurement records (incl. Calltime data) inserted into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10989" resource_type_id="10154" name="ScheduledMeasurementsPerMinute" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Scheduled Measurements Per Minute" display_order="7" description="The average number of measurements expected to be collected per minute" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10990" resource_type_id="10154" name="MeasurementInsertTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Measurement Insert Time" display_order="8" description="The total amount of time taken to insert measurement data into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10991" resource_type_id="10154" name="MeasurementInsertTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Measurement Insert Time per Minute" display_order="9" description="The total amount of time taken to insert measurement data into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10992" resource_type_id="10154" name="BaselineCalculationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Baseline Calculation Time" display_order="10" description="The total amount of time taken to calculate and insert measurement baseline data into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10993" resource_type_id="10154" name="BaselineCalculationTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Baseline Calculation Time per Minute" display_order="11" description="The total amount of time taken to calculate and insert measurement baseline data into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10994" resource_type_id="10154" name="MeasurementCompressionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Measurement Compression Time" display_order="12" description="The total amount of time taken by this RHQ Server instance to compress measurement data since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10995" resource_type_id="10154" name="MeasurementCompressionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Measurement Compression Time per Minute" display_order="13" description="The total amount of time taken by this RHQ Server instance to compress measurement data since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10996" resource_type_id="10154" name="PurgeTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Purge Time" display_order="14" description="The total amount of time taken by this RHQ Server instance to purge old measurement data since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10997" resource_type_id="10154" name="PurgeTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Purge Time per Minute" display_order="15" description="The total amount of time taken by this RHQ Server instance to purge old measurement data since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10998" resource_type_id="10154" name="AvailabilityInsertTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Availability Insert Time" display_order="16" description="The total amount of time taken to insert availability data into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="10999" resource_type_id="10154" name="AvailabilityInsertTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Availability Insert Time per Minute" display_order="17" description="The total amount of time taken to insert availability data into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11000" resource_type_id="10154" name="AvailabilitiesInserted" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Availabilities Inserted" display_order="18" description="The total number of availability records inserted into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11001" resource_type_id="10154" name="AvailabilitiesInserted" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Availabilities Inserted per Minute" display_order="19" description="The total number of availability records inserted into the database by this RHQ Server instance since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11002" resource_type_id="10154" name="TotalAvailabilityReports" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Availability Reports" display_order="20" description="The total number of availability reports received and processed by this RHQ Server since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11003" resource_type_id="10154" name="TotalAvailabilityReports" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Availability Reports per Minute" display_order="21" description="The total number of availability reports received and processed by this RHQ Server since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11004" resource_type_id="10154" name="ChangesOnlyAvailabilityReports" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Changes Only Availability Reports" display_order="22" description="The number of changes-only availability reports received and processed by this RHQ Server since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11005" resource_type_id="10154" name="ChangesOnlyAvailabilityReports" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Changes Only Availability Reports per Minute" display_order="23" description="The number of changes-only availability reports received and processed by this RHQ Server since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11006" resource_type_id="10154" name="FullAvailabilityReports" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Full Availability Reports" display_order="24" description="The number of full availability reports received and processed by this RHQ Server since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11007" resource_type_id="10154" name="FullAvailabilityReports" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Full Availability Reports per Minute" display_order="25" description="The number of full availability reports received and processed by this RHQ Server since it was started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11008" resource_type_id="10154" name="PurgedAlerts" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="900000" display_name="Purged Alerts" display_order="26" description="Number of alerts purged by the last purge job" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11009" resource_type_id="10154" name="PurgedAlertConditions" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="900000" display_name="Purged Alert Conditions" display_order="27" description="Number of alert conditions purged by the last purge job" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11010" resource_type_id="10154" name="PurgedAlertNotifications" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="900000" display_name="Purged Alert Notifications" display_order="28" description="Number of alert notifications purged by the last purge job" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11011" resource_type_id="10154" name="PurgedAvailabilities" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="900000" display_name="Purged Availabilities" display_order="29" description="Number of availabilities purged by the last purge job" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11012" resource_type_id="10154" name="PurgedCallTimeData" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="900000" display_name="Purged Call Time Data" display_order="30" description="Number of call time data purged by the last purge job" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11013" resource_type_id="10154" name="PurgedEvents" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="900000" display_name="Purged Events" display_order="31" description="Number of events purged by the last purge job" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11014" resource_type_id="10154" name="PurgedMeasurementTraits" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="900000" display_name="Purged Measurement Traits" display_order="32" description="Number of traits purged by the last purge job" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11015" resource_type_id="10155" name="GroupDefinitionCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Group Definition Count" display_order="1" description="Total number of group definitions in the system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11016" resource_type_id="10155" name="AutoRecalculatingGroupDefinitionCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Auto Recalculating Group Definition Count" display_order="2" description="The number of auto-recalculating group definitions in the system" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11017" resource_type_id="10155" name="DynaGroupCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Dyna Group Count" display_order="3" description="Total number of resource groups managed by some group definition" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11018" resource_type_id="10155" name="AutoRecalculationThreadTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Auto Recalculation Thread Time" display_order="4" description="Average time it took to recalculate DynaGroup members for those GroupDefinition's whose timeout expired" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11019" resource_type_id="10156" name="NumberFailedCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number Failed Commands Received" display_order="1" description="Total number of commands that were received but failed to be processed successfully" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11020" resource_type_id="10156" name="NumberFailedCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number Failed Commands Received per Minute" display_order="2" description="Total number of commands that were received but failed to be processed successfully" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11021" resource_type_id="10156" name="NumberSuccessfulCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number Successful Commands Received" display_order="3" description="Total number of commands that were received and successfully processed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11022" resource_type_id="10156" name="NumberSuccessfulCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number Successful Commands Received per Minute" display_order="4" description="Total number of commands that were received and successfully processed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11023" resource_type_id="10156" name="NumberTotalCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number Total Commands Received" display_order="5" description="Total number of commands that were received regardless of their success or failure" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11024" resource_type_id="10156" name="NumberTotalCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number Total Commands Received per Minute" display_order="6" description="Total number of commands that were received regardless of their success or failure" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11025" resource_type_id="10156" name="NumberDroppedCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number Dropped Commands Received" display_order="7" description="Total number of commands that were received but were dropped, usually due to a limit reached in the server that prohibits more commands from being processed until commands currently being processed are finished." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11026" resource_type_id="10156" name="NumberDroppedCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number Dropped Commands Received per Minute" display_order="8" description="Total number of commands that were received but were dropped, usually due to a limit reached in the server that prohibits more commands from being processed until commands currently being processed are finished." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11027" resource_type_id="10156" name="NumberNotProcessedCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number Not Processed Commands Received" display_order="9" description="Total number of commands that were received but were not processed usually due to the suspension of global command processing." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11028" resource_type_id="10156" name="NumberNotProcessedCommandsReceived" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number Not Processed Commands Received per Minute" display_order="10" description="Total number of commands that were received but were not processed usually due to the suspension of global command processing." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11029" resource_type_id="10156" name="AverageExecutionTimeReceived" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Average Execution Time Received" display_order="11" description="Average time it took to process incoming commands that were ultimately successful" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11030" resource_type_id="10157" name="NumberFailedInvocations" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number Failed Invocations" display_order="1" description="Total number of remote API requests that were received but failed to be processed successfully" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11031" resource_type_id="10157" name="NumberFailedInvocations" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number Failed Invocations per Minute" display_order="2" description="Total number of remote API requests that were received but failed to be processed successfully" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11032" resource_type_id="10157" name="NumberSuccessfulInvocations" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number Successful Invocations" display_order="3" description="Total number of remote API requests that were received and successfully processed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11033" resource_type_id="10157" name="NumberSuccessfulInvocations" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number Successful Invocations per Minute" display_order="4" description="Total number of remote API requests that were received and successfully processed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11034" resource_type_id="10157" name="NumberTotalInvocations" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number Total Invocations" display_order="5" description="Total number of remote API requests that were received regardless of their success or failure" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11035" resource_type_id="10157" name="NumberTotalInvocations" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Number Total Invocations per Minute" display_order="6" description="Total number of remote API requests that were received regardless of their success or failure" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11036" resource_type_id="10157" name="AverageExecutionTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Average Execution Time" display_order="7" description="Average time it took to process incoming remote API requests that were ultimately successful" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11037" resource_type_id="10158" name="{masterPluginContainer.configuration.pluginDirectory}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Plugin Directory" display_order="1" description="The location where this plugin container expects to find all of its plugins." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11038" resource_type_id="10158" name="{masterPluginContainer.configuration.temporaryDirectory}" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="false" default_interval="1800000" display_name="Temporary Directory" display_order="2" description="The location that the plugin uses to store transient files. Dependency jars found in plugins will be stored here to help build plugin classloaders." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11039" resource_type_id="10160" name=":numberOfNodes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Number of Nodes" display_order="1" description="Number of Nodes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11040" resource_type_id="10160" name="ActivationInterceptor:activations" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Activations" display_order="2" description="Number of passivated nodes that have been activated." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11041" resource_type_id="10160" name="CacheLoaderInterceptor:cacheLoaderLoads" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Cache Loader Loads" display_order="3" description="Number of nodes loaded through a cache loader." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11042" resource_type_id="10160" name="CacheLoaderInterceptor:cacheLoaderLoads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Cache Loader Loads per Minute" display_order="4" description="Number of nodes loaded through a cache loader." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11043" resource_type_id="10160" name="CacheLoaderInterceptor:cacheLoaderMisses" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Cache Loader Misses" display_order="5" description="Number of unsuccessful attempts to load a node through a cache loader." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11044" resource_type_id="10160" name="CacheLoaderInterceptor:cacheLoaderMisses" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Cache Loader Misses per Minute" display_order="6" description="Number of unsuccessful attempts to load a node through a cache loader." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11045" resource_type_id="10160" name="CacheMgmtInterceptor:hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Cache Hits" display_order="7" description="Number of successful attribute retrievals." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11046" resource_type_id="10160" name="CacheMgmtInterceptor:hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Cache Hits per Minute" display_order="8" description="Number of successful attribute retrievals." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11047" resource_type_id="10160" name="CacheMgmtInterceptor:misses" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Cache Misses" display_order="9" description="Number of unsuccessful attribute retrievals." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11048" resource_type_id="10160" name="CacheMgmtInterceptor:misses" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Cache Misses per Minute" display_order="10" description="Number of unsuccessful attribute retrievals." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11049" resource_type_id="10160" name="CacheMgmtInterceptor:hitMissRatio" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Hit-miss-ratio" display_order="11" description="Ratio of hits to hits and misses. A hit is a get attribute operation that results in an object being returned to the client. The retrieval may be from a cache loader if the entry isn't in the local cache." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11050" resource_type_id="10160" name="CacheMgmtInterceptor:readWriteRatio" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Read-write-ratio" display_order="12" description="Ratio of read operations to write operations. This is the ratio of cache hits and misses to cache stores." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11051" resource_type_id="10160" name="CacheMgmtInterceptor:stores" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Cache Stores" display_order="13" description="Number of attribute store operations." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11052" resource_type_id="10160" name="CacheMgmtInterceptor:stores" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Cache Stores per Minute" display_order="14" description="Number of attribute store operations." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11053" resource_type_id="10160" name="CacheMgmtInterceptor:evictions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Cache Evictions" display_order="15" description="Number of node evictions." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11054" resource_type_id="10160" name="CacheMgmtInterceptor:evictions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Cache Evictions per Minute" display_order="16" description="Number of node evictions." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11055" resource_type_id="10160" name="CacheMgmtInterceptor:numberOfAttributes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Number of Attributes" display_order="17" description="Number of attributes currently cached." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11056" resource_type_id="10160" name="CacheMgmtInterceptor:numberOfNodes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Number of Nodes cached" display_order="18" description="Number of nodes currently cached." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11057" resource_type_id="10160" name="CacheMgmtInterceptor:elapsedTime" resource_version_range="%NULL%" category="3" units="20" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Elapsed Time" display_order="19" description="Number of seconds that the cache has been running." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11058" resource_type_id="10160" name="CacheMgmtInterceptor:elapsedTime" resource_version_range="%NULL%" category="3" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Elapsed Time per Minute" display_order="20" description="Number of seconds that the cache has been running." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11059" resource_type_id="10160" name="CacheMgmtInterceptor:timeSinceReset" resource_version_range="%NULL%" category="3" units="20" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Time since reset" display_order="21" description="Number of seconds since the cache statistics have been reset." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11060" resource_type_id="10160" name="CacheMgmtInterceptor:timeSinceReset" resource_version_range="%NULL%" category="3" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Time since reset per Minute" display_order="22" description="Number of seconds since the cache statistics have been reset." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11061" resource_type_id="10160" name="CacheMgmtInterceptor:averageReadTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Average Read Time" display_order="23" description="Average time in milliseconds to retrieve a cache attribute, including unsuccessful attribute retrievals." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11062" resource_type_id="10160" name="CacheMgmtInterceptor:averageWriteTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Average Write Time" display_order="24" description="Average time in milliseconds to write a cache attribute." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11063" resource_type_id="10160" name="CacheStoreInterceptor:cacheLoaderStores" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Cache Loader Stores" display_order="25" description="Number of nodes written to the cache loader." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11064" resource_type_id="10160" name="CacheStoreInterceptor:cacheLoaderStores" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Cache Loader Stores per Minute" display_order="26" description="Number of nodes written to the cache loader." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11065" resource_type_id="10160" name="InvalidationInterceptor:invalidations" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Invalidataions" display_order="27" description="Number of cached nodes that have been invalidated." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11066" resource_type_id="10160" name="InvalidationInterceptor:invalidations" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Invalidataions per Minute" display_order="28" description="Number of cached nodes that have been invalidated." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11067" resource_type_id="10160" name="PassivationInterceptor:passivations" resource_version_range="%NULL%" category="3" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Passivations" display_order="29" description="Number of cached nodes that have been passivated." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11068" resource_type_id="10160" name="PassivationInterceptor:passivations" resource_version_range="%NULL%" category="3" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Passivations per Minute" display_order="30" description="Number of cached nodes that have been passivated." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11069" resource_type_id="10160" name="TxInterceptor:prepares" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Tx prepares" display_order="31" description="Number of transaction prepare operations performed." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11070" resource_type_id="10160" name="TxInterceptor:prepares" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Tx prepares per Minute" display_order="32" description="Number of transaction prepare operations performed." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11071" resource_type_id="10160" name="TxInterceptor:commits" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Tx commits" display_order="33" description="Number of transaction commit operations performed." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11072" resource_type_id="10160" name="TxInterceptor:commits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Tx commits per Minute" display_order="34" description="Number of transaction commit operations performed." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11073" resource_type_id="10160" name="TxInterceptor:rollbacks" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Tx rollbacks" display_order="35" description="Number of transaction rollback operations performed." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11074" resource_type_id="10160" name="TxInterceptor:rollbacks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Tx rollbacks per Minute" display_order="36" description="Number of transaction rollback operations performed." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11075" resource_type_id="10162" name="Bytes Sent/sec" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Sent" display_order="1" description="Shows the rate that data bytes are sent by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11076" resource_type_id="10162" name="Bytes Sent/sec" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Sent per Minute" display_order="2" description="Shows the rate that data bytes are sent by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11077" resource_type_id="10162" name="Bytes Received/sec" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Received" display_order="3" description="Shows the rate that data bytes are received by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11078" resource_type_id="10162" name="Bytes Received/sec" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Received per Minute" display_order="4" description="Shows the rate that data bytes are received by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11079" resource_type_id="10162" name="Total Files Sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Files Sent" display_order="5" description="Shows the total number of files sent by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11080" resource_type_id="10162" name="Total Files Sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Files Sent per Minute" display_order="6" description="Shows the total number of files sent by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11081" resource_type_id="10162" name="Total Files Received" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Files Received" display_order="7" description="Shows the total number of files received by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11082" resource_type_id="10162" name="Total Files Received" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Files Received per Minute" display_order="8" description="Shows the total number of files received by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11083" resource_type_id="10162" name="Total Files Transferred" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Files Transferred" display_order="9" description="Shows the sum of Files Sent and Files Received. This is the total number of files transferred by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11084" resource_type_id="10162" name="Total Files Transferred" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Files Transferred per Minute" display_order="10" description="Shows the sum of Files Sent and Files Received. This is the total number of files transferred by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11085" resource_type_id="10162" name="Current Anonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Anonymous Users" display_order="11" description="Shows the number of users who currently have an anonymous connection using the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11086" resource_type_id="10162" name="Current NonAnonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current NonAnonymous Users" display_order="12" description="Shows the number of users who currently have a non-anonymous connection using the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11087" resource_type_id="10162" name="Total Anonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Anonymous Users" display_order="13" description="Shows the total number of users who established an anonymous connection with the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11088" resource_type_id="10162" name="Total Anonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Anonymous Users per Minute" display_order="14" description="Shows the total number of users who established an anonymous connection with the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11089" resource_type_id="10162" name="Total NonAnonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Non Anonymous Users" display_order="15" description="Shows the total number of users who established a non-anonymous connection with the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11090" resource_type_id="10162" name="Total NonAnonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Non Anonymous Users per Minute" display_order="16" description="Shows the total number of users who established a non-anonymous connection with the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11091" resource_type_id="10162" name="Maximum Anonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum Anonymous Users" display_order="17" description="Shows the maximum number of users who established concurrent anonymous connections using the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11092" resource_type_id="10162" name="Maximum NonAnonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum Non Anonymous Users" display_order="18" description="Shows the maximum number of users who established concurrent non-anonymous connections using the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11093" resource_type_id="10162" name="Current Connections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Current Connections" display_order="19" description="Shows the current number of connections established with the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11094" resource_type_id="10162" name="Maximum Connections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum Connections" display_order="20" description="Shows the maximum number of simultaneous connections established with the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11095" resource_type_id="10162" name="Total Logon Attempts" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Logon Attempts" display_order="21" description="Shows the number of logons that have been attempted using the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11096" resource_type_id="10162" name="Total Logon Attempts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Logon Attempts per Minute" display_order="22" description="Shows the number of logons that have been attempted using the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11097" resource_type_id="10162" name="Total Get Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total GET Requests" display_order="23" description="Shows the number of HTTP requests using the GET method (counted since service startup). GET requests are generally used for basic file retrievals or image maps, though they can be used with forms." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11098" resource_type_id="10162" name="Total Get Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total GET Requests per Minute" display_order="24" description="Shows the number of HTTP requests using the GET method (counted since service startup). GET requests are generally used for basic file retrievals or image maps, though they can be used with forms." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11099" resource_type_id="10162" name="Total Post Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total POST Requests" display_order="25" description="Shows the number of HTTP requests using the POST method (counted since service startup). POST requests are generally used for forms or gateway requests." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11100" resource_type_id="10162" name="Total Post Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total POST Requests per Minute" display_order="26" description="Shows the number of HTTP requests using the POST method (counted since service startup). POST requests are generally used for forms or gateway requests." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11101" resource_type_id="10162" name="Total Head Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total HEAD Requests" display_order="27" description="Shows the number of HTTP requests using the HEAD method (counted since service startup). Head requests generally indicate a client is querying the state of a document they already have to see if it needs to be refreshed." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11102" resource_type_id="10162" name="Total Head Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total HEAD Requests per Minute" display_order="28" description="Shows the number of HTTP requests using the HEAD method (counted since service startup). Head requests generally indicate a client is querying the state of a document they already have to see if it needs to be refreshed." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11103" resource_type_id="10162" name="Total Put Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total PUT Requests" display_order="29" description="Shows the number of HTTP requests using the PUT method (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11104" resource_type_id="10162" name="Total Put Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total PUT Requests per Minute" display_order="30" description="Shows the number of HTTP requests using the PUT method (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11105" resource_type_id="10162" name="Total Delete Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total DELETE Requests" display_order="31" description="Shows the number of HTTP requests using the DELETE method (counted since service startup). Delete requests are generally used for file removals." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11106" resource_type_id="10162" name="Total Delete Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total DELETE Requests per Minute" display_order="32" description="Shows the number of HTTP requests using the DELETE method (counted since service startup). Delete requests are generally used for file removals." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11107" resource_type_id="10162" name="Total Trace Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total TRACE Requests" display_order="33" description="Shows the number of HTTP requests using the TRACE method (counted since service startup). TRACE requests allow the client to see what is being received at the end of the request chain and use the information for diagnostic purposes." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11108" resource_type_id="10162" name="Total Trace Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total TRACE Requests per Minute" display_order="34" description="Shows the number of HTTP requests using the TRACE method (counted since service startup). TRACE requests allow the client to see what is being received at the end of the request chain and use the information for diagnostic purposes." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11109" resource_type_id="10162" name="Total Other Request Methods" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Other Request Methods" display_order="35" description="Shows the number of HTTP requests that are not OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, MOVE, COPY, MKCOL, PROPFIND, PROPPATCH, MS-SEARCH, LOCK or UNLOCK methods (counted since service startup). These may include LINK or other methods supported by gateway applications." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11110" resource_type_id="10162" name="Total Other Request Methods" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Other Request Methods per Minute" display_order="36" description="Shows the number of HTTP requests that are not OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, MOVE, COPY, MKCOL, PROPFIND, PROPPATCH, MS-SEARCH, LOCK or UNLOCK methods (counted since service startup). These may include LINK or other methods supported by gateway applications." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11111" resource_type_id="10162" name="Total Method Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Method Requests" display_order="37" description="Shows the number of all HTTP requests (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11112" resource_type_id="10162" name="Total Method Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Method Requests per Minute" display_order="38" description="Shows the number of all HTTP requests (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11113" resource_type_id="10162" name="Total CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total CGI Requests" display_order="39" description="Shows the total number of CGI requests. CGI requests are custom gateway executables (.exe) the administrator can install to add forms processing or other dynamic data sources. CGI requests initiate a process on the server which can be a large drain on server resources. The count is the total since service startup." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11114" resource_type_id="10162" name="Total CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total CGI Requests per Minute" display_order="40" description="Shows the total number of CGI requests. CGI requests are custom gateway executables (.exe) the administrator can install to add forms processing or other dynamic data sources. CGI requests initiate a process on the server which can be a large drain on server resources. The count is the total since service startup." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11115" resource_type_id="10162" name="Total ISAPI Extension Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total ISAPI Extension Requests" display_order="41" description="Shows the total number of ISAPI Extension Requests. ISAPI Extension Requests are custom gateway Dynamic Link Libraries (.dll) the administrator can install to add forms processing or other dynamic data sources. Unlike CGI requests, ISAPI requests are simple calls to a DLL library routine, thus they are better suited to high performance gateway applications. The count is the total since service startup." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11116" resource_type_id="10162" name="Total ISAPI Extension Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total ISAPI Extension Requests per Minute" display_order="42" description="Shows the total number of ISAPI Extension Requests. ISAPI Extension Requests are custom gateway Dynamic Link Libraries (.dll) the administrator can install to add forms processing or other dynamic data sources. Unlike CGI requests, ISAPI requests are simple calls to a DLL library routine, thus they are better suited to high performance gateway applications. The count is the total since service startup." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11117" resource_type_id="10162" name="Total Not Found Errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Not Found Errors" display_order="43" description="Shows the number of requests that could not be satisfied by the server because the requested document could not be found. These are generally reported as an HTTP 404 error code to the client. The count is the total since service startup." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11118" resource_type_id="10162" name="Total Not Found Errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Not Found Errors per Minute" display_order="44" description="Shows the number of requests that could not be satisfied by the server because the requested document could not be found. These are generally reported as an HTTP 404 error code to the client. The count is the total since service startup." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11119" resource_type_id="10162" name="Total Locked Errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Locked Errors" display_order="45" description="Shows the number of requests that could not be satisfied by the server because the requested was locked. These are generally reported as an HTTP 423 error code to the client. The count is the total since service startup." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11120" resource_type_id="10162" name="Total Locked Errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Locked Errors per Minute" display_order="46" description="Shows the number of requests that could not be satisfied by the server because the requested was locked. These are generally reported as an HTTP 423 error code to the client. The count is the total since service startup." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11121" resource_type_id="10162" name="Current CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Current CGI Requests" display_order="47" description="Shows the current number of CGI requests that are simultaneously being processed by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11122" resource_type_id="10162" name="Current CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Current CGI Requests per Minute" display_order="48" description="Shows the current number of CGI requests that are simultaneously being processed by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11123" resource_type_id="10162" name="Current ISAPI Extension Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current ISAPI Extension Requests" display_order="49" description="Shows the current number of Extension requests that are simultaneously being processed by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11124" resource_type_id="10162" name="Maximum CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum CGI Requests" display_order="50" description="Shows the maximum number of CGI requests simultaneously processed by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11125" resource_type_id="10162" name="Maximum ISAPI Extension Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Maximum ISAPI Extension Requests" display_order="51" description="Shows the maximum number of Extension requests simultaneously processed by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11126" resource_type_id="10162" name="Total Blocked Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Blocked Async I/ O Requests" display_order="52" description="Shows the number of total requests temporarily blocked due to bandwidth throttling settings (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11127" resource_type_id="10162" name="Total Blocked Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Blocked Async I/ O Requests per Minute" display_order="53" description="Shows the number of total requests temporarily blocked due to bandwidth throttling settings (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11128" resource_type_id="10162" name="Total Allowed Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Allowed Async I/ O Requests" display_order="54" description="Shows the total number of requests allowed by bandwidth throttling settings (counted since service startup). When bandwidth throttling is defined, the number of allowed user requests is restricted." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11129" resource_type_id="10162" name="Total Allowed Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Allowed Async I/ O Requests per Minute" display_order="55" description="Shows the total number of requests allowed by bandwidth throttling settings (counted since service startup). When bandwidth throttling is defined, the number of allowed user requests is restricted." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11130" resource_type_id="10162" name="Total Rejected Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Rejected Async I/ O Requests" display_order="56" description="Shows the total number of requests rejected due to bandwidth throttling settings (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11131" resource_type_id="10162" name="Total Rejected Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Rejected Async I/ O Requests per Minute" display_order="57" description="Shows the total number of requests rejected due to bandwidth throttling settings (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11132" resource_type_id="10162" name="Current Blocked Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Blocked Async I/ O Requests" display_order="58" description="Shows current requests that are temporarily blocked due to bandwidth throttling settings." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11133" resource_type_id="10162" name="Measured Async I/O Bandwidth Usage" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Measured Async I/ O Bandwidth Usage" display_order="59" description="Shows the measured bandwidth of asynchronous I/O averaged over a minute." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11134" resource_type_id="10162" name="Total Connection Attempts (all instances)" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total Connection Attempts (all instances)" display_order="60" description="Shows the number of connections that have been attempted using the Web service (counted since service startup). This counter is for all instances listed." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11135" resource_type_id="10162" name="Total Connection Attempts (all instances)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total Connection Attempts (all instances) per Minute" display_order="61" description="Shows the number of connections that have been attempted using the Web service (counted since service startup). This counter is for all instances listed." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11136" resource_type_id="10162" name="Service Uptime" resource_version_range="%NULL%" category="1" units="20" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Service Uptime" display_order="62" description="The amount of time this service has been up for" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11137" resource_type_id="10163" name="Bytes Sent/sec" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Bytes Sent" display_order="1" description="Shows the rate that data bytes are sent by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11138" resource_type_id="10163" name="Bytes Sent/sec" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Bytes Sent per Minute" display_order="2" description="Shows the rate that data bytes are sent by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11139" resource_type_id="10163" name="Bytes Received/sec" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Bytes Received" display_order="3" description="Shows the rate that data bytes are received by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11140" resource_type_id="10163" name="Bytes Received/sec" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Bytes Received per Minute" display_order="4" description="Shows the rate that data bytes are received by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11141" resource_type_id="10163" name="Total Files Sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Files Sent" display_order="5" description="Shows the total number of files sent by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11142" resource_type_id="10163" name="Total Files Sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Files Sent per Minute" display_order="6" description="Shows the total number of files sent by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11143" resource_type_id="10163" name="Total Files Received" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Files Received" display_order="7" description="Shows the total number of files received by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11144" resource_type_id="10163" name="Total Files Received" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Files Received per Minute" display_order="8" description="Shows the total number of files received by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11145" resource_type_id="10163" name="Total Files Transferred" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Files Transferred" display_order="9" description="Shows the sum of Files Sent and Files Received. This is the total number of files transferred by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11146" resource_type_id="10163" name="Total Files Transferred" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Files Transferred per Minute" display_order="10" description="Shows the sum of Files Sent and Files Received. This is the total number of files transferred by the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11147" resource_type_id="10163" name="Current Anonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Current Anonymous Users" display_order="11" description="Shows the number of users who currently have an anonymous connection using the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11148" resource_type_id="10163" name="Current NonAnonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Current NonAnonymous Users" display_order="12" description="Shows the number of users who currently have a non-anonymous connection using the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11149" resource_type_id="10163" name="Total Anonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Anonymous Users" display_order="13" description="Shows the total number of users who established an anonymous connection with the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11150" resource_type_id="10163" name="Total Anonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Anonymous Users per Minute" display_order="14" description="Shows the total number of users who established an anonymous connection with the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11151" resource_type_id="10163" name="Total NonAnonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Non Anonymous Users" display_order="15" description="Shows the total number of users who established a non-anonymous connection with the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11152" resource_type_id="10163" name="Total NonAnonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Non Anonymous Users per Minute" display_order="16" description="Shows the total number of users who established a non-anonymous connection with the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11153" resource_type_id="10163" name="Maximum Anonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Maximum Anonymous Users" display_order="17" description="Shows the maximum number of users who established concurrent anonymous connections using the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11154" resource_type_id="10163" name="Maximum NonAnonymous Users" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Maximum Non Anonymous Users" display_order="18" description="Shows the maximum number of users who established concurrent non-anonymous connections using the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11155" resource_type_id="10163" name="Current Connections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Current Connections" display_order="19" description="Shows the current number of connections established with the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11156" resource_type_id="10163" name="Maximum Connections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Maximum Connections" display_order="20" description="Shows the maximum number of simultaneous connections established with the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11157" resource_type_id="10163" name="Total Logon Attempts" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Logon Attempts" display_order="21" description="Shows the number of logons that have been attempted using the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11158" resource_type_id="10163" name="Total Logon Attempts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Logon Attempts per Minute" display_order="22" description="Shows the number of logons that have been attempted using the Web service (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11159" resource_type_id="10163" name="Total Get Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total GET Requests" display_order="23" description="Shows the number of HTTP requests using the GET method (counted since service startup). GET requests are generally used for basic file retrievals or image maps, though they can be used with forms." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11160" resource_type_id="10163" name="Total Get Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Total GET Requests per Minute" display_order="24" description="Shows the number of HTTP requests using the GET method (counted since service startup). GET requests are generally used for basic file retrievals or image maps, though they can be used with forms." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11161" resource_type_id="10163" name="Total Post Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total POST Requests" display_order="25" description="Shows the number of HTTP requests using the POST method (counted since service startup). POST requests are generally used for forms or gateway requests." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11162" resource_type_id="10163" name="Total Post Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total POST Requests per Minute" display_order="26" description="Shows the number of HTTP requests using the POST method (counted since service startup). POST requests are generally used for forms or gateway requests." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11163" resource_type_id="10163" name="Total Head Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total HEAD Requests" display_order="27" description="Shows the number of HTTP requests using the HEAD method (counted since service startup). Head requests generally indicate a client is querying the state of a document they already have to see if it needs to be refreshed." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11164" resource_type_id="10163" name="Total Head Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total HEAD Requests per Minute" display_order="28" description="Shows the number of HTTP requests using the HEAD method (counted since service startup). Head requests generally indicate a client is querying the state of a document they already have to see if it needs to be refreshed." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11165" resource_type_id="10163" name="Total Put Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total PUT Requests" display_order="29" description="Shows the number of HTTP requests using the PUT method (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11166" resource_type_id="10163" name="Total Put Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total PUT Requests per Minute" display_order="30" description="Shows the number of HTTP requests using the PUT method (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11167" resource_type_id="10163" name="Total Delete Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total DELETE Requests" display_order="31" description="Shows the number of HTTP requests using the DELETE method (counted since service startup). Delete requests are generally used for file removals." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11168" resource_type_id="10163" name="Total Delete Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total DELETE Requests per Minute" display_order="32" description="Shows the number of HTTP requests using the DELETE method (counted since service startup). Delete requests are generally used for file removals." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11169" resource_type_id="10163" name="Total Trace Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total TRACE Requests" display_order="33" description="Shows the number of HTTP requests using the TRACE method (counted since service startup). TRACE requests allow the client to see what is being received at the end of the request chain and use the information for diagnostic purposes." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11170" resource_type_id="10163" name="Total Trace Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total TRACE Requests per Minute" display_order="34" description="Shows the number of HTTP requests using the TRACE method (counted since service startup). TRACE requests allow the client to see what is being received at the end of the request chain and use the information for diagnostic purposes." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11171" resource_type_id="10163" name="Total Other Request Methods" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Other Request Methods" display_order="35" description="Shows the number of HTTP requests that are not OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, MOVE, COPY, MKCOL, PROPFIND, PROPPATCH, MS-SEARCH, LOCK or UNLOCK methods (counted since service startup). These may include LINK or other methods supported by gateway applications." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11172" resource_type_id="10163" name="Total Other Request Methods" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Other Request Methods per Minute" display_order="36" description="Shows the number of HTTP requests that are not OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, MOVE, COPY, MKCOL, PROPFIND, PROPPATCH, MS-SEARCH, LOCK or UNLOCK methods (counted since service startup). These may include LINK or other methods supported by gateway applications." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11173" resource_type_id="10163" name="Total Method Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Method Requests" display_order="37" description="Shows the number of all HTTP requests (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11174" resource_type_id="10163" name="Total Method Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Method Requests per Minute" display_order="38" description="Shows the number of all HTTP requests (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11175" resource_type_id="10163" name="Total CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total CGI Requests" display_order="39" description="Shows the total number of CGI requests. CGI requests are custom gateway executables (.exe) the administrator can install to add forms processing or other dynamic data sources. CGI requests initiate a process on the server which can be a large drain on server resources. The count is the total since service startup." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11176" resource_type_id="10163" name="Total CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total CGI Requests per Minute" display_order="40" description="Shows the total number of CGI requests. CGI requests are custom gateway executables (.exe) the administrator can install to add forms processing or other dynamic data sources. CGI requests initiate a process on the server which can be a large drain on server resources. The count is the total since service startup." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11177" resource_type_id="10163" name="Total ISAPI Extension Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total ISAPI Extension Requests" display_order="41" description="Shows the total number of ISAPI Extension Requests. ISAPI Extension Requests are custom gateway Dynamic Link Libraries (.dll) the administrator can install to add forms processing or other dynamic data sources. Unlike CGI requests, ISAPI requests are simple calls to a DLL library routine, thus they are better suited to high performance gateway applications. The count is the total since service startup." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11178" resource_type_id="10163" name="Total ISAPI Extension Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total ISAPI Extension Requests per Minute" display_order="42" description="Shows the total number of ISAPI Extension Requests. ISAPI Extension Requests are custom gateway Dynamic Link Libraries (.dll) the administrator can install to add forms processing or other dynamic data sources. Unlike CGI requests, ISAPI requests are simple calls to a DLL library routine, thus they are better suited to high performance gateway applications. The count is the total since service startup." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11179" resource_type_id="10163" name="Total Not Found Errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Not Found Errors" display_order="43" description="Shows the number of requests that could not be satisfied by the server because the requested document could not be found. These are generally reported as an HTTP 404 error code to the client. The count is the total since service startup." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11180" resource_type_id="10163" name="Total Not Found Errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Not Found Errors per Minute" display_order="44" description="Shows the number of requests that could not be satisfied by the server because the requested document could not be found. These are generally reported as an HTTP 404 error code to the client. The count is the total since service startup." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11181" resource_type_id="10163" name="Total Locked Errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Locked Errors" display_order="45" description="Shows the number of requests that could not be satisfied by the server because the requested was locked. These are generally reported as an HTTP 423 error code to the client. The count is the total since service startup." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11182" resource_type_id="10163" name="Total Locked Errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Locked Errors per Minute" display_order="46" description="Shows the number of requests that could not be satisfied by the server because the requested was locked. These are generally reported as an HTTP 423 error code to the client. The count is the total since service startup." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11183" resource_type_id="10163" name="Current CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current CGI Requests" display_order="47" description="Shows the current number of CGI requests that are simultaneously being processed by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11184" resource_type_id="10163" name="Current CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Current CGI Requests per Minute" display_order="48" description="Shows the current number of CGI requests that are simultaneously being processed by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11185" resource_type_id="10163" name="Current ISAPI Extension Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Current ISAPI Extension Requests" display_order="49" description="Shows the current number of Extension requests that are simultaneously being processed by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11186" resource_type_id="10163" name="Maximum CGI Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Maximum CGI Requests" display_order="50" description="Shows the maximum number of CGI requests simultaneously processed by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11187" resource_type_id="10163" name="Maximum ISAPI Extension Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Maximum ISAPI Extension Requests" display_order="51" description="Shows the maximum number of Extension requests simultaneously processed by the Web service." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11188" resource_type_id="10163" name="Total Blocked Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Blocked Async I/ O Requests" display_order="52" description="Shows the number of total requests temporarily blocked due to bandwidth throttling settings (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11189" resource_type_id="10163" name="Total Blocked Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Blocked Async I/ O Requests per Minute" display_order="53" description="Shows the number of total requests temporarily blocked due to bandwidth throttling settings (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11190" resource_type_id="10163" name="Total Allowed Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Allowed Async I/ O Requests" display_order="54" description="Shows the total number of requests allowed by bandwidth throttling settings (counted since service startup). When bandwidth throttling is defined, the number of allowed user requests is restricted." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11191" resource_type_id="10163" name="Total Allowed Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Allowed Async I/ O Requests per Minute" display_order="55" description="Shows the total number of requests allowed by bandwidth throttling settings (counted since service startup). When bandwidth throttling is defined, the number of allowed user requests is restricted." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11192" resource_type_id="10163" name="Total Rejected Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Rejected Async I/ O Requests" display_order="56" description="Shows the total number of requests rejected due to bandwidth throttling settings (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11193" resource_type_id="10163" name="Total Rejected Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Total Rejected Async I/ O Requests per Minute" display_order="57" description="Shows the total number of requests rejected due to bandwidth throttling settings (counted since service startup)." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11194" resource_type_id="10163" name="Current Blocked Async I/O Requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Current Blocked Async I/ O Requests" display_order="58" description="Shows current requests that are temporarily blocked due to bandwidth throttling settings." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11195" resource_type_id="10163" name="Measured Async I/O Bandwidth Usage" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="1200000" display_name="Measured Async I/ O Bandwidth Usage" display_order="59" description="Shows the measured bandwidth of asynchronous I/O averaged over a minute." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11196" resource_type_id="10163" name="ResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="60000" display_name="HTTP Response Time" display_order="60" description="the minimum, maximum, and average response times for HTTP requests serviced by this virtual host" destination_type="URL" version="0"/> + <rhq_measurement_def id="11197" resource_type_id="10164" name="EntityInsertCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Entity Insert Count" display_order="1" description="The global number of entity inserts since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11198" resource_type_id="10164" name="EntityInsertCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Entity Insert Count per Minute" display_order="2" description="The global number of entity inserts since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11199" resource_type_id="10164" name="QueryExecutionMaxTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Query Execution Max Time" display_order="3" description="The amount of time taken by the slowest recorded query since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11200" resource_type_id="10164" name="EntityUpdateCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Entity Update Count" display_order="4" description="The global number of entity updates since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11201" resource_type_id="10164" name="EntityUpdateCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Entity Update Count per Minute" display_order="5" description="The global number of entity updates since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11202" resource_type_id="10164" name="CollectionUpdateCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Collection Update Count" display_order="6" description="The global number of collections updated since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11203" resource_type_id="10164" name="CollectionUpdateCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Collection Update Count per Minute" display_order="7" description="The global number of collections updated since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11204" resource_type_id="10164" name="EntityLoadCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Entity Load Count" display_order="8" description="The global number of entity loads since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11205" resource_type_id="10164" name="EntityLoadCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Entity Load Count per Minute" display_order="9" description="The global number of entity loads since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11206" resource_type_id="10164" name="EntityFetchCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Entity Fetch Count" display_order="10" description="The global number of entity fetches since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11207" resource_type_id="10164" name="EntityFetchCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Entity Fetch Count per Minute" display_order="11" description="The global number of entity fetches since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11208" resource_type_id="10164" name="EntityDeleteCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Entity Delete Count" display_order="12" description="The global number of entity deletes since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11209" resource_type_id="10164" name="EntityDeleteCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Entity Delete Count per Minute" display_order="13" description="The global number of entity deletes since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11210" resource_type_id="10164" name="CollectionRecreateCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Collection Recreate Count" display_order="14" description="The global number of collections recreated since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11211" resource_type_id="10164" name="CollectionRecreateCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Collection Recreate Count per Minute" display_order="15" description="The global number of collections recreated since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11212" resource_type_id="10164" name="QueryExecutionCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Query Execution Count" display_order="16" description="The global number of queries executed since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11213" resource_type_id="10164" name="QueryExecutionCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Query Execution Count per Minute" display_order="17" description="The global number of queries executed since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11214" resource_type_id="10164" name="FlushCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Flush Count" display_order="18" description="The global number of flushes executed by sessions (either implicit or explicit) since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11215" resource_type_id="10164" name="FlushCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Flush Count per Minute" display_order="19" description="The global number of flushes executed by sessions (either implicit or explicit) since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11216" resource_type_id="10164" name="CollectionLoadCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Collection Load Count" display_order="20" description="The global number of collections loaded since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11217" resource_type_id="10164" name="CollectionLoadCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Collection Load Count per Minute" display_order="21" description="The global number of collections loaded since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11218" resource_type_id="10164" name="SuccessfulTransactionCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Successful Transaction Count" display_order="22" description="The global number of transactions known to have been successful since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11219" resource_type_id="10164" name="SuccessfulTransactionCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Successful Transaction Count per Minute" display_order="23" description="The global number of transactions known to have been successful since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11220" resource_type_id="10164" name="QueryCacheHitCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Query Cache Hit Count" display_order="24" description="The global number of cached queries successfully retrieved from cache since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11221" resource_type_id="10164" name="QueryCacheHitCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Query Cache Hit Count per Minute" display_order="25" description="The global number of cached queries successfully retrieved from cache since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11222" resource_type_id="10164" name="CollectionRemoveCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Collection Remove Count" display_order="26" description="The global number of collections removed since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11223" resource_type_id="10164" name="CollectionRemoveCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Collection Remove Count per Minute" display_order="27" description="The global number of collections removed since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11224" resource_type_id="10164" name="ConnectCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Connect Count" display_order="28" description="The global number of connections asked by the sessions (the actual number of connections used may be much smaller depending whether you use a connection pool or not) since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11225" resource_type_id="10164" name="ConnectCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Connect Count per Minute" display_order="29" description="The global number of connections asked by the sessions (the actual number of connections used may be much smaller depending whether you use a connection pool or not) since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11226" resource_type_id="10164" name="StartTime" resource_version_range="%NULL%" category="0" units="14" numeric_type="0" display_type="1" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="1800000" display_name="Start Time" display_order="30" description="The time when the statistics collection started or were last reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11227" resource_type_id="10164" name="SecondLevelCachePutCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Second Level Cache Put Count" display_order="31" description="The global number of cacheable entities/collections put in the cache since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11228" resource_type_id="10164" name="SecondLevelCachePutCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Second Level Cache Put Count per Minute" display_order="32" description="The global number of cacheable entities/collections put in the cache since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11229" resource_type_id="10164" name="QueryCachePutCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Query Cache Put Count" display_order="33" description="The global number of cacheable queries put in cache since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11230" resource_type_id="10164" name="QueryCachePutCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Query Cache Put Count per Minute" display_order="34" description="The global number of cacheable queries put in cache since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11231" resource_type_id="10164" name="SessionOpenCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Session Open Count" display_order="35" description="The global number of sessions closed since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11232" resource_type_id="10164" name="SessionOpenCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Session Open Count per Minute" display_order="36" description="The global number of sessions closed since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11233" resource_type_id="10164" name="TransactionCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Transaction Count" display_order="37" description="The global number of transactions known to have completed since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11234" resource_type_id="10164" name="TransactionCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Transaction Count per Minute" display_order="38" description="The global number of transactions known to have completed since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11235" resource_type_id="10164" name="CollectionFetchCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Collection Fetch Count" display_order="39" description="The global number of collections fetched since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11236" resource_type_id="10164" name="CollectionFetchCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Collection Fetch Count per Minute" display_order="40" description="The global number of collections fetched since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11237" resource_type_id="10164" name="SessionCloseCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Session Close Count" display_order="41" description="The global number of sessions closed since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11238" resource_type_id="10164" name="SessionCloseCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Session Close Count per Minute" display_order="42" description="The global number of sessions closed since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11239" resource_type_id="10164" name="QueryCacheMissCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Query Cache Miss Count" display_order="43" description="The global number of cached queries *not* found in cache since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11240" resource_type_id="10164" name="QueryCacheMissCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="1200000" display_name="Query Cache Miss Count per Minute" display_order="44" description="The global number of cached queries *not* found in cache since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11241" resource_type_id="10164" name="SecondLevelCacheMissCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Second Level Cache Miss Count" display_order="45" description="The global number of cacheable entities/collections not found in the cache and loaded from the database since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11242" resource_type_id="10164" name="SecondLevelCacheMissCount" resource_version_range="%NULL%" category="2" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Second Level Cache Miss Count per Minute" display_order="46" description="The global number of cacheable entities/collections not found in the cache and loaded from the database since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11243" resource_type_id="10165" name="loadCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Load Count" display_order="1" description="The number of times this entity was loaded since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11244" resource_type_id="10165" name="updateCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Update Count" display_order="2" description="The number of times this entity was updated since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11245" resource_type_id="10165" name="insertCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Insert Count" display_order="3" description="The number of times this entity was inserted since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11246" resource_type_id="10165" name="deleteCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Delete Count" display_order="4" description="The number of times this entity was deleted since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11247" resource_type_id="10165" name="fetchCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Fetch Count" display_order="5" description="The number of times this entity was fetched since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11248" resource_type_id="10165" name="optimisticFailureCount" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Optimistic Lock Failure Count" display_order="6" description="The number of StaleObjectStateExceptions for this entity that occurred since the statistics were reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11249" resource_type_id="10167" name="Process.aggregateCpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="User Time" display_order="1" description="The aggregate amount of CPU user time spent by all postgres processes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11250" resource_type_id="10167" name="Process.aggregateCpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="User Time per Minute" display_order="2" description="The aggregate amount of CPU user time spent by all postgres processes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11251" resource_type_id="10167" name="Process.aggregateCpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Kernel Time" display_order="3" description="The aggregate amount of CPU kernel time spent by all postgres processes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11252" resource_type_id="10167" name="Process.aggregateCpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Kernel Time per Minute" display_order="4" description="The aggregate amount of CPU kernel time spent by all postgres processes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11253" resource_type_id="10167" name="Process.aggregateCpu.percent" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="CPU Percentage" display_order="5" description="The percentage of CPU currently being used by all postgres processes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11254" resource_type_id="10167" name="Process.aggregateMemory.resident" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Physical Memory" display_order="6" description="The aggregate amount of resident memory used by all postgres processes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11255" resource_type_id="10167" name="Process.aggregateMemory.size" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Virtual Memory" display_order="7" description="The aggregate amount of virtual memory used by all postgres processes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11256" resource_type_id="10167" name="Process.aggregateFileDescriptor.total" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Open File Descriptors" display_order="8" description="The aggregate number of file descriptors open by all postgres processes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11257" resource_type_id="10167" name="Database.backends" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Active Backends" display_order="9" description="Number of currently active backends (user connections)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11258" resource_type_id="10167" name="Database.startTime" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Start time" display_order="10" description="Start time of the PostgreSQL database server" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11259" resource_type_id="10168" name="numbackends" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Backends" display_order="1" description="Number of active server processes for database" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11260" resource_type_id="10168" name="xact_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transactions Committed" display_order="2" description="Transactions committed in database" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11261" resource_type_id="10168" name="xact_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Transactions Committed per Minute" display_order="3" description="Transactions committed in database" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11262" resource_type_id="10168" name="xact_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transactions Rolled Back" display_order="4" description="Transactions rolled back in database" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11263" resource_type_id="10168" name="xact_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Transactions Rolled Back per Minute" display_order="5" description="Transactions rolled back in database" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11264" resource_type_id="10168" name="blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Blocks Read" display_order="6" description="Number of disk block fetch requests for database" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11265" resource_type_id="10168" name="blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Blocks Read per Minute" display_order="7" description="Number of disk block fetch requests for database" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11266" resource_type_id="10168" name="blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Blocks Hit" display_order="8" description="Number of disk block fetch requests found in cache for database " destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11267" resource_type_id="10168" name="blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Blocks Hit per Minute" display_order="9" description="Number of disk block fetch requests found in cache for database " destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11268" resource_type_id="10168" name="size" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Size" display_order="10" description="Disk space used by the database" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11269" resource_type_id="10169" name="total" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Total User Connections" display_order="1" description="The total number of user connections in the system, whether actively querying or idle" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11270" resource_type_id="10169" name="active" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Active User Connections" display_order="2" description="The number of user connections in the system actively querying" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11271" resource_type_id="10170" name="seq_scan" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Sequential Scans" display_order="1" description="Number of sequential scans done against this table (when an index scan was not possible)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11272" resource_type_id="10170" name="seq_scan" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Sequential Scans per Minute" display_order="2" description="Number of sequential scans done against this table (when an index scan was not possible)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11273" resource_type_id="10170" name="seq_tup_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Sequential Rows Read" display_order="3" description="Number of rows read by sequential scans" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11274" resource_type_id="10170" name="seq_tup_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Sequential Rows Read per Minute" display_order="4" description="Number of rows read by sequential scans" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11275" resource_type_id="10170" name="idx_scan" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Index Scans" display_order="5" description="Number of index scans done against this table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11276" resource_type_id="10170" name="idx_scan" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Index Scans per Minute" display_order="6" description="Number of index scans done against this table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11277" resource_type_id="10170" name="idx_tup_fetch" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Index Scan Rows Read" display_order="7" description="Number of index entries returned by index scans" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11278" resource_type_id="10170" name="idx_tup_fetch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Index Scan Rows Read per Minute" display_order="8" description="Number of index entries returned by index scans" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11279" resource_type_id="10170" name="heap_blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Heap Blocks Read" display_order="9" description="The number of heap blocks read that were not a buffer cache hit" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11280" resource_type_id="10170" name="heap_blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Heap Blocks Read per Minute" display_order="10" description="The number of heap blocks read that were not a buffer cache hit" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11281" resource_type_id="10170" name="heap_blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Heap Blocks Hit" display_order="11" description="The number of heap block requests that were found in the buffer cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11282" resource_type_id="10170" name="heap_blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Heap Blocks Hit per Minute" display_order="12" description="The number of heap block requests that were found in the buffer cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11283" resource_type_id="10170" name="idx_blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Index Blocks Read" display_order="13" description="The number of index blocks fetched that were not a buffer cache hit" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11284" resource_type_id="10170" name="idx_blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Index Blocks Read per Minute" display_order="14" description="The number of index blocks fetched that were not a buffer cache hit" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11285" resource_type_id="10170" name="idx_blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Index Blocks Hit" display_order="15" description="The number of index block requests that were found in the buffer cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11286" resource_type_id="10170" name="idx_blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Index Blocks Hit per Minute" display_order="16" description="The number of index block requests that were found in the buffer cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11287" resource_type_id="10170" name="toast_blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Toast Blocks Reads" display_order="17" description="The number of toast blocks fetched that were not a buffer cache hit" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11288" resource_type_id="10170" name="toast_blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Toast Blocks Reads per Minute" display_order="18" description="The number of toast blocks fetched that were not a buffer cache hit" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11289" resource_type_id="10170" name="toast_blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Toast Blocks Hit" display_order="19" description="The number of toast block requests that were found in the buffer cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11290" resource_type_id="10170" name="toast_blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Toast Blocks Hit per Minute" display_order="20" description="The number of toast block requests that were found in the buffer cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11291" resource_type_id="10170" name="tidx_blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Toast Index Blocks Read" display_order="21" description="The number of toast index blocks fetched that were not a buffer cache hit" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11292" resource_type_id="10170" name="tidx_blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Toast Index Blocks Read per Minute" display_order="22" description="The number of toast index blocks fetched that were not a buffer cache hit" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11293" resource_type_id="10170" name="tidx_blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Toast Index Blocks Hit" display_order="23" description="The number of toast index block requests that were found in the buffer cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11294" resource_type_id="10170" name="tidx_blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Toast Index Blocks Hit per Minute" display_order="24" description="The number of toast index block requests that were found in the buffer cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11295" resource_type_id="10170" name="n_tup_ins" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Row Inserts" display_order="25" description="The number of rows ever inserted into this table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11296" resource_type_id="10170" name="n_tup_ins" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Row Inserts per Minute" display_order="26" description="The number of rows ever inserted into this table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11297" resource_type_id="10170" name="n_tup_upd" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Row Updates" display_order="27" description="The number of rows ever updated on this table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11298" resource_type_id="10170" name="n_tup_upd" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Row Updates per Minute" display_order="28" description="The number of rows ever updated on this table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11299" resource_type_id="10170" name="n_tup_del" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Row Deletes" display_order="29" description="The number of rows ever deleted from this table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11300" resource_type_id="10170" name="n_tup_del" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Row Deletes per Minute" display_order="30" description="The number of rows ever deleted from this table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11301" resource_type_id="10170" name="table_size" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Table Size" display_order="31" description="The size in bytes of the data in the table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11302" resource_type_id="10170" name="total_size" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Total Size" display_order="32" description="The size in bytes of the data and all associated indexes and toast tables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11303" resource_type_id="10170" name="rows" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Rows" display_order="33" description="The count of rows in the table. Warning: This may be an expensive operation" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11304" resource_type_id="10170" name="rows_approx" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Approximate rows" display_order="34" description="The approximate count of rows in the table. This is basically the number of rows of the last ANALYZE of the table. This metric is not expensive." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11305" resource_type_id="10171" name="metricColumn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Metric Column" display_order="1" description="Metric Column" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11306" resource_type_id="10172" name="totalSize" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Total Size" display_order="1" description="Total Size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11307" resource_type_id="10172" name="logons cumulative" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Logons cumulative" display_order="2" description="Logons cumulative" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11308" resource_type_id="10172" name="logons current" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Logons current" display_order="3" description="Logons current" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11309" resource_type_id="10172" name="opened cursors cumulative" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Opened cursors cumulative" display_order="4" description="Opened cursors cumulative" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11310" resource_type_id="10172" name="opened cursors current" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Opened cursors current" display_order="5" description="Opened cursors current" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11311" resource_type_id="10172" name="user commits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="User commits" display_order="6" description="User commits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11312" resource_type_id="10172" name="user rollbacks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="User rollbacks" display_order="7" description="User rollbacks" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11313" resource_type_id="10172" name="user calls" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="User calls" display_order="8" description="User calls" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11314" resource_type_id="10172" name="recursive calls" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Recursive calls" display_order="9" description="Recursive calls" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11315" resource_type_id="10172" name="recursive cpu usage" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Recursive cpu usage" display_order="10" description="Recursive cpu usage" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11316" resource_type_id="10172" name="session logical reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Session logical reads" display_order="11" description="Session logical reads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11317" resource_type_id="10172" name="session stored procedure space" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Session stored procedure space" display_order="12" description="Session stored procedure space" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11318" resource_type_id="10172" name="CPU used when call started" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="CPU used when call started" display_order="13" description="CPU used when call started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11319" resource_type_id="10172" name="CPU used by this session" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="CPU used by this session" display_order="14" description="CPU used by this session" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11320" resource_type_id="10172" name="DB time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DB time" display_order="15" description="DB time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11321" resource_type_id="10172" name="cluster wait time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cluster wait time" display_order="16" description="Cluster wait time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11322" resource_type_id="10172" name="concurrency wait time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Concurrency wait time" display_order="17" description="Concurrency wait time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11323" resource_type_id="10172" name="application wait time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Application wait time" display_order="18" description="Application wait time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11324" resource_type_id="10172" name="user I/O wait time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="User I/ O wait time" display_order="19" description="User I/ O wait time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11325" resource_type_id="10172" name="session connect time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Session connect time" display_order="20" description="Session connect time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11326" resource_type_id="10172" name="process last non-idle time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Process last non Idle time" display_order="21" description="Process last non Idle time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11327" resource_type_id="10172" name="messages sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Messages sent" display_order="22" description="Messages sent" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11328" resource_type_id="10172" name="messages received" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Messages received" display_order="23" description="Messages received" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11329" resource_type_id="10172" name="background timeouts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Background timeouts" display_order="24" description="Background timeouts" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11330" resource_type_id="10172" name="enqueue timeouts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Enqueue timeouts" display_order="25" description="Enqueue timeouts" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11331" resource_type_id="10172" name="enqueue waits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Enqueue waits" display_order="26" description="Enqueue waits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11332" resource_type_id="10172" name="enqueue deadlocks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Enqueue deadlocks" display_order="27" description="Enqueue deadlocks" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11333" resource_type_id="10172" name="enqueue requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Enqueue requests" display_order="28" description="Enqueue requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11334" resource_type_id="10172" name="enqueue conversions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Enqueue conversions" display_order="29" description="Enqueue conversions" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11335" resource_type_id="10172" name="enqueue releases" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Enqueue releases" display_order="30" description="Enqueue releases" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11336" resource_type_id="10172" name="global enqueue gets sync" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Global enqueue gets sync" display_order="31" description="Global enqueue gets sync" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11337" resource_type_id="10172" name="global enqueue gets async" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Global enqueue gets async" display_order="32" description="Global enqueue gets async" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11338" resource_type_id="10172" name="global enqueue get time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Global enqueue get time" display_order="33" description="Global enqueue get time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11339" resource_type_id="10172" name="global enqueue releases" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Global enqueue releases" display_order="34" description="Global enqueue releases" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11340" resource_type_id="10172" name="physical read total IO requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical read total IO requests" display_order="35" description="Physical read total IO requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11341" resource_type_id="10172" name="physical read total multi block requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical read total multi block requests" display_order="36" description="Physical read total multi block requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11342" resource_type_id="10172" name="physical read total bytes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical read total bytes" display_order="37" description="Physical read total bytes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11343" resource_type_id="10172" name="physical write total IO requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical write total IO requests" display_order="38" description="Physical write total IO requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11344" resource_type_id="10172" name="physical write total multi block requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical write total multi block requests" display_order="39" description="Physical write total multi block requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11345" resource_type_id="10172" name="physical write total bytes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical write total bytes" display_order="40" description="Physical write total bytes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11346" resource_type_id="10172" name="IPC CPU used by this session" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IPC CPU used by this session" display_order="41" description="IPC CPU used by this session" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11347" resource_type_id="10172" name="gcs messages sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gcs messages sent" display_order="42" description="Gcs messages sent" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11348" resource_type_id="10172" name="ges messages sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ges messages sent" display_order="43" description="Ges messages sent" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11349" resource_type_id="10172" name="global enqueue CPU used by this session" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Global enqueue CPU used by this session" display_order="44" description="Global enqueue CPU used by this session" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11350" resource_type_id="10172" name="db block gets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Db block gets" display_order="45" description="Db block gets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11351" resource_type_id="10172" name="db block gets from cache" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Db block gets from cache" display_order="46" description="Db block gets from cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11352" resource_type_id="10172" name="db block gets direct" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Db block gets direct" display_order="47" description="Db block gets direct" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11353" resource_type_id="10172" name="consistent gets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Consistent gets" display_order="48" description="Consistent gets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11354" resource_type_id="10172" name="consistent gets from cache" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Consistent gets from cache" display_order="49" description="Consistent gets from cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11355" resource_type_id="10172" name="consistent gets - examination" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Consistent gets examination" display_order="50" description="Consistent gets examination" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11356" resource_type_id="10172" name="consistent gets direct" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Consistent gets direct" display_order="51" description="Consistent gets direct" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11357" resource_type_id="10172" name="physical reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical reads" display_order="52" description="Physical reads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11358" resource_type_id="10172" name="physical reads cache" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical reads cache" display_order="53" description="Physical reads cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11359" resource_type_id="10172" name="physical reads direct" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical reads direct" display_order="54" description="Physical reads direct" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11360" resource_type_id="10172" name="physical read IO requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical read IO requests" display_order="55" description="Physical read IO requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11361" resource_type_id="10172" name="physical read bytes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical read bytes" display_order="56" description="Physical read bytes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11362" resource_type_id="10172" name="db block changes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Db block changes" display_order="57" description="Db block changes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11363" resource_type_id="10172" name="consistent changes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Consistent changes" display_order="58" description="Consistent changes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11364" resource_type_id="10172" name="recovery blocks read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Recovery blocks read" display_order="59" description="Recovery blocks read" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11365" resource_type_id="10172" name="physical writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical writes" display_order="60" description="Physical writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11366" resource_type_id="10172" name="physical writes direct" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical writes direct" display_order="61" description="Physical writes direct" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11367" resource_type_id="10172" name="physical writes from cache" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical writes from cache" display_order="62" description="Physical writes from cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11368" resource_type_id="10172" name="physical write IO requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical write IO requests" display_order="63" description="Physical write IO requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11369" resource_type_id="10172" name="physical write bytes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical write bytes" display_order="64" description="Physical write bytes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11370" resource_type_id="10172" name="physical writes non checkpoint" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical writes non checkpoint" display_order="65" description="Physical writes non checkpoint" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11371" resource_type_id="10172" name="summed dirty queue length" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Summed dirty queue length" display_order="66" description="Summed dirty queue length" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11372" resource_type_id="10172" name="DBWR checkpoint buffers written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR checkpoint buffers written" display_order="67" description="DBWR checkpoint buffers written" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11373" resource_type_id="10172" name="DBWR thread checkpoint buffers written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR thread checkpoint buffers written" display_order="68" description="DBWR thread checkpoint buffers written" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11374" resource_type_id="10172" name="DBWR tablespace checkpoint buffers written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR tablespace checkpoint buffers written" display_order="69" description="DBWR tablespace checkpoint buffers written" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11375" resource_type_id="10172" name="DBWR parallel query checkpoint buffers written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR parallel query checkpoint buffers written" display_order="70" description="DBWR parallel query checkpoint buffers written" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11376" resource_type_id="10172" name="DBWR object drop buffers written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR object drop buffers written" display_order="71" description="DBWR object drop buffers written" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11377" resource_type_id="10172" name="DBWR transaction table writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR transaction table writes" display_order="72" description="DBWR transaction table writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11378" resource_type_id="10172" name="DBWR undo block writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR undo block writes" display_order="73" description="DBWR undo block writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11379" resource_type_id="10172" name="DBWR revisited being-written buffer" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR revisited being Written buffer" display_order="74" description="DBWR revisited being Written buffer" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11380" resource_type_id="10172" name="DBWR make free requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR make free requests" display_order="75" description="DBWR make free requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11381" resource_type_id="10172" name="DBWR lru scans" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR lru scans" display_order="76" description="DBWR lru scans" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11382" resource_type_id="10172" name="DBWR checkpoints" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR checkpoints" display_order="77" description="DBWR checkpoints" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11383" resource_type_id="10172" name="DBWR fusion writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DBWR fusion writes" display_order="78" description="DBWR fusion writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11384" resource_type_id="10172" name="prefetch clients - keep" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch clients keep" display_order="79" description="Prefetch clients keep" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11385" resource_type_id="10172" name="prefetch clients - recycle" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch clients recycle" display_order="80" description="Prefetch clients recycle" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11386" resource_type_id="10172" name="prefetch clients - default" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch clients default" display_order="81" description="Prefetch clients default" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11387" resource_type_id="10172" name="prefetch clients - 2k" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch clients 2k" display_order="82" description="Prefetch clients 2k" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11388" resource_type_id="10172" name="prefetch clients - 4k" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch clients 4k" display_order="83" description="Prefetch clients 4k" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11389" resource_type_id="10172" name="prefetch clients - 8k" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch clients 8k" display_order="84" description="Prefetch clients 8k" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11390" resource_type_id="10172" name="prefetch clients - 16k" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch clients 16k" display_order="85" description="Prefetch clients 16k" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11391" resource_type_id="10172" name="prefetch clients - 32k" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch clients 32k" display_order="86" description="Prefetch clients 32k" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11392" resource_type_id="10172" name="change write time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Change write time" display_order="87" description="Change write time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11393" resource_type_id="10172" name="redo synch writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo synch writes" display_order="88" description="Redo synch writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11394" resource_type_id="10172" name="redo synch time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo synch time" display_order="89" description="Redo synch time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11395" resource_type_id="10172" name="exchange deadlocks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Exchange deadlocks" display_order="90" description="Exchange deadlocks" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11396" resource_type_id="10172" name="free buffer requested" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Free buffer requested" display_order="91" description="Free buffer requested" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11397" resource_type_id="10172" name="dirty buffers inspected" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Dirty buffers inspected" display_order="92" description="Dirty buffers inspected" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11398" resource_type_id="10172" name="pinned buffers inspected" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Pinned buffers inspected" display_order="93" description="Pinned buffers inspected" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11399" resource_type_id="10172" name="hot buffers moved to head of LRU" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Hot buffers moved to head of LRU" display_order="94" description="Hot buffers moved to head of LRU" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11400" resource_type_id="10172" name="free buffer inspected" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Free buffer inspected" display_order="95" description="Free buffer inspected" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11401" resource_type_id="10172" name="commit cleanout failures: write disabled" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit cleanout failures: write disabled" display_order="96" description="Commit cleanout failures: write disabled" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11402" resource_type_id="10172" name="commit cleanout failures: block lost" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit cleanout failures: block lost" display_order="97" description="Commit cleanout failures: block lost" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11403" resource_type_id="10172" name="commit cleanout failures: cannot pin" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit cleanout failures: cannot pin" display_order="98" description="Commit cleanout failures: cannot pin" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11404" resource_type_id="10172" name="commit cleanout failures: hot backup in progress" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit cleanout failures: hot backup in progress" display_order="99" description="Commit cleanout failures: hot backup in progress" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11405" resource_type_id="10172" name="commit cleanout failures: buffer being written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit cleanout failures: buffer being written" display_order="100" description="Commit cleanout failures: buffer being written" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11406" resource_type_id="10172" name="commit cleanout failures: callback failure " resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit cleanout failures: callback failure " display_order="101" description="Commit cleanout failures: callback failure " destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11407" resource_type_id="10172" name="commit cleanouts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit cleanouts" display_order="102" description="Commit cleanouts" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11408" resource_type_id="10172" name="commit cleanouts successfully completed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit cleanouts successfully completed" display_order="103" description="Commit cleanouts successfully completed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11409" resource_type_id="10172" name="recovery array reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Recovery array reads" display_order="104" description="Recovery array reads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11410" resource_type_id="10172" name="recovery array read time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Recovery array read time" display_order="105" description="Recovery array read time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11411" resource_type_id="10172" name="CR blocks created" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="CR blocks created" display_order="106" description="CR blocks created" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11412" resource_type_id="10172" name="current blocks converted for CR" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Current blocks converted for CR" display_order="107" description="Current blocks converted for CR" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11413" resource_type_id="10172" name="switch current to new buffer" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Switch current to new buffer" display_order="108" description="Switch current to new buffer" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11414" resource_type_id="10172" name="write clones created in foreground" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Write clones created in foreground" display_order="109" description="Write clones created in foreground" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11415" resource_type_id="10172" name="write clones created in background" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Write clones created in background" display_order="110" description="Write clones created in background" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11416" resource_type_id="10172" name="write clones created for recovery" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Write clones created for recovery" display_order="111" description="Write clones created for recovery" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11417" resource_type_id="10172" name="physical reads cache prefetch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical reads cache prefetch" display_order="112" description="Physical reads cache prefetch" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11418" resource_type_id="10172" name="physical reads prefetch warmup" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical reads prefetch warmup" display_order="113" description="Physical reads prefetch warmup" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11419" resource_type_id="10172" name="prefetched blocks aged out before use" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetched blocks aged out before use" display_order="114" description="Prefetched blocks aged out before use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11420" resource_type_id="10172" name="prefetch warmup blocks aged out before use" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch warmup blocks aged out before use" display_order="115" description="Prefetch warmup blocks aged out before use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11421" resource_type_id="10172" name="prefetch warmup blocks flushed out before use" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prefetch warmup blocks flushed out before use" display_order="116" description="Prefetch warmup blocks flushed out before use" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11422" resource_type_id="10172" name="physical reads retry corrupt" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical reads retry corrupt" display_order="117" description="Physical reads retry corrupt" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11423" resource_type_id="10172" name="physical reads direct (lob)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical reads direct (lob)" display_order="118" description="Physical reads direct (lob)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11424" resource_type_id="10172" name="physical reads direct temporary tablespace" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical reads direct temporary tablespace" display_order="119" description="Physical reads direct temporary tablespace" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11425" resource_type_id="10172" name="physical writes direct (lob)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical writes direct (lob)" display_order="120" description="Physical writes direct (lob)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11426" resource_type_id="10172" name="physical writes direct temporary tablespace" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical writes direct temporary tablespace" display_order="121" description="Physical writes direct temporary tablespace" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11427" resource_type_id="10172" name="cold recycle reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cold recycle reads" display_order="122" description="Cold recycle reads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11428" resource_type_id="10172" name="shared hash latch upgrades - no wait" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Shared hash latch upgrades no wait" display_order="123" description="Shared hash latch upgrades no wait" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11429" resource_type_id="10172" name="shared hash latch upgrades - wait" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Shared hash latch upgrades wait" display_order="124" description="Shared hash latch upgrades wait" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11430" resource_type_id="10172" name="physical reads for flashback new" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Physical reads for flashback new" display_order="125" description="Physical reads for flashback new" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11431" resource_type_id="10172" name="calls to kcmgcs" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Calls to kcmgcs" display_order="126" description="Calls to kcmgcs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11432" resource_type_id="10172" name="calls to kcmgrs" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Calls to kcmgrs" display_order="127" description="Calls to kcmgrs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11433" resource_type_id="10172" name="calls to kcmgas" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Calls to kcmgas" display_order="128" description="Calls to kcmgas" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11434" resource_type_id="10172" name="calls to get snapshot scn: kcmgss" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Calls to get snapshot scn: kcmgss" display_order="129" description="Calls to get snapshot scn: kcmgss" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11435" resource_type_id="10172" name="redo blocks read for recovery" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo blocks read for recovery" display_order="130" description="Redo blocks read for recovery" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11436" resource_type_id="10172" name="redo entries" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo entries" display_order="131" description="Redo entries" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11437" resource_type_id="10172" name="redo size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo size" display_order="132" description="Redo size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11438" resource_type_id="10172" name="redo buffer allocation retries" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo buffer allocation retries" display_order="133" description="Redo buffer allocation retries" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11439" resource_type_id="10172" name="redo wastage" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo wastage" display_order="134" description="Redo wastage" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11440" resource_type_id="10172" name="redo writer latching time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo writer latching time" display_order="135" description="Redo writer latching time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11441" resource_type_id="10172" name="redo writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo writes" display_order="136" description="Redo writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11442" resource_type_id="10172" name="redo blocks written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo blocks written" display_order="137" description="Redo blocks written" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11443" resource_type_id="10172" name="redo write time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo write time" display_order="138" description="Redo write time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11444" resource_type_id="10172" name="redo log space requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo log space requests" display_order="139" description="Redo log space requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11445" resource_type_id="10172" name="redo log space wait time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo log space wait time" display_order="140" description="Redo log space wait time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11446" resource_type_id="10172" name="redo log switch interrupts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo log switch interrupts" display_order="141" description="Redo log switch interrupts" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11447" resource_type_id="10172" name="redo ordering marks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo ordering marks" display_order="142" description="Redo ordering marks" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11448" resource_type_id="10172" name="redo subscn max counts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Redo subscn max counts" display_order="143" description="Redo subscn max counts" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11449" resource_type_id="10172" name="gc cr blocks served" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc cr blocks served" display_order="144" description="Gc cr blocks served" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11450" resource_type_id="10172" name="gc cr block build time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc cr block build time" display_order="145" description="Gc cr block build time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11451" resource_type_id="10172" name="gc cr block flush time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc cr block flush time" display_order="146" description="Gc cr block flush time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11452" resource_type_id="10172" name="gc cr block send time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc cr block send time" display_order="147" description="Gc cr block send time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11453" resource_type_id="10172" name="gc current blocks served" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc current blocks served" display_order="148" description="Gc current blocks served" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11454" resource_type_id="10172" name="gc current block pin time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc current block pin time" display_order="149" description="Gc current block pin time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11455" resource_type_id="10172" name="gc current block flush time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc current block flush time" display_order="150" description="Gc current block flush time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11456" resource_type_id="10172" name="gc current block send time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc current block send time" display_order="151" description="Gc current block send time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11457" resource_type_id="10172" name="gc cr blocks received" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc cr blocks received" display_order="152" description="Gc cr blocks received" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11458" resource_type_id="10172" name="gc cr block receive time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc cr block receive time" display_order="153" description="Gc cr block receive time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11459" resource_type_id="10172" name="gc current blocks received" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc current blocks received" display_order="154" description="Gc current blocks received" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11460" resource_type_id="10172" name="gc current block receive time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc current block receive time" display_order="155" description="Gc current block receive time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11461" resource_type_id="10172" name="gc blocks lost" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc blocks lost" display_order="156" description="Gc blocks lost" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11462" resource_type_id="10172" name="gc claim blocks lost" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc claim blocks lost" display_order="157" description="Gc claim blocks lost" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11463" resource_type_id="10172" name="gc blocks corrupt" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc blocks corrupt" display_order="158" description="Gc blocks corrupt" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11464" resource_type_id="10172" name="gc CPU used by this session" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Gc CPU used by this session" display_order="159" description="Gc CPU used by this session" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11465" resource_type_id="10172" name="total number of slots" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total number of slots" display_order="160" description="Total number of slots" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11466" resource_type_id="10172" name="instance recovery database freeze count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Instance recovery database freeze count" display_order="161" description="Instance recovery database freeze count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11467" resource_type_id="10172" name="background checkpoints started" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Background checkpoints started" display_order="162" description="Background checkpoints started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11468" resource_type_id="10172" name="background checkpoints completed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Background checkpoints completed" display_order="163" description="Background checkpoints completed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11469" resource_type_id="10172" name="number of map operations" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of map operations" display_order="164" description="Number of map operations" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11470" resource_type_id="10172" name="number of map misses" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Number of map misses" display_order="165" description="Number of map misses" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11471" resource_type_id="10172" name="flashback log writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Flashback log writes" display_order="166" description="Flashback log writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11472" resource_type_id="10172" name="serializable aborts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Serializable aborts" display_order="167" description="Serializable aborts" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11473" resource_type_id="10172" name="transaction lock foreground requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transaction lock foreground requests" display_order="168" description="Transaction lock foreground requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11474" resource_type_id="10172" name="transaction lock foreground wait time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transaction lock foreground wait time" display_order="169" description="Transaction lock foreground wait time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11475" resource_type_id="10172" name="transaction lock background gets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transaction lock background gets" display_order="170" description="Transaction lock background gets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11476" resource_type_id="10172" name="transaction lock background get time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transaction lock background get time" display_order="171" description="Transaction lock background get time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11477" resource_type_id="10172" name="undo change vector size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Undo change vector size" display_order="172" description="Undo change vector size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11478" resource_type_id="10172" name="transaction tables consistent reads - undo records applied" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transaction tables consistent reads undo records applied" display_order="173" description="Transaction tables consistent reads undo records applied" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11479" resource_type_id="10172" name="transaction tables consistent read rollbacks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transaction tables consistent read rollbacks" display_order="174" description="Transaction tables consistent read rollbacks" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11480" resource_type_id="10172" name="data blocks consistent reads - undo records applied" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Data blocks consistent reads undo records applied" display_order="175" description="Data blocks consistent reads undo records applied" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11481" resource_type_id="10172" name="no work - consistent read gets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="No work consistent read gets" display_order="176" description="No work consistent read gets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11482" resource_type_id="10172" name="cleanouts only - consistent read gets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cleanouts only consistent read gets" display_order="177" description="Cleanouts only consistent read gets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11483" resource_type_id="10172" name="rollbacks only - consistent read gets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Rollbacks only consistent read gets" display_order="178" description="Rollbacks only consistent read gets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11484" resource_type_id="10172" name="cleanouts and rollbacks - consistent read gets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cleanouts and rollbacks consistent read gets" display_order="179" description="Cleanouts and rollbacks consistent read gets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11485" resource_type_id="10172" name="RowCR attempts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Row CR attempts" display_order="180" description="Row CR attempts" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11486" resource_type_id="10172" name="RowCR hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Row CR hits" display_order="181" description="Row CR hits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11487" resource_type_id="10172" name="RowCR - row contention" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Row CR row contention" display_order="182" description="Row CR row contention" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11488" resource_type_id="10172" name="RowCR - resume" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Row CR resume" display_order="183" description="Row CR resume" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11489" resource_type_id="10172" name="rollback changes - undo records applied" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Rollback changes undo records applied" display_order="184" description="Rollback changes undo records applied" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11490" resource_type_id="10172" name="transaction rollbacks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transaction rollbacks" display_order="185" description="Transaction rollbacks" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11491" resource_type_id="10172" name="immediate (CURRENT) block cleanout applications" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Immediate ( CURRENT) block cleanout applications" display_order="186" description="Immediate ( CURRENT) block cleanout applications" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11492" resource_type_id="10172" name="immediate (CR) block cleanout applications" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Immediate ( CR) block cleanout applications" display_order="187" description="Immediate ( CR) block cleanout applications" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11493" resource_type_id="10172" name="deferred (CURRENT) block cleanout applications" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Deferred ( CURRENT) block cleanout applications" display_order="188" description="Deferred ( CURRENT) block cleanout applications" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11494" resource_type_id="10172" name="commit txn count during cleanout" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit txn count during cleanout" display_order="189" description="Commit txn count during cleanout" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11495" resource_type_id="10172" name="active txn count during cleanout" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Active txn count during cleanout" display_order="190" description="Active txn count during cleanout" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11496" resource_type_id="10172" name="cleanout - number of ktugct calls" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cleanout number of ktugct calls" display_order="191" description="Cleanout number of ktugct calls" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11497" resource_type_id="10172" name="immediate CR cleanouts (index blocks)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Immediate CR cleanouts (index blocks)" display_order="192" description="Immediate CR cleanouts (index blocks)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11498" resource_type_id="10172" name="deferred CUR cleanouts (index blocks)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Deferred CUR cleanouts (index blocks)" display_order="193" description="Deferred CUR cleanouts (index blocks)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11499" resource_type_id="10172" name="Commit SCN cached" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit SCN cached" display_order="194" description="Commit SCN cached" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11500" resource_type_id="10172" name="Cached Commit SCN referenced" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cached Commit SCN referenced" display_order="195" description="Cached Commit SCN referenced" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11501" resource_type_id="10172" name="auto extends on undo tablespace" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Auto extends on undo tablespace" display_order="196" description="Auto extends on undo tablespace" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11502" resource_type_id="10172" name="drop segment calls in space pressure" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Drop segment calls in space pressure" display_order="197" description="Drop segment calls in space pressure" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11503" resource_type_id="10172" name="total number of undo segments dropped" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total number of undo segments dropped" display_order="198" description="Total number of undo segments dropped" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11504" resource_type_id="10172" name="doubling up with imu segment" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Doubling up with imu segment" display_order="199" description="Doubling up with imu segment" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11505" resource_type_id="10172" name="tune down retentions in space pressure" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Tune down retentions in space pressure" display_order="200" description="Tune down retentions in space pressure" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11506" resource_type_id="10172" name="steps of tune down ret. in space pressure" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Steps of tune down ret. in space pressure" display_order="201" description="Steps of tune down ret. in space pressure" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11507" resource_type_id="10172" name="space was found by tune down" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Space was found by tune down" display_order="202" description="Space was found by tune down" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11508" resource_type_id="10172" name="space was not found by tune down" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Space was not found by tune down" display_order="203" description="Space was not found by tune down" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11509" resource_type_id="10172" name="commit batch/immediate requested" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit batch/immediate requested" display_order="204" description="Commit batch/immediate requested" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11510" resource_type_id="10172" name="commit batch requested" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit batch requested" display_order="205" description="Commit batch requested" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11511" resource_type_id="10172" name="commit immediate requested" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit immediate requested" display_order="206" description="Commit immediate requested" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11512" resource_type_id="10172" name="commit batch/immediate performed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit batch/immediate performed" display_order="207" description="Commit batch/immediate performed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11513" resource_type_id="10172" name="commit batch performed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit batch performed" display_order="208" description="Commit batch performed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11514" resource_type_id="10172" name="commit immediate performed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit immediate performed" display_order="209" description="Commit immediate performed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11515" resource_type_id="10172" name="commit wait/nowait requested" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit wait/nowait requested" display_order="210" description="Commit wait/nowait requested" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11516" resource_type_id="10172" name="commit nowait requested" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit nowait requested" display_order="211" description="Commit nowait requested" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11517" resource_type_id="10172" name="commit wait requested" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit wait requested" display_order="212" description="Commit wait requested" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11518" resource_type_id="10172" name="commit wait/nowait performed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit wait/nowait performed" display_order="213" description="Commit wait/nowait performed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11519" resource_type_id="10172" name="commit nowait performed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit nowait performed" display_order="214" description="Commit nowait performed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11520" resource_type_id="10172" name="commit wait performed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Commit wait performed" display_order="215" description="Commit wait performed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11521" resource_type_id="10172" name="global undo segment hints helped" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Global undo segment hints helped" display_order="216" description="Global undo segment hints helped" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11522" resource_type_id="10172" name="global undo segment hints were stale" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Global undo segment hints were stale" display_order="217" description="Global undo segment hints were stale" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11523" resource_type_id="10172" name="local undo segment hints helped" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Local undo segment hints helped" display_order="218" description="Local undo segment hints helped" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11524" resource_type_id="10172" name="local undo segment hints were stale" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Local undo segment hints were stale" display_order="219" description="Local undo segment hints were stale" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11525" resource_type_id="10172" name="undo segment header was pinned" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Undo segment header was pinned" display_order="220" description="Undo segment header was pinned" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11526" resource_type_id="10172" name="total number of times SMON posted" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Total number of times SMON posted" display_order="221" description="Total number of times SMON posted" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11527" resource_type_id="10172" name="SMON posted for undo segment recovery" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="SMON posted for undo segment recovery" display_order="222" description="SMON posted for undo segment recovery" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11528" resource_type_id="10172" name="SMON posted for txn recovery for other instances" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="SMON posted for txn recovery for other instances" display_order="223" description="SMON posted for txn recovery for other instances" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11529" resource_type_id="10172" name="SMON posted for instance recovery" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="SMON posted for instance recovery" display_order="224" description="SMON posted for instance recovery" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11530" resource_type_id="10172" name="SMON posted for undo segment shrink" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="SMON posted for undo segment shrink" display_order="225" description="SMON posted for undo segment shrink" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11531" resource_type_id="10172" name="SMON posted for dropping temp segment" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="SMON posted for dropping temp segment" display_order="226" description="SMON posted for dropping temp segment" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11532" resource_type_id="10172" name="SMON posted for supplemental logging cleanup" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="SMON posted for supplemental logging cleanup" display_order="227" description="SMON posted for supplemental logging cleanup" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11533" resource_type_id="10172" name="IMU commits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU commits" display_order="228" description="IMU commits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11534" resource_type_id="10172" name="IMU Flushes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU Flushes" display_order="229" description="IMU Flushes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11535" resource_type_id="10172" name="IMU contention" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU contention" display_order="230" description="IMU contention" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11536" resource_type_id="10172" name="IMU recursive-transaction flush" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU recursive Transaction flush" display_order="231" description="IMU recursive Transaction flush" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11537" resource_type_id="10172" name="IMU undo retention flush" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU undo retention flush" display_order="232" description="IMU undo retention flush" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11538" resource_type_id="10172" name="IMU ktichg flush" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU ktichg flush" display_order="233" description="IMU ktichg flush" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11539" resource_type_id="10172" name="IMU bind flushes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU bind flushes" display_order="234" description="IMU bind flushes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11540" resource_type_id="10172" name="IMU mbu flush" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU mbu flush" display_order="235" description="IMU mbu flush" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11541" resource_type_id="10172" name="IMU pool not allocated" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU pool not allocated" display_order="236" description="IMU pool not allocated" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11542" resource_type_id="10172" name="IMU CR rollbacks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU CR rollbacks" display_order="237" description="IMU CR rollbacks" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11543" resource_type_id="10172" name="IMU undo allocation size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU undo allocation size" display_order="238" description="IMU undo allocation size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11544" resource_type_id="10172" name="IMU Redo allocation size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU Redo allocation size" display_order="239" description="IMU Redo allocation size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11545" resource_type_id="10172" name="IMU- failed to get a private strand" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="IMU failed to get a private strand" display_order="240" description="IMU failed to get a private strand" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11546" resource_type_id="10172" name="Misses for writing mapping" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Misses for writing mapping" display_order="241" description="Misses for writing mapping" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11547" resource_type_id="10172" name="table scans (short tables)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table scans (short tables)" display_order="242" description="Table scans (short tables)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11548" resource_type_id="10172" name="table scans (long tables)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table scans (long tables)" display_order="243" description="Table scans (long tables)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11549" resource_type_id="10172" name="table scans (rowid ranges)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table scans (rowid ranges)" display_order="244" description="Table scans (rowid ranges)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11550" resource_type_id="10172" name="table scans (cache partitions)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table scans (cache partitions)" display_order="245" description="Table scans (cache partitions)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11551" resource_type_id="10172" name="table scans (direct read)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table scans (direct read)" display_order="246" description="Table scans (direct read)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11552" resource_type_id="10172" name="table scan rows gotten" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table scan rows gotten" display_order="247" description="Table scan rows gotten" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11553" resource_type_id="10172" name="table scan blocks gotten" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table scan blocks gotten" display_order="248" description="Table scan blocks gotten" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11554" resource_type_id="10172" name="table fetch by rowid" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table fetch by rowid" display_order="249" description="Table fetch by rowid" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11555" resource_type_id="10172" name="table fetch continued row" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table fetch continued row" display_order="250" description="Table fetch continued row" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11556" resource_type_id="10172" name="cluster key scans" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cluster key scans" display_order="251" description="Cluster key scans" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11557" resource_type_id="10172" name="cluster key scan block gets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cluster key scan block gets" display_order="252" description="Cluster key scan block gets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11558" resource_type_id="10172" name="rows fetched via callback" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Rows fetched via callback" display_order="253" description="Rows fetched via callback" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11559" resource_type_id="10172" name="queue update without cp update" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Queue update without cp update" display_order="254" description="Queue update without cp update" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11560" resource_type_id="10172" name="leaf node splits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Leaf node splits" display_order="255" description="Leaf node splits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11561" resource_type_id="10172" name="leaf node 90-10 splits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Leaf node 9010 splits" display_order="256" description="Leaf node 9010 splits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11562" resource_type_id="10172" name="branch node splits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Branch node splits" display_order="257" description="Branch node splits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11563" resource_type_id="10172" name="native hash arithmetic execute" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Native hash arithmetic execute" display_order="258" description="Native hash arithmetic execute" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11564" resource_type_id="10172" name="native hash arithmetic fail" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Native hash arithmetic fail" display_order="259" description="Native hash arithmetic fail" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11565" resource_type_id="10172" name="lob reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Lob reads" display_order="260" description="Lob reads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11566" resource_type_id="10172" name="lob writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Lob writes" display_order="261" description="Lob writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11567" resource_type_id="10172" name="lob writes unaligned" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Lob writes unaligned" display_order="262" description="Lob writes unaligned" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11568" resource_type_id="10172" name="index fast full scans (full)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Index fast full scans (full)" display_order="263" description="Index fast full scans (full)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11569" resource_type_id="10172" name="index fast full scans (rowid ranges)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Index fast full scans (rowid ranges)" display_order="264" description="Index fast full scans (rowid ranges)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11570" resource_type_id="10172" name="index fast full scans (direct read)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Index fast full scans (direct read)" display_order="265" description="Index fast full scans (direct read)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11571" resource_type_id="10172" name="index fetch by key" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Index fetch by key" display_order="266" description="Index fetch by key" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11572" resource_type_id="10172" name="index scans kdiixs1" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Index scans kdiixs 1" display_order="267" description="Index scans kdiixs 1" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11573" resource_type_id="10172" name="queue splits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Queue splits" display_order="268" description="Queue splits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11574" resource_type_id="10172" name="queue flush" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Queue flush" display_order="269" description="Queue flush" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11575" resource_type_id="10172" name="queue position update" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Queue position update" display_order="270" description="Queue position update" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11576" resource_type_id="10172" name="queue single row" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Queue single row" display_order="271" description="Queue single row" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11577" resource_type_id="10172" name="queue ocp pages" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Queue ocp pages" display_order="272" description="Queue ocp pages" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11578" resource_type_id="10172" name="queue qno pages" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Queue qno pages" display_order="273" description="Queue qno pages" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11579" resource_type_id="10172" name="heap block compress" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Heap block compress" display_order="274" description="Heap block compress" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11580" resource_type_id="10172" name="sql area purged" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Sql area purged" display_order="275" description="Sql area purged" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11581" resource_type_id="10172" name="sql area aged" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Sql area aged" display_order="276" description="Sql area aged" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11582" resource_type_id="10172" name="session cursor cache hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Session cursor cache hits" display_order="277" description="Session cursor cache hits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11583" resource_type_id="10172" name="session cursor cache count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Session cursor cache count" display_order="278" description="Session cursor cache count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11584" resource_type_id="10172" name="java call heap total size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap total size" display_order="279" description="Java call heap total size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11585" resource_type_id="10172" name="java call heap total size max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap total size max" display_order="280" description="Java call heap total size max" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11586" resource_type_id="10172" name="java call heap used size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap used size" display_order="281" description="Java call heap used size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11587" resource_type_id="10172" name="java call heap used size max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap used size max" display_order="282" description="Java call heap used size max" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11588" resource_type_id="10172" name="java call heap live size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap live size" display_order="283" description="Java call heap live size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11589" resource_type_id="10172" name="java call heap live size max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap live size max" display_order="284" description="Java call heap live size max" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11590" resource_type_id="10172" name="java call heap object count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap object count" display_order="285" description="Java call heap object count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11591" resource_type_id="10172" name="java call heap object count max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap object count max" display_order="286" description="Java call heap object count max" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11592" resource_type_id="10172" name="java call heap live object count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap live object count" display_order="287" description="Java call heap live object count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11593" resource_type_id="10172" name="java call heap live object count max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap live object count max" display_order="288" description="Java call heap live object count max" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11594" resource_type_id="10172" name="java call heap gc count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap gc count" display_order="289" description="Java call heap gc count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11595" resource_type_id="10172" name="java call heap collected count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap collected count" display_order="290" description="Java call heap collected count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11596" resource_type_id="10172" name="java call heap collected bytes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java call heap collected bytes" display_order="291" description="Java call heap collected bytes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11597" resource_type_id="10172" name="java session heap used size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap used size" display_order="292" description="Java session heap used size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11598" resource_type_id="10172" name="java session heap used size max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap used size max" display_order="293" description="Java session heap used size max" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11599" resource_type_id="10172" name="java session heap live size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap live size" display_order="294" description="Java session heap live size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11600" resource_type_id="10172" name="java session heap live size max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap live size max" display_order="295" description="Java session heap live size max" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11601" resource_type_id="10172" name="java session heap object count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap object count" display_order="296" description="Java session heap object count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11602" resource_type_id="10172" name="java session heap object count max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap object count max" display_order="297" description="Java session heap object count max" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11603" resource_type_id="10172" name="java session heap live object count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap live object count" display_order="298" description="Java session heap live object count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11604" resource_type_id="10172" name="java session heap live object count max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap live object count max" display_order="299" description="Java session heap live object count max" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11605" resource_type_id="10172" name="java session heap gc count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap gc count" display_order="300" description="Java session heap gc count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11606" resource_type_id="10172" name="java session heap collected count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap collected count" display_order="301" description="Java session heap collected count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11607" resource_type_id="10172" name="java session heap collected bytes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Java session heap collected bytes" display_order="302" description="Java session heap collected bytes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11608" resource_type_id="10172" name="cursor authentications" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Cursor authentications" display_order="303" description="Cursor authentications" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11609" resource_type_id="10172" name="queries parallelized" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Queries parallelized" display_order="304" description="Queries parallelized" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11610" resource_type_id="10172" name="DML statements parallelized" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DML statements parallelized" display_order="305" description="DML statements parallelized" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11611" resource_type_id="10172" name="DDL statements parallelized" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DDL statements parallelized" display_order="306" description="DDL statements parallelized" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11612" resource_type_id="10172" name="DFO trees parallelized" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="DFO trees parallelized" display_order="307" description="DFO trees parallelized" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11613" resource_type_id="10172" name="Parallel operations not downgraded" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parallel operations not downgraded" display_order="308" description="Parallel operations not downgraded" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11614" resource_type_id="10172" name="Parallel operations downgraded to serial" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parallel operations downgraded to serial" display_order="309" description="Parallel operations downgraded to serial" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11615" resource_type_id="10172" name="Parallel operations downgraded 75 to 99 pct" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parallel operations downgraded 75 to 99 pct" display_order="310" description="Parallel operations downgraded 75 to 99 pct" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11616" resource_type_id="10172" name="Parallel operations downgraded 50 to 75 pct" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parallel operations downgraded 50 to 75 pct" display_order="311" description="Parallel operations downgraded 50 to 75 pct" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11617" resource_type_id="10172" name="Parallel operations downgraded 25 to 50 pct" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parallel operations downgraded 25 to 50 pct" display_order="312" description="Parallel operations downgraded 25 to 50 pct" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11618" resource_type_id="10172" name="Parallel operations downgraded 1 to 25 pct" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parallel operations downgraded 1 to 25 pct" display_order="313" description="Parallel operations downgraded 1 to 25 pct" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11619" resource_type_id="10172" name="PX local messages sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="PX local messages sent" display_order="314" description="PX local messages sent" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11620" resource_type_id="10172" name="PX local messages recv'd" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="PX local messages recv'd" display_order="315" description="PX local messages recv'd" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11621" resource_type_id="10172" name="PX remote messages sent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="PX remote messages sent" display_order="316" description="PX remote messages sent" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11622" resource_type_id="10172" name="PX remote messages recv'd" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="PX remote messages recv'd" display_order="317" description="PX remote messages recv'd" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11623" resource_type_id="10172" name="buffer is pinned count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Buffer is pinned count" display_order="318" description="Buffer is pinned count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11624" resource_type_id="10172" name="buffer is not pinned count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Buffer is not pinned count" display_order="319" description="Buffer is not pinned count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11625" resource_type_id="10172" name="no buffer to keep pinned count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="No buffer to keep pinned count" display_order="320" description="No buffer to keep pinned count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11626" resource_type_id="10172" name="table lookup prefetch client count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table lookup prefetch client count" display_order="321" description="Table lookup prefetch client count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11627" resource_type_id="10172" name="workarea memory allocated" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Workarea memory allocated" display_order="322" description="Workarea memory allocated" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11628" resource_type_id="10172" name="workarea executions - optimal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Workarea executions optimal" display_order="323" description="Workarea executions optimal" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11629" resource_type_id="10172" name="workarea executions - onepass" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Workarea executions onepass" display_order="324" description="Workarea executions onepass" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11630" resource_type_id="10172" name="workarea executions - multipass" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Workarea executions multipass" display_order="325" description="Workarea executions multipass" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11631" resource_type_id="10172" name="parse time cpu" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parse time cpu" display_order="326" description="Parse time cpu" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11632" resource_type_id="10172" name="parse time elapsed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parse time elapsed" display_order="327" description="Parse time elapsed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11633" resource_type_id="10172" name="parse count (total)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parse count (total)" display_order="328" description="Parse count (total)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11634" resource_type_id="10172" name="parse count (hard)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parse count (hard)" display_order="329" description="Parse count (hard)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11635" resource_type_id="10172" name="parse count (failures)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Parse count (failures)" display_order="330" description="Parse count (failures)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11636" resource_type_id="10172" name="frame signature mismatch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Frame signature mismatch" display_order="331" description="Frame signature mismatch" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11637" resource_type_id="10172" name="execute count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Execute count" display_order="332" description="Execute count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11638" resource_type_id="10172" name="bytes sent via SQL*Net to client" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Bytes sent via SQL* Net to client" display_order="333" description="Bytes sent via SQL* Net to client" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11639" resource_type_id="10172" name="bytes received via SQL*Net from client" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Bytes received via SQL* Net from client" display_order="334" description="Bytes received via SQL* Net from client" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11640" resource_type_id="10172" name="SQL*Net roundtrips to/from client" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="SQL* Net roundtrips to/from client" display_order="335" description="SQL* Net roundtrips to/from client" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11641" resource_type_id="10172" name="bytes sent via SQL*Net to dblink" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Bytes sent via SQL* Net to dblink" display_order="336" description="Bytes sent via SQL* Net to dblink" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11642" resource_type_id="10172" name="bytes received via SQL*Net from dblink" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Bytes received via SQL* Net from dblink" display_order="337" description="Bytes received via SQL* Net from dblink" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11643" resource_type_id="10172" name="SQL*Net roundtrips to/from dblink" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="SQL* Net roundtrips to/from dblink" display_order="338" description="SQL* Net roundtrips to/from dblink" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11644" resource_type_id="10172" name="sorts (memory)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Sorts (memory)" display_order="339" description="Sorts (memory)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11645" resource_type_id="10172" name="sorts (disk)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Sorts (disk)" display_order="340" description="Sorts (disk)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11646" resource_type_id="10172" name="sorts (rows)" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Sorts (rows)" display_order="341" description="Sorts (rows)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11647" resource_type_id="10172" name="OTC commit optimization attempts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="OTC commit optimization attempts" display_order="342" description="OTC commit optimization attempts" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11648" resource_type_id="10172" name="OTC commit optimization hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="OTC commit optimization hits" display_order="343" description="OTC commit optimization hits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11649" resource_type_id="10172" name="OTC commit optimization failure - setup" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="OTC commit optimization failure setup" display_order="344" description="OTC commit optimization failure setup" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11650" resource_type_id="10173" name="Buffer Cache Hit Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Buffer Cache Hit Ratio" display_order="1" description="Buffer Cache Hit Ratio" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11651" resource_type_id="10173" name="Memory Sorts Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Memory Sorts Ratio" display_order="2" description="Memory Sorts Ratio" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11652" resource_type_id="10173" name="Redo Allocation Hit Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Redo Allocation Hit Ratio" display_order="3" description="Redo Allocation Hit Ratio" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11653" resource_type_id="10173" name="User Transaction Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="User Transaction Per Sec" display_order="4" description="User Transaction Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11654" resource_type_id="10173" name="Physical Reads Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical Reads Per Sec" display_order="5" description="Physical Reads Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11655" resource_type_id="10173" name="Physical Reads Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Reads Per Txn" display_order="6" description="Physical Reads Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11656" resource_type_id="10173" name="Physical Writes Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Physical Writes Per Sec" display_order="7" description="Physical Writes Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11657" resource_type_id="10173" name="Physical Writes Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Writes Per Txn" display_order="8" description="Physical Writes Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11658" resource_type_id="10173" name="Physical Reads Direct Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Reads Direct Per Sec" display_order="9" description="Physical Reads Direct Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11659" resource_type_id="10173" name="Physical Reads Direct Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Reads Direct Per Txn" display_order="10" description="Physical Reads Direct Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11660" resource_type_id="10173" name="Physical Writes Direct Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Writes Direct Per Sec" display_order="11" description="Physical Writes Direct Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11661" resource_type_id="10173" name="Physical Writes Direct Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Writes Direct Per Txn" display_order="12" description="Physical Writes Direct Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11662" resource_type_id="10173" name="Physical Reads Direct Lobs Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Reads Direct Lobs Per Sec" display_order="13" description="Physical Reads Direct Lobs Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11663" resource_type_id="10173" name="Physical Reads Direct Lobs Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Reads Direct Lobs Per Txn" display_order="14" description="Physical Reads Direct Lobs Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11664" resource_type_id="10173" name="Physical Writes Direct Lobs Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Writes Direct Lobs Per Sec" display_order="15" description="Physical Writes Direct Lobs Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11665" resource_type_id="10173" name="Physical Writes Direct Lobs Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Writes Direct Lobs Per Txn" display_order="16" description="Physical Writes Direct Lobs Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11666" resource_type_id="10173" name="Redo Generated Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Redo Generated Per Sec" display_order="17" description="Redo Generated Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11667" resource_type_id="10173" name="Redo Generated Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Redo Generated Per Txn" display_order="18" description="Redo Generated Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11668" resource_type_id="10173" name="Logons Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Logons Per Sec" display_order="19" description="Logons Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11669" resource_type_id="10173" name="Logons Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Logons Per Txn" display_order="20" description="Logons Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11670" resource_type_id="10173" name="Open Cursors Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Open Cursors Per Sec" display_order="21" description="Open Cursors Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11671" resource_type_id="10173" name="Open Cursors Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Open Cursors Per Txn" display_order="22" description="Open Cursors Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11672" resource_type_id="10173" name="User Commits Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Commits Per Sec" display_order="23" description="User Commits Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11673" resource_type_id="10173" name="User Commits Percentage" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Commits Percentage" display_order="24" description="User Commits Percentage" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11674" resource_type_id="10173" name="User Rollbacks Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Rollbacks Per Sec" display_order="25" description="User Rollbacks Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11675" resource_type_id="10173" name="User Rollbacks Percentage" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Rollbacks Percentage" display_order="26" description="User Rollbacks Percentage" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11676" resource_type_id="10173" name="User Calls Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Calls Per Sec" display_order="27" description="User Calls Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11677" resource_type_id="10173" name="User Calls Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Calls Per Txn" display_order="28" description="User Calls Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11678" resource_type_id="10173" name="Recursive Calls Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Recursive Calls Per Sec" display_order="29" description="Recursive Calls Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11679" resource_type_id="10173" name="Recursive Calls Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Recursive Calls Per Txn" display_order="30" description="Recursive Calls Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11680" resource_type_id="10173" name="Logical Reads Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Logical Reads Per Sec" display_order="31" description="Logical Reads Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11681" resource_type_id="10173" name="Logical Reads Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Logical Reads Per Txn" display_order="32" description="Logical Reads Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11682" resource_type_id="10173" name="DBWR Checkpoints Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="DBWR Checkpoints Per Sec" display_order="33" description="DBWR Checkpoints Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11683" resource_type_id="10173" name="Background Checkpoints Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Background Checkpoints Per Sec" display_order="34" description="Background Checkpoints Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11684" resource_type_id="10173" name="Redo Writes Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Redo Writes Per Sec" display_order="35" description="Redo Writes Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11685" resource_type_id="10173" name="Redo Writes Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Redo Writes Per Txn" display_order="36" description="Redo Writes Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11686" resource_type_id="10173" name="Long Table Scans Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Long Table Scans Per Sec" display_order="37" description="Long Table Scans Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11687" resource_type_id="10173" name="Long Table Scans Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Long Table Scans Per Txn" display_order="38" description="Long Table Scans Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11688" resource_type_id="10173" name="Total Table Scans Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Table Scans Per Sec" display_order="39" description="Total Table Scans Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11689" resource_type_id="10173" name="Total Table Scans Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Table Scans Per Txn" display_order="40" description="Total Table Scans Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11690" resource_type_id="10173" name="Full Index Scans Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Full Index Scans Per Sec" display_order="41" description="Full Index Scans Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11691" resource_type_id="10173" name="Full Index Scans Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Full Index Scans Per Txn" display_order="42" description="Full Index Scans Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11692" resource_type_id="10173" name="Total Index Scans Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Index Scans Per Sec" display_order="43" description="Total Index Scans Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11693" resource_type_id="10173" name="Total Index Scans Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Index Scans Per Txn" display_order="44" description="Total Index Scans Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11694" resource_type_id="10173" name="Total Parse Count Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Parse Count Per Sec" display_order="45" description="Total Parse Count Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11695" resource_type_id="10173" name="Total Parse Count Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Parse Count Per Txn" display_order="46" description="Total Parse Count Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11696" resource_type_id="10173" name="Hard Parse Count Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Hard Parse Count Per Sec" display_order="47" description="Hard Parse Count Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11697" resource_type_id="10173" name="Hard Parse Count Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Hard Parse Count Per Txn" display_order="48" description="Hard Parse Count Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11698" resource_type_id="10173" name="Parse Failure Count Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Parse Failure Count Per Sec" display_order="49" description="Parse Failure Count Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11699" resource_type_id="10173" name="Parse Failure Count Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Parse Failure Count Per Txn" display_order="50" description="Parse Failure Count Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11700" resource_type_id="10173" name="Cursor Cache Hit Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Cursor Cache Hit Ratio" display_order="51" description="Cursor Cache Hit Ratio" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11701" resource_type_id="10173" name="Disk Sort Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Disk Sort Per Sec" display_order="52" description="Disk Sort Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11702" resource_type_id="10173" name="Disk Sort Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Disk Sort Per Txn" display_order="53" description="Disk Sort Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11703" resource_type_id="10173" name="Rows Per Sort" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Rows Per Sort" display_order="54" description="Rows Per Sort" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11704" resource_type_id="10173" name="Execute Without Parse Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Execute Without Parse Ratio" display_order="55" description="Execute Without Parse Ratio" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11705" resource_type_id="10173" name="Soft Parse Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Soft Parse Ratio" display_order="56" description="Soft Parse Ratio" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11706" resource_type_id="10173" name="User Calls Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Calls Ratio" display_order="57" description="User Calls Ratio" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11707" resource_type_id="10173" name="Host CPU Utilization (%)" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Host CPU Utilization (%)" display_order="58" description="Host CPU Utilization (%)" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11708" resource_type_id="10173" name="Network Traffic Volume Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Network Traffic Volume Per Sec" display_order="59" description="Network Traffic Volume Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11709" resource_type_id="10173" name="Enqueue Timeouts Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Enqueue Timeouts Per Sec" display_order="60" description="Enqueue Timeouts Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11710" resource_type_id="10173" name="Enqueue Timeouts Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Enqueue Timeouts Per Txn" display_order="61" description="Enqueue Timeouts Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11711" resource_type_id="10173" name="Enqueue Waits Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Enqueue Waits Per Sec" display_order="62" description="Enqueue Waits Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11712" resource_type_id="10173" name="Enqueue Waits Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Enqueue Waits Per Txn" display_order="63" description="Enqueue Waits Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11713" resource_type_id="10173" name="Enqueue Deadlocks Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Enqueue Deadlocks Per Sec" display_order="64" description="Enqueue Deadlocks Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11714" resource_type_id="10173" name="Enqueue Deadlocks Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Enqueue Deadlocks Per Txn" display_order="65" description="Enqueue Deadlocks Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11715" resource_type_id="10173" name="Enqueue Requests Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Enqueue Requests Per Sec" display_order="66" description="Enqueue Requests Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11716" resource_type_id="10173" name="Enqueue Requests Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Enqueue Requests Per Txn" display_order="67" description="Enqueue Requests Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11717" resource_type_id="10173" name="DB Block Gets Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="DB Block Gets Per Sec" display_order="68" description="DB Block Gets Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11718" resource_type_id="10173" name="DB Block Gets Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="DB Block Gets Per Txn" display_order="69" description="DB Block Gets Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11719" resource_type_id="10173" name="Consistent Read Gets Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Consistent Read Gets Per Sec" display_order="70" description="Consistent Read Gets Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11720" resource_type_id="10173" name="Consistent Read Gets Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Consistent Read Gets Per Txn" display_order="71" description="Consistent Read Gets Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11721" resource_type_id="10173" name="DB Block Changes Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="DB Block Changes Per Sec" display_order="72" description="DB Block Changes Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11722" resource_type_id="10173" name="DB Block Changes Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="DB Block Changes Per Txn" display_order="73" description="DB Block Changes Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11723" resource_type_id="10173" name="Consistent Read Changes Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Consistent Read Changes Per Sec" display_order="74" description="Consistent Read Changes Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11724" resource_type_id="10173" name="Consistent Read Changes Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Consistent Read Changes Per Txn" display_order="75" description="Consistent Read Changes Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11725" resource_type_id="10173" name="CPU Usage Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="CPU Usage Per Sec" display_order="76" description="CPU Usage Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11726" resource_type_id="10173" name="CPU Usage Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="CPU Usage Per Txn" display_order="77" description="CPU Usage Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11727" resource_type_id="10173" name="CR Blocks Created Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="CR Blocks Created Per Sec" display_order="78" description="CR Blocks Created Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11728" resource_type_id="10173" name="CR Blocks Created Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="CR Blocks Created Per Txn" display_order="79" description="CR Blocks Created Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11729" resource_type_id="10173" name="CR Undo Records Applied Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="CR Undo Records Applied Per Sec" display_order="80" description="CR Undo Records Applied Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11730" resource_type_id="10173" name="CR Undo Records Applied Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="CR Undo Records Applied Per Txn" display_order="81" description="CR Undo Records Applied Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11731" resource_type_id="10173" name="User Rollback UndoRec Applied Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Rollback Undo Rec Applied Per Sec" display_order="82" description="User Rollback Undo Rec Applied Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11732" resource_type_id="10173" name="User Rollback Undo Records Applied Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Rollback Undo Records Applied Per Txn" display_order="83" description="User Rollback Undo Records Applied Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11733" resource_type_id="10173" name="Leaf Node Splits Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Leaf Node Splits Per Sec" display_order="84" description="Leaf Node Splits Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11734" resource_type_id="10173" name="Leaf Node Splits Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Leaf Node Splits Per Txn" display_order="85" description="Leaf Node Splits Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11735" resource_type_id="10173" name="Branch Node Splits Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Branch Node Splits Per Sec" display_order="86" description="Branch Node Splits Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11736" resource_type_id="10173" name="Branch Node Splits Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Branch Node Splits Per Txn" display_order="87" description="Branch Node Splits Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11737" resource_type_id="10173" name="PX downgraded 25% or more Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="PX downgraded 25% or more Per Sec" display_order="88" description="PX downgraded 25% or more Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11738" resource_type_id="10173" name="PX downgraded 50% or more Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="PX downgraded 50% or more Per Sec" display_order="89" description="PX downgraded 50% or more Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11739" resource_type_id="10173" name="PX downgraded 75% or more Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="PX downgraded 75% or more Per Sec" display_order="90" description="PX downgraded 75% or more Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11740" resource_type_id="10173" name="PX downgraded Parallel Operation Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="PX downgraded Parallel Operation Per Sec" display_order="91" description="PX downgraded Parallel Operation Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11741" resource_type_id="10173" name="PX downgraded to serial Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="PX downgraded to serial Per Sec" display_order="92" description="PX downgraded to serial Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11742" resource_type_id="10173" name="Physical Read Total IO Requests Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Read Total IO Requests Per Sec" display_order="93" description="Physical Read Total IO Requests Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11743" resource_type_id="10173" name="Physical Read Total Bytes Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Read Total Bytes Per Sec" display_order="94" description="Physical Read Total Bytes Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11744" resource_type_id="10173" name="GC CR Block Received Per Second" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="GC CR Block Received Per Second" display_order="95" description="GC CR Block Received Per Second" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11745" resource_type_id="10173" name="GC CR Block Received Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="GC CR Block Received Per Txn" display_order="96" description="GC CR Block Received Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11746" resource_type_id="10173" name="GC Current Block Received Per Second" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="GC Current Block Received Per Second" display_order="97" description="GC Current Block Received Per Second" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11747" resource_type_id="10173" name="GC Current Block Received Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="GC Current Block Received Per Txn" display_order="98" description="GC Current Block Received Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11748" resource_type_id="10173" name="Global Cache Average CR Get Time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Global Cache Average CR Get Time" display_order="99" description="Global Cache Average CR Get Time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11749" resource_type_id="10173" name="Global Cache Average Current Get Time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Global Cache Average Current Get Time" display_order="100" description="Global Cache Average Current Get Time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11750" resource_type_id="10173" name="Physical Write Total IO Requests Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Write Total IO Requests Per Sec" display_order="101" description="Physical Write Total IO Requests Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11751" resource_type_id="10173" name="Global Cache Blocks Corrupted" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Global Cache Blocks Corrupted" display_order="102" description="Global Cache Blocks Corrupted" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11752" resource_type_id="10173" name="Global Cache Blocks Lost" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Global Cache Blocks Lost" display_order="103" description="Global Cache Blocks Lost" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11753" resource_type_id="10173" name="Current Logons Count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current Logons Count" display_order="104" description="Current Logons Count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11754" resource_type_id="10173" name="Current Open Cursors Count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current Open Cursors Count" display_order="105" description="Current Open Cursors Count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11755" resource_type_id="10173" name="User Limit %" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="User Limit %" display_order="106" description="User Limit %" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11756" resource_type_id="10173" name="SQL Service Response Time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="SQL Service Response Time" display_order="107" description="SQL Service Response Time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11757" resource_type_id="10173" name="Database Wait Time Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Database Wait Time Ratio" display_order="108" description="Database Wait Time Ratio" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11758" resource_type_id="10173" name="Database CPU Time Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Database CPU Time Ratio" display_order="109" description="Database CPU Time Ratio" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11759" resource_type_id="10173" name="Response Time Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Response Time Per Txn" display_order="110" description="Response Time Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11760" resource_type_id="10173" name="Row Cache Hit Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Row Cache Hit Ratio" display_order="111" description="Row Cache Hit Ratio" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11761" resource_type_id="10173" name="Row Cache Miss Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Row Cache Miss Ratio" display_order="112" description="Row Cache Miss Ratio" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11762" resource_type_id="10173" name="Library Cache Hit Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Library Cache Hit Ratio" display_order="113" description="Library Cache Hit Ratio" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11763" resource_type_id="10173" name="Library Cache Miss Ratio" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Library Cache Miss Ratio" display_order="114" description="Library Cache Miss Ratio" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11764" resource_type_id="10173" name="Shared Pool Free %" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Shared Pool Free %" display_order="115" description="Shared Pool Free %" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11765" resource_type_id="10173" name="PGA Cache Hit %" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="PGA Cache Hit %" display_order="116" description="PGA Cache Hit %" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11766" resource_type_id="10173" name="Process Limit %" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Process Limit %" display_order="117" description="Process Limit %" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11767" resource_type_id="10173" name="Session Limit %" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Session Limit %" display_order="118" description="Session Limit %" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11768" resource_type_id="10173" name="Executions Per Txn" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Executions Per Txn" display_order="119" description="Executions Per Txn" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11769" resource_type_id="10173" name="Executions Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Executions Per Sec" display_order="120" description="Executions Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11770" resource_type_id="10173" name="Txns Per Logon" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Txns Per Logon" display_order="121" description="Txns Per Logon" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11771" resource_type_id="10173" name="Database Time Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Database Time Per Sec" display_order="122" description="Database Time Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11772" resource_type_id="10173" name="Physical Write Total Bytes Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Write Total Bytes Per Sec" display_order="123" description="Physical Write Total Bytes Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11773" resource_type_id="10173" name="Physical Read IO Requests Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Read IO Requests Per Sec" display_order="124" description="Physical Read IO Requests Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11774" resource_type_id="10173" name="Physical Read Bytes Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Read Bytes Per Sec" display_order="125" description="Physical Read Bytes Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11775" resource_type_id="10173" name="Physical Write IO Requests Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Write IO Requests Per Sec" display_order="126" description="Physical Write IO Requests Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11776" resource_type_id="10173" name="Physical Write Bytes Per Sec" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Physical Write Bytes Per Sec" display_order="127" description="Physical Write Bytes Per Sec" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11777" resource_type_id="10173" name="DB Block Changes Per User Call" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="DB Block Changes Per User Call" display_order="128" description="DB Block Changes Per User Call" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11778" resource_type_id="10173" name="DB Block Gets Per User Call" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="DB Block Gets Per User Call" display_order="129" description="DB Block Gets Per User Call" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11779" resource_type_id="10173" name="Executions Per User Call" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Executions Per User Call" display_order="130" description="Executions Per User Call" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11780" resource_type_id="10173" name="Logical Reads Per User Call" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Logical Reads Per User Call" display_order="131" description="Logical Reads Per User Call" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11781" resource_type_id="10173" name="Total Sorts Per User Call" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Sorts Per User Call" display_order="132" description="Total Sorts Per User Call" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11782" resource_type_id="10173" name="Total Table Scans Per User Call" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Total Table Scans Per User Call" display_order="133" description="Total Table Scans Per User Call" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11783" resource_type_id="10173" name="Current OS Load" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Current OS Load" display_order="134" description="Current OS Load" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11784" resource_type_id="10174" name="activeConnections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Active Connections" display_order="1" description="Active Connections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11785" resource_type_id="10175" name="Process.aggregateCpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="User Time" display_order="1" description="User Time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11786" resource_type_id="10175" name="Process.aggregateCpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="User Time per Minute" display_order="2" description="User Time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11787" resource_type_id="10175" name="Process.aggregateCpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Kernel Time" display_order="3" description="Kernel Time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11788" resource_type_id="10175" name="Process.aggregateCpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Kernel Time per Minute" display_order="4" description="Kernel Time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11789" resource_type_id="10175" name="Process.aggregateCpu.percent" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="CPU Percentage" display_order="5" description="CPU Percentage" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11790" resource_type_id="10175" name="Process.aggregateMemory.resident" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Physical Memory" display_order="6" description="Physical Memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11791" resource_type_id="10175" name="Process.aggregateMemory.size" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Virtual Memory" display_order="7" description="Virtual Memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11792" resource_type_id="10175" name="Process.aggregateFileDescriptor.total" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Open File Descriptors" display_order="8" description="Open File Descriptors" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11793" resource_type_id="10175" name="Aborted_clients" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Aborted_clients" display_order="9" description="Connections that aborted because the client did not close the connection" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11794" resource_type_id="10175" name="Aborted_clients" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Aborted_clients per Minute" display_order="10" description="Connections that aborted because the client did not close the connection" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11795" resource_type_id="10175" name="Aborted_connects" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Aborted_connects" display_order="11" description="Connections that were not succesfully created" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11796" resource_type_id="10175" name="Aborted_connects" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Aborted_connects per Minute" display_order="12" description="Connections that were not succesfully created" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11797" resource_type_id="10175" name="Binlog_cache_disk_use" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Binlog_cache_disk_use" display_order="13" description="Transactions that used the binary log cache and overflowed to a file on disk" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11798" resource_type_id="10175" name="Binlog_cache_disk_use" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Binlog_cache_disk_use per Minute" display_order="14" description="Transactions that used the binary log cache and overflowed to a file on disk" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11799" resource_type_id="10175" name="Binlog_cache_use" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Binlog_cache_use" display_order="15" description="Transactions using the temporary binary log cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11800" resource_type_id="10175" name="Binlog_cache_use" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Binlog_cache_use per Minute" display_order="16" description="Transactions using the temporary binary log cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11801" resource_type_id="10175" name="Bytes_received" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes_received" display_order="17" description="Bytes received by the server" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11802" resource_type_id="10175" name="Bytes_received" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes_received per Minute" display_order="18" description="Bytes received by the server" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11803" resource_type_id="10175" name="Bytes_sent" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes_sent" display_order="19" description="Bytes sent by the server" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11804" resource_type_id="10175" name="Bytes_sent" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes_sent per Minute" display_order="20" description="Bytes sent by the server" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11805" resource_type_id="10175" name="Com_admin_commands" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_admin_commands" display_order="21" description="Com_admin_commands" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11806" resource_type_id="10175" name="Com_admin_commands" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_admin_commands per Minute" display_order="22" description="Com_admin_commands" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11807" resource_type_id="10175" name="Com_alter_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_alter_db" display_order="23" description="Com_alter_db" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11808" resource_type_id="10175" name="Com_alter_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_alter_db per Minute" display_order="24" description="Com_alter_db" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11809" resource_type_id="10175" name="Com_alter_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_alter_table" display_order="25" description="Com_alter_table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11810" resource_type_id="10175" name="Com_alter_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_alter_table per Minute" display_order="26" description="Com_alter_table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11811" resource_type_id="10175" name="Com_analyze" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_analyze" display_order="27" description="Com_analyze" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11812" resource_type_id="10175" name="Com_analyze" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_analyze per Minute" display_order="28" description="Com_analyze" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11813" resource_type_id="10175" name="Com_backup_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_backup_table" display_order="29" description="Com_backup_table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11814" resource_type_id="10175" name="Com_backup_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_backup_table per Minute" display_order="30" description="Com_backup_table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11815" resource_type_id="10175" name="Com_begin" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_begin" display_order="31" description="Com_begin" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11816" resource_type_id="10175" name="Com_begin" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_begin per Minute" display_order="32" description="Com_begin" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11817" resource_type_id="10175" name="Com_call_procedure" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_call_procedure" display_order="33" description="Com_call_procedure" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11818" resource_type_id="10175" name="Com_call_procedure" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_call_procedure per Minute" display_order="34" description="Com_call_procedure" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11819" resource_type_id="10175" name="Com_change_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_change_db" display_order="35" description="Com_change_db" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11820" resource_type_id="10175" name="Com_change_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_change_db per Minute" display_order="36" description="Com_change_db" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11821" resource_type_id="10175" name="Com_change_master" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_change_master" display_order="37" description="Com_change_master" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11822" resource_type_id="10175" name="Com_change_master" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_change_master per Minute" display_order="38" description="Com_change_master" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11823" resource_type_id="10175" name="Com_check" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_check" display_order="39" description="Com_check" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11824" resource_type_id="10175" name="Com_check" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_check per Minute" display_order="40" description="Com_check" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11825" resource_type_id="10175" name="Com_checksum" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_checksum" display_order="41" description="Com_checksum" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11826" resource_type_id="10175" name="Com_checksum" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_checksum per Minute" display_order="42" description="Com_checksum" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11827" resource_type_id="10175" name="Com_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_commit" display_order="43" description="Com_commit" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11828" resource_type_id="10175" name="Com_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_commit per Minute" display_order="44" description="Com_commit" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11829" resource_type_id="10175" name="Com_create_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_create_db" display_order="45" description="Com_create_db" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11830" resource_type_id="10175" name="Com_create_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_create_db per Minute" display_order="46" description="Com_create_db" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11831" resource_type_id="10175" name="Com_create_function" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_create_function" display_order="47" description="Com_create_function" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11832" resource_type_id="10175" name="Com_create_function" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_create_function per Minute" display_order="48" description="Com_create_function" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11833" resource_type_id="10175" name="Com_create_index" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_create_index" display_order="49" description="Com_create_index" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11834" resource_type_id="10175" name="Com_create_index" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_create_index per Minute" display_order="50" description="Com_create_index" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11835" resource_type_id="10175" name="Com_create_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_create_table" display_order="51" description="Com_create_table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11836" resource_type_id="10175" name="Com_create_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_create_table per Minute" display_order="52" description="Com_create_table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11837" resource_type_id="10175" name="Com_create_user" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_create_user" display_order="53" description="Com_create_user" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11838" resource_type_id="10175" name="Com_create_user" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_create_user per Minute" display_order="54" description="Com_create_user" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11839" resource_type_id="10175" name="Com_dealloc_sql" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_dealloc_sql" display_order="55" description="Com_dealloc_sql" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11840" resource_type_id="10175" name="Com_dealloc_sql" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_dealloc_sql per Minute" display_order="56" description="Com_dealloc_sql" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11841" resource_type_id="10175" name="Com_delete" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_delete" display_order="57" description="Com_delete" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11842" resource_type_id="10175" name="Com_delete" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_delete per Minute" display_order="58" description="Com_delete" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11843" resource_type_id="10175" name="Com_delete_multi" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_delete_multi" display_order="59" description="Com_delete_multi" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11844" resource_type_id="10175" name="Com_delete_multi" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_delete_multi per Minute" display_order="60" description="Com_delete_multi" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11845" resource_type_id="10175" name="Com_do" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_do" display_order="61" description="Com_do" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11846" resource_type_id="10175" name="Com_do" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_do per Minute" display_order="62" description="Com_do" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11847" resource_type_id="10175" name="Com_drop_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_drop_db" display_order="63" description="Com_drop_db" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11848" resource_type_id="10175" name="Com_drop_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_drop_db per Minute" display_order="64" description="Com_drop_db" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11849" resource_type_id="10175" name="Com_drop_function" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_drop_function" display_order="65" description="Com_drop_function" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11850" resource_type_id="10175" name="Com_drop_function" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_drop_function per Minute" display_order="66" description="Com_drop_function" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11851" resource_type_id="10175" name="Com_drop_index" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_drop_index" display_order="67" description="Com_drop_index" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11852" resource_type_id="10175" name="Com_drop_index" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_drop_index per Minute" display_order="68" description="Com_drop_index" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11853" resource_type_id="10175" name="Com_drop_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_drop_table" display_order="69" description="Com_drop_table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11854" resource_type_id="10175" name="Com_drop_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_drop_table per Minute" display_order="70" description="Com_drop_table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11855" resource_type_id="10175" name="Com_drop_user" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_drop_user" display_order="71" description="Com_drop_user" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11856" resource_type_id="10175" name="Com_drop_user" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_drop_user per Minute" display_order="72" description="Com_drop_user" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11857" resource_type_id="10175" name="Com_execute_sql" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_execute_sql" display_order="73" description="Com_execute_sql" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11858" resource_type_id="10175" name="Com_execute_sql" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_execute_sql per Minute" display_order="74" description="Com_execute_sql" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11859" resource_type_id="10175" name="Com_flush" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_flush" display_order="75" description="Com_flush" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11860" resource_type_id="10175" name="Com_flush" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_flush per Minute" display_order="76" description="Com_flush" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11861" resource_type_id="10175" name="Com_grant" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_grant" display_order="77" description="Com_grant" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11862" resource_type_id="10175" name="Com_grant" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_grant per Minute" display_order="78" description="Com_grant" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11863" resource_type_id="10175" name="Com_ha_close" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_ha_close" display_order="79" description="Com_ha_close" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11864" resource_type_id="10175" name="Com_ha_close" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_ha_close per Minute" display_order="80" description="Com_ha_close" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11865" resource_type_id="10175" name="Com_ha_open" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_ha_open" display_order="81" description="Com_ha_open" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11866" resource_type_id="10175" name="Com_ha_open" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_ha_open per Minute" display_order="82" description="Com_ha_open" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11867" resource_type_id="10175" name="Com_ha_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_ha_read" display_order="83" description="Com_ha_read" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11868" resource_type_id="10175" name="Com_ha_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_ha_read per Minute" display_order="84" description="Com_ha_read" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11869" resource_type_id="10175" name="Com_help" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_help" display_order="85" description="Com_help" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11870" resource_type_id="10175" name="Com_help" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_help per Minute" display_order="86" description="Com_help" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11871" resource_type_id="10175" name="Com_insert" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_insert" display_order="87" description="Com_insert" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11872" resource_type_id="10175" name="Com_insert" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_insert per Minute" display_order="88" description="Com_insert" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11873" resource_type_id="10175" name="Com_insert_select" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_insert_select" display_order="89" description="Com_insert_select" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11874" resource_type_id="10175" name="Com_insert_select" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_insert_select per Minute" display_order="90" description="Com_insert_select" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11875" resource_type_id="10175" name="Com_kill" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_kill" display_order="91" description="Com_kill" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11876" resource_type_id="10175" name="Com_kill" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_kill per Minute" display_order="92" description="Com_kill" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11877" resource_type_id="10175" name="Com_load" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_load" display_order="93" description="Com_load" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11878" resource_type_id="10175" name="Com_load" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_load per Minute" display_order="94" description="Com_load" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11879" resource_type_id="10175" name="Com_load_master_data" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_load_master_data" display_order="95" description="Com_load_master_data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11880" resource_type_id="10175" name="Com_load_master_data" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_load_master_data per Minute" display_order="96" description="Com_load_master_data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11881" resource_type_id="10175" name="Com_load_master_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_load_master_table" display_order="97" description="Com_load_master_table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11882" resource_type_id="10175" name="Com_load_master_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_load_master_table per Minute" display_order="98" description="Com_load_master_table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11883" resource_type_id="10175" name="Com_lock_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_lock_tables" display_order="99" description="Com_lock_tables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11884" resource_type_id="10175" name="Com_lock_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_lock_tables per Minute" display_order="100" description="Com_lock_tables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11885" resource_type_id="10175" name="Com_optimize" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_optimize" display_order="101" description="Com_optimize" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11886" resource_type_id="10175" name="Com_optimize" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_optimize per Minute" display_order="102" description="Com_optimize" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11887" resource_type_id="10175" name="Com_preload_keys" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_preload_keys" display_order="103" description="Com_preload_keys" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11888" resource_type_id="10175" name="Com_preload_keys" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_preload_keys per Minute" display_order="104" description="Com_preload_keys" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11889" resource_type_id="10175" name="Com_prepare_sql" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_prepare_sql" display_order="105" description="Com_prepare_sql" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11890" resource_type_id="10175" name="Com_prepare_sql" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_prepare_sql per Minute" display_order="106" description="Com_prepare_sql" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11891" resource_type_id="10175" name="Com_purge" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_purge" display_order="107" description="Com_purge" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11892" resource_type_id="10175" name="Com_purge" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_purge per Minute" display_order="108" description="Com_purge" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11893" resource_type_id="10175" name="Com_purge_before_date" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_purge_before_date" display_order="109" description="Com_purge_before_date" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11894" resource_type_id="10175" name="Com_purge_before_date" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_purge_before_date per Minute" display_order="110" description="Com_purge_before_date" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11895" resource_type_id="10175" name="Com_rename_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_rename_table" display_order="111" description="Com_rename_table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11896" resource_type_id="10175" name="Com_rename_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_rename_table per Minute" display_order="112" description="Com_rename_table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11897" resource_type_id="10175" name="Com_repair" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_repair" display_order="113" description="Com_repair" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11898" resource_type_id="10175" name="Com_repair" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_repair per Minute" display_order="114" description="Com_repair" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11899" resource_type_id="10175" name="Com_replace" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_replace" display_order="115" description="Com_replace" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11900" resource_type_id="10175" name="Com_replace" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_replace per Minute" display_order="116" description="Com_replace" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11901" resource_type_id="10175" name="Com_replace_select" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_replace_select" display_order="117" description="Com_replace_select" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11902" resource_type_id="10175" name="Com_replace_select" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_replace_select per Minute" display_order="118" description="Com_replace_select" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11903" resource_type_id="10175" name="Com_reset" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_reset" display_order="119" description="Com_reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11904" resource_type_id="10175" name="Com_reset" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_reset per Minute" display_order="120" description="Com_reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11905" resource_type_id="10175" name="Com_restore_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_restore_table" display_order="121" description="Com_restore_table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11906" resource_type_id="10175" name="Com_restore_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_restore_table per Minute" display_order="122" description="Com_restore_table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11907" resource_type_id="10175" name="Com_revoke" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_revoke" display_order="123" description="Com_revoke" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11908" resource_type_id="10175" name="Com_revoke" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_revoke per Minute" display_order="124" description="Com_revoke" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11909" resource_type_id="10175" name="Com_revoke_all" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_revoke_all" display_order="125" description="Com_revoke_all" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11910" resource_type_id="10175" name="Com_revoke_all" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_revoke_all per Minute" display_order="126" description="Com_revoke_all" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11911" resource_type_id="10175" name="Com_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_rollback" display_order="127" description="Com_rollback" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11912" resource_type_id="10175" name="Com_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_rollback per Minute" display_order="128" description="Com_rollback" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11913" resource_type_id="10175" name="Com_savepoint" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_savepoint" display_order="129" description="Com_savepoint" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11914" resource_type_id="10175" name="Com_savepoint" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_savepoint per Minute" display_order="130" description="Com_savepoint" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11915" resource_type_id="10175" name="Com_select" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_select" display_order="131" description="Com_select" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11916" resource_type_id="10175" name="Com_select" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_select per Minute" display_order="132" description="Com_select" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11917" resource_type_id="10175" name="Com_set_option" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_set_option" display_order="133" description="Com_set_option" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11918" resource_type_id="10175" name="Com_set_option" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_set_option per Minute" display_order="134" description="Com_set_option" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11919" resource_type_id="10175" name="Com_show_binlog_events" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_binlog_events" display_order="135" description="Com_show_binlog_events" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11920" resource_type_id="10175" name="Com_show_binlog_events" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_binlog_events per Minute" display_order="136" description="Com_show_binlog_events" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11921" resource_type_id="10175" name="Com_show_binlogs" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_binlogs" display_order="137" description="Com_show_binlogs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11922" resource_type_id="10175" name="Com_show_binlogs" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_binlogs per Minute" display_order="138" description="Com_show_binlogs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11923" resource_type_id="10175" name="Com_show_charsets" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_charsets" display_order="139" description="Com_show_charsets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11924" resource_type_id="10175" name="Com_show_charsets" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_charsets per Minute" display_order="140" description="Com_show_charsets" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11925" resource_type_id="10175" name="Com_show_collations" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_collations" display_order="141" description="Com_show_collations" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11926" resource_type_id="10175" name="Com_show_collations" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_collations per Minute" display_order="142" description="Com_show_collations" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11927" resource_type_id="10175" name="Com_show_column_types" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_column_types" display_order="143" description="Com_show_column_types" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11928" resource_type_id="10175" name="Com_show_column_types" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_column_types per Minute" display_order="144" description="Com_show_column_types" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11929" resource_type_id="10175" name="Com_show_create_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_create_db" display_order="145" description="Com_show_create_db" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11930" resource_type_id="10175" name="Com_show_create_db" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_create_db per Minute" display_order="146" description="Com_show_create_db" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11931" resource_type_id="10175" name="Com_show_create_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_create_table" display_order="147" description="Com_show_create_table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11932" resource_type_id="10175" name="Com_show_create_table" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_create_table per Minute" display_order="148" description="Com_show_create_table" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11933" resource_type_id="10175" name="Com_show_databases" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_databases" display_order="149" description="Com_show_databases" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11934" resource_type_id="10175" name="Com_show_databases" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_databases per Minute" display_order="150" description="Com_show_databases" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11935" resource_type_id="10175" name="Com_show_errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_errors" display_order="151" description="Com_show_errors" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11936" resource_type_id="10175" name="Com_show_errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_errors per Minute" display_order="152" description="Com_show_errors" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11937" resource_type_id="10175" name="Com_show_fields" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_fields" display_order="153" description="Com_show_fields" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11938" resource_type_id="10175" name="Com_show_fields" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_fields per Minute" display_order="154" description="Com_show_fields" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11939" resource_type_id="10175" name="Com_show_grants" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_grants" display_order="155" description="Com_show_grants" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11940" resource_type_id="10175" name="Com_show_grants" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_grants per Minute" display_order="156" description="Com_show_grants" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11941" resource_type_id="10175" name="Com_show_innodb_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_innodb_status" display_order="157" description="Com_show_innodb_status" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11942" resource_type_id="10175" name="Com_show_innodb_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_innodb_status per Minute" display_order="158" description="Com_show_innodb_status" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11943" resource_type_id="10175" name="Com_show_keys" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_keys" display_order="159" description="Com_show_keys" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11944" resource_type_id="10175" name="Com_show_keys" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_keys per Minute" display_order="160" description="Com_show_keys" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11945" resource_type_id="10175" name="Com_show_logs" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_logs" display_order="161" description="Com_show_logs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11946" resource_type_id="10175" name="Com_show_logs" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_logs per Minute" display_order="162" description="Com_show_logs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11947" resource_type_id="10175" name="Com_show_master_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_master_status" display_order="163" description="Com_show_master_status" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11948" resource_type_id="10175" name="Com_show_master_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_master_status per Minute" display_order="164" description="Com_show_master_status" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11949" resource_type_id="10175" name="Com_show_ndb_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_ndb_status" display_order="165" description="Com_show_ndb_status" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11950" resource_type_id="10175" name="Com_show_ndb_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_ndb_status per Minute" display_order="166" description="Com_show_ndb_status" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11951" resource_type_id="10175" name="Com_show_new_master" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_new_master" display_order="167" description="Com_show_new_master" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11952" resource_type_id="10175" name="Com_show_new_master" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_new_master per Minute" display_order="168" description="Com_show_new_master" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11953" resource_type_id="10175" name="Com_show_open_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_open_tables" display_order="169" description="Com_show_open_tables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11954" resource_type_id="10175" name="Com_show_open_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_open_tables per Minute" display_order="170" description="Com_show_open_tables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11955" resource_type_id="10175" name="Com_show_privileges" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_privileges" display_order="171" description="Com_show_privileges" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11956" resource_type_id="10175" name="Com_show_privileges" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_privileges per Minute" display_order="172" description="Com_show_privileges" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11957" resource_type_id="10175" name="Com_show_processlist" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_processlist" display_order="173" description="Com_show_processlist" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11958" resource_type_id="10175" name="Com_show_processlist" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_processlist per Minute" display_order="174" description="Com_show_processlist" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11959" resource_type_id="10175" name="Com_show_slave_hosts" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_slave_hosts" display_order="175" description="Com_show_slave_hosts" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11960" resource_type_id="10175" name="Com_show_slave_hosts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_slave_hosts per Minute" display_order="176" description="Com_show_slave_hosts" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11961" resource_type_id="10175" name="Com_show_slave_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_slave_status" display_order="177" description="Com_show_slave_status" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11962" resource_type_id="10175" name="Com_show_slave_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_slave_status per Minute" display_order="178" description="Com_show_slave_status" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11963" resource_type_id="10175" name="Com_show_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_status" display_order="179" description="Com_show_status" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11964" resource_type_id="10175" name="Com_show_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_status per Minute" display_order="180" description="Com_show_status" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11965" resource_type_id="10175" name="Com_show_storage_engines" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_storage_engines" display_order="181" description="Com_show_storage_engines" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11966" resource_type_id="10175" name="Com_show_storage_engines" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_storage_engines per Minute" display_order="182" description="Com_show_storage_engines" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11967" resource_type_id="10175" name="Com_show_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_tables" display_order="183" description="Com_show_tables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11968" resource_type_id="10175" name="Com_show_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_tables per Minute" display_order="184" description="Com_show_tables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11969" resource_type_id="10175" name="Com_show_triggers" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_triggers" display_order="185" description="Com_show_triggers" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11970" resource_type_id="10175" name="Com_show_triggers" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_triggers per Minute" display_order="186" description="Com_show_triggers" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11971" resource_type_id="10175" name="Com_show_variables" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_variables" display_order="187" description="Com_show_variables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11972" resource_type_id="10175" name="Com_show_variables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_variables per Minute" display_order="188" description="Com_show_variables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11973" resource_type_id="10175" name="Com_show_warnings" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_show_warnings" display_order="189" description="Com_show_warnings" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11974" resource_type_id="10175" name="Com_show_warnings" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_show_warnings per Minute" display_order="190" description="Com_show_warnings" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11975" resource_type_id="10175" name="Com_slave_start" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_slave_start" display_order="191" description="Com_slave_start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11976" resource_type_id="10175" name="Com_slave_start" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_slave_start per Minute" display_order="192" description="Com_slave_start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11977" resource_type_id="10175" name="Com_slave_stop" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_slave_stop" display_order="193" description="Com_slave_stop" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11978" resource_type_id="10175" name="Com_slave_stop" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_slave_stop per Minute" display_order="194" description="Com_slave_stop" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11979" resource_type_id="10175" name="Com_stmt_close" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_stmt_close" display_order="195" description="Com_stmt_close" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11980" resource_type_id="10175" name="Com_stmt_close" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_stmt_close per Minute" display_order="196" description="Com_stmt_close" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11981" resource_type_id="10175" name="Com_stmt_execute" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_stmt_execute" display_order="197" description="Com_stmt_execute" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11982" resource_type_id="10175" name="Com_stmt_execute" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_stmt_execute per Minute" display_order="198" description="Com_stmt_execute" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11983" resource_type_id="10175" name="Com_stmt_fetch" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_stmt_fetch" display_order="199" description="Com_stmt_fetch" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11984" resource_type_id="10175" name="Com_stmt_fetch" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_stmt_fetch per Minute" display_order="200" description="Com_stmt_fetch" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11985" resource_type_id="10175" name="Com_stmt_prepare" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_stmt_prepare" display_order="201" description="Com_stmt_prepare" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11986" resource_type_id="10175" name="Com_stmt_prepare" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_stmt_prepare per Minute" display_order="202" description="Com_stmt_prepare" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11987" resource_type_id="10175" name="Com_stmt_reset" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_stmt_reset" display_order="203" description="Com_stmt_reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11988" resource_type_id="10175" name="Com_stmt_reset" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_stmt_reset per Minute" display_order="204" description="Com_stmt_reset" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11989" resource_type_id="10175" name="Com_stmt_send_long_data" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_stmt_send_long_data" display_order="205" description="Com_stmt_send_long_data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11990" resource_type_id="10175" name="Com_stmt_send_long_data" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_stmt_send_long_data per Minute" display_order="206" description="Com_stmt_send_long_data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11991" resource_type_id="10175" name="Com_truncate" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_truncate" display_order="207" description="Com_truncate" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11992" resource_type_id="10175" name="Com_truncate" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_truncate per Minute" display_order="208" description="Com_truncate" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11993" resource_type_id="10175" name="Com_unlock_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_unlock_tables" display_order="209" description="Com_unlock_tables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11994" resource_type_id="10175" name="Com_unlock_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_unlock_tables per Minute" display_order="210" description="Com_unlock_tables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11995" resource_type_id="10175" name="Com_update" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_update" display_order="211" description="Com_update" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11996" resource_type_id="10175" name="Com_update" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_update per Minute" display_order="212" description="Com_update" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11997" resource_type_id="10175" name="Com_update_multi" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_update_multi" display_order="213" description="Com_update_multi" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11998" resource_type_id="10175" name="Com_update_multi" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_update_multi per Minute" display_order="214" description="Com_update_multi" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="11999" resource_type_id="10175" name="Com_xa_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_xa_commit" display_order="215" description="Com_xa_commit" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12000" resource_type_id="10175" name="Com_xa_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_xa_commit per Minute" display_order="216" description="Com_xa_commit" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12001" resource_type_id="10175" name="Com_xa_end" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_xa_end" display_order="217" description="Com_xa_end" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12002" resource_type_id="10175" name="Com_xa_end" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_xa_end per Minute" display_order="218" description="Com_xa_end" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12003" resource_type_id="10175" name="Com_xa_prepare" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_xa_prepare" display_order="219" description="Com_xa_prepare" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12004" resource_type_id="10175" name="Com_xa_prepare" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_xa_prepare per Minute" display_order="220" description="Com_xa_prepare" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12005" resource_type_id="10175" name="Com_xa_recover" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_xa_recover" display_order="221" description="Com_xa_recover" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12006" resource_type_id="10175" name="Com_xa_recover" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_xa_recover per Minute" display_order="222" description="Com_xa_recover" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12007" resource_type_id="10175" name="Com_xa_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_xa_rollback" display_order="223" description="Com_xa_rollback" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12008" resource_type_id="10175" name="Com_xa_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_xa_rollback per Minute" display_order="224" description="Com_xa_rollback" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12009" resource_type_id="10175" name="Com_xa_start" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Com_xa_start" display_order="225" description="Com_xa_start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12010" resource_type_id="10175" name="Com_xa_start" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Com_xa_start per Minute" display_order="226" description="Com_xa_start" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12011" resource_type_id="10175" name="Compression" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Compression" display_order="227" description="Compression" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12012" resource_type_id="10175" name="Connections" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Connections" display_order="228" description="Connection attempts to MySql" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12013" resource_type_id="10175" name="Connections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Connections per Minute" display_order="229" description="Connection attempts to MySql" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12014" resource_type_id="10175" name="Created_tmp_disk_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Created_tmp_disk_tables" display_order="230" description="Created_tmp_disk_tables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12015" resource_type_id="10175" name="Created_tmp_disk_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Created_tmp_disk_tables per Minute" display_order="231" description="Created_tmp_disk_tables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12016" resource_type_id="10175" name="Created_tmp_files" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Created_tmp_files" display_order="232" description="Created_tmp_files" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12017" resource_type_id="10175" name="Created_tmp_files" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Created_tmp_files per Minute" display_order="233" description="Created_tmp_files" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12018" resource_type_id="10175" name="Created_tmp_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Created_tmp_tables" display_order="234" description="Created_tmp_tables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12019" resource_type_id="10175" name="Created_tmp_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Created_tmp_tables per Minute" display_order="235" description="Created_tmp_tables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12020" resource_type_id="10175" name="Delayed_errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Delayed_errors" display_order="236" description="Delayed_errors" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12021" resource_type_id="10175" name="Delayed_errors" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Delayed_errors per Minute" display_order="237" description="Delayed_errors" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12022" resource_type_id="10175" name="Delayed_insert_threads" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Delayed_insert_threads" display_order="238" description="Delayed_insert_threads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12023" resource_type_id="10175" name="Delayed_insert_threads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Delayed_insert_threads per Minute" display_order="239" description="Delayed_insert_threads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12024" resource_type_id="10175" name="Delayed_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Delayed_writes" display_order="240" description="Delayed_writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12025" resource_type_id="10175" name="Delayed_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Delayed_writes per Minute" display_order="241" description="Delayed_writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12026" resource_type_id="10175" name="Flush_commands" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Flush_commands" display_order="242" description="Flush_commands" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12027" resource_type_id="10175" name="Flush_commands" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Flush_commands per Minute" display_order="243" description="Flush_commands" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12028" resource_type_id="10175" name="Handler_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_commit" display_order="244" description="Handler_commit" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12029" resource_type_id="10175" name="Handler_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_commit per Minute" display_order="245" description="Handler_commit" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12030" resource_type_id="10175" name="Handler_delete" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_delete" display_order="246" description="Handler_delete" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12031" resource_type_id="10175" name="Handler_delete" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_delete per Minute" display_order="247" description="Handler_delete" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12032" resource_type_id="10175" name="Handler_discover" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_discover" display_order="248" description="Handler_discover" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12033" resource_type_id="10175" name="Handler_discover" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_discover per Minute" display_order="249" description="Handler_discover" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12034" resource_type_id="10175" name="Handler_prepare" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_prepare" display_order="250" description="Handler_prepare" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12035" resource_type_id="10175" name="Handler_prepare" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_prepare per Minute" display_order="251" description="Handler_prepare" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12036" resource_type_id="10175" name="Handler_read_first" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_read_first" display_order="252" description="Handler_read_first" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12037" resource_type_id="10175" name="Handler_read_first" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_read_first per Minute" display_order="253" description="Handler_read_first" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12038" resource_type_id="10175" name="Handler_read_key" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_read_key" display_order="254" description="Handler_read_key" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12039" resource_type_id="10175" name="Handler_read_key" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_read_key per Minute" display_order="255" description="Handler_read_key" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12040" resource_type_id="10175" name="Handler_read_next" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_read_next" display_order="256" description="Handler_read_next" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12041" resource_type_id="10175" name="Handler_read_next" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_read_next per Minute" display_order="257" description="Handler_read_next" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12042" resource_type_id="10175" name="Handler_read_prev" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_read_prev" display_order="258" description="Handler_read_prev" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12043" resource_type_id="10175" name="Handler_read_prev" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_read_prev per Minute" display_order="259" description="Handler_read_prev" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12044" resource_type_id="10175" name="Handler_read_rnd" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_read_rnd" display_order="260" description="Handler_read_rnd" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12045" resource_type_id="10175" name="Handler_read_rnd" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_read_rnd per Minute" display_order="261" description="Handler_read_rnd" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12046" resource_type_id="10175" name="Handler_read_rnd_next" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_read_rnd_next" display_order="262" description="Handler_read_rnd_next" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12047" resource_type_id="10175" name="Handler_read_rnd_next" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_read_rnd_next per Minute" display_order="263" description="Handler_read_rnd_next" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12048" resource_type_id="10175" name="Handler_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_rollback" display_order="264" description="Handler_rollback" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12049" resource_type_id="10175" name="Handler_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_rollback per Minute" display_order="265" description="Handler_rollback" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12050" resource_type_id="10175" name="Handler_savepoint" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_savepoint" display_order="266" description="Handler_savepoint" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12051" resource_type_id="10175" name="Handler_savepoint" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_savepoint per Minute" display_order="267" description="Handler_savepoint" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12052" resource_type_id="10175" name="Handler_savepoint_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_savepoint_rollback" display_order="268" description="Handler_savepoint_rollback" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12053" resource_type_id="10175" name="Handler_savepoint_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_savepoint_rollback per Minute" display_order="269" description="Handler_savepoint_rollback" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12054" resource_type_id="10175" name="Handler_update" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_update" display_order="270" description="Handler_update" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12055" resource_type_id="10175" name="Handler_update" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_update per Minute" display_order="271" description="Handler_update" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12056" resource_type_id="10175" name="Handler_write" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Handler_write" display_order="272" description="Handler_write" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12057" resource_type_id="10175" name="Handler_write" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Handler_write per Minute" display_order="273" description="Handler_write" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12058" resource_type_id="10175" name="Innodb_buffer_pool_pages_data" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_pages_data" display_order="274" description="Innodb_buffer_pool_pages_data" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12059" resource_type_id="10175" name="Innodb_buffer_pool_pages_dirty" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_pages_dirty" display_order="275" description="Innodb_buffer_pool_pages_dirty" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12060" resource_type_id="10175" name="Innodb_buffer_pool_pages_flushed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_pages_flushed" display_order="276" description="Innodb_buffer_pool_pages_flushed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12061" resource_type_id="10175" name="Innodb_buffer_pool_pages_free" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_pages_free" display_order="277" description="Innodb_buffer_pool_pages_free" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12062" resource_type_id="10175" name="Innodb_buffer_pool_pages_latched" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_pages_latched" display_order="278" description="Innodb_buffer_pool_pages_latched" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12063" resource_type_id="10175" name="Innodb_buffer_pool_pages_misc" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_pages_misc" display_order="279" description="Innodb_buffer_pool_pages_misc" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12064" resource_type_id="10175" name="Innodb_buffer_pool_pages_total" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_pages_total" display_order="280" description="Innodb_buffer_pool_pages_total" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12065" resource_type_id="10175" name="Innodb_buffer_pool_read_ahead_rnd" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_read_ahead_rnd" display_order="281" description="Innodb_buffer_pool_read_ahead_rnd" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12066" resource_type_id="10175" name="Innodb_buffer_pool_read_ahead_seq" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_read_ahead_seq" display_order="282" description="Innodb_buffer_pool_read_ahead_seq" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12067" resource_type_id="10175" name="Innodb_buffer_pool_read_ahead_seq" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_read_ahead_seq per Minute" display_order="283" description="Innodb_buffer_pool_read_ahead_seq" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12068" resource_type_id="10175" name="Innodb_buffer_pool_read_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_read_requests" display_order="284" description="Innodb_buffer_pool_read_requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12069" resource_type_id="10175" name="Innodb_buffer_pool_read_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_read_requests per Minute" display_order="285" description="Innodb_buffer_pool_read_requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12070" resource_type_id="10175" name="Innodb_buffer_pool_reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_reads" display_order="286" description="Innodb_buffer_pool_reads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12071" resource_type_id="10175" name="Innodb_buffer_pool_reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_reads per Minute" display_order="287" description="Innodb_buffer_pool_reads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12072" resource_type_id="10175" name="Innodb_buffer_pool_wait_free" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_wait_free" display_order="288" description="Innodb_buffer_pool_wait_free" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12073" resource_type_id="10175" name="Innodb_buffer_pool_wait_free" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_wait_free per Minute" display_order="289" description="Innodb_buffer_pool_wait_free" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12074" resource_type_id="10175" name="Innodb_buffer_pool_write_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_write_requests" display_order="290" description="Innodb_buffer_pool_write_requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12075" resource_type_id="10175" name="Innodb_buffer_pool_write_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_buffer_pool_write_requests per Minute" display_order="291" description="Innodb_buffer_pool_write_requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12076" resource_type_id="10175" name="Innodb_data_fsyncs" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_data_fsyncs" display_order="292" description="Innodb_data_fsyncs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12077" resource_type_id="10175" name="Innodb_data_fsyncs" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_data_fsyncs per Minute" display_order="293" description="Innodb_data_fsyncs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12078" resource_type_id="10175" name="Innodb_data_pending_fsyncs" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_data_pending_fsyncs" display_order="294" description="Innodb_data_pending_fsyncs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12079" resource_type_id="10175" name="Innodb_data_pending_fsyncs" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_data_pending_fsyncs per Minute" display_order="295" description="Innodb_data_pending_fsyncs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12080" resource_type_id="10175" name="Innodb_data_pending_reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_data_pending_reads" display_order="296" description="Innodb_data_pending_reads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12081" resource_type_id="10175" name="Innodb_data_pending_reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_data_pending_reads per Minute" display_order="297" description="Innodb_data_pending_reads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12082" resource_type_id="10175" name="Innodb_data_pending_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_data_pending_writes" display_order="298" description="Innodb_data_pending_writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12083" resource_type_id="10175" name="Innodb_data_pending_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_data_pending_writes per Minute" display_order="299" description="Innodb_data_pending_writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12084" resource_type_id="10175" name="Innodb_data_read" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_data_read" display_order="300" description="Innodb_data_read" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12085" resource_type_id="10175" name="Innodb_data_read" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_data_read per Minute" display_order="301" description="Innodb_data_read" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12086" resource_type_id="10175" name="Innodb_data_reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_data_reads" display_order="302" description="Innodb_data_reads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12087" resource_type_id="10175" name="Innodb_data_reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_data_reads per Minute" display_order="303" description="Innodb_data_reads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12088" resource_type_id="10175" name="Innodb_data_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_data_writes" display_order="304" description="Innodb_data_writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12089" resource_type_id="10175" name="Innodb_data_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_data_writes per Minute" display_order="305" description="Innodb_data_writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12090" resource_type_id="10175" name="Innodb_data_written" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_data_written" display_order="306" description="Innodb_data_written" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12091" resource_type_id="10175" name="Innodb_data_written" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_data_written per Minute" display_order="307" description="Innodb_data_written" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12092" resource_type_id="10175" name="Innodb_dblwr_pages_written" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_dblwr_pages_written" display_order="308" description="Innodb_dblwr_pages_written" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12093" resource_type_id="10175" name="Innodb_dblwr_pages_written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_dblwr_pages_written per Minute" display_order="309" description="Innodb_dblwr_pages_written" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12094" resource_type_id="10175" name="Innodb_dblwr_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_dblwr_writes" display_order="310" description="Innodb_dblwr_writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12095" resource_type_id="10175" name="Innodb_dblwr_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_dblwr_writes per Minute" display_order="311" description="Innodb_dblwr_writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12096" resource_type_id="10175" name="Innodb_log_waits" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_log_waits" display_order="312" description="Innodb_log_waits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12097" resource_type_id="10175" name="Innodb_log_waits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_log_waits per Minute" display_order="313" description="Innodb_log_waits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12098" resource_type_id="10175" name="Innodb_log_write_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_log_write_requests" display_order="314" description="Innodb_log_write_requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12099" resource_type_id="10175" name="Innodb_log_write_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_log_write_requests per Minute" display_order="315" description="Innodb_log_write_requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12100" resource_type_id="10175" name="Innodb_log_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_log_writes" display_order="316" description="Innodb_log_writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12101" resource_type_id="10175" name="Innodb_log_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_log_writes per Minute" display_order="317" description="Innodb_log_writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12102" resource_type_id="10175" name="Innodb_os_log_fsyncs" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_os_log_fsyncs" display_order="318" description="Innodb_os_log_fsyncs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12103" resource_type_id="10175" name="Innodb_os_log_fsyncs" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_os_log_fsyncs per Minute" display_order="319" description="Innodb_os_log_fsyncs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12104" resource_type_id="10175" name="Innodb_os_log_pending_fsyncs" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_os_log_pending_fsyncs" display_order="320" description="Innodb_os_log_pending_fsyncs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12105" resource_type_id="10175" name="Innodb_os_log_pending_fsyncs" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_os_log_pending_fsyncs per Minute" display_order="321" description="Innodb_os_log_pending_fsyncs" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12106" resource_type_id="10175" name="Innodb_os_log_pending_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_os_log_pending_writes" display_order="322" description="Innodb_os_log_pending_writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12107" resource_type_id="10175" name="Innodb_os_log_written" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_os_log_written" display_order="323" description="Innodb_os_log_written" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12108" resource_type_id="10175" name="Innodb_os_log_written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_os_log_written per Minute" display_order="324" description="Innodb_os_log_written" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12109" resource_type_id="10175" name="Innodb_page_size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_page_size" display_order="325" description="Innodb_page_size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12110" resource_type_id="10175" name="Innodb_pages_created" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_pages_created" display_order="326" description="Innodb_pages_created" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12111" resource_type_id="10175" name="Innodb_pages_created" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_pages_created per Minute" display_order="327" description="Innodb_pages_created" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12112" resource_type_id="10175" name="Innodb_pages_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_pages_read" display_order="328" description="Innodb_pages_read" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12113" resource_type_id="10175" name="Innodb_pages_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_pages_read per Minute" display_order="329" description="Innodb_pages_read" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12114" resource_type_id="10175" name="Innodb_pages_written" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_pages_written" display_order="330" description="Innodb_pages_written" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12115" resource_type_id="10175" name="Innodb_pages_written" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_pages_written per Minute" display_order="331" description="Innodb_pages_written" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12116" resource_type_id="10175" name="Innodb_row_lock_current_waits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_row_lock_current_waits" display_order="332" description="Innodb_row_lock_current_waits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12117" resource_type_id="10175" name="Innodb_row_lock_time" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_row_lock_time" display_order="333" description="Innodb_row_lock_time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12118" resource_type_id="10175" name="Innodb_row_lock_time" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_row_lock_time per Minute" display_order="334" description="Innodb_row_lock_time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12119" resource_type_id="10175" name="Innodb_row_lock_time_avg" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_row_lock_time_avg" display_order="335" description="Innodb_row_lock_time_avg" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12120" resource_type_id="10175" name="Innodb_row_lock_time_max" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_row_lock_time_max" display_order="336" description="Innodb_row_lock_time_max" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12121" resource_type_id="10175" name="Innodb_row_lock_waits" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_row_lock_waits" display_order="337" description="Innodb_row_lock_waits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12122" resource_type_id="10175" name="Innodb_row_lock_waits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_row_lock_waits per Minute" display_order="338" description="Innodb_row_lock_waits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12123" resource_type_id="10175" name="Innodb_rows_deleted" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_rows_deleted" display_order="339" description="Innodb_rows_deleted" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12124" resource_type_id="10175" name="Innodb_rows_deleted" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_rows_deleted per Minute" display_order="340" description="Innodb_rows_deleted" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12125" resource_type_id="10175" name="Innodb_rows_inserted" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_rows_inserted" display_order="341" description="Innodb_rows_inserted" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12126" resource_type_id="10175" name="Innodb_rows_inserted" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_rows_inserted per Minute" display_order="342" description="Innodb_rows_inserted" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12127" resource_type_id="10175" name="Innodb_rows_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_rows_read" display_order="343" description="Innodb_rows_read" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12128" resource_type_id="10175" name="Innodb_rows_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_rows_read per Minute" display_order="344" description="Innodb_rows_read" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12129" resource_type_id="10175" name="Innodb_rows_updated" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Innodb_rows_updated" display_order="345" description="Innodb_rows_updated" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12130" resource_type_id="10175" name="Innodb_rows_updated" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Innodb_rows_updated per Minute" display_order="346" description="Innodb_rows_updated" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12131" resource_type_id="10175" name="Key_blocks_not_flushed" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Key_blocks_not_flushed" display_order="347" description="Key_blocks_not_flushed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12132" resource_type_id="10175" name="Key_blocks_unused" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Key_blocks_unused" display_order="348" description="Key_blocks_unused" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12133" resource_type_id="10175" name="Key_blocks_used" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Key_blocks_used" display_order="349" description="Key_blocks_used" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12134" resource_type_id="10175" name="Key_read_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Key_read_requests" display_order="350" description="Key_read_requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12135" resource_type_id="10175" name="Key_read_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Key_read_requests per Minute" display_order="351" description="Key_read_requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12136" resource_type_id="10175" name="Key_reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Key_reads" display_order="352" description="Key_reads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12137" resource_type_id="10175" name="Key_reads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Key_reads per Minute" display_order="353" description="Key_reads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12138" resource_type_id="10175" name="Key_write_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Key_write_requests" display_order="354" description="Key_write_requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12139" resource_type_id="10175" name="Key_write_requests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Key_write_requests per Minute" display_order="355" description="Key_write_requests" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12140" resource_type_id="10175" name="Key_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Key_writes" display_order="356" description="Key_writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12141" resource_type_id="10175" name="Key_writes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Key_writes per Minute" display_order="357" description="Key_writes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12142" resource_type_id="10175" name="Last_query_cost" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Last_query_cost" display_order="358" description="Last_query_cost" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12143" resource_type_id="10175" name="Max_used_connections" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Max_used_connections" display_order="359" description="Max_used_connections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12144" resource_type_id="10175" name="Ndb_cluster_node_id" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ndb_cluster_node_id" display_order="360" description="Ndb_cluster_node_id" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12145" resource_type_id="10175" name="Ndb_cluster_node_id" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Ndb_cluster_node_id per Minute" display_order="361" description="Ndb_cluster_node_id" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12146" resource_type_id="10175" name="Ndb_config_from_host" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ndb_config_from_host" display_order="362" description="Ndb_config_from_host" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12147" resource_type_id="10175" name="Ndb_config_from_host" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Ndb_config_from_host per Minute" display_order="363" description="Ndb_config_from_host" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12148" resource_type_id="10175" name="Ndb_config_from_port" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ndb_config_from_port" display_order="364" description="Ndb_config_from_port" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12149" resource_type_id="10175" name="Ndb_config_from_port" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Ndb_config_from_port per Minute" display_order="365" description="Ndb_config_from_port" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12150" resource_type_id="10175" name="Ndb_number_of_data_nodes" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ndb_number_of_data_nodes" display_order="366" description="Ndb_number_of_data_nodes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12151" resource_type_id="10175" name="Ndb_number_of_data_nodes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Ndb_number_of_data_nodes per Minute" display_order="367" description="Ndb_number_of_data_nodes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12152" resource_type_id="10175" name="Not_flushed_delayed_rows" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Not_flushed_delayed_rows" display_order="368" description="Not_flushed_delayed_rows" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12153" resource_type_id="10175" name="Not_flushed_delayed_rows" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Not_flushed_delayed_rows per Minute" display_order="369" description="Not_flushed_delayed_rows" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12154" resource_type_id="10175" name="Open_files" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Open_files" display_order="370" description="Open_files" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12155" resource_type_id="10175" name="Open_streams" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Open_streams" display_order="371" description="Open_streams" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12156" resource_type_id="10175" name="Open_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Open_tables" display_order="372" description="Open_tables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12157" resource_type_id="10175" name="Opened_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Opened_tables" display_order="373" description="Opened_tables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12158" resource_type_id="10175" name="Opened_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Opened_tables per Minute" display_order="374" description="Opened_tables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12159" resource_type_id="10175" name="Prepared_stmt_count" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Prepared_stmt_count" display_order="375" description="Prepared_stmt_count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12160" resource_type_id="10175" name="Prepared_stmt_count" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Prepared_stmt_count per Minute" display_order="376" description="Prepared_stmt_count" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12161" resource_type_id="10175" name="Qcache_free_blocks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Qcache_free_blocks" display_order="377" description="Qcache_free_blocks" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12162" resource_type_id="10175" name="Qcache_free_memory" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Qcache_free_memory" display_order="378" description="Qcache_free_memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12163" resource_type_id="10175" name="Qcache_hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Qcache_hits" display_order="379" description="Qcache_hits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12164" resource_type_id="10175" name="Qcache_inserts" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Qcache_inserts" display_order="380" description="Qcache_inserts" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12165" resource_type_id="10175" name="Qcache_inserts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Qcache_inserts per Minute" display_order="381" description="Qcache_inserts" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12166" resource_type_id="10175" name="Qcache_lowmem_prunes" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Qcache_lowmem_prunes" display_order="382" description="Qcache_lowmem_prunes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12167" resource_type_id="10175" name="Qcache_lowmem_prunes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Qcache_lowmem_prunes per Minute" display_order="383" description="Qcache_lowmem_prunes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12168" resource_type_id="10175" name="Qcache_not_cached" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Qcache_not_cached" display_order="384" description="Qcache_not_cached" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12169" resource_type_id="10175" name="Qcache_not_cached" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Qcache_not_cached per Minute" display_order="385" description="Qcache_not_cached" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12170" resource_type_id="10175" name="Qcache_queries_in_cache" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Qcache_queries_in_cache" display_order="386" description="Qcache_queries_in_cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12171" resource_type_id="10175" name="Qcache_queries_in_cache" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Qcache_queries_in_cache per Minute" display_order="387" description="Qcache_queries_in_cache" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12172" resource_type_id="10175" name="Qcache_total_blocks" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Qcache_total_blocks" display_order="388" description="Qcache_total_blocks" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12173" resource_type_id="10175" name="Qcache_total_blocks" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Qcache_total_blocks per Minute" display_order="389" description="Qcache_total_blocks" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12174" resource_type_id="10175" name="Questions" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Questions" display_order="390" description="Questions" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12175" resource_type_id="10175" name="Questions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Questions per Minute" display_order="391" description="Questions" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12176" resource_type_id="10175" name="Rpl_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Rpl_status" display_order="392" description="Rpl_status" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12177" resource_type_id="10175" name="Select_full_join" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Select_full_join" display_order="393" description="Select_full_join" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12178" resource_type_id="10175" name="Select_full_range_join" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Select_full_range_join" display_order="394" description="Select_full_range_join" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12179" resource_type_id="10175" name="Select_range" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Select_range" display_order="395" description="Select_range" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12180" resource_type_id="10175" name="Select_range_check" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Select_range_check" display_order="396" description="Select_range_check" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12181" resource_type_id="10175" name="Select_scan" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Select_scan" display_order="397" description="Select_scan" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12182" resource_type_id="10175" name="Slave_open_temp_tables" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Slave_open_temp_tables" display_order="398" description="Slave_open_temp_tables" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12183" resource_type_id="10175" name="Slave_retried_transactions" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Slave_retried_transactions" display_order="399" description="Slave_retried_transactions" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12184" resource_type_id="10175" name="Slave_running" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Slave_running" display_order="400" description="Slave_running" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12185" resource_type_id="10175" name="Slow_launch_threads" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Slow_launch_threads" display_order="401" description="Slow_launch_threads" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12186" resource_type_id="10175" name="Slow_queries" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Slow_queries" display_order="402" description="Slow_queries" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12187" resource_type_id="10175" name="Sort_merge_passes" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Sort_merge_passes" display_order="403" description="Sort_merge_passes" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12188" resource_type_id="10175" name="Sort_range" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Sort_range" display_order="404" description="Sort_range" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12189" resource_type_id="10175" name="Sort_rows" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Sort_rows" display_order="405" description="Sort_rows" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12190" resource_type_id="10175" name="Sort_scan" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Sort_scan" display_order="406" description="Sort_scan" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12191" resource_type_id="10175" name="Ssl_accept_renegotiates" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_accept_renegotiates" display_order="407" description="Ssl_accept_renegotiates" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12192" resource_type_id="10175" name="Ssl_accepts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_accepts" display_order="408" description="Ssl_accepts" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12193" resource_type_id="10175" name="Ssl_callback_cache_hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_callback_cache_hits" display_order="409" description="Ssl_callback_cache_hits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12194" resource_type_id="10175" name="Ssl_cipher" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_cipher" display_order="410" description="Ssl_cipher" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12195" resource_type_id="10175" name="Ssl_cipher_list" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_cipher_list" display_order="411" description="Ssl_cipher_list" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12196" resource_type_id="10175" name="Ssl_client_connects" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_client_connects" display_order="412" description="Ssl_client_connects" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12197" resource_type_id="10175" name="Ssl_connect_renegotiates" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_connect_renegotiates" display_order="413" description="Ssl_connect_renegotiates" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12198" resource_type_id="10175" name="Ssl_ctx_verify_depth" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_ctx_verify_depth" display_order="414" description="Ssl_ctx_verify_depth" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12199" resource_type_id="10175" name="Ssl_ctx_verify_mode" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_ctx_verify_mode" display_order="415" description="Ssl_ctx_verify_mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12200" resource_type_id="10175" name="Ssl_default_timeout" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_default_timeout" display_order="416" description="Ssl_default_timeout" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12201" resource_type_id="10175" name="Ssl_finished_accepts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_finished_accepts" display_order="417" description="Ssl_finished_accepts" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12202" resource_type_id="10175" name="Ssl_finished_connects" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_finished_connects" display_order="418" description="Ssl_finished_connects" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12203" resource_type_id="10175" name="Ssl_session_cache_hits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_session_cache_hits" display_order="419" description="Ssl_session_cache_hits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12204" resource_type_id="10175" name="Ssl_session_cache_misses" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_session_cache_misses" display_order="420" description="Ssl_session_cache_misses" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12205" resource_type_id="10175" name="Ssl_session_cache_mode" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_session_cache_mode" display_order="421" description="Ssl_session_cache_mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12206" resource_type_id="10175" name="Ssl_session_cache_overflows" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_session_cache_overflows" display_order="422" description="Ssl_session_cache_overflows" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12207" resource_type_id="10175" name="Ssl_session_cache_size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_session_cache_size" display_order="423" description="Ssl_session_cache_size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12208" resource_type_id="10175" name="Ssl_session_cache_timeouts" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_session_cache_timeouts" display_order="424" description="Ssl_session_cache_timeouts" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12209" resource_type_id="10175" name="Ssl_sessions_reused" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_sessions_reused" display_order="425" description="Ssl_sessions_reused" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12210" resource_type_id="10175" name="Ssl_used_session_cache_entries" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_used_session_cache_entries" display_order="426" description="Ssl_used_session_cache_entries" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12211" resource_type_id="10175" name="Ssl_verify_depth" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_verify_depth" display_order="427" description="Ssl_verify_depth" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12212" resource_type_id="10175" name="Ssl_verify_mode" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_verify_mode" display_order="428" description="Ssl_verify_mode" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12213" resource_type_id="10175" name="Ssl_version" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Ssl_version" display_order="429" description="Ssl_version" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12214" resource_type_id="10175" name="Table_locks_immediate" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table_locks_immediate" display_order="430" description="Table_locks_immediate" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12215" resource_type_id="10175" name="Table_locks_waited" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Table_locks_waited" display_order="431" description="Table_locks_waited" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12216" resource_type_id="10175" name="Tc_log_max_pages_used" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Tc_log_max_pages_used" display_order="432" description="Tc_log_max_pages_used" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12217" resource_type_id="10175" name="Tc_log_page_size" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Tc_log_page_size" display_order="433" description="Tc_log_page_size" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12218" resource_type_id="10175" name="Tc_log_page_waits" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Tc_log_page_waits" display_order="434" description="Tc_log_page_waits" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12219" resource_type_id="10175" name="Threads_cached" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Threads_cached" display_order="435" description="Threads_cached" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12220" resource_type_id="10175" name="Threads_connected" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Threads_connected" display_order="436" description="Threads_connected" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12221" resource_type_id="10175" name="Threads_created" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Threads_created" display_order="437" description="Threads_created" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12222" resource_type_id="10175" name="Threads_running" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Threads_running" display_order="438" description="Threads_running" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12223" resource_type_id="10175" name="Uptime" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Uptime" display_order="439" description="Uptime" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12224" resource_type_id="10175" name="Uptime" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Uptime per Minute" display_order="440" description="Uptime" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12225" resource_type_id="10175" name="Uptime_since_flush_status" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Uptime_since_flush_status" display_order="441" description="Uptime_since_flush_status" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12226" resource_type_id="10177" name="numbackends" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Backends" display_order="1" description="Backends" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12227" resource_type_id="10177" name="xact_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transactions Committed" display_order="2" description="Transactions Committed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12228" resource_type_id="10177" name="xact_commit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Transactions Committed per Minute" display_order="3" description="Transactions Committed" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12229" resource_type_id="10177" name="xact_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Transactions Rolled Back" display_order="4" description="Transactions Rolled Back" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12230" resource_type_id="10177" name="xact_rollback" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="600000" display_name="Transactions Rolled Back per Minute" display_order="5" description="Transactions Rolled Back" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12231" resource_type_id="10177" name="blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Blocks Read" display_order="6" description="Blocks Read" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12232" resource_type_id="10177" name="blks_read" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Blocks Read per Minute" display_order="7" description="Blocks Read" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12233" resource_type_id="10177" name="blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="1200000" display_name="Blocks Hit" display_order="8" description="Blocks Hit" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12234" resource_type_id="10177" name="blks_hit" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="1200000" display_name="Blocks Hit per Minute" display_order="9" description="Blocks Hit" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12235" resource_type_id="10177" name="size" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Size" display_order="10" description="Size of the database" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12236" resource_type_id="10180" name="NetworkStat.tcpInboundTotal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="TCP Inbound Connections" display_order="1" description="TCP Inbound Connections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12237" resource_type_id="10180" name="NetworkStat.tcpOutboundTotal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="TCP Outbound Connections" display_order="2" description="TCP Outbound Connections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12238" resource_type_id="10180" name="NetworkStat.allInboundTotal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="All Inbound Connections" display_order="3" description="All Inbound Connections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12239" resource_type_id="10180" name="NetworkStat.allOutboundTotal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="All Outbound Connections" display_order="4" description="All Outbound Connections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12240" resource_type_id="10180" name="NetworkStat.tcpEstablished" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State ESTABLISHED" display_order="5" description="State ESTABLISHED" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12241" resource_type_id="10180" name="NetworkStat.tcpSynSent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State SYN_SENT" display_order="6" description="State SYN_SENT" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12242" resource_type_id="10180" name="NetworkStat.tcpSynRecv" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State SYN_RECV" display_order="7" description="State SYN_RECV" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12243" resource_type_id="10180" name="NetworkStat.tcpFinWait1" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State FIN_WAIT1" display_order="8" description="State FIN_WAIT1" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12244" resource_type_id="10180" name="NetworkStat.tcpFinWait2" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State FIN_WAIT2" display_order="9" description="State FIN_WAIT2" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12245" resource_type_id="10180" name="NetworkStat.tcpTimeWait" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State TIME_WAIT" display_order="10" description="State TIME_WAIT" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12246" resource_type_id="10180" name="NetworkStat.tcpClose" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State CLOSE" display_order="11" description="State CLOSE" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12247" resource_type_id="10180" name="NetworkStat.tcpCloseWait" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State CLOSE_WAIT" display_order="12" description="State CLOSE_WAIT" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12248" resource_type_id="10180" name="NetworkStat.tcpLastAck" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State LAST_ACK" display_order="13" description="State LAST_ACK" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12249" resource_type_id="10180" name="NetworkStat.tcpListen" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State LISTEN" display_order="14" description="State LISTEN" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12250" resource_type_id="10180" name="NetworkStat.tcpClosing" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State CLOSING" display_order="15" description="State CLOSING" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12251" resource_type_id="10180" name="NetworkStat.tcpIdle" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State IDLE" display_order="16" description="State IDLE" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12252" resource_type_id="10180" name="NetworkStat.tcpBound" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State BOUND" display_order="17" description="State BOUND" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12253" resource_type_id="10184" name="Process.aggregateCpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="User Time" display_order="1" description="User Time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12254" resource_type_id="10184" name="Process.aggregateCpu.user" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="User Time per Minute" display_order="2" description="User Time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12255" resource_type_id="10184" name="Process.aggregateCpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="Kernel Time" display_order="3" description="Kernel Time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12256" resource_type_id="10184" name="Process.aggregateCpu.sys" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="600000" display_name="Kernel Time per Minute" display_order="4" description="Kernel Time" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12257" resource_type_id="10184" name="Process.aggregateCpu.percent" resource_version_range="%NULL%" category="1" units="1" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="CPU Percentage" display_order="5" description="CPU Percentage" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12258" resource_type_id="10184" name="Process.aggregateMemory.resident" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Physical Memory" display_order="6" description="Physical Memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12259" resource_type_id="10184" name="Process.aggregateMemory.size" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Virtual Memory" display_order="7" description="Virtual Memory" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12260" resource_type_id="10184" name="Process.aggregateFileDescriptor.total" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Open File Descriptors" display_order="8" description="Open File Descriptors" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12261" resource_type_id="10184" name="NetworkStat.tcpInboundTotal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="TCP Inbound Connections" display_order="9" description="TCP Inbound Connections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12262" resource_type_id="10184" name="NetworkStat.tcpOutboundTotal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="TCP Outbound Connections" display_order="10" description="TCP Outbound Connections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12263" resource_type_id="10184" name="NetworkStat.allInboundTotal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="All Inbound Connections" display_order="11" description="All Inbound Connections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12264" resource_type_id="10184" name="NetworkStat.allOutboundTotal" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="All Outbound Connections" display_order="12" description="All Outbound Connections" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12265" resource_type_id="10184" name="NetworkStat.tcpEstablished" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State ESTABLISHED" display_order="13" description="State ESTABLISHED" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12266" resource_type_id="10184" name="NetworkStat.tcpSynSent" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State SYN_SENT" display_order="14" description="State SYN_SENT" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12267" resource_type_id="10184" name="NetworkStat.tcpSynRecv" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State SYN_RECV" display_order="15" description="State SYN_RECV" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12268" resource_type_id="10184" name="NetworkStat.tcpFinWait1" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State FIN_WAIT1" display_order="16" description="State FIN_WAIT1" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12269" resource_type_id="10184" name="NetworkStat.tcpFinWait2" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State FIN_WAIT2" display_order="17" description="State FIN_WAIT2" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12270" resource_type_id="10184" name="NetworkStat.tcpTimeWait" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State TIME_WAIT" display_order="18" description="State TIME_WAIT" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12271" resource_type_id="10184" name="NetworkStat.tcpClose" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State CLOSE" display_order="19" description="State CLOSE" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12272" resource_type_id="10184" name="NetworkStat.tcpCloseWait" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State CLOSE_WAIT" display_order="20" description="State CLOSE_WAIT" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12273" resource_type_id="10184" name="NetworkStat.tcpLastAck" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State LAST_ACK" display_order="21" description="State LAST_ACK" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12274" resource_type_id="10184" name="NetworkStat.tcpListen" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State LISTEN" display_order="22" description="State LISTEN" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12275" resource_type_id="10184" name="NetworkStat.tcpClosing" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State CLOSING" display_order="23" description="State CLOSING" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12276" resource_type_id="10184" name="NetworkStat.tcpIdle" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State IDLE" display_order="24" description="State IDLE" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12277" resource_type_id="10184" name="NetworkStat.tcpBound" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="600000" display_name="State BOUND" display_order="25" description="State BOUND" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12278" resource_type_id="10190" name="applInboundAssociations" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Number of Concurrent Connections" display_order="1" description="Number of Concurrent Connections" destination_type="The number of current connections to this application" version="0"/> + <rhq_measurement_def id="12279" resource_type_id="10190" name="serverBuilt" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Server Built" display_order="2" description="the date and time this Apache server's binary was compiled" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12280" resource_type_id="10190" name="wwwServiceStartTime" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Start Time" display_order="3" description="the date and time this Apache server was last started" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12281" resource_type_id="10190" name="rhq_avail_ping_time" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="%NULL%" default_on="true" default_interval="300000" display_name="Time to ping the server for availability" display_order="4" description="Time it took to ping the server for availability over http; this includes DNS lookup time." destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12282" resource_type_id="10192" name="wwwServiceName" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Host" display_order="1" description="the host name or IP address of this virtual host" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12283" resource_type_id="10192" name="wwwServiceProtocol" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Port" display_order="2" description="the TCP port of this virtual host" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12284" resource_type_id="10192" name="wwwServiceContact" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="1" raw_numeric_type="%NULL%" default_on="true" default_interval="600000" display_name="Administrator" display_order="3" description="the administrator of this virtual host" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12285" resource_type_id="10192" name="wwwSummaryInRequests" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total Number of Requests" display_order="4" description="The number of inbound requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12286" resource_type_id="10192" name="wwwSummaryInRequests" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total Number of Requests per Minute" display_order="5" description="The number of inbound requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12287" resource_type_id="10192" name="wwwSummaryInLowBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total Number of Bytes Received" display_order="6" description="The number of bytes received by the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12288" resource_type_id="10192" name="wwwSummaryInLowBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total Number of Bytes Received per Minute" display_order="7" description="The number of bytes received by the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12289" resource_type_id="10192" name="wwwSummaryOutResponses" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total Number of Responses" display_order="8" description="The number of outbound requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12290" resource_type_id="10192" name="wwwSummaryOutResponses" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total Number of Responses per Minute" display_order="9" description="The number of outbound requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12291" resource_type_id="10192" name="wwwSummaryOutLowBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Total Number of Bytes Sent" display_order="10" description="The number of bytes sent by the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12292" resource_type_id="10192" name="wwwSummaryOutLowBytes" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="0" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Total Number of Bytes Sent per Minute" display_order="11" description="The number of bytes sent by the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12293" resource_type_id="10192" name="wwwRequestInRequests.GET" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of GET Requests" display_order="12" description="The number of inbound GET requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12294" resource_type_id="10192" name="wwwRequestInRequests.GET" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of GET Requests per Minute" display_order="13" description="The number of inbound GET requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12295" resource_type_id="10192" name="wwwRequestInRequests.HEAD" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of HEAD Requests" display_order="14" description="The number of inbound HEAD requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12296" resource_type_id="10192" name="wwwRequestInRequests.HEAD" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="300000" display_name="Number of HEAD Requests per Minute" display_order="15" description="The number of inbound HEAD requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12297" resource_type_id="10192" name="wwwRequestInRequests.POST" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of POST Requests" display_order="16" description="The number of inbound POST requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12298" resource_type_id="10192" name="wwwRequestInRequests.POST" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of POST Requests per Minute" display_order="17" description="The number of inbound POST requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12299" resource_type_id="10192" name="wwwRequestInRequests.PUT" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of PUT Requests" display_order="18" description="The number of inbound PUT requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12300" resource_type_id="10192" name="wwwRequestInRequests.PUT" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="300000" display_name="Number of PUT Requests per Minute" display_order="19" description="The number of inbound PUT requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12301" resource_type_id="10192" name="wwwRequestInBytes.GET" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Received for GET Requests" display_order="20" description="The number of bytes received by GET requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12302" resource_type_id="10192" name="wwwRequestInBytes.GET" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Received for GET Requests per Minute" display_order="21" description="The number of bytes received by GET requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12303" resource_type_id="10192" name="wwwRequestInBytes.HEAD" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Received for HEAD Requests" display_order="22" description="The number of bytes received by HEAD requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12304" resource_type_id="10192" name="wwwRequestInBytes.HEAD" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="300000" display_name="Bytes Received for HEAD Requests per Minute" display_order="23" description="The number of bytes received by HEAD requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12305" resource_type_id="10192" name="wwwRequestInBytes.POST" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Received for POST Requests" display_order="24" description="The number of bytes received by POST requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12306" resource_type_id="10192" name="wwwRequestInBytes.POST" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Received for POST Requests per Minute" display_order="25" description="The number of bytes received by POST requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12307" resource_type_id="10192" name="wwwRequestInBytes.PUT" resource_version_range="%NULL%" category="1" units="2" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Received for PUT Requests" display_order="26" description="The number of bytes received by PUT requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12308" resource_type_id="10192" name="wwwRequestInBytes.PUT" resource_version_range="%NULL%" category="1" units="2" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="false" default_interval="300000" display_name="Bytes Received for PUT Requests per Minute" display_order="27" description="The number of bytes received by PUT requests on the service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12309" resource_type_id="10192" name="wwwResponseOutResponses.200" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of 200 Responses" display_order="28" description="The number of 200 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12310" resource_type_id="10192" name="wwwResponseOutResponses.200" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of 200 Responses per Minute" display_order="29" description="The number of 200 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12311" resource_type_id="10192" name="wwwResponseOutResponses.301" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of 301 Responses" display_order="30" description="The number of 301 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12312" resource_type_id="10192" name="wwwResponseOutResponses.301" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of 301 Responses per Minute" display_order="31" description="The number of 301 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12313" resource_type_id="10192" name="wwwResponseOutResponses.302" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of 302 Responses" display_order="32" description="The number of 302 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12314" resource_type_id="10192" name="wwwResponseOutResponses.302" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of 302 Responses per Minute" display_order="33" description="The number of 302 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12315" resource_type_id="10192" name="wwwResponseOutResponses.401" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of 401 Responses" display_order="34" description="The number of 401 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12316" resource_type_id="10192" name="wwwResponseOutResponses.401" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of 401 Responses per Minute" display_order="35" description="The number of 401 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12317" resource_type_id="10192" name="wwwResponseOutResponses.403" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of 403 Responses" display_order="36" description="The number of 403 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12318" resource_type_id="10192" name="wwwResponseOutResponses.403" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of 403 Responses per Minute" display_order="37" description="The number of 403 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12319" resource_type_id="10192" name="wwwResponseOutResponses.404" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of 404 Responses" display_order="38" description="The number of 404 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12320" resource_type_id="10192" name="wwwResponseOutResponses.404" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of 404 Responses per Minute" display_order="39" description="The number of 404 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12321" resource_type_id="10192" name="wwwResponseOutResponses.500" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Number of 500 Responses" display_order="40" description="The number of 500 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12322" resource_type_id="10192" name="wwwResponseOutResponses.500" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Number of 500 Responses per Minute" display_order="41" description="The number of 500 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12323" resource_type_id="10192" name="wwwResponseOutBytes.200" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Sent for 200 Responses" display_order="42" description="The number of bytes sent for 200 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12324" resource_type_id="10192" name="wwwResponseOutBytes.200" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Sent for 200 Responses per Minute" display_order="43" description="The number of bytes sent for 200 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12325" resource_type_id="10192" name="wwwResponseOutBytes.301" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Sent for 301 Responses" display_order="44" description="The number of bytes sent for 301 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12326" resource_type_id="10192" name="wwwResponseOutBytes.301" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Sent for 301 Responses per Minute" display_order="45" description="The number of bytes sent for 301 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12327" resource_type_id="10192" name="wwwResponseOutBytes.302" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Sent for 302 Responses" display_order="46" description="The number of bytes sent for 302 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12328" resource_type_id="10192" name="wwwResponseOutBytes.302" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Sent for 302 Responses per Minute" display_order="47" description="The number of bytes sent for 302 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12329" resource_type_id="10192" name="wwwResponseOutBytes.401" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Sent for 401 Responses" display_order="48" description="The number of bytes sent for 401 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12330" resource_type_id="10192" name="wwwResponseOutBytes.401" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Sent for 401 Responses per Minute" display_order="49" description="The number of bytes sent for 401 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12331" resource_type_id="10192" name="wwwResponseOutBytes.403" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Sent for 403 Responses" display_order="50" description="The number of bytes sent for 403 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12332" resource_type_id="10192" name="wwwResponseOutBytes.403" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Sent for 403 Responses per Minute" display_order="51" description="The number of bytes sent for 403 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12333" resource_type_id="10192" name="wwwResponseOutBytes.404" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Sent for 404 Responses" display_order="52" description="The number of bytes sent for 404 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12334" resource_type_id="10192" name="wwwResponseOutBytes.404" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Sent for 404 Responses per Minute" display_order="53" description="The number of bytes sent for 404 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12335" resource_type_id="10192" name="wwwResponseOutBytes.500" resource_version_range="%NULL%" category="1" units="0" numeric_type="1" display_type="1" data_type="0" raw_numeric_type="%NULL%" default_on="false" default_interval="300000" display_name="Bytes Sent for 500 Responses" display_order="54" description="The number of bytes sent for 500 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12336" resource_type_id="10192" name="wwwResponseOutBytes.500" resource_version_range="%NULL%" category="1" units="0" numeric_type="0" display_type="1" data_type="0" raw_numeric_type="1" default_on="true" default_interval="300000" display_name="Bytes Sent for 500 Responses per Minute" display_order="55" description="The number of bytes sent for 500 responses generated by this service" destination_type="%NULL%" version="0"/> + <rhq_measurement_def id="12337" resource_type_id="10192" name="ResponseTime" resource_version_range="%NULL%" category="1" units="19" numeric_type="0" display_type="1" data_type="3" raw_numeric_type="%NULL%" default_on="false" default_interval="60000" display_name="HTTP Response Time" display_order="56" description="The minimum, maximum, and average response times for HTTP requests serviced by this virtual host" destination_type="URL" version="0"/> + <rhq_operation_def id="10001" resource_type_id="10004" name="postStatus" resource_version_range="" parameter_config_def_id="10004" results_config_def_id="10005" display_name="Post Status" description="Post a status message to the users timeline. Requires user and password to be set on the connection properties" timeout="%NULL%"/> + <rhq_operation_def id="10002" resource_type_id="10006" name="execute" resource_version_range="" parameter_config_def_id="10008" results_config_def_id="10009" display_name="Execute" description="Executes the executable with a set of arguments and returns the output and exit code." timeout="%NULL%"/> + <rhq_operation_def id="10003" resource_type_id="10007" name="discovery" resource_version_range="" parameter_config_def_id="10011" results_config_def_id="10012" display_name="Manual Autodiscovery" description="Run an immediate discovery to search for resources" timeout="%NULL%"/> + <rhq_operation_def id="10004" resource_type_id="10007" name="viewProcessList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10013" display_name="View Process List" description="View running processes on this system" timeout="%NULL%"/> + <rhq_operation_def id="10005" resource_type_id="10008" name="discovery" resource_version_range="" parameter_config_def_id="10016" results_config_def_id="10017" display_name="Manual Autodiscovery" description="Run an immediate discovery to search for resources" timeout="%NULL%"/> + <rhq_operation_def id="10006" resource_type_id="10008" name="viewProcessList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10018" display_name="View Process List" description="View running processes on this system" timeout="%NULL%"/> + <rhq_operation_def id="10007" resource_type_id="10008" name="cleanYumMetadataCache" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Clean Yum Metadata Cache" description="Deletes all cached package metadata" timeout="%NULL%"/> + <rhq_operation_def id="10008" resource_type_id="10009" name="discovery" resource_version_range="" parameter_config_def_id="10021" results_config_def_id="10022" display_name="Manual Autodiscovery" description="Run an immediate discovery to search for resources" timeout="%NULL%"/> + <rhq_operation_def id="10009" resource_type_id="10009" name="viewProcessList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10023" display_name="View Process List" description="View running processes on this system" timeout="%NULL%"/> + <rhq_operation_def id="10010" resource_type_id="10010" name="discovery" resource_version_range="" parameter_config_def_id="10024" results_config_def_id="10025" display_name="Manual Autodiscovery" description="Run an immediate discovery to search for resources" timeout="%NULL%"/> + <rhq_operation_def id="10011" resource_type_id="10010" name="viewProcessList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10026" display_name="View Process List" description="View running processes on this system" timeout="%NULL%"/> + <rhq_operation_def id="10012" resource_type_id="10011" name="discovery" resource_version_range="" parameter_config_def_id="10027" results_config_def_id="10028" display_name="Manual Autodiscovery" description="Run an immediate discovery to search for resources" timeout="%NULL%"/> + <rhq_operation_def id="10013" resource_type_id="10011" name="viewProcessList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10029" display_name="View Process List" description="View running processes on this system" timeout="%NULL%"/> + <rhq_operation_def id="10014" resource_type_id="10012" name="discovery" resource_version_range="" parameter_config_def_id="10030" results_config_def_id="10031" display_name="Manual Autodiscovery" description="Run an immediate discovery to search for resources" timeout="%NULL%"/> + <rhq_operation_def id="10015" resource_type_id="10012" name="viewProcessList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10032" display_name="View Process List" description="View running processes on this system" timeout="%NULL%"/> + <rhq_operation_def id="10016" resource_type_id="10013" name="discovery" resource_version_range="" parameter_config_def_id="10034" results_config_def_id="10035" display_name="Manual Autodiscovery" description="Run an immediate discovery to search for resources" timeout="%NULL%"/> + <rhq_operation_def id="10017" resource_type_id="10013" name="viewProcessList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10036" display_name="View Process List" description="View running processes on this system" timeout="%NULL%"/> + <rhq_operation_def id="10018" resource_type_id="10014" name="discovery" resource_version_range="" parameter_config_def_id="10037" results_config_def_id="10038" display_name="Manual Autodiscovery" description="Run an immediate discovery to search for resources" timeout="%NULL%"/> + <rhq_operation_def id="10019" resource_type_id="10014" name="viewProcessList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10039" display_name="View Process List" description="View running processes on this system" timeout="%NULL%"/> + <rhq_operation_def id="10020" resource_type_id="10024" name="gc" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Run Garbage Collection" description="Runs the garbage collector." timeout="%NULL%"/> + <rhq_operation_def id="10021" resource_type_id="10027" name="resetPeakThreadCount" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Peak Thread Metrics" description="Reset the peak number of threads" timeout="%NULL%"/> + <rhq_operation_def id="10022" resource_type_id="10027" name="findMonitorDeadlockedThreads" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10054" display_name="Find Monitor Deadlocked Threads" description="Finds cycles of threads that are in deadlock waiting to acquire object monitors" timeout="%NULL%"/> + <rhq_operation_def id="10023" resource_type_id="10027" name="threadDump" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10055" display_name="Thread Dump" description="Returns a summary of all live threads, including both daemon and non-daemon threads" timeout="%NULL%"/> + <rhq_operation_def id="10024" resource_type_id="10030" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10059" display_name="Start" description="Start this Tomcat server. The script used is specified in the Control section of Connection Properties." timeout="%NULL%"/> + <rhq_operation_def id="10025" resource_type_id="10030" name="shutdown" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10060" display_name="Shutdown" description="Shutdown this Tomcat server. The script used is specified in the Control section of Connection Properties." timeout="%NULL%"/> + <rhq_operation_def id="10026" resource_type_id="10030" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10061" display_name="Restart" description="Restart this Tomcat server. The scripts used are specified in the Control section of Connection Properties." timeout="%NULL%"/> + <rhq_operation_def id="10027" resource_type_id="10030" name="storeConfig" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10062" display_name="Store Configuration" description="Save current state to the server.xml file." timeout="%NULL%"/> + <rhq_operation_def id="10028" resource_type_id="10033" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="Starts this connector" timeout="%NULL%"/> + <rhq_operation_def id="10029" resource_type_id="10033" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="Stops this connector" timeout="%NULL%"/> + <rhq_operation_def id="10030" resource_type_id="10033" name="pause" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Pause" description="Pauses this connector" timeout="%NULL%"/> + <rhq_operation_def id="10031" resource_type_id="10033" name="resume" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Resume" description="Resumes this connector" timeout="%NULL%"/> + <rhq_operation_def id="10032" resource_type_id="10034" name="save" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Save" description="Save current users and groups to persistent storage." timeout="%NULL%"/> + <rhq_operation_def id="10033" resource_type_id="10036" name="resetPeakThreadCount" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Peak Thread Metrics" description="Reset the peak number of threads" timeout="%NULL%"/> + <rhq_operation_def id="10034" resource_type_id="10036" name="findMonitorDeadlockedThreads" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10073" display_name="Find Monitor Deadlocked Threads" description="Finds cycles of threads that are in deadlock waiting to acquire object monitors" timeout="%NULL%"/> + <rhq_operation_def id="10035" resource_type_id="10036" name="threadDump" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10074" display_name="Thread Dump" description="Returns a summary of all live threads, including both daemon and non-daemon threads" timeout="%NULL%"/> + <rhq_operation_def id="10036" resource_type_id="10037" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="starts this web application." timeout="%NULL%"/> + <rhq_operation_def id="10037" resource_type_id="10037" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="stops this web application." timeout="%NULL%"/> + <rhq_operation_def id="10038" resource_type_id="10037" name="reload" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reload" description="reloads this web application." timeout="%NULL%"/> + <rhq_operation_def id="10039" resource_type_id="10041" name="gc" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Run Garbage Collection" description="Runs the garbage collector." timeout="%NULL%"/> + <rhq_operation_def id="10040" resource_type_id="10048" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart Agent" description="Shuts down the agent's comm layer and plugin container and starts them up again. This does *not* restart the agent's VM - use the launcher services to do that." timeout="%NULL%"/> + <rhq_operation_def id="10041" resource_type_id="10048" name="shutdown" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Shutdown Agent" description="Shuts down the agent's comm layer and plugin container. If the agent is in daemon mode, the entire agent VM will exit" timeout="%NULL%"/> + <rhq_operation_def id="10042" resource_type_id="10048" name="restartPluginContainer" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart Plugin Container" description="Recycles the plugin container." timeout="%NULL%"/> + <rhq_operation_def id="10043" resource_type_id="10048" name="downloadLatestFailoverList" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Download Latest Failover List" description="Tells the agent to download an updated server failover list. This will also check to make sure the agent is pointing to its primary server as found in the new failover list and, if not, will attempt to switch to the primary server now." timeout="%NULL%"/> + <rhq_operation_def id="10044" resource_type_id="10048" name="updatePlugins" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Update All Plugins" description="Tells the agent to update its plugins. This pulls new/updated plugins down from the RHQ Server" timeout="%NULL%"/> + <rhq_operation_def id="10045" resource_type_id="10048" name="retrieveAllPluginInfo" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10095" display_name="Get Info On All Plugins" description="Retrieves information on all deployed plugins." timeout="%NULL%"/> + <rhq_operation_def id="10046" resource_type_id="10048" name="retrievePluginInfo" resource_version_range="" parameter_config_def_id="10096" results_config_def_id="10097" display_name="Get Plugin Info" description="Retrieves information on a specific plugin." timeout="%NULL%"/> + <rhq_operation_def id="10047" resource_type_id="10048" name="executeAvailabilityScan" resource_version_range="" parameter_config_def_id="10098" results_config_def_id="10099" display_name="Execute Availability Scan" description="Runs an availability scan and returns a report of its findings. An availability report tells you what resources are up or down. This operation will send the report to the server for processing, as well as return the results." timeout="%NULL%"/> + <rhq_operation_def id="10048" resource_type_id="10048" name="retrieveCurrentDateTime" resource_version_range="" parameter_config_def_id="10100" results_config_def_id="10101" display_name="Get Current Date/Time" description="Obtains the agent's current date/time." timeout="%NULL%"/> + <rhq_operation_def id="10049" resource_type_id="10048" name="setDebugMode" resource_version_range="" parameter_config_def_id="10102" results_config_def_id="%NULL%" display_name="Set Debug Mode" description="Turns on or off debug mode, which causes the agent to emit verbose log messages." timeout="%NULL%"/> + <rhq_operation_def id="10050" resource_type_id="10048" name="executePromptCommand" resource_version_range="" parameter_config_def_id="10103" results_config_def_id="10104" display_name="Execute Prompt Command" description="Executes an agent prompt command, just as if you invoked the command at the agent prompt in a console. Note that you must ensure the prompt command does not require additional input, since the agent will look for that input from another source (e.g. console keyboard)." timeout="%NULL%"/> + <rhq_operation_def id="10051" resource_type_id="10051" name="Restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart" description="Restarts the agent VM. This will completely kill the agent VM process (if it is running as this service) and then attempt to restart it. If the agent executing this operation will quickly die, no confirmation will be available as to the success or failure of this operation." timeout="%NULL%"/> + <rhq_operation_def id="10052" resource_type_id="10051" name="Stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="Stops the agent VM gracefully. This will completely kill the agent VM process (if it is running as this service). If the agent executing this operation will quickly die, no confirmation will be available as to the success or failure of this operation." timeout="%NULL%"/> + <rhq_operation_def id="10053" resource_type_id="10051" name="Kill" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Kill" description="Performs a hard kill on the agent VM. This will completely kill the agent VM process (if it is running as this service). If the agent executing this operation will quickly die, no confirmation will be available as to the success or failure of this operation." timeout="%NULL%"/> + <rhq_operation_def id="10054" resource_type_id="10051" name="Status" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10108" display_name="Status" description="Gets the status of agent VM, if it was launched by the launcher script." timeout="%NULL%"/> + <rhq_operation_def id="10055" resource_type_id="10053" name="retrievePluginDependencyGraph" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10112" display_name="Retrieve Plugin Dependency Graph" description="Get the list of plugins and show what plugins they depend on. The order of this list is the order in which the plugins are deployed." timeout="%NULL%"/> + <rhq_operation_def id="10056" resource_type_id="10053" name="retrievePluginClassLoaderInformation" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10113" display_name="Retrieve Plugin ClassLoader Information" description="Get information on all plugin classloaders. There is one plugin classloader for each deployed plugin." timeout="%NULL%"/> + <rhq_operation_def id="10057" resource_type_id="10053" name="retrieveDiscoveryClassLoaderInformation" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10114" display_name="Retrieve Discovery ClassLoader Information" description="Get information on all discovery classloaders. These are created for discovery components that need to discover resources under a parent resource where that parent resource is from a different plugin than the discovery component." timeout="%NULL%"/> + <rhq_operation_def id="10058" resource_type_id="10053" name="retrieveAllResourceClassLoaderInformation" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10115" display_name="Retrieve ClassLoader Information For All Resources" description="Get information on classloaders for all resources. Depending on the number of resources being managed, this is potentially an expensive operation." timeout="%NULL%"/> + <rhq_operation_def id="10059" resource_type_id="10053" name="retrieveUniqueResourceClassLoaderInformation" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10116" display_name="Retrieve Unique Resource ClassLoader Information" description="Get information on all unique resource classloader instances that are created. Depending on the number of resources being managed, this is potentially an expensive operation." timeout="%NULL%"/> + <rhq_operation_def id="10060" resource_type_id="10054" name="Install" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10119" display_name="Install" description="Installs the Java Service Wrapper so it starts the agent at boot time" timeout="%NULL%"/> + <rhq_operation_def id="10061" resource_type_id="10054" name="Restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart" description="Restarts the Java Service Wrapper and the agent it contains. This will completely kill the agent VM process (if it is running as this service) and then attempt to restart it. If the agent executing this operation will quickly die, no confirmation will be available as to the success or failure of this operation." timeout="%NULL%"/> + <rhq_operation_def id="10062" resource_type_id="10054" name="Stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="Stops the Java Service Wrapper and the agent it contains. This will completely kill the agent VM process (if it is running as this service). If the agent executing this operation will quickly die, no confirmation will be available as to the success or failure of this operation." timeout="%NULL%"/> + <rhq_operation_def id="10063" resource_type_id="10054" name="Remove" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Remove" description="Removes the Java Service Wrapper so it no longer starts the agent at boot time. *NOTE* This will completely kill the agent VM process if it is running as this service. If the agent executing this operation will quickly die, no confirmation will be available as to the success or failure of this operation." timeout="%NULL%"/> + <rhq_operation_def id="10064" resource_type_id="10054" name="Status" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10120" display_name="Status" description="Gets the status of the Java Service Wrapper" timeout="%NULL%"/> + <rhq_operation_def id="10065" resource_type_id="10055" name="resetPeakThreadCount" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Peak Thread Metrics" description="Reset the peak number of threads" timeout="%NULL%"/> + <rhq_operation_def id="10066" resource_type_id="10055" name="findMonitorDeadlockedThreads" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10123" display_name="Find Monitor Deadlocked Threads" description="Finds cycles of threads that are in deadlock waiting to acquire object monitors" timeout="%NULL%"/> + <rhq_operation_def id="10067" resource_type_id="10055" name="threadDump" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10124" display_name="Thread Dump" description="Returns a summary of all live threads, including both daemon and non-daemon threads" timeout="%NULL%"/> + <rhq_operation_def id="10068" resource_type_id="10058" name="gc" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Run Garbage Collection" description="Runs the garbage collector." timeout="%NULL%"/> + <rhq_operation_def id="10069" resource_type_id="10063" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10136" display_name="Start" description="Start this application server. The script used is specified in the Operations group of connection properties. This operation will fail if the server is already started." timeout="%NULL%"/> + <rhq_operation_def id="10070" resource_type_id="10063" name="shutdown" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10137" display_name="Shut Down" description="Shut down this application server via script or JMX, depending on the settings in the Operations and Advanced groups of connection properties. This operation will fail if the server is already shut down." timeout="%NULL%"/> + <rhq_operation_def id="10071" resource_type_id="10063" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10138" display_name="Restart" description="Shut down (if started) and then start this application server." timeout="%NULL%"/> + <rhq_operation_def id="10072" resource_type_id="10064" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="starts this EAR" timeout="%NULL%"/> + <rhq_operation_def id="10073" resource_type_id="10064" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="stops this EAR" timeout="%NULL%"/> + <rhq_operation_def id="10074" resource_type_id="10064" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart" description="stops and then restarts this EAR" timeout="%NULL%"/> + <rhq_operation_def id="10075" resource_type_id="10068" name="flush" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Flush" description="Flush the connections in the pool" timeout="%NULL%"/> + <rhq_operation_def id="10076" resource_type_id="10068" name="listFormattedSubPoolStatistics" resource_version_range="" parameter_config_def_id="10147" results_config_def_id="10148" display_name="List Formatted Sub Pool Statistics" description="Obtain a formatted sub pool statistics report" timeout="%NULL%"/> + <rhq_operation_def id="10077" resource_type_id="10068" name="listStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10149" display_name="List Statistics" description="Obtain a statistics report" timeout="%NULL%"/> + <rhq_operation_def id="10078" resource_type_id="10068" name="testConnection" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10150" display_name="Test Connection" description="Test if a connection can be obtained" timeout="%NULL%"/> + <rhq_operation_def id="10079" resource_type_id="10069" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="starts this WAR" timeout="%NULL%"/> + <rhq_operation_def id="10080" resource_type_id="10069" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="stops this WAR" timeout="%NULL%"/> + <rhq_operation_def id="10081" resource_type_id="10069" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart" description="stops and then restarts this WAR" timeout="%NULL%"/> + <rhq_operation_def id="10082" resource_type_id="10070" name="flush" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Flush" description="Flush the connections in the pool" timeout="%NULL%"/> + <rhq_operation_def id="10083" resource_type_id="10070" name="listFormattedSubPoolStatistics" resource_version_range="" parameter_config_def_id="10155" results_config_def_id="10156" display_name="List Formatted Sub Pool Statistics" description="Obtain a formatted sub pool statistics report" timeout="%NULL%"/> + <rhq_operation_def id="10084" resource_type_id="10070" name="listStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10157" display_name="List Statistics" description="Obtain a statistics report" timeout="%NULL%"/> + <rhq_operation_def id="10085" resource_type_id="10070" name="testConnection" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10158" display_name="Test Connection" description="Test if a connection can be obtained" timeout="%NULL%"/> + <rhq_operation_def id="10086" resource_type_id="10071" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="starts this EJB JAR" timeout="%NULL%"/> + <rhq_operation_def id="10087" resource_type_id="10071" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="stops this EJB JAR" timeout="%NULL%"/> + <rhq_operation_def id="10088" resource_type_id="10071" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart" description="stops and then restarts this EJB JAR" timeout="%NULL%"/> + <rhq_operation_def id="10089" resource_type_id="10072" name="flush" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Flush" description="Flush the connections in the pool" timeout="%NULL%"/> + <rhq_operation_def id="10090" resource_type_id="10072" name="listFormattedSubPoolStatistics" resource_version_range="" parameter_config_def_id="10163" results_config_def_id="10164" display_name="List Formatted Sub Pool Statistics" description="Obtain a formatted sub pool statistics report" timeout="%NULL%"/> + <rhq_operation_def id="10091" resource_type_id="10072" name="listStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10165" display_name="List Statistics" description="Obtain a statistics report" timeout="%NULL%"/> + <rhq_operation_def id="10092" resource_type_id="10072" name="testConnection" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10166" display_name="Test Connection" description="Test if a connection can be obtained" timeout="%NULL%"/> + <rhq_operation_def id="10093" resource_type_id="10074" name="flush" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Flush" description="Flush the connections in the pool" timeout="%NULL%"/> + <rhq_operation_def id="10094" resource_type_id="10074" name="listFormattedSubPoolStatistics" resource_version_range="" parameter_config_def_id="10170" results_config_def_id="10171" display_name="List Formatted Sub Pool Statistics" description="Obtain a formatted sub pool statistics report" timeout="%NULL%"/> + <rhq_operation_def id="10095" resource_type_id="10074" name="listStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10172" display_name="List Statistics" description="Obtain a statistics report" timeout="%NULL%"/> + <rhq_operation_def id="10096" resource_type_id="10074" name="testConnection" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10173" display_name="Test Connection" description="Test if a connection can be obtained" timeout="%NULL%"/> + <rhq_operation_def id="10097" resource_type_id="10075" name="execute" resource_version_range="" parameter_config_def_id="10175" results_config_def_id="10176" display_name="Execute Script" description="execute the script; NOTE: environment variables to be passed to the script can be configured via this Script service's connection properties (under its Inventory tab)" timeout="%NULL%"/> + <rhq_operation_def id="10098" resource_type_id="10076" name="flush" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Flush" description="Flush the connections in the pool" timeout="%NULL%"/> + <rhq_operation_def id="10099" resource_type_id="10076" name="listFormattedSubPoolStatistics" resource_version_range="" parameter_config_def_id="10179" results_config_def_id="10180" display_name="List Formatted Sub Pool Statistics" description="Obtain a formatted sub pool statistics report" timeout="%NULL%"/> + <rhq_operation_def id="10100" resource_type_id="10076" name="listStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10181" display_name="List Statistics" description="Obtain a statistics report" timeout="%NULL%"/> + <rhq_operation_def id="10101" resource_type_id="10076" name="testConnection" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10182" display_name="Test Connection" description="Test if a connection can be obtained" timeout="%NULL%"/> + <rhq_operation_def id="10102" resource_type_id="10077" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="starts this RAR" timeout="%NULL%"/> + <rhq_operation_def id="10103" resource_type_id="10077" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="stops this RAR" timeout="%NULL%"/> + <rhq_operation_def id="10104" resource_type_id="10077" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart" description="stops and then restarts this RAR" timeout="%NULL%"/> + <rhq_operation_def id="10105" resource_type_id="10082" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="starts this EJB JAR" timeout="%NULL%"/> + <rhq_operation_def id="10106" resource_type_id="10082" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="stops this EJB JAR" timeout="%NULL%"/> + <rhq_operation_def id="10107" resource_type_id="10082" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart" description="stops and then restarts this EJB JAR" timeout="%NULL%"/> + <rhq_operation_def id="10108" resource_type_id="10083" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10193" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> + <rhq_operation_def id="10109" resource_type_id="10085" name="gc" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Run Garbage Collection" description="Runs the garbage collector." timeout="%NULL%"/> + <rhq_operation_def id="10110" resource_type_id="10086" name="displayBindings" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10198" display_name="Display Bindings" description="Displays the full set of bindings as they would look if this bindings set was active." timeout="%NULL%"/> + <rhq_operation_def id="10111" resource_type_id="10087" name="removeAllMessages" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Remove All Messages" description="Remove all messages from the destination." timeout="%NULL%"/> + <rhq_operation_def id="10112" resource_type_id="10087" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="Start the destination." timeout="%NULL%"/> + <rhq_operation_def id="10113" resource_type_id="10087" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="Stop the destination." timeout="%NULL%"/> + <rhq_operation_def id="10114" resource_type_id="10087" name="listAllMessages" resource_version_range="" parameter_config_def_id="10201" results_config_def_id="10202" display_name="List All Messages" description="List all messages for the specified subscription with the specified selector" timeout="%NULL%"/> + <rhq_operation_def id="10115" resource_type_id="10087" name="listDurableMessages" resource_version_range="" parameter_config_def_id="10203" results_config_def_id="10204" display_name="List Durable Messages" description="List all durable messages for the specified subscription with the specified selector" timeout="%NULL%"/> + <rhq_operation_def id="10116" resource_type_id="10087" name="listNonDurableMessages" resource_version_range="" parameter_config_def_id="10205" results_config_def_id="10206" display_name="List Non Durable Messages" description="List all non durable messages for the specified subscription with the specified selector" timeout="%NULL%"/> + <rhq_operation_def id="10117" resource_type_id="10087" name="listAllSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10207" display_name="List All Subscriptions" description="Return all subscriptions for the topic" timeout="%NULL%"/> + <rhq_operation_def id="10118" resource_type_id="10087" name="listAllSubscriptionsAsHTML" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10208" display_name="List All Subscriptions As HTML" description="Return all subscriptions for the topic as HTML" timeout="%NULL%"/> + <rhq_operation_def id="10119" resource_type_id="10087" name="listDurableSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10209" display_name="List Durable Subscriptions" description="Return all durable subscriptions for the topic" timeout="%NULL%"/> + <rhq_operation_def id="10120" resource_type_id="10087" name="listDurableSubscriptionsAsHTML" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10210" display_name="List Durable Subscriptions As HTML" description="Return all durable subscriptions for the topic as HTML" timeout="%NULL%"/> + <rhq_operation_def id="10121" resource_type_id="10087" name="listNonDurableSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10211" display_name="List Non-Durable Subscriptions" description="Return all non-durable subscriptions for the topic" timeout="%NULL%"/> + <rhq_operation_def id="10122" resource_type_id="10087" name="listNonDurableSubscriptionsAsHTML" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10212" display_name="List Non-Durable Subscriptions As HTML" description="Return all non-durable subscriptions for the topic as HTML" timeout="%NULL%"/> + <rhq_operation_def id="10123" resource_type_id="10089" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10215" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> + <rhq_operation_def id="10124" resource_type_id="10090" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10217" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> + <rhq_operation_def id="10125" resource_type_id="10091" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10219" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> + <rhq_operation_def id="10126" resource_type_id="10093" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10223" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> + <rhq_operation_def id="10127" resource_type_id="10096" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10228" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> + <rhq_operation_def id="10128" resource_type_id="10097" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10230" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> + <rhq_operation_def id="10129" resource_type_id="10101" name="removeAllMessages" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Remove All Messages" description="Remove all messages from the destination." timeout="%NULL%"/> + <rhq_operation_def id="10130" resource_type_id="10101" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="Start the destination." timeout="%NULL%"/> + <rhq_operation_def id="10131" resource_type_id="10101" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="Stop the destination." timeout="%NULL%"/> + <rhq_operation_def id="10132" resource_type_id="10101" name="listAllMessages" resource_version_range="" parameter_config_def_id="10236" results_config_def_id="10237" display_name="List All Messages" description="List all messages for the specified selector" timeout="%NULL%"/> + <rhq_operation_def id="10133" resource_type_id="10101" name="listDurableMessages" resource_version_range="" parameter_config_def_id="10238" results_config_def_id="10239" display_name="List Durable Messages" description="List all durable messages for the specified selector" timeout="%NULL%"/> + <rhq_operation_def id="10134" resource_type_id="10101" name="listNonDurableMessages" resource_version_range="" parameter_config_def_id="10240" results_config_def_id="10241" display_name="List Non Durable Messages" description="List all non durable messages for the specified selector" timeout="%NULL%"/> + <rhq_operation_def id="10135" resource_type_id="10101" name="listMessageCounterAsHTML" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10242" display_name="List Message Counter As HTML" description="Get the message counter as HTML" timeout="%NULL%"/> + <rhq_operation_def id="10136" resource_type_id="10101" name="listMessageCounterHistoryAsHTML" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10243" display_name="List Message Counter History As HTML" description="Get the message counter history as HTML" timeout="%NULL%"/> + <rhq_operation_def id="10137" resource_type_id="10101" name="resetMessageCounter" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Message Counter" description="Reset the message counter" timeout="%NULL%"/> + <rhq_operation_def id="10138" resource_type_id="10101" name="resetMessageCounterHistory" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Message Counter History" description="Reset the message counter history" timeout="%NULL%"/> + <rhq_operation_def id="10139" resource_type_id="10102" name="resetPeakThreadCount" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Peak Thread Metrics" description="Reset the peak number of threads" timeout="%NULL%"/> + <rhq_operation_def id="10140" resource_type_id="10102" name="findMonitorDeadlockedThreads" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10246" display_name="Find Monitor Deadlocked Threads" description="Finds cycles of threads that are in deadlock waiting to acquire object monitors" timeout="%NULL%"/> + <rhq_operation_def id="10141" resource_type_id="10102" name="threadDump" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10247" display_name="Thread Dump" description="Returns a summary of all live threads, including both daemon and non-daemon threads" timeout="%NULL%"/> + <rhq_operation_def id="10142" resource_type_id="10103" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10249" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> + <rhq_operation_def id="10143" resource_type_id="10104" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10251" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> + <rhq_operation_def id="10144" resource_type_id="10107" name="viewInvocationStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10255" display_name="View Method Statistics" description="Display detailed method invocation statistics." timeout="%NULL%"/> + <rhq_operation_def id="10145" resource_type_id="10113" name="destroy" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Destroy this cache." description="%NULL%" timeout="%NULL%"/> + <rhq_operation_def id="10146" resource_type_id="10113" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop this cache." description="%NULL%" timeout="%NULL%"/> + <rhq_operation_def id="10147" resource_type_id="10113" name="create" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Create this cache." description="%NULL%" timeout="%NULL%"/> + <rhq_operation_def id="10148" resource_type_id="10113" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start this cache." description="%NULL%" timeout="%NULL%"/> + <rhq_operation_def id="10149" resource_type_id="10113" name="printLockInfo" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10262" display_name="Print lock information." description="%NULL%" timeout="%NULL%"/> + <rhq_operation_def id="10150" resource_type_id="10113" name="printCacheDetails" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10263" display_name="Print cache details." description="%NULL%" timeout="%NULL%"/> + <rhq_operation_def id="10151" resource_type_id="10113" name="printCacheDetailsAsHtml" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10264" display_name="Print cache details as HTML." description="%NULL%" timeout="%NULL%"/> + <rhq_operation_def id="10152" resource_type_id="10113" name="printConfigurationAsString" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10265" display_name="Print configuration as plain text." description="%NULL%" timeout="%NULL%"/> + <rhq_operation_def id="10153" resource_type_id="10113" name="printLockInfoAsHtml" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10266" display_name="Print lock info as HTML." description="%NULL%" timeout="%NULL%"/> + <rhq_operation_def id="10154" resource_type_id="10113" name="printConfigurationAsHtmlString" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10267" display_name="Print configuration as HTML." description="%NULL%" timeout="%NULL%"/> + <rhq_operation_def id="10155" resource_type_id="10115" name="getNumberOfNodes" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10270" display_name="Get the number of nodes." description="Returns the number of nodes in the data container" timeout="%NULL%"/> + <rhq_operation_def id="10156" resource_type_id="10115" name="getNumberOfAttributes" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10271" display_name="Get the number of attributes." description="Returns the number of nodes in the data container" timeout="%NULL%"/> + <rhq_operation_def id="10157" resource_type_id="10115" name="printDetails" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10272" display_name="Print details as plain text." description="Prints details about the data container" timeout="%NULL%"/> + <rhq_operation_def id="10158" resource_type_id="10115" name="printDetailsAsHtml" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10273" display_name="Print details as HTML." description="Prints details about the data container, formatted as HTML" timeout="%NULL%"/> + <rhq_operation_def id="10159" resource_type_id="10116" name="dumpRegions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10275" display_name="Dump Regions" description="Dump a list of all registered regions." timeout="%NULL%"/> + <rhq_operation_def id="10160" resource_type_id="10117" name="resetStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Statistics" description="Reset all statistics." timeout="%NULL%"/> + <rhq_operation_def id="10161" resource_type_id="10118" name="resetStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Statistics" description="Reset all statistics." timeout="%NULL%"/> + <rhq_operation_def id="10162" resource_type_id="10121" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10281" display_name="Start" description="Start this application server. The script used is specified in the Operations group of connection properties." timeout="%NULL%"/> + <rhq_operation_def id="10163" resource_type_id="10121" name="shutdown" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10282" display_name="Shutdown" description="Shutdown this application server via script or JMX depending on the settings in the Operations and Advanced groups of connection properties." timeout="%NULL%"/> + <rhq_operation_def id="10164" resource_type_id="10121" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10283" display_name="Restart" description="Shutdown and then start this application server." timeout="%NULL%"/> + <rhq_operation_def id="10165" resource_type_id="10126" name="flush" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Flush" description="Resets the connection pool for this datasource. Performs the following steps: 1) all idle connections are immediately closed, 2) any in use connections are closed when the application finishes with them, and 3) new connections are created." timeout="%NULL%"/> + <rhq_operation_def id="10166" resource_type_id="10128" name="revert" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10294" display_name="Revert" description="Tries to revert this enterprise application from a saved backup in the same directory and with a name ending in .bak" timeout="%NULL%"/> + <rhq_operation_def id="10167" resource_type_id="10131" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10299" display_name="Start" description="starts this webapp; NOTE: this operation is *not* supported for JBossAS versions prior to 4.0.4.GA (see http://jira.jboss.org/jira/browse/JBAS-3006)" timeout="%NULL%"/> + <rhq_operation_def id="10168" resource_type_id="10131" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10300" display_name="Stop" description="stops this webapp; NOTE: this operation is *not* supported for JBossAS versions prior to 4.0.4.GA (see http://jira.jboss.org/jira/browse/JBAS-3006)" timeout="%NULL%"/> + <rhq_operation_def id="10169" resource_type_id="10131" name="reload" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10301" display_name="Reload" description="reloads this webapp; NOTE: if the webapp is not in the started state, this operation will fail" timeout="%NULL%"/> + <rhq_operation_def id="10170" resource_type_id="10131" name="revert" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10302" display_name="Revert" description="Tries to revert this web application from a saved backup in the same directory and with a name ending in .bak" timeout="%NULL%"/> + <rhq_operation_def id="10171" resource_type_id="10133" name="viewMethodStats" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10306" display_name="View Method Stats" description="View method execution statistics for the EJB; NOTE: this operation is only available if JBoss EJB3 RC9 Patch 1 or later is being used (a capable version of EJB3 is included with JBossAS 4.2.0.GA or later)" timeout="%NULL%"/> + <rhq_operation_def id="10172" resource_type_id="10134" name="execute" resource_version_range="" parameter_config_def_id="10308" results_config_def_id="10309" display_name="Execute Script" description="execute the script; NOTE: environment variables to be passed to the script can be configured via this Script service's connection properties (under its Inventory>Connection tab)" timeout="%NULL%"/> + <rhq_operation_def id="10173" resource_type_id="10137" name="gc" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Run Garbage Collection" description="Runs the garbage collector." timeout="%NULL%"/> + <rhq_operation_def id="10174" resource_type_id="10141" name="removeAllMessages" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Remove All Messages" description="Clears all Subscriptions" timeout="%NULL%"/> + <rhq_operation_def id="10175" resource_type_id="10141" name="listAllSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10319" display_name="List All Subscriptions" description="Lists all the Subscriptions." timeout="%NULL%"/> + <rhq_operation_def id="10176" resource_type_id="10141" name="listDurableSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10320" display_name="List Durable Subscriptions" description="Lists all the durable subscriptions." timeout="%NULL%"/> + <rhq_operation_def id="10177" resource_type_id="10141" name="listNonDurableSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10321" display_name="List Non-durable Subscriptions" description="Lists all the non-durable subscriptions." timeout="%NULL%"/> + <rhq_operation_def id="10178" resource_type_id="10141" name="resetMessageCounter" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Message Counter" description="Clears the message counter data for all topic subscriptions." timeout="%NULL%"/> + <rhq_operation_def id="10179" resource_type_id="10141" name="resetMessageCounterHistory" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Message Counter History" description="Clears the message counter history data for this topic." timeout="%NULL%"/> + <rhq_operation_def id="10180" resource_type_id="10141" name="listMessages" resource_version_range="" parameter_config_def_id="10322" results_config_def_id="10323" display_name="List Messages by ID and Selector" description="List the messages for a subscription by ID and with an optional selector." timeout="%NULL%"/> + <rhq_operation_def id="10181" resource_type_id="10141" name="getNonDurableMessageCount" resource_version_range="" parameter_config_def_id="10324" results_config_def_id="10325" display_name="Get Non-durable Message Count" description="Gets the message count for non-durable messages by client ID and subscription ID." timeout="%NULL%"/> + <rhq_operation_def id="10182" resource_type_id="10141" name="listNonDurableMessages" resource_version_range="" parameter_config_def_id="10326" results_config_def_id="10327" display_name="List Non-durable Messages" description="Lists the non-durable messages by client ID, subscription ID, and an optional selector." timeout="%NULL%"/> + <rhq_operation_def id="10183" resource_type_id="10141" name="getDurableMessageCount" resource_version_range="" parameter_config_def_id="10328" results_config_def_id="10329" display_name="Get Durable Message Count" description="Gets the message count for durable messages by client ID and subscription ID." timeout="%NULL%"/> + <rhq_operation_def id="10184" resource_type_id="10141" name="listDurableMessages" resource_version_range="" parameter_config_def_id="10330" results_config_def_id="10331" display_name="List Durable Messages" description="Lists the durable messages by client ID, subscription ID, and an optional selector." timeout="%NULL%"/> + <rhq_operation_def id="10185" resource_type_id="10141" name="getNonDurableScheduledMessageCount" resource_version_range="" parameter_config_def_id="10332" results_config_def_id="10333" display_name="Get Non-durable Scheduled Message Count" description="Gets the message count for non-durable scheduled messages by client ID and subscription ID." timeout="%NULL%"/> + <rhq_operation_def id="10186" resource_type_id="10141" name="listNonDurableScheduledMessages" resource_version_range="" parameter_config_def_id="10334" results_config_def_id="10335" display_name="List Non-durable Scheduled Messages" description="Lists the non-durable scheduled messages by client ID, subscription ID, and an optional selector." timeout="%NULL%"/> + <rhq_operation_def id="10187" resource_type_id="10141" name="getDurableMessageScheduledCount" resource_version_range="" parameter_config_def_id="10336" results_config_def_id="10337" display_name="Get Durable Scheduled Message Count" description="Gets the message count for durable scheduled messages by client ID and subscription ID." timeout="%NULL%"/> + <rhq_operation_def id="10188" resource_type_id="10141" name="listDurableScheduledMessages" resource_version_range="" parameter_config_def_id="10338" results_config_def_id="10339" display_name="List Durable Scheduled Messages" description="Lists the durable scheduled messages by client ID, subscription ID, and an optional selector." timeout="%NULL%"/> + <rhq_operation_def id="10189" resource_type_id="10141" name="getNonDurableInProcessMessageCount" resource_version_range="" parameter_config_def_id="10340" results_config_def_id="10341" display_name="Get Non-durable In-process Message Count" description="Gets the message count for non-durable in-process messages by client Id and subscription Id" timeout="%NULL%"/> + <rhq_operation_def id="10190" resource_type_id="10141" name="listNonDurableInProcessMessages" resource_version_range="" parameter_config_def_id="10342" results_config_def_id="10343" display_name="List Non-durable In-process Messages" description="Lists the non-durable in-process messages by client ID, subscription ID, and an optional selector." timeout="%NULL%"/> + <rhq_operation_def id="10191" resource_type_id="10141" name="getDurableInProcessMessageCount" resource_version_range="" parameter_config_def_id="10344" results_config_def_id="10345" display_name="Get Durable In-process Message Count" description="Gets the message count for durable in-process messages by client ID and subscription Id" timeout="%NULL%"/> + <rhq_operation_def id="10192" resource_type_id="10141" name="listDurableInProcessMessages" resource_version_range="" parameter_config_def_id="10346" results_config_def_id="10347" display_name="List Durable In-process Messages" description="Lists the durable in-process messages by client ID, subscription ID, and an optional selector." timeout="%NULL%"/> + <rhq_operation_def id="10193" resource_type_id="10144" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10352" display_name="Start" description="starts this webapp; NOTE: this operation is *not* supported for JBossAS versions prior to 4.0.4.GA (see http://jira.jboss.org/jira/browse/JBAS-3006)" timeout="%NULL%"/> + <rhq_operation_def id="10194" resource_type_id="10144" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10353" display_name="Stop" description="stops this webapp; NOTE: this operation is *not* supported for JBossAS versions prior to 4.0.4.GA (see http://jira.jboss.org/jira/browse/JBAS-3006)" timeout="%NULL%"/> + <rhq_operation_def id="10195" resource_type_id="10144" name="reload" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10354" display_name="Reload" description="reloads this webapp; NOTE: if the webapp is not in the started state, this operation will fail" timeout="%NULL%"/> + <rhq_operation_def id="10196" resource_type_id="10145" name="removeAllMessages" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Remove All Messages" description="Clears all Messages in the Queue" timeout="%NULL%"/> + <rhq_operation_def id="10197" resource_type_id="10145" name="resetMessageCounter" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Message Counter" description="Clears the MessageCounter data for this Queue" timeout="%NULL%"/> + <rhq_operation_def id="10198" resource_type_id="10145" name="resetMessageCounterHistory" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Message Counter History" description="Clears the MessageCounter history data for this Queue" timeout="%NULL%"/> + <rhq_operation_def id="10199" resource_type_id="10145" name="listMessages" resource_version_range="" parameter_config_def_id="10357" results_config_def_id="10358" display_name="List Messages by Selector" description="Lists the Messages in the Queue by Selector (if provided). Selector is not required." timeout="%NULL%"/> + <rhq_operation_def id="10200" resource_type_id="10145" name="listAllMessages" resource_version_range="" parameter_config_def_id="10359" results_config_def_id="10360" display_name="List All Messages" description="Lists All Messages by Selector (if provided). Selector is not required." timeout="%NULL%"/> + <rhq_operation_def id="10201" resource_type_id="10145" name="listDurableMessages" resource_version_range="" parameter_config_def_id="10361" results_config_def_id="10362" display_name="List Durable Messages" description="Lists Durable Messages by Selector (if provided). Selector is not required." timeout="%NULL%"/> + <rhq_operation_def id="10202" resource_type_id="10145" name="listNonDurableMessages" resource_version_range="" parameter_config_def_id="10363" results_config_def_id="10364" display_name="List Non-Durable Messages" description="Lists Non-Durable Messages by Selector (if provided). Selector is not required." timeout="%NULL%"/> + <rhq_operation_def id="10203" resource_type_id="10146" name="removeAllMessages" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Remove All Messages" description="Clears all Subscriptions" timeout="%NULL%"/> + <rhq_operation_def id="10204" resource_type_id="10146" name="listAllSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10367" display_name="List All Subscriptions" description="Lists all the Subscriptions." timeout="%NULL%"/> + <rhq_operation_def id="10205" resource_type_id="10146" name="listDurableSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10368" display_name="List Durable Subscriptions" description="Lists all the durable subscriptions." timeout="%NULL%"/> + <rhq_operation_def id="10206" resource_type_id="10146" name="listNonDurableSubscriptions" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10369" display_name="List Non-durable Subscriptions" description="Lists all the non-durable subscriptions." timeout="%NULL%"/> + <rhq_operation_def id="10207" resource_type_id="10146" name="listAllMessages" resource_version_range="" parameter_config_def_id="10370" results_config_def_id="10371" display_name="List Messages by ID and Selector" description="List the messages for a subscription by ID and with an optional selector." timeout="%NULL%"/> + <rhq_operation_def id="10208" resource_type_id="10146" name="listNonDurableMessages" resource_version_range="" parameter_config_def_id="10372" results_config_def_id="10373" display_name="List Non-durable Messages" description="Lists the non-durable messages by subscription ID and an optional selector." timeout="%NULL%"/> + <rhq_operation_def id="10209" resource_type_id="10146" name="listDurableMessages" resource_version_range="" parameter_config_def_id="10374" results_config_def_id="10375" display_name="List Durable Messages" description="Lists the durable messages by subscription ID and an optional selector." timeout="%NULL%"/> + <rhq_operation_def id="10210" resource_type_id="10147" name="resetPeakThreadCount" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Peak Thread Metrics" description="Reset the peak number of threads" timeout="%NULL%"/> + <rhq_operation_def id="10211" resource_type_id="10147" name="findMonitorDeadlockedThreads" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10378" display_name="Find Monitor Deadlocked Threads" description="Finds cycles of threads that are in deadlock waiting to acquire object monitors" timeout="%NULL%"/> + <rhq_operation_def id="10212" resource_type_id="10147" name="threadDump" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10379" display_name="Thread Dump" description="Returns a summary of all live threads, including both daemon and non-daemon threads" timeout="%NULL%"/> + <rhq_operation_def id="10213" resource_type_id="10149" name="removeAllMessages" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Remove All Messages" description="Clears all Messages in the Queue" timeout="%NULL%"/> + <rhq_operation_def id="10214" resource_type_id="10149" name="resetMessageCounter" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Message Counter" description="Clears the MessageCounter data for this Queue" timeout="%NULL%"/> + <rhq_operation_def id="10215" resource_type_id="10149" name="resetMessageCounterHistory" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Message Counter History" description="Clears the MessageCounter history data for this Queue" timeout="%NULL%"/> + <rhq_operation_def id="10216" resource_type_id="10149" name="listMessages" resource_version_range="" parameter_config_def_id="10383" results_config_def_id="10384" display_name="List Messages by Selector" description="Lists the Messages in the Queue by Selector (if provided). Selector is not required." timeout="%NULL%"/> + <rhq_operation_def id="10217" resource_type_id="10149" name="listScheduledMessages" resource_version_range="" parameter_config_def_id="10385" results_config_def_id="10386" display_name="List Scheduled Messages" description="Lists the Scheduled Messages by Selector (if provided). Selector is not required." timeout="%NULL%"/> + <rhq_operation_def id="10218" resource_type_id="10149" name="listInProcessMessages" resource_version_range="" parameter_config_def_id="10387" results_config_def_id="10388" display_name="List In Process Messages" description="Lists the Messages in process by Selector (if provided). Selector is not required." timeout="%NULL%"/> + <rhq_operation_def id="10219" resource_type_id="10153" name="reloadCaches" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10394" display_name="Reload Caches" description="Unloads then reloads all caches managed by the containing RHQ Server" timeout="%NULL%"/> + <rhq_operation_def id="10220" resource_type_id="10155" name="clear" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Clear Statistics" description="Clear the collected statistics, and start collecting anew" timeout="%NULL%"/> + <rhq_operation_def id="10221" resource_type_id="10155" name="retrieveStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10397" display_name="Retrieve Statistics" description="View a snapshot of statistical information about the recalculation cost of each GroupDefinition in the system" timeout="%NULL%"/> + <rhq_operation_def id="10222" resource_type_id="10156" name="clear" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Clear Metrics" description="Clear the collected metric data and start collecting anew" timeout="%NULL%"/> + <rhq_operation_def id="10223" resource_type_id="10156" name="viewReceivedCallTimeData" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10400" display_name="View Received Call Time Data" description="View statistical information about each subsystem call into the server" timeout="%NULL%"/> + <rhq_operation_def id="10224" resource_type_id="10157" name="clear" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Clear Metrics" description="Clear the collected metric data and start collecting anew" timeout="%NULL%"/> + <rhq_operation_def id="10225" resource_type_id="10157" name="viewReceivedCallTimeData" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10402" display_name="View Received Call Time Data" description="View statistical information about each subsystem call into the server" timeout="%NULL%"/> + <rhq_operation_def id="10226" resource_type_id="10158" name="startMasterPluginContainer" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start Master Plugin Container" description="Starts the master plugin container which will load and initialize all server-side plugins." timeout="%NULL%"/> + <rhq_operation_def id="10227" resource_type_id="10158" name="stopMasterPluginContainer" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop Master Plugin Container" description="Stops the master plugin container which will shutdown all server-side plugins." timeout="%NULL%"/> + <rhq_operation_def id="10228" resource_type_id="10158" name="restartMasterPluginContainer" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Restart Master Plugin Container" description="Convienence operation that first stops and then immediately restarts the master plugin container." timeout="%NULL%"/> + <rhq_operation_def id="10229" resource_type_id="10160" name="resetStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Statistics" description="Resets all statistics" timeout="%NULL%"/> + <rhq_operation_def id="10230" resource_type_id="10160" name="listAssociatedMBeans" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10406" display_name="List associated MBeans" description="List all MBeans that form this Cache instance" timeout="%NULL%"/> + <rhq_operation_def id="10231" resource_type_id="10162" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Start" description="Starts IIS and, if necessary, dependent services" timeout="%NULL%"/> + <rhq_operation_def id="10232" resource_type_id="10162" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Stop" description="Shuts down IIS" timeout="%NULL%"/> + <rhq_operation_def id="10233" resource_type_id="10164" name="clear" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Clear Statistics" description="Clear the collected statistics and begin collecting again" timeout="%NULL%"/> + <rhq_operation_def id="10234" resource_type_id="10164" name="viewQueries" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10409" display_name="View Queries" description="View statistical information about queries executed by Hibernate" timeout="%NULL%"/> + <rhq_operation_def id="10235" resource_type_id="10167" name="listProcessStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10412" display_name="List Process Statistics" description="List statistics about the currently executing postgres backends" timeout="%NULL%"/> + <rhq_operation_def id="10236" resource_type_id="10168" name="resetStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Statistics" description="Resets the statistics in this database" timeout="%NULL%"/> + <rhq_operation_def id="10237" resource_type_id="10168" name="invokeSql" resource_version_range="" parameter_config_def_id="10414" results_config_def_id="10415" display_name="Invoke Sql" description="Execute arbitrary SQL" timeout="%NULL%"/> + <rhq_operation_def id="10238" resource_type_id="10175" name="listProcessStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10425" display_name="List Process Statistics" description="List statistics about the currently executing MySql backends" timeout="%NULL%"/> + <rhq_operation_def id="10239" resource_type_id="10177" name="resetStatistics" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Reset Statistics" description="Resets the statistics in this database" timeout="%NULL%"/> + <rhq_operation_def id="10240" resource_type_id="10177" name="invokeSql" resource_version_range="" parameter_config_def_id="10428" results_config_def_id="10429" display_name="Invoke Sql" description="Execute arbitrary SQL" timeout="%NULL%"/> + <rhq_operation_def id="10241" resource_type_id="10180" name="join" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Join Active Server Directory" description="Joins the Samba domain member to the Active Server Directory" timeout="%NULL%"/> + <rhq_operation_def id="10242" resource_type_id="10180" name="disconnect" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="%NULL%" display_name="Disconnect Active Server Directory" description="Disconnects the Samba domain member to the Active Server Directory" timeout="%NULL%"/> + <rhq_operation_def id="10243" resource_type_id="10190" name="start" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10455" display_name="Start" description="Starts this Apache server, or returns an error if it is already running. The control script used is specified in the Connection Properties." timeout="%NULL%"/> + <rhq_operation_def id="10244" resource_type_id="10190" name="stop" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10456" display_name="Stop" description="Stops this Apache server, or returns an error if it is not running. The control script used is specified in the Connection Properties." timeout="%NULL%"/> + <rhq_operation_def id="10245" resource_type_id="10190" name="restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10457" display_name="Restart" description="Restarts the Apache server by sending its process a SIGHUP. If the server is not running, it is started. This command automatically checks the server's configuration files via configtest before initiating the restart to make sure Apache doesn't die. The control script used is specified in the Connection Properties. Only supported on UNIX platforms." timeout="%NULL%"/> + <rhq_operation_def id="10246" resource_type_id="10190" name="start_ssl" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10458" display_name="Start with SSL Support" description="Starts this Apache server with support for SSL. The control script used is specified in the Connection Properties. Only supported on Apache 1.3." timeout="%NULL%"/> + <rhq_operation_def id="10247" resource_type_id="10190" name="graceful_restart" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10459" display_name="Restart Gracefully" description="Gracefully restarts the Apache server by sending it a SIGUSR1. If the daemon is not running, it is started. This differs from a normal restart in that currently open connections are not aborted. A side effect is that old log files will not be closed immediately. This means that if used in a log rotation script, a substantial delay may be necessary to ensure that the old log files are closed before processing them. This command automatically checks the configuration files via configtest before initiating the restart to make sure Apache doesn't die. The control script used is specified in the Connection Properties." timeout="%NULL%"/> + <rhq_operation_def id="10248" resource_type_id="10190" name="config_test" resource_version_range="" parameter_config_def_id="%NULL%" results_config_def_id="10460" display_name="Check Configuration File Syntax" description="Run a configuration file syntax test. It parses the configuration files and either reports Syntax Ok or detailed information about the particular syntax error. The control script used is specified in the Connection Properties. Only supported on UNIX platforms." timeout="%NULL%"/> + <rhq_operation_def id="10249" resource_type_id="10190" name="install_mod_jk" resource_version_range="" parameter_config_def_id="10461" results_config_def_id="10462" display_name="Install mod_jk configuration" description="Tries to install a mod_jk configuration in httpd.conf if none is detected. This includes a workers.properties file and urimap file" timeout="%NULL%"/> + <rhq_package_type id="10001" name="InstalledSoftware" display_name="Installed Software" description="Installed Windows Software" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="false" supports_architecture="false" resource_type_id="10007" deployment_config_def_id="10014" package_extra_config_id="%NULL%"/> + <rhq_package_type id="10002" name="rpm" display_name="RPM File" description="Red Hat installable package" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="false" supports_architecture="false" resource_type_id="10008" deployment_config_def_id="10019" package_extra_config_id="%NULL%"/> + <rhq_package_type id="10003" name="file" display_name="WAR File" description="%NULL%" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="true" supports_architecture="false" resource_type_id="10037" deployment_config_def_id="10077" package_extra_config_id="%NULL%"/> + <rhq_package_type id="10004" name="cumulativePatch" display_name="Cumulative Patch" description="Automatically installable application server patches" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="false" supports_architecture="false" resource_type_id="10063" deployment_config_def_id="10139" package_extra_config_id="%NULL%"/> + <rhq_package_type id="10005" name="library" display_name="JAR Library" description="Library Jar files deployed in JBoss AS" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="false" supports_architecture="false" resource_type_id="10063" deployment_config_def_id="10140" package_extra_config_id="%NULL%"/> + <rhq_package_type id="10006" name="file" display_name="EAR File" description="%NULL%" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="true" supports_architecture="false" resource_type_id="10064" deployment_config_def_id="10142" package_extra_config_id="%NULL%"/> + <rhq_package_type id="10007" name="file" display_name="WAR File" description="%NULL%" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="true" supports_architecture="false" resource_type_id="10069" deployment_config_def_id="10152" package_extra_config_id="%NULL%"/> + <rhq_package_type id="10008" name="file" display_name="EJB JAR File" description="%NULL%" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="true" supports_architecture="false" resource_type_id="10071" deployment_config_def_id="10160" package_extra_config_id="%NULL%"/> + <rhq_package_type id="10009" name="file" display_name="RAR File" description="%NULL%" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="true" supports_architecture="false" resource_type_id="10077" deployment_config_def_id="10184" package_extra_config_id="%NULL%"/> + <rhq_package_type id="10010" name="file" display_name="EJB JAR File" description="%NULL%" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="true" supports_architecture="false" resource_type_id="10082" deployment_config_def_id="10191" package_extra_config_id="%NULL%"/> + <rhq_package_type id="10011" name="cumulativePatch" display_name="Cumulative Patch" description="Automatically installable application server patches" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="false" supports_architecture="false" resource_type_id="10121" deployment_config_def_id="10284" package_extra_config_id="%NULL%"/> + <rhq_package_type id="10012" name="library" display_name="Jar Library" description="Library Jar files deployed in JBoss AS" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="false" supports_architecture="false" resource_type_id="10121" deployment_config_def_id="10285" package_extra_config_id="%NULL%"/> + <rhq_package_type id="10013" name="file" display_name="EAR File" description="%NULL%" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="true" supports_architecture="false" resource_type_id="10128" deployment_config_def_id="10295" package_extra_config_id="%NULL%"/> + <rhq_package_type id="10014" name="file" display_name="WAR File" description="%NULL%" category="DEPLOYABLE" discovery_interval="43200000" is_creation_data="true" supports_architecture="false" resource_type_id="10131" deployment_config_def_id="10303" package_extra_config_id="%NULL%"/> + <rhq_process_scan id="10001" query="process|basename|match=^java.*" name="java" resource_type_id="10021"/> + <rhq_process_scan id="10002" query="process|basename|match=^tomcat(5|6).exe" name="WindowsEWSTomcat" resource_type_id="10030"/> + <rhq_process_scan id="10003" query="process|basename|match=^java.*,arg|org.apache.catalina.startup.Bootstrap|match=.*" name="Tomcat" resource_type_id="10030"/> + <rhq_process_scan id="10004" query="process|basename|match=^java.*" name="java" resource_type_id="10031"/> + <rhq_process_scan id="10005" query="process|basename|match=^java.*" name="java" resource_type_id="10050"/> + <rhq_process_scan id="10006" query="process|basename|match=^java.*,arg|org.jboss.Main|match=.*" name="jbossas" resource_type_id="10063"/> + <rhq_process_scan id="10007" query="process|basename|match=^java.*" name="java" resource_type_id="10065"/> + <rhq_process_scan id="10008" query="process|basename|match=^java.*,arg|org.jboss.Main|match=.*" name="JBoss4" resource_type_id="10121"/> + <rhq_process_scan id="10009" query="process|basename|match=^java.*" name="java" resource_type_id="10123"/> + <rhq_process_scan id="10010" query="process|basename|match=^(postgres|postmaster)$,process|basename|nomatch|parent=^(postgres|postmaster)$" name="unix" resource_type_id="10167"/> + <rhq_process_scan id="10011" query="process|basename|match=^(?i)(postgres|postmaster).exe$,process|basename|nomatch|parent=^(?i)(postgres|postmaster).exe$" name="windows" resource_type_id="10167"/> + <rhq_process_scan id="10012" query="process|basename|match=^ORACLE.*" name="JBoss4" resource_type_id="10172"/> + <rhq_process_scan id="10013" query="process|basename|match=^mysqld$,process|basename|nomatch|parent=^mysqld$" name="unix" resource_type_id="10175"/> + <rhq_process_scan id="10014" query="process|basename|match=^(?i)mysqld.exe$,process|basename|nomatch|parent=^(?i)mysqld.exe$" name="windows" resource_type_id="10175"/> + <rhq_process_scan id="10015" query="process|basename|match=sshd,process|basename|nomatch|parent=sshd" name="SSHD" resource_type_id="10184"/> + <rhq_process_scan id="10016" query="process|basename|match=httpd.*,process|basename|nomatch|parent=httpd.*" name="HttpdOnUnix" resource_type_id="10190"/> + <rhq_process_scan id="10017" query="process|basename|match=(?i)httpd.exe,process|basename|match|parent=(?i)httpd.exe" name="HttpdOnWindows" resource_type_id="10190"/> + <rhq_process_scan id="10018" query="process|basename|match=apache2,process|basename|nomatch|parent=apache2" name="Apache2OnUnix" resource_type_id="10190"/> + <rhq_process_scan id="10019" query="process|basename|match=(?i)Apache.exe,process|basename|match|parent=(?i)Apache.exe" name="ApacheOnWindows" resource_type_id="10190"/> + <rhq_resource_subcat id="10001" name="Resources" display_name="Resources" description="Different types of Resources" ctime="1282832746583" mtime="1282832746583" parent_subcategory_id="%NULL%" resource_type_id="10063"/> + <rhq_resource_subcat id="10002" name="Datasources" display_name="Datasources" description="Different types of Datasources" ctime="1282832746584" mtime="1282832746584" parent_subcategory_id="10001" resource_type_id="%NULL%"/> + <rhq_resource_subcat id="10003" name="Connection Factories" display_name="Connection Factories" description="Different types of Connection Factories" ctime="1282832746584" mtime="1282832746584" parent_subcategory_id="10001" resource_type_id="%NULL%"/> + <rhq_resource_subcat id="10004" name="Applications" display_name="Applications" description="Different types of Applications (WARs, EARs, etc.)" ctime="1282832746584" mtime="1282832746584" parent_subcategory_id="%NULL%" resource_type_id="10063"/> + <rhq_resource_subcat id="10005" name="Resources" display_name="Resources" description="%NULL%" ctime="1282832758290" mtime="1282832758290" parent_subcategory_id="%NULL%" resource_type_id="10121"/> + <rhq_resource_subcat id="10006" name="Applications" display_name="Applications" description="%NULL%" ctime="1282832758290" mtime="1282832758290" parent_subcategory_id="%NULL%" resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10003" parent_resource_type_id="10002"/> + <rhq_resource_type_parents resource_type_id="10005" parent_resource_type_id="10004"/> + <rhq_resource_type_parents resource_type_id="10015" parent_resource_type_id="10007"/> + <rhq_resource_type_parents resource_type_id="10015" parent_resource_type_id="10008"/> + <rhq_resource_type_parents resource_type_id="10015" parent_resource_type_id="10009"/> + <rhq_resource_type_parents resource_type_id="10015" parent_resource_type_id="10010"/> + <rhq_resource_type_parents resource_type_id="10015" parent_resource_type_id="10011"/> + <rhq_resource_type_parents resource_type_id="10015" parent_resource_type_id="10012"/> + <rhq_resource_type_parents resource_type_id="10015" parent_resource_type_id="10013"/> + <rhq_resource_type_parents resource_type_id="10016" parent_resource_type_id="10007"/> + <rhq_resource_type_parents resource_type_id="10016" parent_resource_type_id="10008"/> + <rhq_resource_type_parents resource_type_id="10016" parent_resource_type_id="10009"/> + <rhq_resource_type_parents resource_type_id="10016" parent_resource_type_id="10010"/> + <rhq_resource_type_parents resource_type_id="10016" parent_resource_type_id="10011"/> + <rhq_resource_type_parents resource_type_id="10016" parent_resource_type_id="10012"/> + <rhq_resource_type_parents resource_type_id="10016" parent_resource_type_id="10013"/> + <rhq_resource_type_parents resource_type_id="10017" parent_resource_type_id="10007"/> + <rhq_resource_type_parents resource_type_id="10017" parent_resource_type_id="10008"/> + <rhq_resource_type_parents resource_type_id="10017" parent_resource_type_id="10009"/> + <rhq_resource_type_parents resource_type_id="10017" parent_resource_type_id="10010"/> + <rhq_resource_type_parents resource_type_id="10017" parent_resource_type_id="10011"/> + <rhq_resource_type_parents resource_type_id="10017" parent_resource_type_id="10012"/> + <rhq_resource_type_parents resource_type_id="10017" parent_resource_type_id="10013"/> + <rhq_resource_type_parents resource_type_id="10018" parent_resource_type_id="10007"/> + <rhq_resource_type_parents resource_type_id="10018" parent_resource_type_id="10008"/> + <rhq_resource_type_parents resource_type_id="10018" parent_resource_type_id="10009"/> + <rhq_resource_type_parents resource_type_id="10018" parent_resource_type_id="10010"/> + <rhq_resource_type_parents resource_type_id="10018" parent_resource_type_id="10011"/> + <rhq_resource_type_parents resource_type_id="10018" parent_resource_type_id="10012"/> + <rhq_resource_type_parents resource_type_id="10018" parent_resource_type_id="10013"/> + <rhq_resource_type_parents resource_type_id="10022" parent_resource_type_id="10021"/> + <rhq_resource_type_parents resource_type_id="10023" parent_resource_type_id="10021"/> + <rhq_resource_type_parents resource_type_id="10024" parent_resource_type_id="10021"/> + <rhq_resource_type_parents resource_type_id="10025" parent_resource_type_id="10021"/> + <rhq_resource_type_parents resource_type_id="10026" parent_resource_type_id="10021"/> + <rhq_resource_type_parents resource_type_id="10027" parent_resource_type_id="10021"/> + <rhq_resource_type_parents resource_type_id="10028" parent_resource_type_id="10024"/> + <rhq_resource_type_parents resource_type_id="10029" parent_resource_type_id="10024"/> + <rhq_resource_type_parents resource_type_id="10031" parent_resource_type_id="10030"/> + <rhq_resource_type_parents resource_type_id="10032" parent_resource_type_id="10030"/> + <rhq_resource_type_parents resource_type_id="10033" parent_resource_type_id="10030"/> + <rhq_resource_type_parents resource_type_id="10034" parent_resource_type_id="10030"/> + <rhq_resource_type_parents resource_type_id="10035" parent_resource_type_id="10034"/> + <rhq_resource_type_parents resource_type_id="10036" parent_resource_type_id="10031"/> + <rhq_resource_type_parents resource_type_id="10037" parent_resource_type_id="10032"/> + <rhq_resource_type_parents resource_type_id="10038" parent_resource_type_id="10034"/> + <rhq_resource_type_parents resource_type_id="10039" parent_resource_type_id="10031"/> + <rhq_resource_type_parents resource_type_id="10040" parent_resource_type_id="10034"/> + <rhq_resource_type_parents resource_type_id="10041" parent_resource_type_id="10031"/> + <rhq_resource_type_parents resource_type_id="10042" parent_resource_type_id="10031"/> + <rhq_resource_type_parents resource_type_id="10043" parent_resource_type_id="10031"/> + <rhq_resource_type_parents resource_type_id="10044" parent_resource_type_id="10031"/> + <rhq_resource_type_parents resource_type_id="10045" parent_resource_type_id="10041"/> + <rhq_resource_type_parents resource_type_id="10046" parent_resource_type_id="10037"/> + <rhq_resource_type_parents resource_type_id="10047" parent_resource_type_id="10041"/> + <rhq_resource_type_parents resource_type_id="10049" parent_resource_type_id="10048"/> + <rhq_resource_type_parents resource_type_id="10050" parent_resource_type_id="10048"/> + <rhq_resource_type_parents resource_type_id="10051" parent_resource_type_id="10048"/> + <rhq_resource_type_parents resource_type_id="10052" parent_resource_type_id="10048"/> + <rhq_resource_type_parents resource_type_id="10053" parent_resource_type_id="10048"/> + <rhq_resource_type_parents resource_type_id="10054" parent_resource_type_id="10048"/> + <rhq_resource_type_parents resource_type_id="10055" parent_resource_type_id="10050"/> + <rhq_resource_type_parents resource_type_id="10056" parent_resource_type_id="10050"/> + <rhq_resource_type_parents resource_type_id="10057" parent_resource_type_id="10050"/> + <rhq_resource_type_parents resource_type_id="10058" parent_resource_type_id="10050"/> + <rhq_resource_type_parents resource_type_id="10059" parent_resource_type_id="10050"/> + <rhq_resource_type_parents resource_type_id="10060" parent_resource_type_id="10050"/> + <rhq_resource_type_parents resource_type_id="10061" parent_resource_type_id="10058"/> + <rhq_resource_type_parents resource_type_id="10062" parent_resource_type_id="10058"/> + <rhq_resource_type_parents resource_type_id="10064" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10065" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10066" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10067" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10068" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10069" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10070" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10071" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10072" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10073" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10074" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10075" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10076" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10077" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10078" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10079" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10080" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10081" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10082" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10083" parent_resource_type_id="10071"/> + <rhq_resource_type_parents resource_type_id="10084" parent_resource_type_id="10069"/> + <rhq_resource_type_parents resource_type_id="10085" parent_resource_type_id="10065"/> + <rhq_resource_type_parents resource_type_id="10086" parent_resource_type_id="10079"/> + <rhq_resource_type_parents resource_type_id="10087" parent_resource_type_id="10066"/> + <rhq_resource_type_parents resource_type_id="10088" parent_resource_type_id="10071"/> + <rhq_resource_type_parents resource_type_id="10089" parent_resource_type_id="10073"/> + <rhq_resource_type_parents resource_type_id="10090" parent_resource_type_id="10081"/> + <rhq_resource_type_parents resource_type_id="10091" parent_resource_type_id="10081"/> + <rhq_resource_type_parents resource_type_id="10092" parent_resource_type_id="10065"/> + <rhq_resource_type_parents resource_type_id="10093" parent_resource_type_id="10082"/> + <rhq_resource_type_parents resource_type_id="10094" parent_resource_type_id="10067"/> + <rhq_resource_type_parents resource_type_id="10095" parent_resource_type_id="10065"/> + <rhq_resource_type_parents resource_type_id="10096" parent_resource_type_id="10082"/> + <rhq_resource_type_parents resource_type_id="10097" parent_resource_type_id="10073"/> + <rhq_resource_type_parents resource_type_id="10098" parent_resource_type_id="10067"/> + <rhq_resource_type_parents resource_type_id="10099" parent_resource_type_id="10071"/> + <rhq_resource_type_parents resource_type_id="10100" parent_resource_type_id="10073"/> + <rhq_resource_type_parents resource_type_id="10101" parent_resource_type_id="10066"/> + <rhq_resource_type_parents resource_type_id="10102" parent_resource_type_id="10065"/> + <rhq_resource_type_parents resource_type_id="10103" parent_resource_type_id="10081"/> + <rhq_resource_type_parents resource_type_id="10104" parent_resource_type_id="10082"/> + <rhq_resource_type_parents resource_type_id="10105" parent_resource_type_id="10080"/> + <rhq_resource_type_parents resource_type_id="10106" parent_resource_type_id="10073"/> + <rhq_resource_type_parents resource_type_id="10107" parent_resource_type_id="10071"/> + <rhq_resource_type_parents resource_type_id="10108" parent_resource_type_id="10065"/> + <rhq_resource_type_parents resource_type_id="10109" parent_resource_type_id="10065"/> + <rhq_resource_type_parents resource_type_id="10110" parent_resource_type_id="10085"/> + <rhq_resource_type_parents resource_type_id="10111" parent_resource_type_id="10085"/> + <rhq_resource_type_parents resource_type_id="10112" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10113" parent_resource_type_id="10112"/> + <rhq_resource_type_parents resource_type_id="10114" parent_resource_type_id="10112"/> + <rhq_resource_type_parents resource_type_id="10115" parent_resource_type_id="10112"/> + <rhq_resource_type_parents resource_type_id="10116" parent_resource_type_id="10112"/> + <rhq_resource_type_parents resource_type_id="10117" parent_resource_type_id="10112"/> + <rhq_resource_type_parents resource_type_id="10118" parent_resource_type_id="10112"/> + <rhq_resource_type_parents resource_type_id="10119" parent_resource_type_id="10112"/> + <rhq_resource_type_parents resource_type_id="10120" parent_resource_type_id="10112"/> + <rhq_resource_type_parents resource_type_id="10122" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10123" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10124" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10125" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10126" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10127" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10128" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10129" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10130" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10131" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10132" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10133" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10134" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10135" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10136" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10137" parent_resource_type_id="10123"/> + <rhq_resource_type_parents resource_type_id="10138" parent_resource_type_id="10130"/> + <rhq_resource_type_parents resource_type_id="10139" parent_resource_type_id="10122"/> + <rhq_resource_type_parents resource_type_id="10140" parent_resource_type_id="10123"/> + <rhq_resource_type_parents resource_type_id="10141" parent_resource_type_id="10124"/> + <rhq_resource_type_parents resource_type_id="10142" parent_resource_type_id="10123"/> + <rhq_resource_type_parents resource_type_id="10143" parent_resource_type_id="10123"/> + <rhq_resource_type_parents resource_type_id="10144" parent_resource_type_id="10128"/> + <rhq_resource_type_parents resource_type_id="10145" parent_resource_type_id="10125"/> + <rhq_resource_type_parents resource_type_id="10146" parent_resource_type_id="10125"/> + <rhq_resource_type_parents resource_type_id="10147" parent_resource_type_id="10123"/> + <rhq_resource_type_parents resource_type_id="10148" parent_resource_type_id="10130"/> + <rhq_resource_type_parents resource_type_id="10149" parent_resource_type_id="10124"/> + <rhq_resource_type_parents resource_type_id="10150" parent_resource_type_id="10123"/> + <rhq_resource_type_parents resource_type_id="10151" parent_resource_type_id="10137"/> + <rhq_resource_type_parents resource_type_id="10152" parent_resource_type_id="10137"/> + <rhq_resource_type_parents resource_type_id="10153" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10154" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10155" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10156" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10157" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10158" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10159" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10160" parent_resource_type_id="10159"/> + <rhq_resource_type_parents resource_type_id="10161" parent_resource_type_id="10160"/> + <rhq_resource_type_parents resource_type_id="10163" parent_resource_type_id="10162"/> + <rhq_resource_type_parents resource_type_id="10164" parent_resource_type_id="10021"/> + <rhq_resource_type_parents resource_type_id="10164" parent_resource_type_id="10063"/> + <rhq_resource_type_parents resource_type_id="10164" parent_resource_type_id="10121"/> + <rhq_resource_type_parents resource_type_id="10165" parent_resource_type_id="10164"/> + <rhq_resource_type_parents resource_type_id="10166" parent_resource_type_id="10007"/> + <rhq_resource_type_parents resource_type_id="10166" parent_resource_type_id="10008"/> + <rhq_resource_type_parents resource_type_id="10166" parent_resource_type_id="10009"/> + <rhq_resource_type_parents resource_type_id="10166" parent_resource_type_id="10010"/> + <rhq_resource_type_parents resource_type_id="10166" parent_resource_type_id="10011"/> + <rhq_resource_type_parents resource_type_id="10166" parent_resource_type_id="10012"/> + <rhq_resource_type_parents resource_type_id="10166" parent_resource_type_id="10013"/> + <rhq_resource_type_parents resource_type_id="10168" parent_resource_type_id="10167"/> + <rhq_resource_type_parents resource_type_id="10169" parent_resource_type_id="10167"/> + <rhq_resource_type_parents resource_type_id="10170" parent_resource_type_id="10168"/> + <rhq_resource_type_parents resource_type_id="10171" parent_resource_type_id="10168"/> + <rhq_resource_type_parents resource_type_id="10173" parent_resource_type_id="10172"/> + <rhq_resource_type_parents resource_type_id="10174" parent_resource_type_id="10172"/> + <rhq_resource_type_parents resource_type_id="10176" parent_resource_type_id="10175"/> + <rhq_resource_type_parents resource_type_id="10177" parent_resource_type_id="10175"/> + <rhq_resource_type_parents resource_type_id="10178" parent_resource_type_id="10177"/> + <rhq_resource_type_parents resource_type_id="10179" parent_resource_type_id="10007"/> + <rhq_resource_type_parents resource_type_id="10179" parent_resource_type_id="10008"/> + <rhq_resource_type_parents resource_type_id="10179" parent_resource_type_id="10009"/> + <rhq_resource_type_parents resource_type_id="10179" parent_resource_type_id="10010"/> + <rhq_resource_type_parents resource_type_id="10179" parent_resource_type_id="10011"/> + <rhq_resource_type_parents resource_type_id="10179" parent_resource_type_id="10012"/> + <rhq_resource_type_parents resource_type_id="10179" parent_resource_type_id="10013"/> + <rhq_resource_type_parents resource_type_id="10179" parent_resource_type_id="10014"/> + <rhq_resource_type_parents resource_type_id="10181" parent_resource_type_id="10180"/> + <rhq_resource_type_parents resource_type_id="10183" parent_resource_type_id="10182"/> + <rhq_resource_type_parents resource_type_id="10185" parent_resource_type_id="10007"/> + <rhq_resource_type_parents resource_type_id="10185" parent_resource_type_id="10008"/> + <rhq_resource_type_parents resource_type_id="10185" parent_resource_type_id="10009"/> + <rhq_resource_type_parents resource_type_id="10185" parent_resource_type_id="10010"/> + <rhq_resource_type_parents resource_type_id="10185" parent_resource_type_id="10011"/> + <rhq_resource_type_parents resource_type_id="10185" parent_resource_type_id="10012"/> + <rhq_resource_type_parents resource_type_id="10185" parent_resource_type_id="10013"/> + <rhq_resource_type_parents resource_type_id="10185" parent_resource_type_id="10014"/> + <rhq_resource_type_parents resource_type_id="10188" parent_resource_type_id="10187"/> + <rhq_resource_type_parents resource_type_id="10189" parent_resource_type_id="10008"/> + <rhq_resource_type_parents resource_type_id="10189" parent_resource_type_id="10014"/> + <rhq_resource_type_parents resource_type_id="10191" parent_resource_type_id="10190"/> + <rhq_resource_type_parents resource_type_id="10192" parent_resource_type_id="10190"/> + <rhq_resource_type_parents resource_type_id="10193" parent_resource_type_id="10192"/> + <rhq_resource_type_parents resource_type_id="10194" parent_resource_type_id="10192"/> + <rhq_resource_type_parents resource_type_id="10195" parent_resource_type_id="10193"/> + <rhq_resource_type_parents resource_type_id="10196" parent_resource_type_id="10007"/> + <rhq_resource_type_parents resource_type_id="10196" parent_resource_type_id="10008"/> + <rhq_resource_type_parents resource_type_id="10196" parent_resource_type_id="10009"/> + <rhq_resource_type_parents resource_type_id="10196" parent_resource_type_id="10010"/> + <rhq_resource_type_parents resource_type_id="10196" parent_resource_type_id="10011"/> + <rhq_resource_type_parents resource_type_id="10196" parent_resource_type_id="10012"/> + <rhq_resource_type_parents resource_type_id="10196" parent_resource_type_id="10013"/> + <rhq_resource_type_parents resource_type_id="10197" parent_resource_type_id="10008"/> + <rhq_resource_type id="10001" name="SnmpTrapd" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="snmptrapd" ctime="1282832731843" mtime="1282832731843" subcategory_id="%NULL%" plugin_config_def_id="10001" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10002" name="Hudson Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="hudson" ctime="1282832732132" mtime="1282832732132" subcategory_id="%NULL%" plugin_config_def_id="10002" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10003" name="Hudson Project" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="hudson" ctime="1282832732157" mtime="1282832732157" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10004" name="Twitter" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="Twitter monitoring subsystem" plugin="Twitter" ctime="1282832733356" mtime="1282832733356" subcategory_id="%NULL%" plugin_config_def_id="10003" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10005" name="TwitterFeed" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="DELETE_ONLY" singleton="false" supports_manual_add="true" description="One timeline or search" plugin="Twitter" ctime="1282832733469" mtime="1282832733469" subcategory_id="%NULL%" plugin_config_def_id="10006" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10006" name="Script Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="A resource with a command line executable or script as its management interface" plugin="Script" ctime="1282832733625" mtime="1282832733625" subcategory_id="%NULL%" plugin_config_def_id="10007" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10007" name="Windows" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Microsoft Windows Operating System" plugin="Platforms" ctime="1282832733829" mtime="1282832733829" subcategory_id="%NULL%" plugin_config_def_id="10010" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10008" name="Linux" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Linux Operating System" plugin="Platforms" ctime="1282832733986" mtime="1282832733986" subcategory_id="%NULL%" plugin_config_def_id="10015" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10009" name="Solaris" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="SUN Solaris Operating System" plugin="Platforms" ctime="1282832734220" mtime="1282832734220" subcategory_id="%NULL%" plugin_config_def_id="10020" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10010" name="HP-UX" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Hewlett-Packard HP-UX Operating System" plugin="Platforms" ctime="1282832734420" mtime="1282832734420" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10011" name="AIX" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="IBM AIX Operating System" plugin="Platforms" ctime="1282832734563" mtime="1282832734563" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10012" name="FreeBSD" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="FreeBSD Operating System" plugin="Platforms" ctime="1282832734754" mtime="1282832734754" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10013" name="Mac OS X" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Mac OS X Operating System" plugin="Platforms" ctime="1282832734879" mtime="1282832734879" subcategory_id="%NULL%" plugin_config_def_id="10033" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10014" name="Java" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Platform with 100% Java capability but not natively supported" plugin="Platforms" ctime="1282832735036" mtime="1282832735036" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10015" name="Process" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="A generic process monitoring service to track native process information based on a pid file or process query" plugin="Platforms" ctime="1282832735298" mtime="1282832735298" subcategory_id="%NULL%" plugin_config_def_id="10040" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10016" name="File System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Platforms" ctime="1282832735522" mtime="1282832735522" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10017" name="Network Adapter" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Platforms" ctime="1282832735682" mtime="1282832735682" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10018" name="CPU" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Platforms" ctime="1282832735825" mtime="1282832735825" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10019" name="HTTPService" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="NetworkServices" ctime="1282832736884" mtime="1282832736884" subcategory_id="%NULL%" plugin_config_def_id="10041" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10020" name="PingService" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="NetworkServices" ctime="1282832736907" mtime="1282832736907" subcategory_id="%NULL%" plugin_config_def_id="10042" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10021" name="JMX Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="Generic JMX Server" plugin="JMX" ctime="1282832739158" mtime="1282832739158" subcategory_id="%NULL%" plugin_config_def_id="10043" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10022" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="JMX" ctime="1282832739416" mtime="1282832739416" subcategory_id="%NULL%" plugin_config_def_id="10044" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10023" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="JMX" ctime="1282832739465" mtime="1282832739465" subcategory_id="%NULL%" plugin_config_def_id="10045" res_config_def_id="10046"/> + <rhq_resource_type id="10024" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="JMX" ctime="1282832739484" mtime="1282832739484" subcategory_id="%NULL%" plugin_config_def_id="10047" res_config_def_id="10048"/> + <rhq_resource_type id="10025" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="JMX" ctime="1282832739507" mtime="1282832739507" subcategory_id="%NULL%" plugin_config_def_id="10049" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10026" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="JMX" ctime="1282832739519" mtime="1282832739519" subcategory_id="%NULL%" plugin_config_def_id="10050" res_config_def_id="10051"/> + <rhq_resource_type id="10027" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="JMX" ctime="1282832739572" mtime="1282832739572" subcategory_id="%NULL%" plugin_config_def_id="10052" res_config_def_id="10053"/> + <rhq_resource_type id="10028" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="JMX" ctime="1282832739635" mtime="1282832739635" subcategory_id="%NULL%" plugin_config_def_id="10056" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10029" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="JMX" ctime="1282832739667" mtime="1282832739667" subcategory_id="%NULL%" plugin_config_def_id="10057" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10030" name="Tomcat Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="Tomcat Server" plugin="Tomcat" ctime="1282832740119" mtime="1282832740119" subcategory_id="%NULL%" plugin_config_def_id="10058" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10031" name="Tomcat Server JVM" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JVM of the Tomcat Server" plugin="Tomcat" ctime="1282832740265" mtime="1282832740265" subcategory_id="%NULL%" plugin_config_def_id="10063" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10032" name="Tomcat Virtual Host" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A virtual host in the web container" plugin="Tomcat" ctime="1282832740336" mtime="1282832740336" subcategory_id="%NULL%" plugin_config_def_id="10064" res_config_def_id="10065"/> + <rhq_resource_type id="10033" name="Tomcat Connector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Tomcat" ctime="1282832740362" mtime="1282832740362" subcategory_id="%NULL%" plugin_config_def_id="10066" res_config_def_id="10067"/> + <rhq_resource_type id="10034" name="Tomcat User Database" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Tomcat User Database" plugin="Tomcat" ctime="1282832740713" mtime="1282832740713" subcategory_id="%NULL%" plugin_config_def_id="10068" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10035" name="Tomcat Group" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Tomcat User Group" plugin="Tomcat" ctime="1282832740735" mtime="1282832740735" subcategory_id="%NULL%" plugin_config_def_id="10069" res_config_def_id="10070"/> + <rhq_resource_type id="10036" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="Tomcat" ctime="1282832740759" mtime="1282832740759" subcategory_id="%NULL%" plugin_config_def_id="10071" res_config_def_id="10072"/> + <rhq_resource_type id="10037" name="Tomcat Web Application (WAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Tomcat deployed Web Application" plugin="Tomcat" ctime="1282832740792" mtime="1282832740792" subcategory_id="%NULL%" plugin_config_def_id="10075" res_config_def_id="10076"/> + <rhq_resource_type id="10038" name="Tomcat Role" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Tomcat User Role" plugin="Tomcat" ctime="1282832740946" mtime="1282832740946" subcategory_id="%NULL%" plugin_config_def_id="10078" res_config_def_id="10079"/> + <rhq_resource_type id="10039" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="Tomcat" ctime="1282832741016" mtime="1282832741016" subcategory_id="%NULL%" plugin_config_def_id="10080" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10040" name="Tomcat User" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Tomcat User" plugin="Tomcat" ctime="1282832741048" mtime="1282832741048" subcategory_id="%NULL%" plugin_config_def_id="10081" res_config_def_id="10082"/> + <rhq_resource_type id="10041" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="Tomcat" ctime="1282832741091" mtime="1282832741091" subcategory_id="%NULL%" plugin_config_def_id="10083" res_config_def_id="10084"/> + <rhq_resource_type id="10042" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="Tomcat" ctime="1282832741160" mtime="1282832741160" subcategory_id="%NULL%" plugin_config_def_id="10085" res_config_def_id="10086"/> + <rhq_resource_type id="10043" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="Tomcat" ctime="1282832741197" mtime="1282832741197" subcategory_id="%NULL%" plugin_config_def_id="10087" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10044" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="Tomcat" ctime="1282832741248" mtime="1282832741248" subcategory_id="%NULL%" plugin_config_def_id="10088" res_config_def_id="10089"/> + <rhq_resource_type id="10045" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="Tomcat" ctime="1282832741296" mtime="1282832741296" subcategory_id="%NULL%" plugin_config_def_id="10090" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10046" name="Tomcat Cache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="A Tomcat Application (WAR) Cache" plugin="Tomcat" ctime="1282832741340" mtime="1282832741340" subcategory_id="%NULL%" plugin_config_def_id="10091" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10047" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="Tomcat" ctime="1282832741391" mtime="1282832741391" subcategory_id="%NULL%" plugin_config_def_id="10092" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10048" name="RHQ Agent" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Management Agent" plugin="RHQAgent" ctime="1282832741588" mtime="1282832741588" subcategory_id="%NULL%" plugin_config_def_id="10093" res_config_def_id="10094"/> + <rhq_resource_type id="10049" name="Measurement Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The measurement subsystem within an agent's plugin container" plugin="RHQAgent" ctime="1282832742161" mtime="1282832742161" subcategory_id="%NULL%" plugin_config_def_id="10105" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10050" name="RHQ Agent JVM" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JVM of the Management Agent" plugin="RHQAgent" ctime="1282832742235" mtime="1282832742235" subcategory_id="%NULL%" plugin_config_def_id="10106" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10051" name="Launcher Script" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The script that can run the agent as a daemon service. The Environment Setup Script configures the behavior of this service." plugin="RHQAgent" ctime="1282832742354" mtime="1282832742354" subcategory_id="%NULL%" plugin_config_def_id="10107" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10052" name="Environment Setup Script" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The agent startup script that sets up the agent environment" plugin="RHQAgent" ctime="1282832742389" mtime="1282832742389" subcategory_id="%NULL%" plugin_config_def_id="10109" res_config_def_id="10110"/> + <rhq_resource_type id="10053" name="Plugin Container" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The plugin container itself, which hosts the plugins and manages their lifecycle" plugin="RHQAgent" ctime="1282832742421" mtime="1282832742421" subcategory_id="%NULL%" plugin_config_def_id="10111" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10054" name="Java Service Wrapper Launcher" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The Java Service Wrapper that can run the agent as a daemon service" plugin="RHQAgent" ctime="1282832742489" mtime="1282832742489" subcategory_id="%NULL%" plugin_config_def_id="10117" res_config_def_id="10118"/> + <rhq_resource_type id="10055" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="RHQAgent" ctime="1282832742637" mtime="1282832742637" subcategory_id="%NULL%" plugin_config_def_id="10121" res_config_def_id="10122"/> + <rhq_resource_type id="10056" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="RHQAgent" ctime="1282832742698" mtime="1282832742698" subcategory_id="%NULL%" plugin_config_def_id="10125" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10057" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="RHQAgent" ctime="1282832742735" mtime="1282832742735" subcategory_id="%NULL%" plugin_config_def_id="10126" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10058" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="RHQAgent" ctime="1282832742774" mtime="1282832742774" subcategory_id="%NULL%" plugin_config_def_id="10127" res_config_def_id="10128"/> + <rhq_resource_type id="10059" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="RHQAgent" ctime="1282832742819" mtime="1282832742819" subcategory_id="%NULL%" plugin_config_def_id="10129" res_config_def_id="10130"/> + <rhq_resource_type id="10060" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="RHQAgent" ctime="1282832742866" mtime="1282832742866" subcategory_id="%NULL%" plugin_config_def_id="10131" res_config_def_id="10132"/> + <rhq_resource_type id="10061" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="RHQAgent" ctime="1282832742914" mtime="1282832742914" subcategory_id="%NULL%" plugin_config_def_id="10133" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10062" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="RHQAgent" ctime="1282832742958" mtime="1282832742958" subcategory_id="%NULL%" plugin_config_def_id="10134" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10063" name="JBossAS Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="JBoss Application Server (AS), Enterprise Application Platform (EAP), Enterprise SOA Platform (SOA-P), or Enterprise Web Platform (EWP) 5.x or 6.x instance" plugin="JBossAS5" ctime="1282832746504" mtime="1282832746504" subcategory_id="%NULL%" plugin_config_def_id="10135" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10064" name="Enterprise Application (EAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="JEE enterprise application (EAR)" plugin="JBossAS5" ctime="1282832746650" mtime="1282832746650" subcategory_id="10004" plugin_config_def_id="10141" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10065" name="JBoss AS JVM" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JVM of the JBossAS" plugin="JBossAS5" ctime="1282832746685" mtime="1282832746685" subcategory_id="%NULL%" plugin_config_def_id="10143" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10066" name="JBoss Messaging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="the JBoss Messaging JMS provider" plugin="JBossAS5" ctime="1282832746725" mtime="1282832746725" subcategory_id="10001" plugin_config_def_id="10144" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10067" name="JBoss Web" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Web Servlet Container" plugin="JBossAS5" ctime="1282832746747" mtime="1282832746747" subcategory_id="10001" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10068" name="No Tx ConnectionFactory" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A ConnectionFactory that does not take part in JTA transactions." plugin="JBossAS5" ctime="1282832746758" mtime="1282832746758" subcategory_id="10003" plugin_config_def_id="10145" res_config_def_id="10146"/> + <rhq_resource_type id="10069" name="Web Application (WAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a standalone web application (WAR)" plugin="JBossAS5" ctime="1282832746964" mtime="1282832746964" subcategory_id="10004" plugin_config_def_id="10151" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10070" name="Tx ConnectionFactory" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A ConnectionFactory that takes part in JTA transactions." plugin="JBossAS5" ctime="1282832746994" mtime="1282832746994" subcategory_id="10003" plugin_config_def_id="10153" res_config_def_id="10154"/> + <rhq_resource_type id="10071" name="EJB2 JAR" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a standalone EJB 2.x application" plugin="JBossAS5" ctime="1282832747153" mtime="1282832747153" subcategory_id="10004" plugin_config_def_id="10159" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10072" name="No Tx Datasource" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="No Transaction Datasources deployed in the instance of JBoss AS" plugin="JBossAS5" ctime="1282832747192" mtime="1282832747192" subcategory_id="10002" plugin_config_def_id="10161" res_config_def_id="10162"/> + <rhq_resource_type id="10073" name="Embedded EJB2 JAR" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="an embedded EJB 2.x application" plugin="JBossAS5" ctime="1282832747355" mtime="1282832747355" subcategory_id="10004" plugin_config_def_id="10167" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10074" name="Local Tx Datasource" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Local Transaction Datasources deployed in the instance of JBoss AS" plugin="JBossAS5" ctime="1282832747395" mtime="1282832747395" subcategory_id="10002" plugin_config_def_id="10168" res_config_def_id="10169"/> + <rhq_resource_type id="10075" name="Script" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="provides the ability to execute a script that performs some task related to its parent JBossAS server" plugin="JBossAS5" ctime="1282832747549" mtime="1282832747549" subcategory_id="10001" plugin_config_def_id="10174" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10076" name="XA Datasource" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="XA Datasources deployed in the instance of JBoss AS" plugin="JBossAS5" ctime="1282832747608" mtime="1282832747608" subcategory_id="10002" plugin_config_def_id="10177" res_config_def_id="10178"/> + <rhq_resource_type id="10077" name="Resource Adapter Archive (RAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a standalone JCA resource adapter archive (RAR)" plugin="JBossAS5" ctime="1282832747805" mtime="1282832747805" subcategory_id="10004" plugin_config_def_id="10183" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10078" name="Embedded Resource Adapter Archive (RAR)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="an embedded JCA resource adapter archive (RAR)" plugin="JBossAS5" ctime="1282832747875" mtime="1282832747875" subcategory_id="10004" plugin_config_def_id="10185" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10079" name="Service Binding Manager" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The Service Binding Manager manages the ports of the deployed services" plugin="JBossAS5" ctime="1282832747936" mtime="1282832747936" subcategory_id="%NULL%" plugin_config_def_id="10186" res_config_def_id="10187"/> + <rhq_resource_type id="10080" name="Embedded Web Application (WAR)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="an embedded web application (WAR)" plugin="JBossAS5" ctime="1282832748001" mtime="1282832748001" subcategory_id="10004" plugin_config_def_id="10188" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10081" name="Embedded EJB3 JAR" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="an embedded EJB 3.x application" plugin="JBossAS5" ctime="1282832748074" mtime="1282832748074" subcategory_id="10004" plugin_config_def_id="10189" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10082" name="EJB3 JAR" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a standalone EJB 3.x application" plugin="JBossAS5" ctime="1282832748140" mtime="1282832748140" subcategory_id="10004" plugin_config_def_id="10190" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10083" name="EJB2 Stateless Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Stateless Session Bean" plugin="JBossAS5" ctime="1282832748208" mtime="1282832748208" subcategory_id="%NULL%" plugin_config_def_id="10192" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10084" name="Web Application Context" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="a web application context" plugin="JBossAS5" ctime="1282832748296" mtime="1282832748296" subcategory_id="%NULL%" plugin_config_def_id="10194" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10085" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="JBossAS5" ctime="1282832748368" mtime="1282832748368" subcategory_id="%NULL%" plugin_config_def_id="10195" res_config_def_id="10196"/> + <rhq_resource_type id="10086" name="Service Binding Set" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="The Service Binding Set defines all bindings of a profile. It inherits the standard bindings from the Service Binding Manager and defines a port offset and overridden and additional bindings." plugin="JBossAS5" ctime="1282832748435" mtime="1282832748435" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="10197"/> + <rhq_resource_type id="10087" name="Topic" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a JMS topic" plugin="JBossAS5" ctime="1282832748523" mtime="1282832748523" subcategory_id="%NULL%" plugin_config_def_id="10199" res_config_def_id="10200"/> + <rhq_resource_type id="10088" name="EJB2 Entity Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Entity Bean" plugin="JBossAS5" ctime="1282832748681" mtime="1282832748681" subcategory_id="%NULL%" plugin_config_def_id="10213" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10089" name="EJB2 Stateless Session Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Stateless Session Bean" plugin="JBossAS5" ctime="1282832748766" mtime="1282832748766" subcategory_id="%NULL%" plugin_config_def_id="10214" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10090" name="EJB3 Stateful Session Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateful Session Bean (SFSB)" plugin="JBossAS5" ctime="1282832748851" mtime="1282832748851" subcategory_id="%NULL%" plugin_config_def_id="10216" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10091" name="EJB3 Stateless Session Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateless Session Bean (SLSB)" plugin="JBossAS5" ctime="1282832748991" mtime="1282832748991" subcategory_id="%NULL%" plugin_config_def_id="10218" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10092" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="JBossAS5" ctime="1282832749076" mtime="1282832749076" subcategory_id="%NULL%" plugin_config_def_id="10220" res_config_def_id="10221"/> + <rhq_resource_type id="10093" name="EJB3 Message-Driven Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Message-Driven Bean (MDB)" plugin="JBossAS5" ctime="1282832749186" mtime="1282832749186" subcategory_id="%NULL%" plugin_config_def_id="10222" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10094" name="Connector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="a JBoss Web Connector" plugin="JBossAS5" ctime="1282832749277" mtime="1282832749277" subcategory_id="%NULL%" plugin_config_def_id="10224" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10095" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="JBossAS5" ctime="1282832749415" mtime="1282832749415" subcategory_id="%NULL%" plugin_config_def_id="10225" res_config_def_id="10226"/> + <rhq_resource_type id="10096" name="EJB3 Stateless Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateless Session Bean (SLSB)" plugin="JBossAS5" ctime="1282832749499" mtime="1282832749499" subcategory_id="%NULL%" plugin_config_def_id="10227" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10097" name="EJB2 Stateful Session Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Stateful Session Bean" plugin="JBossAS5" ctime="1282832749589" mtime="1282832749589" subcategory_id="%NULL%" plugin_config_def_id="10229" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10098" name="Virtual Host" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="a JBoss Web virtual host" plugin="JBossAS5" ctime="1282832749680" mtime="1282832749680" subcategory_id="%NULL%" plugin_config_def_id="10231" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10099" name="EJB2 Message-Driven Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Message Driven Bean" plugin="JBossAS5" ctime="1282832749783" mtime="1282832749783" subcategory_id="%NULL%" plugin_config_def_id="10232" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10100" name="EJB2 Message-Driven Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Message Driven Bean" plugin="JBossAS5" ctime="1282832749875" mtime="1282832749875" subcategory_id="%NULL%" plugin_config_def_id="10233" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10101" name="Queue" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a JMS queue" plugin="JBossAS5" ctime="1282832749963" mtime="1282832749963" subcategory_id="%NULL%" plugin_config_def_id="10234" res_config_def_id="10235"/> + <rhq_resource_type id="10102" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="JBossAS5" ctime="1282832750129" mtime="1282832750129" subcategory_id="%NULL%" plugin_config_def_id="10244" res_config_def_id="10245"/> + <rhq_resource_type id="10103" name="EJB3 Message-Driven Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Message-Driven Bean (MDB)" plugin="JBossAS5" ctime="1282832750242" mtime="1282832750242" subcategory_id="%NULL%" plugin_config_def_id="10248" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10104" name="EJB3 Stateful Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateful Session Bean (SFSB)" plugin="JBossAS5" ctime="1282832750349" mtime="1282832750349" subcategory_id="%NULL%" plugin_config_def_id="10250" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10105" name="Embedded Web Application Context" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="a web application context" plugin="JBossAS5" ctime="1282832750458" mtime="1282832750458" subcategory_id="%NULL%" plugin_config_def_id="10252" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10106" name="EJB2 Entity Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Entity Bean" plugin="JBossAS5" ctime="1282832750568" mtime="1282832750568" subcategory_id="%NULL%" plugin_config_def_id="10253" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10107" name="EJB2 Stateful Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Stateful Session Bean" plugin="JBossAS5" ctime="1282832750665" mtime="1282832750665" subcategory_id="%NULL%" plugin_config_def_id="10254" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10108" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="JBossAS5" ctime="1282832750777" mtime="1282832750777" subcategory_id="%NULL%" plugin_config_def_id="10256" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10109" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="JBossAS5" ctime="1282832750896" mtime="1282832750896" subcategory_id="%NULL%" plugin_config_def_id="10257" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10110" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="JBossAS5" ctime="1282832751005" mtime="1282832751005" subcategory_id="%NULL%" plugin_config_def_id="10258" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10111" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="JBossAS5" ctime="1282832751124" mtime="1282832751124" subcategory_id="%NULL%" plugin_config_def_id="10259" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10112" name="JBoss Cache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="The JBoss Cache instances on this server" plugin="JBossCache3" ctime="1282832751469" mtime="1282832751469" subcategory_id="%NULL%" plugin_config_def_id="10260" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10113" name="Cache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache" plugin="JBossCache3" ctime="1282832751551" mtime="1282832751551" subcategory_id="%NULL%" plugin_config_def_id="10261" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10114" name="Tx Interceptor" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache TxInterceptor" plugin="JBossCache3" ctime="1282832751593" mtime="1282832751593" subcategory_id="%NULL%" plugin_config_def_id="10268" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10115" name="Data Container" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache Data Container" plugin="JBossCache3" ctime="1282832751610" mtime="1282832751610" subcategory_id="%NULL%" plugin_config_def_id="10269" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10116" name="RegionManager" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache RegionManager" plugin="JBossCache3" ctime="1282832751638" mtime="1282832751638" subcategory_id="%NULL%" plugin_config_def_id="10274" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10117" name="RPC Manager" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache RPC Manager" plugin="JBossCache3" ctime="1282832751662" mtime="1282832751662" subcategory_id="%NULL%" plugin_config_def_id="10276" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10118" name="Interceptor" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache Interceptor" plugin="JBossCache3" ctime="1282832751681" mtime="1282832751681" subcategory_id="%NULL%" plugin_config_def_id="10277" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10119" name="Transaction Table" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache TransactionTable" plugin="JBossCache3" ctime="1282832751706" mtime="1282832751706" subcategory_id="%NULL%" plugin_config_def_id="10278" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10120" name="Lock Manager" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="MVCC Lock Manager" plugin="JBossCache3" ctime="1282832751724" mtime="1282832751724" subcategory_id="%NULL%" plugin_config_def_id="10279" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10121" name="JBossAS Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="JBoss Application Server" plugin="JBossAS" ctime="1282832758259" mtime="1282832758259" subcategory_id="%NULL%" plugin_config_def_id="10280" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10122" name="EJB3 Entity Tree Cache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="The entity cache" plugin="JBossAS" ctime="1282832758572" mtime="1282832758572" subcategory_id="10005" plugin_config_def_id="10286" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10123" name="JBoss AS JVM" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JVM of the JBossAS" plugin="JBossAS" ctime="1282832758637" mtime="1282832758637" subcategory_id="%NULL%" plugin_config_def_id="10287" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10124" name="JBossMQ" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The JBossMQ subsystem" plugin="JBossAS" ctime="1282832758674" mtime="1282832758674" subcategory_id="10005" plugin_config_def_id="10288" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10125" name="JBossMessaging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The JBoss Messaging subsystem" plugin="JBossAS" ctime="1282832758692" mtime="1282832758692" subcategory_id="10005" plugin_config_def_id="10289" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10126" name="Datasource" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832758709" mtime="1282832758709" subcategory_id="10005" plugin_config_def_id="10290" res_config_def_id="10291"/> + <rhq_resource_type id="10127" name="Stateless Session EJB" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB 1.x or 2.x Stateless Session Bean" plugin="JBossAS" ctime="1282832758875" mtime="1282832758875" subcategory_id="10006" plugin_config_def_id="10292" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10128" name="Enterprise Application (EAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Enterprise Application" plugin="JBossAS" ctime="1282832758902" mtime="1282832758902" subcategory_id="10006" plugin_config_def_id="10293" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10129" name="ConnectionFactory" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832758938" mtime="1282832758938" subcategory_id="10005" plugin_config_def_id="10296" res_config_def_id="10297"/> + <rhq_resource_type id="10130" name="Embedded Tomcat Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Tomcat Web Application Container embedded in a JBossAS Server" plugin="JBossAS" ctime="1282832759037" mtime="1282832759037" subcategory_id="10005" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10131" name="Web Application (WAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Web Application" plugin="JBossAS" ctime="1282832759061" mtime="1282832759061" subcategory_id="10006" plugin_config_def_id="10298" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10132" name="Stateful Session EJB" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB 1.x or 2.x Stateful Session Bean" plugin="JBossAS" ctime="1282832759137" mtime="1282832759137" subcategory_id="10006" plugin_config_def_id="10304" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10133" name="EJB3 Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateless or Stateful Session Bean" plugin="JBossAS" ctime="1282832759170" mtime="1282832759170" subcategory_id="10006" plugin_config_def_id="10305" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10134" name="Script" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="provides the ability to execute a script that performs some task related to its parent JBossAS server" plugin="JBossAS" ctime="1282832759249" mtime="1282832759249" subcategory_id="10005" plugin_config_def_id="10307" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10135" name="Message Driven EJB" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB 1.x or 2.x Message Driven Bean" plugin="JBossAS" ctime="1282832759298" mtime="1282832759298" subcategory_id="10006" plugin_config_def_id="10310" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10136" name="Entity EJB" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB 1.x or 2.x Entity Bean" plugin="JBossAS" ctime="1282832759346" mtime="1282832759346" subcategory_id="10006" plugin_config_def_id="10311" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10137" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="JBossAS" ctime="1282832759412" mtime="1282832759412" subcategory_id="%NULL%" plugin_config_def_id="10312" res_config_def_id="10313"/> + <rhq_resource_type id="10138" name="Connector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832759459" mtime="1282832759459" subcategory_id="%NULL%" plugin_config_def_id="10314" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10139" name="EJB3 Entity Tree Cache Interceptor" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="The entity cache interceptor" plugin="JBossAS" ctime="1282832759503" mtime="1282832759503" subcategory_id="%NULL%" plugin_config_def_id="10315" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10140" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832759556" mtime="1282832759556" subcategory_id="%NULL%" plugin_config_def_id="10316" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10141" name="JMQ JMS Topic" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832759608" mtime="1282832759608" subcategory_id="%NULL%" plugin_config_def_id="10317" res_config_def_id="10318"/> + <rhq_resource_type id="10142" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="JBossAS" ctime="1282832759918" mtime="1282832759918" subcategory_id="%NULL%" plugin_config_def_id="10348" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10143" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="JBossAS" ctime="1282832759967" mtime="1282832759967" subcategory_id="%NULL%" plugin_config_def_id="10349" res_config_def_id="10350"/> + <rhq_resource_type id="10144" name="Embedded Web Application (WAR)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Web Application embedded inside of an Enterprise Application" plugin="JBossAS" ctime="1282832760023" mtime="1282832760023" subcategory_id="%NULL%" plugin_config_def_id="10351" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10145" name="JBM JMS Queue" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832760144" mtime="1282832760144" subcategory_id="%NULL%" plugin_config_def_id="10355" res_config_def_id="10356"/> + <rhq_resource_type id="10146" name="JBM JMS Topic" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832760247" mtime="1282832760247" subcategory_id="%NULL%" plugin_config_def_id="10365" res_config_def_id="10366"/> + <rhq_resource_type id="10147" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="JBossAS" ctime="1282832760544" mtime="1282832760544" subcategory_id="%NULL%" plugin_config_def_id="10376" res_config_def_id="10377"/> + <rhq_resource_type id="10148" name="VHost" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A virtual host in the web container" plugin="JBossAS" ctime="1282832760634" mtime="1282832760634" subcategory_id="%NULL%" plugin_config_def_id="10380" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10149" name="JMQ JMS Queue" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832760700" mtime="1282832760700" subcategory_id="%NULL%" plugin_config_def_id="10381" res_config_def_id="10382"/> + <rhq_resource_type id="10150" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="JBossAS" ctime="1282832760966" mtime="1282832760966" subcategory_id="%NULL%" plugin_config_def_id="10389" res_config_def_id="10390"/> + <rhq_resource_type id="10151" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="JBossAS" ctime="1282832761061" mtime="1282832761061" subcategory_id="%NULL%" plugin_config_def_id="10391" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10152" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="JBossAS" ctime="1282832761135" mtime="1282832761135" subcategory_id="%NULL%" plugin_config_def_id="10392" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10153" name="RHQ Server Alerts Engine Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="RHQ Server Alerts Engine Subsystem" plugin="RHQServer" ctime="1282832762641" mtime="1282832762641" subcategory_id="%NULL%" plugin_config_def_id="10393" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10154" name="RHQ Server Measurement Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="RHQ Server Measurement Subsystem" plugin="RHQServer" ctime="1282832762740" mtime="1282832762740" subcategory_id="%NULL%" plugin_config_def_id="10395" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10155" name="RHQ Server Group Definition / DynaGroups Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Statistics for the RHQ Server Group Definition / DynaGroups Subsystem" plugin="RHQServer" ctime="1282832762810" mtime="1282832762810" subcategory_id="%NULL%" plugin_config_def_id="10396" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10156" name="RHQ Server Communications Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Details on communications with agents" plugin="RHQServer" ctime="1282832762861" mtime="1282832762861" subcategory_id="%NULL%" plugin_config_def_id="10398" res_config_def_id="10399"/> + <rhq_resource_type id="10157" name="RHQ Server Remote API Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Details on remote API communications with external clients, including the CLI" plugin="RHQServer" ctime="1282832762923" mtime="1282832762923" subcategory_id="%NULL%" plugin_config_def_id="10401" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10158" name="RHQ Server Plugin Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Details on the server-side plugin container subsystem" plugin="RHQServer" ctime="1282832762948" mtime="1282832762948" subcategory_id="%NULL%" plugin_config_def_id="10403" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10159" name="JBossCacheSubsystem" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The JBoss Cache instances on this server" plugin="JBossCache" ctime="1282832763121" mtime="1282832763121" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10160" name="JBossCache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="CREATE_ONLY" singleton="false" supports_manual_add="false" description="Statistics for JBossCache" plugin="JBossCache" ctime="1282832763151" mtime="1282832763151" subcategory_id="%NULL%" plugin_config_def_id="10404" res_config_def_id="10405"/> + <rhq_resource_type id="10161" name="JGroupsChannel" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="The underlying JGroups channel for this cache instance" plugin="JBossCache" ctime="1282832763241" mtime="1282832763241" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10162" name="IIS" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="IIS Web Server" plugin="IIS" ctime="1282832763362" mtime="1282832763362" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10163" name="VHost" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="IIS VHost" plugin="IIS" ctime="1282832763424" mtime="1282832763424" subcategory_id="%NULL%" plugin_config_def_id="10407" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10164" name="Hibernate Statistics" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Statistics for Hibernate" plugin="Hibernate" ctime="1282832763677" mtime="1282832763677" subcategory_id="%NULL%" plugin_config_def_id="10408" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10165" name="Hibernate Entity" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A Hibernate persistent entity" plugin="Hibernate" ctime="1282832763781" mtime="1282832763781" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10166" name="File Template Bundle Handler" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="This plugin is used to process File Template bundles" plugin="FileTemplateBundlePlugin" ctime="1282832764069" mtime="1282832764069" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10167" name="Postgres Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="PostgreSQL Server" plugin="Postgres" ctime="1282832766041" mtime="1282832766041" subcategory_id="%NULL%" plugin_config_def_id="10410" res_config_def_id="10411"/> + <rhq_resource_type id="10168" name="Database" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Postgres" ctime="1282832766584" mtime="1282832766584" subcategory_id="%NULL%" plugin_config_def_id="10413" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10169" name="User" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A User in the Postgres System" plugin="Postgres" ctime="1282832766623" mtime="1282832766623" subcategory_id="%NULL%" plugin_config_def_id="10416" res_config_def_id="10417"/> + <rhq_resource_type id="10170" name="Table" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Database table" plugin="Postgres" ctime="1282832766654" mtime="1282832766654" subcategory_id="%NULL%" plugin_config_def_id="10418" res_config_def_id="10419"/> + <rhq_resource_type id="10171" name="Query" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="Postgres" ctime="1282832766795" mtime="1282832766795" subcategory_id="%NULL%" plugin_config_def_id="10420" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10172" name="Oracle Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="Oracle Server" plugin="Oracle" ctime="1282832766927" mtime="1282832766927" subcategory_id="%NULL%" plugin_config_def_id="10421" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10173" name="Oracle Detailed Statistics" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Oracle" ctime="1282832767550" mtime="1282832767550" subcategory_id="%NULL%" plugin_config_def_id="10422" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10174" name="Oracle User" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Oracle" ctime="1282832767781" mtime="1282832767781" subcategory_id="%NULL%" plugin_config_def_id="10423" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10175" name="MySql Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="MySql Server" plugin="MySql" ctime="1282832769467" mtime="1282832769467" subcategory_id="%NULL%" plugin_config_def_id="10424" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10176" name="User" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A User in the MySql System" plugin="MySql" ctime="1282832770151" mtime="1282832770151" subcategory_id="%NULL%" plugin_config_def_id="10426" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10177" name="Database" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="MySql" ctime="1282832770181" mtime="1282832770181" subcategory_id="%NULL%" plugin_config_def_id="10427" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10178" name="Table" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Database table" plugin="MySql" ctime="1282832770268" mtime="1282832770268" subcategory_id="%NULL%" plugin_config_def_id="10430" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10179" name="Sudoers" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The static table lookup for host names" plugin="Sudoers" ctime="1282832773580" mtime="1282832773580" subcategory_id="%NULL%" plugin_config_def_id="10431" res_config_def_id="10432"/> + <rhq_resource_type id="10180" name="Samba Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Configuration for Samba Server" plugin="Samba" ctime="1282832773882" mtime="1282832773882" subcategory_id="%NULL%" plugin_config_def_id="10433" res_config_def_id="10434"/> + <rhq_resource_type id="10181" name="Samba Share" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a Samba share" plugin="Samba" ctime="1282832773908" mtime="1282832773908" subcategory_id="%NULL%" plugin_config_def_id="10435" res_config_def_id="10436"/> + <rhq_resource_type id="10182" name="Postfix Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Configuration for Postfix Server" plugin="Postfix" ctime="1282832773976" mtime="1282832773976" subcategory_id="%NULL%" plugin_config_def_id="10437" res_config_def_id="10438"/> + <rhq_resource_type id="10183" name="Access" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Access List in the Postfix System" plugin="Postfix" ctime="1282832773991" mtime="1282832773991" subcategory_id="%NULL%" plugin_config_def_id="10439" res_config_def_id="10440"/> + <rhq_resource_type id="10184" name="SSHD" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="OpenSSH Secure Shell Daemon" plugin="OpenSSH" ctime="1282832774046" mtime="1282832774046" subcategory_id="%NULL%" plugin_config_def_id="10441" res_config_def_id="10442"/> + <rhq_resource_type id="10185" name="Hosts File" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="true" description="the local file used for mapping host names to IP addresses" plugin="Hosts" ctime="1282832774486" mtime="1282832774486" subcategory_id="%NULL%" plugin_config_def_id="10443" res_config_def_id="10444"/> + <rhq_resource_type id="10186" name="GRUB" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The GRUB boot loader" plugin="GRUB" ctime="1282832774796" mtime="1282832774796" subcategory_id="%NULL%" plugin_config_def_id="10445" res_config_def_id="10446"/> + <rhq_resource_type id="10187" name="Cron" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The cron configuration" plugin="Cron" ctime="1282832774842" mtime="1282832774842" subcategory_id="%NULL%" plugin_config_def_id="10447" res_config_def_id="10448"/> + <rhq_resource_type id="10188" name="Cron Tab" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A single cron tab file" plugin="Cron" ctime="1282832774869" mtime="1282832774869" subcategory_id="%NULL%" plugin_config_def_id="10449" res_config_def_id="10450"/> + <rhq_resource_type id="10189" name="Cobbler" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="the local file used for mapping modules and setttings" plugin="Cobbler" ctime="1282832775197" mtime="1282832775197" subcategory_id="%NULL%" plugin_config_def_id="10451" res_config_def_id="10452"/> + <rhq_resource_type id="10190" name="Apache HTTP Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="an Apache HTTP Server instance" plugin="Apache" ctime="1282832776529" mtime="1282832776529" subcategory_id="%NULL%" plugin_config_def_id="10453" res_config_def_id="10454"/> + <rhq_resource_type id="10191" name="Mod JK" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Management of mod_jk" plugin="Apache" ctime="1282832776618" mtime="1282832776618" subcategory_id="%NULL%" plugin_config_def_id="10463" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10192" name="Apache Virtual Host" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Apache" ctime="1282832776628" mtime="1282832776628" subcategory_id="%NULL%" plugin_config_def_id="10464" res_config_def_id="10465"/> + <rhq_resource_type id="10193" name="Directory" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Apache" ctime="1282832776932" mtime="1282832776932" subcategory_id="%NULL%" plugin_config_def_id="10466" res_config_def_id="10467"/> + <rhq_resource_type id="10194" name="IfModule" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Apache" ctime="1282832777130" mtime="1282832777130" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="10468"/> + <rhq_resource_type id="10195" name="IfModule Parameters" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Apache" ctime="1282832777175" mtime="1282832777175" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="10469"/> + <rhq_resource_type id="10196" name="Ant Bundle Handler" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="This plugin is used to process Ant bundles" plugin="AntBundlePlugin" ctime="1282832785865" mtime="1282832785865" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10197" name="Aliases File" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="true" description="the local file used for mapping aliases to usernames" plugin="Aliases" ctime="1282832786328" mtime="1282832786328" subcategory_id="%NULL%" plugin_config_def_id="10470" res_config_def_id="10471"/> + <rhq_resource_type id="10001" name="SnmpTrapd" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="snmptrapd" ctime="1282832731843" mtime="1282832731843" subcategory_id="%NULL%" plugin_config_def_id="10001" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10002" name="Hudson Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="hudson" ctime="1282832732132" mtime="1282832732132" subcategory_id="%NULL%" plugin_config_def_id="10002" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10003" name="Hudson Project" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="hudson" ctime="1282832732157" mtime="1282832732157" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10004" name="Twitter" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="Twitter monitoring subsystem" plugin="Twitter" ctime="1282832733356" mtime="1282832733356" subcategory_id="%NULL%" plugin_config_def_id="10003" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10005" name="TwitterFeed" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="DELETE_ONLY" singleton="false" supports_manual_add="true" description="One timeline or search" plugin="Twitter" ctime="1282832733469" mtime="1282832733469" subcategory_id="%NULL%" plugin_config_def_id="10006" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10006" name="Script Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="A resource with a command line executable or script as its management interface" plugin="Script" ctime="1282832733625" mtime="1282832733625" subcategory_id="%NULL%" plugin_config_def_id="10007" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10007" name="Windows" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Microsoft Windows Operating System" plugin="Platforms" ctime="1282832733829" mtime="1282832733829" subcategory_id="%NULL%" plugin_config_def_id="10010" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10008" name="Linux" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Linux Operating System" plugin="Platforms" ctime="1282832733986" mtime="1282832733986" subcategory_id="%NULL%" plugin_config_def_id="10015" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10009" name="Solaris" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="SUN Solaris Operating System" plugin="Platforms" ctime="1282832734220" mtime="1282832734220" subcategory_id="%NULL%" plugin_config_def_id="10020" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10010" name="HP-UX" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Hewlett-Packard HP-UX Operating System" plugin="Platforms" ctime="1282832734420" mtime="1282832734420" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10011" name="AIX" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="IBM AIX Operating System" plugin="Platforms" ctime="1282832734563" mtime="1282832734563" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10012" name="FreeBSD" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="FreeBSD Operating System" plugin="Platforms" ctime="1282832734754" mtime="1282832734754" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10013" name="Mac OS X" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Mac OS X Operating System" plugin="Platforms" ctime="1282832734879" mtime="1282832734879" subcategory_id="%NULL%" plugin_config_def_id="10033" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10014" name="Java" category="PLATFORM" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Platform with 100% Java capability but not natively supported" plugin="Platforms" ctime="1282832735036" mtime="1282832735036" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10015" name="Process" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="A generic process monitoring service to track native process information based on a pid file or process query" plugin="Platforms" ctime="1282832735298" mtime="1282832735298" subcategory_id="%NULL%" plugin_config_def_id="10040" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10016" name="File System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Platforms" ctime="1282832735522" mtime="1282832735522" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10017" name="Network Adapter" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Platforms" ctime="1282832735682" mtime="1282832735682" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10018" name="CPU" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Platforms" ctime="1282832735825" mtime="1282832735825" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10019" name="HTTPService" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="NetworkServices" ctime="1282832736884" mtime="1282832736884" subcategory_id="%NULL%" plugin_config_def_id="10041" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10020" name="PingService" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="NetworkServices" ctime="1282832736907" mtime="1282832736907" subcategory_id="%NULL%" plugin_config_def_id="10042" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10021" name="JMX Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="Generic JMX Server" plugin="JMX" ctime="1282832739158" mtime="1282832739158" subcategory_id="%NULL%" plugin_config_def_id="10043" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10022" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="JMX" ctime="1282832739416" mtime="1282832739416" subcategory_id="%NULL%" plugin_config_def_id="10044" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10023" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="JMX" ctime="1282832739465" mtime="1282832739465" subcategory_id="%NULL%" plugin_config_def_id="10045" res_config_def_id="10046"/> + <rhq_resource_type id="10024" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="JMX" ctime="1282832739484" mtime="1282832739484" subcategory_id="%NULL%" plugin_config_def_id="10047" res_config_def_id="10048"/> + <rhq_resource_type id="10025" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="JMX" ctime="1282832739507" mtime="1282832739507" subcategory_id="%NULL%" plugin_config_def_id="10049" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10026" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="JMX" ctime="1282832739519" mtime="1282832739519" subcategory_id="%NULL%" plugin_config_def_id="10050" res_config_def_id="10051"/> + <rhq_resource_type id="10027" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="JMX" ctime="1282832739572" mtime="1282832739572" subcategory_id="%NULL%" plugin_config_def_id="10052" res_config_def_id="10053"/> + <rhq_resource_type id="10028" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="JMX" ctime="1282832739635" mtime="1282832739635" subcategory_id="%NULL%" plugin_config_def_id="10056" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10029" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="JMX" ctime="1282832739667" mtime="1282832739667" subcategory_id="%NULL%" plugin_config_def_id="10057" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10030" name="Tomcat Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="Tomcat Server" plugin="Tomcat" ctime="1282832740119" mtime="1282832740119" subcategory_id="%NULL%" plugin_config_def_id="10058" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10031" name="Tomcat Server JVM" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JVM of the Tomcat Server" plugin="Tomcat" ctime="1282832740265" mtime="1282832740265" subcategory_id="%NULL%" plugin_config_def_id="10063" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10032" name="Tomcat Virtual Host" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A virtual host in the web container" plugin="Tomcat" ctime="1282832740336" mtime="1282832740336" subcategory_id="%NULL%" plugin_config_def_id="10064" res_config_def_id="10065"/> + <rhq_resource_type id="10033" name="Tomcat Connector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Tomcat" ctime="1282832740362" mtime="1282832740362" subcategory_id="%NULL%" plugin_config_def_id="10066" res_config_def_id="10067"/> + <rhq_resource_type id="10034" name="Tomcat User Database" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Tomcat User Database" plugin="Tomcat" ctime="1282832740713" mtime="1282832740713" subcategory_id="%NULL%" plugin_config_def_id="10068" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10035" name="Tomcat Group" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Tomcat User Group" plugin="Tomcat" ctime="1282832740735" mtime="1282832740735" subcategory_id="%NULL%" plugin_config_def_id="10069" res_config_def_id="10070"/> + <rhq_resource_type id="10036" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="Tomcat" ctime="1282832740759" mtime="1282832740759" subcategory_id="%NULL%" plugin_config_def_id="10071" res_config_def_id="10072"/> + <rhq_resource_type id="10037" name="Tomcat Web Application (WAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Tomcat deployed Web Application" plugin="Tomcat" ctime="1282832740792" mtime="1282832740792" subcategory_id="%NULL%" plugin_config_def_id="10075" res_config_def_id="10076"/> + <rhq_resource_type id="10038" name="Tomcat Role" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Tomcat User Role" plugin="Tomcat" ctime="1282832740946" mtime="1282832740946" subcategory_id="%NULL%" plugin_config_def_id="10078" res_config_def_id="10079"/> + <rhq_resource_type id="10039" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="Tomcat" ctime="1282832741016" mtime="1282832741016" subcategory_id="%NULL%" plugin_config_def_id="10080" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10040" name="Tomcat User" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Tomcat User" plugin="Tomcat" ctime="1282832741048" mtime="1282832741048" subcategory_id="%NULL%" plugin_config_def_id="10081" res_config_def_id="10082"/> + <rhq_resource_type id="10041" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="Tomcat" ctime="1282832741091" mtime="1282832741091" subcategory_id="%NULL%" plugin_config_def_id="10083" res_config_def_id="10084"/> + <rhq_resource_type id="10042" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="Tomcat" ctime="1282832741160" mtime="1282832741160" subcategory_id="%NULL%" plugin_config_def_id="10085" res_config_def_id="10086"/> + <rhq_resource_type id="10043" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="Tomcat" ctime="1282832741197" mtime="1282832741197" subcategory_id="%NULL%" plugin_config_def_id="10087" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10044" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="Tomcat" ctime="1282832741248" mtime="1282832741248" subcategory_id="%NULL%" plugin_config_def_id="10088" res_config_def_id="10089"/> + <rhq_resource_type id="10045" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="Tomcat" ctime="1282832741296" mtime="1282832741296" subcategory_id="%NULL%" plugin_config_def_id="10090" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10046" name="Tomcat Cache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="A Tomcat Application (WAR) Cache" plugin="Tomcat" ctime="1282832741340" mtime="1282832741340" subcategory_id="%NULL%" plugin_config_def_id="10091" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10047" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="Tomcat" ctime="1282832741391" mtime="1282832741391" subcategory_id="%NULL%" plugin_config_def_id="10092" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10048" name="RHQ Agent" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Management Agent" plugin="RHQAgent" ctime="1282832741588" mtime="1282832741588" subcategory_id="%NULL%" plugin_config_def_id="10093" res_config_def_id="10094"/> + <rhq_resource_type id="10049" name="Measurement Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The measurement subsystem within an agent's plugin container" plugin="RHQAgent" ctime="1282832742161" mtime="1282832742161" subcategory_id="%NULL%" plugin_config_def_id="10105" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10050" name="RHQ Agent JVM" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JVM of the Management Agent" plugin="RHQAgent" ctime="1282832742235" mtime="1282832742235" subcategory_id="%NULL%" plugin_config_def_id="10106" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10051" name="Launcher Script" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The script that can run the agent as a daemon service. The Environment Setup Script configures the behavior of this service." plugin="RHQAgent" ctime="1282832742354" mtime="1282832742354" subcategory_id="%NULL%" plugin_config_def_id="10107" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10052" name="Environment Setup Script" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The agent startup script that sets up the agent environment" plugin="RHQAgent" ctime="1282832742389" mtime="1282832742389" subcategory_id="%NULL%" plugin_config_def_id="10109" res_config_def_id="10110"/> + <rhq_resource_type id="10053" name="Plugin Container" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The plugin container itself, which hosts the plugins and manages their lifecycle" plugin="RHQAgent" ctime="1282832742421" mtime="1282832742421" subcategory_id="%NULL%" plugin_config_def_id="10111" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10054" name="Java Service Wrapper Launcher" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The Java Service Wrapper that can run the agent as a daemon service" plugin="RHQAgent" ctime="1282832742489" mtime="1282832742489" subcategory_id="%NULL%" plugin_config_def_id="10117" res_config_def_id="10118"/> + <rhq_resource_type id="10055" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="RHQAgent" ctime="1282832742637" mtime="1282832742637" subcategory_id="%NULL%" plugin_config_def_id="10121" res_config_def_id="10122"/> + <rhq_resource_type id="10056" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="RHQAgent" ctime="1282832742698" mtime="1282832742698" subcategory_id="%NULL%" plugin_config_def_id="10125" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10057" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="RHQAgent" ctime="1282832742735" mtime="1282832742735" subcategory_id="%NULL%" plugin_config_def_id="10126" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10058" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="RHQAgent" ctime="1282832742774" mtime="1282832742774" subcategory_id="%NULL%" plugin_config_def_id="10127" res_config_def_id="10128"/> + <rhq_resource_type id="10059" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="RHQAgent" ctime="1282832742819" mtime="1282832742819" subcategory_id="%NULL%" plugin_config_def_id="10129" res_config_def_id="10130"/> + <rhq_resource_type id="10060" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="RHQAgent" ctime="1282832742866" mtime="1282832742866" subcategory_id="%NULL%" plugin_config_def_id="10131" res_config_def_id="10132"/> + <rhq_resource_type id="10061" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="RHQAgent" ctime="1282832742914" mtime="1282832742914" subcategory_id="%NULL%" plugin_config_def_id="10133" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10062" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="RHQAgent" ctime="1282832742958" mtime="1282832742958" subcategory_id="%NULL%" plugin_config_def_id="10134" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10063" name="JBossAS Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="JBoss Application Server (AS), Enterprise Application Platform (EAP), Enterprise SOA Platform (SOA-P), or Enterprise Web Platform (EWP) 5.x or 6.x instance" plugin="JBossAS5" ctime="1282832746504" mtime="1282832746504" subcategory_id="%NULL%" plugin_config_def_id="10135" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10064" name="Enterprise Application (EAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="JEE enterprise application (EAR)" plugin="JBossAS5" ctime="1282832746650" mtime="1282832746650" subcategory_id="10004" plugin_config_def_id="10141" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10065" name="JBoss AS JVM" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JVM of the JBossAS" plugin="JBossAS5" ctime="1282832746685" mtime="1282832746685" subcategory_id="%NULL%" plugin_config_def_id="10143" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10066" name="JBoss Messaging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="the JBoss Messaging JMS provider" plugin="JBossAS5" ctime="1282832746725" mtime="1282832746725" subcategory_id="10001" plugin_config_def_id="10144" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10067" name="JBoss Web" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Web Servlet Container" plugin="JBossAS5" ctime="1282832746747" mtime="1282832746747" subcategory_id="10001" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10068" name="No Tx ConnectionFactory" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A ConnectionFactory that does not take part in JTA transactions." plugin="JBossAS5" ctime="1282832746758" mtime="1282832746758" subcategory_id="10003" plugin_config_def_id="10145" res_config_def_id="10146"/> + <rhq_resource_type id="10069" name="Web Application (WAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a standalone web application (WAR)" plugin="JBossAS5" ctime="1282832746964" mtime="1282832746964" subcategory_id="10004" plugin_config_def_id="10151" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10070" name="Tx ConnectionFactory" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A ConnectionFactory that takes part in JTA transactions." plugin="JBossAS5" ctime="1282832746994" mtime="1282832746994" subcategory_id="10003" plugin_config_def_id="10153" res_config_def_id="10154"/> + <rhq_resource_type id="10071" name="EJB2 JAR" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a standalone EJB 2.x application" plugin="JBossAS5" ctime="1282832747153" mtime="1282832747153" subcategory_id="10004" plugin_config_def_id="10159" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10072" name="No Tx Datasource" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="No Transaction Datasources deployed in the instance of JBoss AS" plugin="JBossAS5" ctime="1282832747192" mtime="1282832747192" subcategory_id="10002" plugin_config_def_id="10161" res_config_def_id="10162"/> + <rhq_resource_type id="10073" name="Embedded EJB2 JAR" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="an embedded EJB 2.x application" plugin="JBossAS5" ctime="1282832747355" mtime="1282832747355" subcategory_id="10004" plugin_config_def_id="10167" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10074" name="Local Tx Datasource" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Local Transaction Datasources deployed in the instance of JBoss AS" plugin="JBossAS5" ctime="1282832747395" mtime="1282832747395" subcategory_id="10002" plugin_config_def_id="10168" res_config_def_id="10169"/> + <rhq_resource_type id="10075" name="Script" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="provides the ability to execute a script that performs some task related to its parent JBossAS server" plugin="JBossAS5" ctime="1282832747549" mtime="1282832747549" subcategory_id="10001" plugin_config_def_id="10174" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10076" name="XA Datasource" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="XA Datasources deployed in the instance of JBoss AS" plugin="JBossAS5" ctime="1282832747608" mtime="1282832747608" subcategory_id="10002" plugin_config_def_id="10177" res_config_def_id="10178"/> + <rhq_resource_type id="10077" name="Resource Adapter Archive (RAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a standalone JCA resource adapter archive (RAR)" plugin="JBossAS5" ctime="1282832747805" mtime="1282832747805" subcategory_id="10004" plugin_config_def_id="10183" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10078" name="Embedded Resource Adapter Archive (RAR)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="an embedded JCA resource adapter archive (RAR)" plugin="JBossAS5" ctime="1282832747875" mtime="1282832747875" subcategory_id="10004" plugin_config_def_id="10185" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10079" name="Service Binding Manager" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The Service Binding Manager manages the ports of the deployed services" plugin="JBossAS5" ctime="1282832747936" mtime="1282832747936" subcategory_id="%NULL%" plugin_config_def_id="10186" res_config_def_id="10187"/> + <rhq_resource_type id="10080" name="Embedded Web Application (WAR)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="an embedded web application (WAR)" plugin="JBossAS5" ctime="1282832748001" mtime="1282832748001" subcategory_id="10004" plugin_config_def_id="10188" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10081" name="Embedded EJB3 JAR" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="an embedded EJB 3.x application" plugin="JBossAS5" ctime="1282832748074" mtime="1282832748074" subcategory_id="10004" plugin_config_def_id="10189" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10082" name="EJB3 JAR" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a standalone EJB 3.x application" plugin="JBossAS5" ctime="1282832748140" mtime="1282832748140" subcategory_id="10004" plugin_config_def_id="10190" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10083" name="EJB2 Stateless Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Stateless Session Bean" plugin="JBossAS5" ctime="1282832748208" mtime="1282832748208" subcategory_id="%NULL%" plugin_config_def_id="10192" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10084" name="Web Application Context" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="a web application context" plugin="JBossAS5" ctime="1282832748296" mtime="1282832748296" subcategory_id="%NULL%" plugin_config_def_id="10194" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10085" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="JBossAS5" ctime="1282832748368" mtime="1282832748368" subcategory_id="%NULL%" plugin_config_def_id="10195" res_config_def_id="10196"/> + <rhq_resource_type id="10086" name="Service Binding Set" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="The Service Binding Set defines all bindings of a profile. It inherits the standard bindings from the Service Binding Manager and defines a port offset and overridden and additional bindings." plugin="JBossAS5" ctime="1282832748435" mtime="1282832748435" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="10197"/> + <rhq_resource_type id="10087" name="Topic" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a JMS topic" plugin="JBossAS5" ctime="1282832748523" mtime="1282832748523" subcategory_id="%NULL%" plugin_config_def_id="10199" res_config_def_id="10200"/> + <rhq_resource_type id="10088" name="EJB2 Entity Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Entity Bean" plugin="JBossAS5" ctime="1282832748681" mtime="1282832748681" subcategory_id="%NULL%" plugin_config_def_id="10213" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10089" name="EJB2 Stateless Session Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Stateless Session Bean" plugin="JBossAS5" ctime="1282832748766" mtime="1282832748766" subcategory_id="%NULL%" plugin_config_def_id="10214" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10090" name="EJB3 Stateful Session Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateful Session Bean (SFSB)" plugin="JBossAS5" ctime="1282832748851" mtime="1282832748851" subcategory_id="%NULL%" plugin_config_def_id="10216" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10091" name="EJB3 Stateless Session Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateless Session Bean (SLSB)" plugin="JBossAS5" ctime="1282832748991" mtime="1282832748991" subcategory_id="%NULL%" plugin_config_def_id="10218" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10092" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="JBossAS5" ctime="1282832749076" mtime="1282832749076" subcategory_id="%NULL%" plugin_config_def_id="10220" res_config_def_id="10221"/> + <rhq_resource_type id="10093" name="EJB3 Message-Driven Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Message-Driven Bean (MDB)" plugin="JBossAS5" ctime="1282832749186" mtime="1282832749186" subcategory_id="%NULL%" plugin_config_def_id="10222" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10094" name="Connector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="a JBoss Web Connector" plugin="JBossAS5" ctime="1282832749277" mtime="1282832749277" subcategory_id="%NULL%" plugin_config_def_id="10224" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10095" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="JBossAS5" ctime="1282832749415" mtime="1282832749415" subcategory_id="%NULL%" plugin_config_def_id="10225" res_config_def_id="10226"/> + <rhq_resource_type id="10096" name="EJB3 Stateless Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateless Session Bean (SLSB)" plugin="JBossAS5" ctime="1282832749499" mtime="1282832749499" subcategory_id="%NULL%" plugin_config_def_id="10227" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10097" name="EJB2 Stateful Session Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Stateful Session Bean" plugin="JBossAS5" ctime="1282832749589" mtime="1282832749589" subcategory_id="%NULL%" plugin_config_def_id="10229" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10098" name="Virtual Host" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="a JBoss Web virtual host" plugin="JBossAS5" ctime="1282832749680" mtime="1282832749680" subcategory_id="%NULL%" plugin_config_def_id="10231" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10099" name="EJB2 Message-Driven Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Message Driven Bean" plugin="JBossAS5" ctime="1282832749783" mtime="1282832749783" subcategory_id="%NULL%" plugin_config_def_id="10232" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10100" name="EJB2 Message-Driven Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Message Driven Bean" plugin="JBossAS5" ctime="1282832749875" mtime="1282832749875" subcategory_id="%NULL%" plugin_config_def_id="10233" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10101" name="Queue" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a JMS queue" plugin="JBossAS5" ctime="1282832749963" mtime="1282832749963" subcategory_id="%NULL%" plugin_config_def_id="10234" res_config_def_id="10235"/> + <rhq_resource_type id="10102" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="JBossAS5" ctime="1282832750129" mtime="1282832750129" subcategory_id="%NULL%" plugin_config_def_id="10244" res_config_def_id="10245"/> + <rhq_resource_type id="10103" name="EJB3 Message-Driven Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Message-Driven Bean (MDB)" plugin="JBossAS5" ctime="1282832750242" mtime="1282832750242" subcategory_id="%NULL%" plugin_config_def_id="10248" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10104" name="EJB3 Stateful Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateful Session Bean (SFSB)" plugin="JBossAS5" ctime="1282832750349" mtime="1282832750349" subcategory_id="%NULL%" plugin_config_def_id="10250" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10105" name="Embedded Web Application Context" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="a web application context" plugin="JBossAS5" ctime="1282832750458" mtime="1282832750458" subcategory_id="%NULL%" plugin_config_def_id="10252" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10106" name="EJB2 Entity Bean (Embedded)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Entity Bean" plugin="JBossAS5" ctime="1282832750568" mtime="1282832750568" subcategory_id="%NULL%" plugin_config_def_id="10253" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10107" name="EJB2 Stateful Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB2 Stateful Session Bean" plugin="JBossAS5" ctime="1282832750665" mtime="1282832750665" subcategory_id="%NULL%" plugin_config_def_id="10254" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10108" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="JBossAS5" ctime="1282832750777" mtime="1282832750777" subcategory_id="%NULL%" plugin_config_def_id="10256" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10109" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="JBossAS5" ctime="1282832750896" mtime="1282832750896" subcategory_id="%NULL%" plugin_config_def_id="10257" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10110" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="JBossAS5" ctime="1282832751005" mtime="1282832751005" subcategory_id="%NULL%" plugin_config_def_id="10258" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10111" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="JBossAS5" ctime="1282832751124" mtime="1282832751124" subcategory_id="%NULL%" plugin_config_def_id="10259" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10112" name="JBoss Cache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="The JBoss Cache instances on this server" plugin="JBossCache3" ctime="1282832751469" mtime="1282832751469" subcategory_id="%NULL%" plugin_config_def_id="10260" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10113" name="Cache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache" plugin="JBossCache3" ctime="1282832751551" mtime="1282832751551" subcategory_id="%NULL%" plugin_config_def_id="10261" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10114" name="Tx Interceptor" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache TxInterceptor" plugin="JBossCache3" ctime="1282832751593" mtime="1282832751593" subcategory_id="%NULL%" plugin_config_def_id="10268" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10115" name="Data Container" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache Data Container" plugin="JBossCache3" ctime="1282832751610" mtime="1282832751610" subcategory_id="%NULL%" plugin_config_def_id="10269" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10116" name="RegionManager" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache RegionManager" plugin="JBossCache3" ctime="1282832751638" mtime="1282832751638" subcategory_id="%NULL%" plugin_config_def_id="10274" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10117" name="RPC Manager" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache RPC Manager" plugin="JBossCache3" ctime="1282832751662" mtime="1282832751662" subcategory_id="%NULL%" plugin_config_def_id="10276" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10118" name="Interceptor" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache Interceptor" plugin="JBossCache3" ctime="1282832751681" mtime="1282832751681" subcategory_id="%NULL%" plugin_config_def_id="10277" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10119" name="Transaction Table" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JBoss Cache TransactionTable" plugin="JBossCache3" ctime="1282832751706" mtime="1282832751706" subcategory_id="%NULL%" plugin_config_def_id="10278" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10120" name="Lock Manager" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="MVCC Lock Manager" plugin="JBossCache3" ctime="1282832751724" mtime="1282832751724" subcategory_id="%NULL%" plugin_config_def_id="10279" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10121" name="JBossAS Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="JBoss Application Server" plugin="JBossAS" ctime="1282832758259" mtime="1282832758259" subcategory_id="%NULL%" plugin_config_def_id="10280" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10122" name="EJB3 Entity Tree Cache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="The entity cache" plugin="JBossAS" ctime="1282832758572" mtime="1282832758572" subcategory_id="10005" plugin_config_def_id="10286" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10123" name="JBoss AS JVM" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="JVM of the JBossAS" plugin="JBossAS" ctime="1282832758637" mtime="1282832758637" subcategory_id="%NULL%" plugin_config_def_id="10287" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10124" name="JBossMQ" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The JBossMQ subsystem" plugin="JBossAS" ctime="1282832758674" mtime="1282832758674" subcategory_id="10005" plugin_config_def_id="10288" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10125" name="JBossMessaging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The JBoss Messaging subsystem" plugin="JBossAS" ctime="1282832758692" mtime="1282832758692" subcategory_id="10005" plugin_config_def_id="10289" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10126" name="Datasource" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832758709" mtime="1282832758709" subcategory_id="10005" plugin_config_def_id="10290" res_config_def_id="10291"/> + <rhq_resource_type id="10127" name="Stateless Session EJB" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB 1.x or 2.x Stateless Session Bean" plugin="JBossAS" ctime="1282832758875" mtime="1282832758875" subcategory_id="10006" plugin_config_def_id="10292" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10128" name="Enterprise Application (EAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Enterprise Application" plugin="JBossAS" ctime="1282832758902" mtime="1282832758902" subcategory_id="10006" plugin_config_def_id="10293" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10129" name="ConnectionFactory" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832758938" mtime="1282832758938" subcategory_id="10005" plugin_config_def_id="10296" res_config_def_id="10297"/> + <rhq_resource_type id="10130" name="Embedded Tomcat Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Tomcat Web Application Container embedded in a JBossAS Server" plugin="JBossAS" ctime="1282832759037" mtime="1282832759037" subcategory_id="10005" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10131" name="Web Application (WAR)" category="SERVICE" creation_data_type="CONTENT" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Web Application" plugin="JBossAS" ctime="1282832759061" mtime="1282832759061" subcategory_id="10006" plugin_config_def_id="10298" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10132" name="Stateful Session EJB" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB 1.x or 2.x Stateful Session Bean" plugin="JBossAS" ctime="1282832759137" mtime="1282832759137" subcategory_id="10006" plugin_config_def_id="10304" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10133" name="EJB3 Session Bean" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB3 Stateless or Stateful Session Bean" plugin="JBossAS" ctime="1282832759170" mtime="1282832759170" subcategory_id="10006" plugin_config_def_id="10305" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10134" name="Script" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="provides the ability to execute a script that performs some task related to its parent JBossAS server" plugin="JBossAS" ctime="1282832759249" mtime="1282832759249" subcategory_id="10005" plugin_config_def_id="10307" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10135" name="Message Driven EJB" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB 1.x or 2.x Message Driven Bean" plugin="JBossAS" ctime="1282832759298" mtime="1282832759298" subcategory_id="10006" plugin_config_def_id="10310" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10136" name="Entity EJB" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="An EJB 1.x or 2.x Entity Bean" plugin="JBossAS" ctime="1282832759346" mtime="1282832759346" subcategory_id="10006" plugin_config_def_id="10311" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10137" name="VM Memory System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The memory system of the Java virtual machine including both the heap and non-heap memory." plugin="JBossAS" ctime="1282832759412" mtime="1282832759412" subcategory_id="%NULL%" plugin_config_def_id="10312" res_config_def_id="10313"/> + <rhq_resource_type id="10138" name="Connector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832759459" mtime="1282832759459" subcategory_id="%NULL%" plugin_config_def_id="10314" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10139" name="EJB3 Entity Tree Cache Interceptor" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="The entity cache interceptor" plugin="JBossAS" ctime="1282832759503" mtime="1282832759503" subcategory_id="%NULL%" plugin_config_def_id="10315" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10140" name="Operating System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832759556" mtime="1282832759556" subcategory_id="%NULL%" plugin_config_def_id="10316" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10141" name="JMQ JMS Topic" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832759608" mtime="1282832759608" subcategory_id="%NULL%" plugin_config_def_id="10317" res_config_def_id="10318"/> + <rhq_resource_type id="10142" name="VM Compilation System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The compilation system of the Java virtual machine" plugin="JBossAS" ctime="1282832759918" mtime="1282832759918" subcategory_id="%NULL%" plugin_config_def_id="10348" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10143" name="java.util.logging" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Logging control for the java.util.logging subsystem" plugin="JBossAS" ctime="1282832759967" mtime="1282832759967" subcategory_id="%NULL%" plugin_config_def_id="10349" res_config_def_id="10350"/> + <rhq_resource_type id="10144" name="Embedded Web Application (WAR)" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Web Application embedded inside of an Enterprise Application" plugin="JBossAS" ctime="1282832760023" mtime="1282832760023" subcategory_id="%NULL%" plugin_config_def_id="10351" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10145" name="JBM JMS Queue" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832760144" mtime="1282832760144" subcategory_id="%NULL%" plugin_config_def_id="10355" res_config_def_id="10356"/> + <rhq_resource_type id="10146" name="JBM JMS Topic" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832760247" mtime="1282832760247" subcategory_id="%NULL%" plugin_config_def_id="10365" res_config_def_id="10366"/> + <rhq_resource_type id="10147" name="Threading" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Information on threading in the VM" plugin="JBossAS" ctime="1282832760544" mtime="1282832760544" subcategory_id="%NULL%" plugin_config_def_id="10376" res_config_def_id="10377"/> + <rhq_resource_type id="10148" name="VHost" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A virtual host in the web container" plugin="JBossAS" ctime="1282832760634" mtime="1282832760634" subcategory_id="%NULL%" plugin_config_def_id="10380" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10149" name="JMQ JMS Queue" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="JBossAS" ctime="1282832760700" mtime="1282832760700" subcategory_id="%NULL%" plugin_config_def_id="10381" res_config_def_id="10382"/> + <rhq_resource_type id="10150" name="VM Class Loading System" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The class loading system of the Java virtual machine" plugin="JBossAS" ctime="1282832760966" mtime="1282832760966" subcategory_id="%NULL%" plugin_config_def_id="10389" res_config_def_id="10390"/> + <rhq_resource_type id="10151" name="Memory Pool" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers." plugin="JBossAS" ctime="1282832761061" mtime="1282832761061" subcategory_id="%NULL%" plugin_config_def_id="10391" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10152" name="Garbage Collector" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A garbage collector that collects one or more memory pool." plugin="JBossAS" ctime="1282832761135" mtime="1282832761135" subcategory_id="%NULL%" plugin_config_def_id="10392" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10153" name="RHQ Server Alerts Engine Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="RHQ Server Alerts Engine Subsystem" plugin="RHQServer" ctime="1282832762641" mtime="1282832762641" subcategory_id="%NULL%" plugin_config_def_id="10393" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10154" name="RHQ Server Measurement Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="RHQ Server Measurement Subsystem" plugin="RHQServer" ctime="1282832762740" mtime="1282832762740" subcategory_id="%NULL%" plugin_config_def_id="10395" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10155" name="RHQ Server Group Definition / DynaGroups Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Statistics for the RHQ Server Group Definition / DynaGroups Subsystem" plugin="RHQServer" ctime="1282832762810" mtime="1282832762810" subcategory_id="%NULL%" plugin_config_def_id="10396" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10156" name="RHQ Server Communications Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Details on communications with agents" plugin="RHQServer" ctime="1282832762861" mtime="1282832762861" subcategory_id="%NULL%" plugin_config_def_id="10398" res_config_def_id="10399"/> + <rhq_resource_type id="10157" name="RHQ Server Remote API Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Details on remote API communications with external clients, including the CLI" plugin="RHQServer" ctime="1282832762923" mtime="1282832762923" subcategory_id="%NULL%" plugin_config_def_id="10401" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10158" name="RHQ Server Plugin Subsystem" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Details on the server-side plugin container subsystem" plugin="RHQServer" ctime="1282832762948" mtime="1282832762948" subcategory_id="%NULL%" plugin_config_def_id="10403" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10159" name="JBossCacheSubsystem" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The JBoss Cache instances on this server" plugin="JBossCache" ctime="1282832763121" mtime="1282832763121" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10160" name="JBossCache" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="CREATE_ONLY" singleton="false" supports_manual_add="false" description="Statistics for JBossCache" plugin="JBossCache" ctime="1282832763151" mtime="1282832763151" subcategory_id="%NULL%" plugin_config_def_id="10404" res_config_def_id="10405"/> + <rhq_resource_type id="10161" name="JGroupsChannel" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="The underlying JGroups channel for this cache instance" plugin="JBossCache" ctime="1282832763241" mtime="1282832763241" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10162" name="IIS" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="IIS Web Server" plugin="IIS" ctime="1282832763362" mtime="1282832763362" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10163" name="VHost" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="IIS VHost" plugin="IIS" ctime="1282832763424" mtime="1282832763424" subcategory_id="%NULL%" plugin_config_def_id="10407" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10164" name="Hibernate Statistics" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Statistics for Hibernate" plugin="Hibernate" ctime="1282832763677" mtime="1282832763677" subcategory_id="%NULL%" plugin_config_def_id="10408" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10165" name="Hibernate Entity" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="A Hibernate persistent entity" plugin="Hibernate" ctime="1282832763781" mtime="1282832763781" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10166" name="File Template Bundle Handler" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="This plugin is used to process File Template bundles" plugin="FileTemplateBundlePlugin" ctime="1282832764069" mtime="1282832764069" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10167" name="Postgres Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="PostgreSQL Server" plugin="Postgres" ctime="1282832766041" mtime="1282832766041" subcategory_id="%NULL%" plugin_config_def_id="10410" res_config_def_id="10411"/> + <rhq_resource_type id="10168" name="Database" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Postgres" ctime="1282832766584" mtime="1282832766584" subcategory_id="%NULL%" plugin_config_def_id="10413" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10169" name="User" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A User in the Postgres System" plugin="Postgres" ctime="1282832766623" mtime="1282832766623" subcategory_id="%NULL%" plugin_config_def_id="10416" res_config_def_id="10417"/> + <rhq_resource_type id="10170" name="Table" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Database table" plugin="Postgres" ctime="1282832766654" mtime="1282832766654" subcategory_id="%NULL%" plugin_config_def_id="10418" res_config_def_id="10419"/> + <rhq_resource_type id="10171" name="Query" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="%NULL%" plugin="Postgres" ctime="1282832766795" mtime="1282832766795" subcategory_id="%NULL%" plugin_config_def_id="10420" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10172" name="Oracle Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="Oracle Server" plugin="Oracle" ctime="1282832766927" mtime="1282832766927" subcategory_id="%NULL%" plugin_config_def_id="10421" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10173" name="Oracle Detailed Statistics" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Oracle" ctime="1282832767550" mtime="1282832767550" subcategory_id="%NULL%" plugin_config_def_id="10422" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10174" name="Oracle User" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Oracle" ctime="1282832767781" mtime="1282832767781" subcategory_id="%NULL%" plugin_config_def_id="10423" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10175" name="MySql Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="MySql Server" plugin="MySql" ctime="1282832769467" mtime="1282832769467" subcategory_id="%NULL%" plugin_config_def_id="10424" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10176" name="User" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A User in the MySql System" plugin="MySql" ctime="1282832770151" mtime="1282832770151" subcategory_id="%NULL%" plugin_config_def_id="10426" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10177" name="Database" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="MySql" ctime="1282832770181" mtime="1282832770181" subcategory_id="%NULL%" plugin_config_def_id="10427" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10178" name="Table" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="Database table" plugin="MySql" ctime="1282832770268" mtime="1282832770268" subcategory_id="%NULL%" plugin_config_def_id="10430" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10179" name="Sudoers" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The static table lookup for host names" plugin="Sudoers" ctime="1282832773580" mtime="1282832773580" subcategory_id="%NULL%" plugin_config_def_id="10431" res_config_def_id="10432"/> + <rhq_resource_type id="10180" name="Samba Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Configuration for Samba Server" plugin="Samba" ctime="1282832773882" mtime="1282832773882" subcategory_id="%NULL%" plugin_config_def_id="10433" res_config_def_id="10434"/> + <rhq_resource_type id="10181" name="Samba Share" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="a Samba share" plugin="Samba" ctime="1282832773908" mtime="1282832773908" subcategory_id="%NULL%" plugin_config_def_id="10435" res_config_def_id="10436"/> + <rhq_resource_type id="10182" name="Postfix Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Configuration for Postfix Server" plugin="Postfix" ctime="1282832773976" mtime="1282832773976" subcategory_id="%NULL%" plugin_config_def_id="10437" res_config_def_id="10438"/> + <rhq_resource_type id="10183" name="Access" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="Access List in the Postfix System" plugin="Postfix" ctime="1282832773991" mtime="1282832773991" subcategory_id="%NULL%" plugin_config_def_id="10439" res_config_def_id="10440"/> + <rhq_resource_type id="10184" name="SSHD" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="OpenSSH Secure Shell Daemon" plugin="OpenSSH" ctime="1282832774046" mtime="1282832774046" subcategory_id="%NULL%" plugin_config_def_id="10441" res_config_def_id="10442"/> + <rhq_resource_type id="10185" name="Hosts File" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="true" description="the local file used for mapping host names to IP addresses" plugin="Hosts" ctime="1282832774486" mtime="1282832774486" subcategory_id="%NULL%" plugin_config_def_id="10443" res_config_def_id="10444"/> + <rhq_resource_type id="10186" name="GRUB" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The GRUB boot loader" plugin="GRUB" ctime="1282832774796" mtime="1282832774796" subcategory_id="%NULL%" plugin_config_def_id="10445" res_config_def_id="10446"/> + <rhq_resource_type id="10187" name="Cron" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="The cron configuration" plugin="Cron" ctime="1282832774842" mtime="1282832774842" subcategory_id="%NULL%" plugin_config_def_id="10447" res_config_def_id="10448"/> + <rhq_resource_type id="10188" name="Cron Tab" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="A single cron tab file" plugin="Cron" ctime="1282832774869" mtime="1282832774869" subcategory_id="%NULL%" plugin_config_def_id="10449" res_config_def_id="10450"/> + <rhq_resource_type id="10189" name="Cobbler" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="the local file used for mapping modules and setttings" plugin="Cobbler" ctime="1282832775197" mtime="1282832775197" subcategory_id="%NULL%" plugin_config_def_id="10451" res_config_def_id="10452"/> + <rhq_resource_type id="10190" name="Apache HTTP Server" category="SERVER" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="true" description="an Apache HTTP Server instance" plugin="Apache" ctime="1282832776529" mtime="1282832776529" subcategory_id="%NULL%" plugin_config_def_id="10453" res_config_def_id="10454"/> + <rhq_resource_type id="10191" name="Mod JK" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="Management of mod_jk" plugin="Apache" ctime="1282832776618" mtime="1282832776618" subcategory_id="%NULL%" plugin_config_def_id="10463" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10192" name="Apache Virtual Host" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Apache" ctime="1282832776628" mtime="1282832776628" subcategory_id="%NULL%" plugin_config_def_id="10464" res_config_def_id="10465"/> + <rhq_resource_type id="10193" name="Directory" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Apache" ctime="1282832776932" mtime="1282832776932" subcategory_id="%NULL%" plugin_config_def_id="10466" res_config_def_id="10467"/> + <rhq_resource_type id="10194" name="IfModule" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="BOTH" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Apache" ctime="1282832777130" mtime="1282832777130" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="10468"/> + <rhq_resource_type id="10195" name="IfModule Parameters" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="false" supports_manual_add="false" description="%NULL%" plugin="Apache" ctime="1282832777175" mtime="1282832777175" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="10469"/> + <rhq_resource_type id="10196" name="Ant Bundle Handler" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="false" description="This plugin is used to process Ant bundles" plugin="AntBundlePlugin" ctime="1282832785865" mtime="1282832785865" subcategory_id="%NULL%" plugin_config_def_id="%NULL%" res_config_def_id="%NULL%"/> + <rhq_resource_type id="10197" name="Aliases File" category="SERVICE" creation_data_type="CONFIGURATION" create_delete_policy="NEITHER" singleton="true" supports_manual_add="true" description="the local file used for mapping aliases to usernames" plugin="Aliases" ctime="1282832786328" mtime="1282832786328" subcategory_id="%NULL%" plugin_config_def_id="10470" res_config_def_id="10471"/> + <rhq_config_def id="10001" name="SnmpTrapd" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10002" name="Hudson Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10003" name="Twitter" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10004" name="postStatus" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10005" name="postStatus" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10006" name="TwitterFeed" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10007" name="Script Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10008" name="execute" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10009" name="execute" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10010" name="Windows" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10011" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10012" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10013" name="viewProcessList" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10014" name="InstalledSoftware" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10015" name="Linux" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10016" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10017" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10018" name="viewProcessList" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10019" name="rpm" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10020" name="Solaris" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10021" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10022" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10023" name="viewProcessList" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10024" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10025" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10026" name="viewProcessList" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10027" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10028" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10029" name="viewProcessList" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10030" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10031" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10032" name="viewProcessList" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10033" name="Mac OS X" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10034" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10035" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10036" name="viewProcessList" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10037" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10038" name="discovery" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10039" name="viewProcessList" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10040" name="Process" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10041" name="HTTPService" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10042" name="PingService" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10043" name="JMX Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10044" name="Operating System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10045" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10046" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10047" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10048" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10049" name="VM Compilation System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10050" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10051" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10052" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10053" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10054" name="findMonitorDeadlockedThreads" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10055" name="threadDump" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10056" name="Garbage Collector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10057" name="Memory Pool" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10058" name="Tomcat Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10059" name="start" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10060" name="shutdown" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10061" name="restart" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10062" name="storeConfig" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10063" name="Tomcat Server JVM" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10064" name="Tomcat Virtual Host" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10065" name="Tomcat Virtual Host" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10066" name="Tomcat Connector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10067" name="Tomcat Connector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10068" name="Tomcat User Database" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10069" name="Tomcat Group" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10070" name="Tomcat Group" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10071" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10072" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10073" name="findMonitorDeadlockedThreads" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10074" name="threadDump" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10075" name="Tomcat Web Application (WAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10076" name="Tomcat Web Application (WAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10077" name="file" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10078" name="Tomcat Role" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10079" name="Tomcat Role" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10080" name="VM Compilation System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10081" name="Tomcat User" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10082" name="Tomcat User" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10083" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10084" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10085" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10086" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10087" name="Operating System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10088" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10089" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10090" name="Garbage Collector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10091" name="Tomcat Cache" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10092" name="Memory Pool" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10093" name="RHQ Agent" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10094" name="RHQ Agent" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10095" name="retrieveAllPluginInfo" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10096" name="retrievePluginInfo" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10097" name="retrievePluginInfo" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10098" name="executeAvailabilityScan" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10099" name="executeAvailabilityScan" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10100" name="retrieveCurrentDateTime" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10101" name="retrieveCurrentDateTime" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10102" name="setDebugMode" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10103" name="executePromptCommand" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10104" name="executePromptCommand" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10105" name="Measurement Subsystem" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10106" name="RHQ Agent JVM" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10107" name="Launcher Script" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10108" name="Status" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10109" name="Environment Setup Script" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10110" name="Environment Setup Script" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10111" name="Plugin Container" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10112" name="retrievePluginDependencyGraph" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10113" name="retrievePluginClassLoaderInformation" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10114" name="retrieveDiscoveryClassLoaderInformation" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10115" name="retrieveAllResourceClassLoaderInformation" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10116" name="retrieveUniqueResourceClassLoaderInformation" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10117" name="Java Service Wrapper Launcher" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10118" name="Java Service Wrapper Launcher" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10119" name="Install" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10120" name="Status" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10121" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10122" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10123" name="findMonitorDeadlockedThreads" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10124" name="threadDump" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10125" name="VM Compilation System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10126" name="Operating System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10127" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10128" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10129" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10130" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10131" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10132" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10133" name="Memory Pool" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10134" name="Garbage Collector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10135" name="JBossAS Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10136" name="start" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10137" name="shutdown" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10138" name="restart" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10139" name="cumulativePatch" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10140" name="library" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10141" name="Enterprise Application (EAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10142" name="file" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10143" name="JBoss AS JVM" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10144" name="JBoss Messaging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10145" name="No Tx ConnectionFactory" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10146" name="No Tx ConnectionFactory" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10147" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10148" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10149" name="listStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10150" name="testConnection" description="Test if a connection can be obtained" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10151" name="Web Application (WAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10152" name="file" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10153" name="Tx ConnectionFactory" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10154" name="Tx ConnectionFactory" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10155" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10156" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10157" name="listStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10158" name="testConnection" description="Test if a connection can be obtained" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10159" name="EJB2 JAR" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10160" name="file" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10161" name="No Tx Datasource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10162" name="No Tx Datasource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10163" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10164" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10165" name="listStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10166" name="testConnection" description="Test if a connection can be obtained" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10167" name="Embedded EJB2 JAR" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10168" name="Local Tx Datasource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10169" name="Local Tx Datasource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10170" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10171" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10172" name="listStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10173" name="testConnection" description="Test if a connection can be obtained" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10174" name="Script" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10175" name="execute" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10176" name="execute" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10177" name="XA Datasource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10178" name="XA Datasource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10179" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10180" name="listFormattedSubPoolStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10181" name="listStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10182" name="testConnection" description="Test if a connection can be obtained" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10183" name="Resource Adapter Archive (RAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10184" name="file" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10185" name="Embedded Resource Adapter Archive (RAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10186" name="Service Binding Manager" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10187" name="Service Binding Manager" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10188" name="Embedded Web Application (WAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10189" name="Embedded EJB3 JAR" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10190" name="EJB3 JAR" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10191" name="file" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10192" name="EJB2 Stateless Session Bean" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10193" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10194" name="Web Application Context" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10195" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10196" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10197" name="Service Binding Set" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10198" name="displayBindings" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10199" name="Topic" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10200" name="Topic" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10201" name="listAllMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10202" name="listAllMessages" description="List all messages for the specified subscription with the specified selector" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10203" name="listDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10204" name="listDurableMessages" description="List all durable messages for the specified subscription with the specified selector" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10205" name="listNonDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10206" name="listNonDurableMessages" description="List all non durable messages for the specified subscription with the specified selector" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10207" name="listAllSubscriptions" description="Return all subscriptions for the topic" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10208" name="listAllSubscriptionsAsHTML" description="Return all subscriptions for the topic as HTML" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10209" name="listDurableSubscriptions" description="Return all durable subscriptions for the topic" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10210" name="listDurableSubscriptionsAsHTML" description="Return all durable subscriptions for the topic as HTML" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10211" name="listNonDurableSubscriptions" description="Return all non-durable subscriptions for the topic" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10212" name="listNonDurableSubscriptionsAsHTML" description="Return all non-durable subscriptions for the topic as HTML" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10213" name="EJB2 Entity Bean" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10214" name="EJB2 Stateless Session Bean (Embedded)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10215" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10216" name="EJB3 Stateful Session Bean (Embedded)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10217" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10218" name="EJB3 Stateless Session Bean (Embedded)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10219" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10220" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10221" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10222" name="EJB3 Message-Driven Bean" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10223" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10224" name="Connector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10225" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10226" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10227" name="EJB3 Stateless Session Bean" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10228" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10229" name="EJB2 Stateful Session Bean (Embedded)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10230" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10231" name="Virtual Host" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10232" name="EJB2 Message-Driven Bean" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10233" name="EJB2 Message-Driven Bean (Embedded)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10234" name="Queue" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10235" name="Queue" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10236" name="listAllMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10237" name="listAllMessages" description="List all messages with selector" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10238" name="listDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10239" name="listDurableMessages" description="List all durable messages using a selector" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10240" name="listNonDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10241" name="listNonDurableMessages" description="List all non durable messages using a selector" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10242" name="listMessageCounterAsHTML" description="Get the message counter as HTML" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10243" name="listMessageCounterHistoryAsHTML" description="Get the message counter history as HTML" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10244" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10245" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10246" name="findMonitorDeadlockedThreads" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10247" name="threadDump" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10248" name="EJB3 Message-Driven Bean (Embedded)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10249" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10250" name="EJB3 Stateful Session Bean" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10251" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10252" name="Embedded Web Application Context" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10253" name="EJB2 Entity Bean (Embedded)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10254" name="EJB2 Stateful Session Bean" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10255" name="viewInvocationStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10256" name="VM Compilation System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10257" name="Operating System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10258" name="Garbage Collector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10259" name="Memory Pool" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10260" name="JBoss Cache" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10261" name="Cache" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10262" name="printLockInfo" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10263" name="printCacheDetails" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10264" name="printCacheDetailsAsHtml" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10265" name="printConfigurationAsString" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10266" name="printLockInfoAsHtml" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10267" name="printConfigurationAsHtmlString" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10268" name="Tx Interceptor" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10269" name="Data Container" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10270" name="getNumberOfNodes" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10271" name="getNumberOfAttributes" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10272" name="printDetails" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10273" name="printDetailsAsHtml" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10274" name="RegionManager" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10275" name="dumpRegions" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10276" name="RPC Manager" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10277" name="Interceptor" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10278" name="Transaction Table" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10279" name="Lock Manager" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10280" name="JBossAS Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10281" name="start" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10282" name="shutdown" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10283" name="restart" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10284" name="cumulativePatch" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10285" name="library" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10286" name="EJB3 Entity Tree Cache" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10287" name="JBoss AS JVM" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10288" name="JBossMQ" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10289" name="JBossMessaging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10290" name="Datasource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10291" name="Datasource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10292" name="Stateless Session EJB" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10293" name="Enterprise Application (EAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10294" name="revert" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10295" name="file" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10296" name="ConnectionFactory" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10297" name="ConnectionFactory" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10298" name="Web Application (WAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10299" name="start" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10300" name="stop" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10301" name="reload" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10302" name="revert" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10303" name="file" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10304" name="Stateful Session EJB" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10305" name="EJB3 Session Bean" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10306" name="viewMethodStats" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10307" name="Script" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10308" name="execute" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10309" name="execute" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10310" name="Message Driven EJB" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10311" name="Entity EJB" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10312" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10313" name="VM Memory System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10314" name="Connector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10315" name="EJB3 Entity Tree Cache Interceptor" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10316" name="Operating System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10317" name="JMQ JMS Topic" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10318" name="JMQ JMS Topic" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10319" name="listAllSubscriptions" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10320" name="listDurableSubscriptions" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10321" name="listNonDurableSubscriptions" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10322" name="listMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10323" name="listMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10324" name="getNonDurableMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10325" name="getNonDurableMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10326" name="listNonDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10327" name="listNonDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10328" name="getDurableMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10329" name="getDurableMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10330" name="listDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10331" name="listDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10332" name="getNonDurableScheduledMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10333" name="getNonDurableScheduledMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10334" name="listNonDurableScheduledMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10335" name="listNonDurableScheduledMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10336" name="getDurableMessageScheduledCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10337" name="getDurableMessageScheduledCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10338" name="listDurableScheduledMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10339" name="listDurableScheduledMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10340" name="getNonDurableInProcessMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10341" name="getNonDurableInProcessMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10342" name="listNonDurableInProcessMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10343" name="listNonDurableInProcessMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10344" name="getDurableInProcessMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10345" name="getDurableInProcessMessageCount" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10346" name="listDurableInProcessMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10347" name="listDurableInProcessMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10348" name="VM Compilation System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10349" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10350" name="java.util.logging" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10351" name="Embedded Web Application (WAR)" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10352" name="start" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10353" name="stop" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10354" name="reload" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10355" name="JBM JMS Queue" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10356" name="JBM JMS Queue" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10357" name="listMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10358" name="listMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10359" name="listAllMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10360" name="listAllMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10361" name="listDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10362" name="listDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10363" name="listNonDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10364" name="listNonDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10365" name="JBM JMS Topic" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10366" name="JBM JMS Topic" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10367" name="listAllSubscriptions" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10368" name="listDurableSubscriptions" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10369" name="listNonDurableSubscriptions" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10370" name="listAllMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10371" name="listAllMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10372" name="listNonDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10373" name="listNonDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10374" name="listDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10375" name="listDurableMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10376" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10377" name="Threading" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10378" name="findMonitorDeadlockedThreads" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10379" name="threadDump" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10380" name="VHost" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10381" name="JMQ JMS Queue" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10382" name="JMQ JMS Queue" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10383" name="listMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10384" name="listMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10385" name="listScheduledMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10386" name="listScheduledMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10387" name="listInProcessMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10388" name="listInProcessMessages" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10389" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10390" name="VM Class Loading System" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10391" name="Memory Pool" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10392" name="Garbage Collector" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10393" name="RHQ Server Alerts Engine Subsystem" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10394" name="reloadCaches" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10395" name="RHQ Server Measurement Subsystem" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10396" name="RHQ Server Group Definition / DynaGroups Subsystem" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10397" name="retrieveStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10398" name="RHQ Server Communications Subsystem" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10399" name="RHQ Server Communications Subsystem" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10400" name="viewReceivedCallTimeData" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10401" name="RHQ Server Remote API Subsystem" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10402" name="viewReceivedCallTimeData" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10403" name="RHQ Server Plugin Subsystem" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10404" name="JBossCache" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10405" name="JBossCache" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10406" name="listAssociatedMBeans" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10407" name="VHost" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10408" name="Hibernate Statistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10409" name="viewQueries" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10410" name="Postgres Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10411" name="Postgres Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10412" name="listProcessStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10413" name="Database" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10414" name="invokeSql" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10415" name="invokeSql" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10416" name="User" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10417" name="User" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10418" name="Table" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10419" name="Table" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10420" name="Query" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10421" name="Oracle Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10422" name="Oracle Detailed Statistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10423" name="Oracle User" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10424" name="MySql Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10425" name="listProcessStatistics" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10426" name="User" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10427" name="Database" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10428" name="invokeSql" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10429" name="invokeSql" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10430" name="Table" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10431" name="Sudoers" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10432" name="Sudoers" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10433" name="Samba Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10434" name="Samba Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10435" name="Samba Share" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10436" name="Samba Share" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10437" name="Postfix Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10438" name="Postfix Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10439" name="Access" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10440" name="Access" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10441" name="SSHD" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10442" name="SSHD" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10443" name="Hosts File" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10444" name="Hosts File" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10445" name="GRUB" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10446" name="GRUB" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10447" name="Cron" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10448" name="Cron" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10449" name="Cron Tab" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10450" name="Cron Tab" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10451" name="Cobbler" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10452" name="Cobbler" description="%NULL%" version="%NULL%" config_format="STRUCTURED_AND_RAW"/> + <rhq_config_def id="10453" name="Apache HTTP Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10454" name="Apache HTTP Server" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10455" name="start" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10456" name="stop" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10457" name="restart" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10458" name="start_ssl" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10459" name="graceful_restart" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10460" name="config_test" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10461" name="install_mod_jk" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10462" name="install_mod_jk" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10463" name="Mod JK" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10464" name="Apache Virtual Host" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10465" name="Apache Virtual Host" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10466" name="Directory" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10467" name="Directory" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10468" name="IfModule" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10469" name="IfModule Parameters" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10470" name="Aliases File" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10471" name="Aliases File" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10472" name="UrlSource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10473" name="DiskSource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10474" name="YumSource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> + <rhq_config_def id="10475" name="HttpSource" description="%NULL%" version="%NULL%" config_format="STRUCTURED"/> +</dataset> diff --git a/pom.xml b/pom.xml index 70c5254..7888b45 100644 --- a/pom.xml +++ b/pom.xml @@ -96,6 +96,7 @@ <jna.version>3.2.5</jna.version> <twitter4j.version>2.1.2</twitter4j.version> <commons-codec.version>1.4</commons-codec.version> + <testng.version>5.9</testng.version>
<!-- defaults for datasource used by integration tests -