geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ecr...@apache.org
Subject svn commit: r632438 - in /geronimo/server/trunk/plugins/monitoring: mconsole-ear/src/main/resources/MonitoringClientDB.sql mconsole-war/src/main/java/org/apache/geronimo/monitoring/console/MRCConnector.java
Date Fri, 29 Feb 2008 21:03:06 GMT
Author: ecraig
Date: Fri Feb 29 13:03:04 2008
New Revision: 632438

URL: http://svn.apache.org/viewvc?rev=632438&view=rev
Log:
GERONIMO-3833
Removed hard coded paths from .sql file in monitoring console


Modified:
    geronimo/server/trunk/plugins/monitoring/mconsole-ear/src/main/resources/MonitoringClientDB.sql
    geronimo/server/trunk/plugins/monitoring/mconsole-war/src/main/java/org/apache/geronimo/monitoring/console/MRCConnector.java

Modified: geronimo/server/trunk/plugins/monitoring/mconsole-ear/src/main/resources/MonitoringClientDB.sql
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/monitoring/mconsole-ear/src/main/resources/MonitoringClientDB.sql?rev=632438&r1=632437&r2=632438&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/monitoring/mconsole-ear/src/main/resources/MonitoringClientDB.sql
(original)
+++ geronimo/server/trunk/plugins/monitoring/mconsole-ear/src/main/resources/MonitoringClientDB.sql
Fri Feb 29 13:03:04 2008
@@ -94,109 +94,6 @@
     added       TIMESTAMP NOT NULL,
     modified    TIMESTAMP NOT NULL
 );
-INSERT INTO servers VALUES(DEFAULT, DEFAULT, 'Local host', '127.0.0.1', 'system', 'manager',
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP);
-INSERT INTO graphs VALUES(  
-    DEFAULT,
-    DEFAULT,
-    DEFAULT,
-    'TomcatWebBytesSentSecond60Min',
-    'KiloBytes sent per second from the Tomcat Web Connector',
-    DEFAULT,
-    'geronimo:J2EEServer=geronimo,ServiceModule=org.apache.geronimo.configs/tomcat6/2.1-SNAPSHOT/car,j2eeType=GBean,name=TomcatWebConnector',
-    'D',
-    'Bytes Sent',
-    '/1024/',
-    'D',
-    'time',
-    'Tomcat Web KBytes/Sec Sent',
-    'KBps',
-    500.0,
-    1024.0,
-    DEFAULT,
-    DEFAULT,
-    CURRENT_TIMESTAMP,
-    CURRENT_TIMESTAMP,
-    CURRENT_TIMESTAMP
-);
-INSERT INTO graphs VALUES(  
-    DEFAULT,
-    DEFAULT,
-    DEFAULT,
-    'TomcatWebBytesReceivedSecond60Min',
-    'KiloBytes received per second from the Tomcat Web Connector',
-    DEFAULT,
-    'geronimo:J2EEServer=geronimo,ServiceModule=org.apache.geronimo.configs/tomcat6/2.1-SNAPSHOT/car,j2eeType=GBean,name=TomcatWebConnector',
-    'D',
-    'Bytes Received',
-    '/1024/',
-    'D',
-    'time',
-    'Tomcat Web KBytes/Sec Received',
-    'KBps',
-    500.0,
-    1024.0,
-    DEFAULT,
-    DEFAULT,
-    CURRENT_TIMESTAMP,
-    CURRENT_TIMESTAMP,
-    CURRENT_TIMESTAMP
-);
-INSERT INTO graphs VALUES(  
-    DEFAULT,
-    DEFAULT,
-    DEFAULT,
-    'TomcatWebRequestTimeSecond60Min',
-    'Request processing time over time from the Tomcat Web Connector',
-    DEFAULT,
-    'geronimo:J2EEServer=geronimo,ServiceModule=org.apache.geronimo.configs/tomcat6/2.1-SNAPSHOT/car,j2eeType=GBean,name=TomcatWebConnector',
-    'D',
-    'Request Time CurrentTime',
-    '/',
-    'D',
-    'time',
-    'Tomcat Request Time/Second',
-    'RequestTime',
-    500.0,
-    1024.0,
-    DEFAULT,
-    DEFAULT,
-    CURRENT_TIMESTAMP,
-    CURRENT_TIMESTAMP,
-    CURRENT_TIMESTAMP
-);
-INSERT INTO graphs VALUES(  
-    DEFAULT,
-    DEFAULT,
-    DEFAULT,
-    'TomcatWebErrorCountSecond60Min',
-    'Error count over time from the Tomcat Web Connector',
-    DEFAULT,
-    'geronimo:J2EEServer=geronimo,ServiceModule=org.apache.geronimo.configs/tomcat6/2.1-SNAPSHOT/car,j2eeType=GBean,name=TomcatWebConnector',
-    'D',
-    'Error Count',
-    '/',
-    'D',
-    'time',
-    'Error Count/Sec',
-    'Errors',
-    500.0,
-    1024.0,
-    DEFAULT,
-    DEFAULT,
-    CURRENT_TIMESTAMP,
-    CURRENT_TIMESTAMP,
-    CURRENT_TIMESTAMP
-);
-INSERT INTO views VALUES(
-    DEFAULT,
-    DEFAULT,
-    'Tomcat Web Connector 60 mins',
-    'Tomcat Web Connector 60 minute graphs',
-    4,
-    '0,1,2,3,',
-    CURRENT_TIMESTAMP,
-    CURRENT_TIMESTAMP
-);
 
 
 

Modified: geronimo/server/trunk/plugins/monitoring/mconsole-war/src/main/java/org/apache/geronimo/monitoring/console/MRCConnector.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/monitoring/mconsole-war/src/main/java/org/apache/geronimo/monitoring/console/MRCConnector.java?rev=632438&r1=632437&r2=632438&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/monitoring/mconsole-war/src/main/java/org/apache/geronimo/monitoring/console/MRCConnector.java
(original)
+++ geronimo/server/trunk/plugins/monitoring/mconsole-war/src/main/java/org/apache/geronimo/monitoring/console/MRCConnector.java
Fri Feb 29 13:03:04 2008
@@ -46,7 +46,7 @@
 
 public class MRCConnector {
 
-    private static final String PATH = "geronimo:ServiceModule=org.apache.geronimo.plugins.monitoring/agent-car-jmx/2.1-SNAPSHOT/car,J2EEServer=geronimo,name=MasterRemoteControlJMX,j2eeType=GBean";
+    private static final String PATH = "geronimo:ServiceModule=org.apache.geronimo.plugins.monitoring/agent-car-jmx/2.2-SNAPSHOT/car,J2EEServer=geronimo,name=MasterRemoteControlJMX,j2eeType=GBean";
     private static MBeanServerConnection mbServerConn;
     private MasterRemoteControlRemote mrc = null;
     private int Protocol = 0;



Mime
View raw message