Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 04C7B1130 for ; Tue, 19 Apr 2011 13:51:26 +0000 (UTC) Received: (qmail 6493 invoked by uid 500); 19 Apr 2011 02:44:45 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 6302 invoked by uid 500); 19 Apr 2011 02:44:45 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 6294 invoked by uid 99); 19 Apr 2011 02:44:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2011 02:44:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2011 02:44:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DC4BBA811F for ; Tue, 19 Apr 2011 02:44:05 +0000 (UTC) Date: Tue, 19 Apr 2011 02:44:05 +0000 (UTC) From: "Shenghao Fang (JIRA)" To: dev@geronimo.apache.org Message-ID: <1365127086.66190.1303181045885.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <29109550.154691294212946076.JavaMail.jira@thor> Subject: [jira] [Assigned] (GERONIMO-5749) Command Line utility to enable/disable Monitoring server and Stat query Snapshot thread for DefaultServer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-5749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shenghao Fang reassigned GERONIMO-5749: --------------------------------------- Assignee: Shenghao Fang (was: Vamsavardhana Reddy) > Command Line utility to enable/disable Monitoring server and Stat query Snapshot thread for DefaultServer > --------------------------------------------------------------------------------------------------------- > > Key: GERONIMO-5749 > URL: https://issues.apache.org/jira/browse/GERONIMO-5749 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues) > Components: monitoring > Affects Versions: 2.1.7 > Reporter: Vamsavardhana Reddy > Assignee: Shenghao Fang > Fix For: 2.1.8 > > Attachments: disable-monitoring.sql, enable-monitoring.sql, runsql.bat, runsql.sh > > > Currently there is no command line utility to enable/disable Monitoring on Default Server and start/stop of Stats Query snapshot thread. The only way to do these operations is through Monitoring portlet in the admin console. > Enable/disable Monitoring is done by changing ENABLED column in SERVERS and GRAPHS tables in MonitoringClientDB. SQL scripts can be provided for this to execute from command line. > Start/Stop of snapshot thread is done by calling MasterRemoteControlJMX GBean methods. Ideal place to provide support for this would be through a new deployer command. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira