You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
(927) |
Apr
(419) |
May
(352) |
Jun
(431) |
Jul
(463) |
Aug
(345) |
Sep
(304) |
Oct
(596) |
Nov
(466) |
Dec
(414) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
(348) |
Feb
(313) |
Mar
(665) |
Apr
(688) |
May
(434) |
Jun
(311) |
Jul
(540) |
Aug
(554) |
Sep
(467) |
Oct
(341) |
Nov
(365) |
Dec
(272) |
| 2009 |
Jan
(386) |
Feb
(293) |
Mar
(279) |
Apr
(239) |
May
(229) |
Jun
(199) |
Jul
(186) |
Aug
(111) |
Sep
(196) |
Oct
(146) |
Nov
(116) |
Dec
(140) |
| 2010 |
Jan
(170) |
Feb
(159) |
Mar
(151) |
Apr
(161) |
May
(90) |
Jun
(56) |
Jul
(28) |
Aug
(22) |
Sep
(5) |
Oct
|
Nov
(23) |
Dec
(12) |
| 2011 |
Jan
(8) |
Feb
(8) |
Mar
(22) |
Apr
(24) |
May
(4) |
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2012 |
Jan
(5) |
Feb
(1) |
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Ryan M. <rm...@hy...> - 2007-03-22 02:56:01
|
Yeah, it looks like the built-in postgres binaries will only work on 10.4. I don't know of anyone running on 10.3, most of the developers at Hyperic use 10.4. That should be the only incompatibility though, so if you follow laullon's instructions on building your own postgres you should be able to get up and running. The only other native piece of code is Sigar, which should work fine on 10.3. -Ryan |
|
From: Stacey S. <sta...@hy...> - 2007-03-22 02:34:01
|
Hi Venkat, The easiest way to go develop a plugin is to use one of the examples out on the wiki. Using the examples, you'll find that plugins are far easier then you think they will be - usually changing a few lines of XML. Check out the Plugin Development Center here: http://support.hyperic.com/confluence/display/DOCSHQ30/Plugin+Development+Center Cheers, -Stacey |
|
From: John S. (JIRA) <ji...@hy...> - 2007-03-22 02:23:36
|
Create plugin to monitor mod_jk status
--------------------------------------
Key: HHQ-760
URL: http://jira.hyperic.com/browse/HHQ-760
Project: Hyperic HQ
Type: New Feature
Components: Plugins
Reporter: John Sachs
Assigned to: Charles Lee
Priority: Minor
Fix For: 3.1.0
mod_jk 1.2.20 makes some new status information available. It would be nice to have an HQ plugin that took advantage of this information.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.hyperic.com/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|
|
From: deeboh <mic...@gm...> - 2007-03-22 02:16:41
|
Hey guys, thanks for the response and please forgive the lack of details. I was hell bent on figuring out what was wrong and I finally gave in, then posted to this forum. Ok, Mr Morgan I'm not a huge fan of postgres (ergo i'm not familiar with it), so I was just tracking down exectuables scripts to find out which script started the db, hopefully seeing some error that made sense. laullon thanks for the tip if all else fails i'll give that a shot. johnmark i've posted the outputs you requested below. I read a similar post to this regarding the upgrade from 2.7.7-3.0.1 which resulted in having to delete blank or null table entries in the DB to make things work properly. however that was an upgrade, this is a fresh install. i've also posted the contents of the hqdb.log file, but to me the contents aren't that remarkable. My system is a PowerBook G4 running 10.3.9. Thanks for any other pointers you can provide... TeamSOAMac:~/hyperic/server-3.0.2/bin daddyD$ sh hq-server.sh start Starting HQ server... Initializing HQ server configuration... Checking jboss jndi port... Checking jboss mbean port... Removing stale pid file /Users/daddyD/hyperic/server-3.0.2/hqdb/data/postmaster.pid Starting HQ built-in database... HQ built-in database failed to start: The log file /Users/daddyD/hyperic/server-3.0.2/hqdb/data/hqdb.log may contain further details on why it failed to start. TeamSOAMac:~/hyperic/server-3.0.2/bin daddyD$ LOG FILE ENTRY /Users/daddyD/hyperic/server-3.0.2/hqdb/bin/postmaster undefined reference to _getpeereid expected to be defined in /usr/lib/libSystem.B.dylib dyld: /Users/daddyD/hyperic/server-3.0.2/hqdb/bin/postmaster Undefined symbols: /Users/daddyD/hyperic/server-3.0.2/hqdb/bin/postmaster undefined reference to _getpeereid expected to be defined in /usr/lib/libSystem.B.dylib dyld: /Users/daddyD/hyperic/server-3.0.2/hqdb/bin/postmaster Undefined symbols: /Users/daddyD/hyperic/server-3.0.2/hqdb/bin/postmaster undefined reference to _getpeereid expected to be defined in /usr/lib/libSystem.B.dylib |
|
From: <bo...@hy...> - 2007-03-22 02:11:25
|
Author: bob Date: 2007-03-21 18:11:21 -0800 (Wed, 21 Mar 2007) New Revision: 3809 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3809 Modified: trunk/etc/version.properties Log: Release 3.1.0 build #347 Modified: trunk/etc/version.properties =================================================================== --- trunk/etc/version.properties 2007-03-22 01:16:03 UTC (rev 3808) +++ trunk/etc/version.properties 2007-03-22 02:11:21 UTC (rev 3809) @@ -1,3 +1,3 @@ -#Tue Mar 20 05:01:29 PDT 2007 +#Wed Mar 21 18:44:02 PDT 2007 version=3.1.0 -build=346 +build=347 |
|
From: Stacey S. <sta...@hy...> - 2007-03-22 02:03:30
|
Hey Hypermike! You ask a lot of big questions on the forums. It would be great if you gave back to the community and dish out some points to the folks who helped you along the way. Thanks for using Hyperic! |
|
From: John M. W. <joh...@hy...> - 2007-03-22 01:31:24
|
deeboh: can you post what happens when you use hq-server.sh? Are you using a PPC or Intel Mac? |
|
From: John M. W. <joh...@hy...> - 2007-03-22 01:19:50
|
The main thing to check is whether your agent is finding the server. When starting the agent, that should be one the checks it performs. |
|
From: <bo...@hy...> - 2007-03-22 01:16:05
|
Author: bob Date: 2007-03-21 17:16:03 -0800 (Wed, 21 Mar 2007) New Revision: 3808 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3808 Modified: branches/HQ_3_0/etc/version.properties Log: Release 3.0.3 build #348 Modified: branches/HQ_3_0/etc/version.properties =================================================================== --- branches/HQ_3_0/etc/version.properties 2007-03-22 00:23:21 UTC (rev 3807) +++ branches/HQ_3_0/etc/version.properties 2007-03-22 01:16:03 UTC (rev 3808) @@ -1,3 +1,3 @@ -#Tue Mar 20 04:09:15 PDT 2007 +#Wed Mar 21 17:41:19 PDT 2007 version=3.0.3 -build=347 +build=348 |
|
From: Stacey S. <sta...@hy...> - 2007-03-22 01:15:32
|
Sorry, Brad! We know you're a rock star. You'll be a Champ in no time! |
|
From: John M. W. <joh...@hy...> - 2007-03-22 00:59:12
|
Congrats, you just won yourself 5 points. Too bad I had to give 10 points to Stacey ;) -JM |
|
From: <jt...@hy...> - 2007-03-22 00:23:25
|
Author: jtravis Date: 2007-03-21 16:23:21 -0800 (Wed, 21 Mar 2007) New Revision: 3807 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3807 Added: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/BaseController.groovy trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/dispatcher.groovy Removed: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/BaseController.groovy trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/dispatcher.groovy Modified: trunk/src/org/hyperic/hq/ui/rendit/RenditServer.java Log: Move the rendit_sys files to the correct package (under UI) Modified: trunk/src/org/hyperic/hq/ui/rendit/RenditServer.java =================================================================== --- trunk/src/org/hyperic/hq/ui/rendit/RenditServer.java 2007-03-21 23:47:43 UTC (rev 3806) +++ trunk/src/org/hyperic/hq/ui/rendit/RenditServer.java 2007-03-22 00:23:21 UTC (rev 3807) @@ -95,7 +95,7 @@ b.setVariable("invokeArgs", new InvocationBindings(path, plugin.getPluginDir(), req, resp)); - plugin.run("org/hyperic/hq/rendit/dispatcher.groovy", b); + plugin.run("org/hyperic/hq/ui/rendit/dispatcher.groovy", b); } public static final RenditServer getInstance() { Copied: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit (from rev 3802, trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit) Deleted: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/BaseController.groovy =================================================================== --- trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/BaseController.groovy 2007-03-21 19:22:00 UTC (rev 3802) +++ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/BaseController.groovy 2007-03-22 00:23:21 UTC (rev 3807) @@ -1,59 +0,0 @@ -package org.hyperic.hq.rendit - -import java.io.OutputStreamWriter - -import org.apache.commons.logging.Log -import org.apache.commons.logging.LogFactory - -import groovy.text.SimpleTemplateEngine -import java.io.File - -public abstract class BaseController - extends Expando -{ - Log log = LogFactory.getLog(this.getClass()) - String action - File pluginDir - def invokeArgs - - private void setAction(String action) { - this.action = action - } - - def setInvokeArgs(def args) { - this.invokeArgs = args - } - - def setPluginDir(File pluginDir) { - this.pluginDir = pluginDir - } - - /** - * Render a .gsp. - * - * This method takes a map of arguments. Valid arguments include: - * file: The file to render. If not specified, the name of the - * current action will be used - * args: A map of key/value pairs to send to the .gsp to use when - * rendering - */ - protected def render(args) { - def gspArgs = args.remove("args") - def gspFile = args.remove("file") - def useAction - - if (gspFile == null) - useAction = action - else - useAction = gspFile - - def targFile = new File(pluginDir, useAction + ".gsp") - targFile.withReader { reader -> - def eng = new SimpleTemplateEngine(false) - def template = eng.createTemplate(reader) - def outStream = invokeArgs.response.outputStream - def outWriter = new OutputStreamWriter(outStream) - template.make(gspArgs).writeTo(outWriter) - } - } -} Copied: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/BaseController.groovy (from rev 3806, trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/BaseController.groovy) =================================================================== --- trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/BaseController.groovy (rev 0) +++ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/BaseController.groovy 2007-03-22 00:23:21 UTC (rev 3807) @@ -0,0 +1,78 @@ +package org.hyperic.hq.ui.rendit + +import java.io.OutputStreamWriter + +import org.apache.commons.logging.Log +import org.apache.commons.logging.LogFactory + +import org.hyperic.hq.authz.server.session.AuthzSubject +import org.hyperic.hq.ui.util.ContextUtils +import org.hyperic.hq.ui.util.RequestUtils + +import groovy.text.SimpleTemplateEngine +import java.io.File + +public abstract class BaseController + extends Expando +{ + Log log = LogFactory.getLog(this.getClass()) + String action + File pluginDir + def invokeArgs + private AuthzSubject user + + private void setAction(String action) { + this.action = action + } + + def setInvokeArgs(def args) { + this.invokeArgs = args + } + + def setPluginDir(File pluginDir) { + this.pluginDir = pluginDir + } + + /** + * Retreives the currently logged-in user + */ + protected AuthzSubject getUser() { + if (this.user != null) + return this.user + + def sessId = RequestUtils.getSessionId(invokeArgs.request) + def ctx = invokeArgs.request.session.servletContext + + this.user = ContextUtils.getAuthzBoss(ctx).getCurrentSubject(sessId) + } + + /** + * Render a .gsp. + * + * This method takes a map of arguments. Valid arguments include: + * file: The file to render. If not specified, the name of the + * current action will be used + * args: A map of key/value pairs to send to the .gsp to use when + * rendering + */ + protected def render(args) { + args = (args == null) ? [:] : args + def gspArgs = args.remove("args") + def gspFile = args.remove("file") + def useAction + + if (gspFile == null) + useAction = action + else + useAction = gspFile + + def targFile = new File(pluginDir, useAction + ".gsp") + targFile.withReader { reader -> + def eng = new SimpleTemplateEngine(false) + def template = eng.createTemplate(reader) + def outStream = invokeArgs.response.outputStream + def outWriter = new OutputStreamWriter(outStream) + template.make(gspArgs).writeTo(outWriter) + } + } +} Deleted: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/dispatcher.groovy =================================================================== --- trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/dispatcher.groovy 2007-03-21 19:22:00 UTC (rev 3802) +++ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/dispatcher.groovy 2007-03-22 00:23:21 UTC (rev 3807) @@ -1,63 +0,0 @@ -package org.hyperic.hq.rendit - -import org.apache.commons.logging.Log -import org.apache.commons.logging.LogFactory - -/** - * The Dispatcher is the direct invocation target called from the HQ - * RenditServer. It has the responsibility of locating the controllers, - * setting up the environment, and invoking the request. - */ -public class Dispatcher { - private Log log = LogFactory.getLog(Dispatcher.class); - - private File pluginDir - private String controllerName - private String action - private def invokeArgs - - private String capitalize(String s) { - if (s.length() == 0) - return s; - return s.substring(0, 1).toUpperCase() + s.substring(1).toLowerCase(); - } - - def Dispatcher(def invokeArgs) { - def path = invokeArgs.requestPath - - if (path.size() < 3) { - throw new IllegalArgumentException("Path must have at least 3 " + - "components"); - } - - pluginDir = invokeArgs.pluginDir - controllerName = capitalize(path[1]) + "Controller" - action = path[2] - this.invokeArgs = invokeArgs - } - - def invoke() { - def controller - - try { - controller = Class.forName(controllerName, true, - this.class.classLoader).newInstance() - } catch(Exception e) { - throw new IllegalArgumentException("Unknown controller " + - "[$controller]") - } - - controller.setAction(action) - controller.setPluginDir(pluginDir) - controller.setInvokeArgs(invokeArgs) - - def runner = controller."$action" - if (runner == null) { - throw new IllegalArgumentException("Unknown action [$action]") - } - - runner(invokeArgs.request.parameterMap) - } -} - -new Dispatcher(invokeArgs).invoke() Copied: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/dispatcher.groovy (from rev 3806, trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/dispatcher.groovy) =================================================================== --- trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/dispatcher.groovy (rev 0) +++ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/dispatcher.groovy 2007-03-22 00:23:21 UTC (rev 3807) @@ -0,0 +1,57 @@ +package org.hyperic.hq.ui.rendit + +import org.apache.commons.logging.Log +import org.apache.commons.logging.LogFactory + +/** + * The Dispatcher is the direct invocation target called from the HQ + * RenditServer. It has the responsibility of locating the controllers, + * setting up the environment, and invoking the request. + */ +public class Dispatcher { + private Log log = LogFactory.getLog(Dispatcher.class); + + private File pluginDir + private String controllerName + private String action + private def invokeArgs + + private String capitalize(String s) { + if (s.length() == 0) + return s; + return s.substring(0, 1).toUpperCase() + s.substring(1).toLowerCase(); + } + + def Dispatcher(def invokeArgs) { + def path = invokeArgs.requestPath + + if (path.size() < 3) { + throw new IllegalArgumentException("Path must have at least 3 " + + "components"); + } + + pluginDir = invokeArgs.pluginDir + controllerName = capitalize(path[1]) + "Controller" + action = path[2] + this.invokeArgs = invokeArgs + } + + def invoke() { + log.info "Controller name is $controllerName" + def controller = Class.forName(controllerName, true, + this.class.classLoader).newInstance() + + controller.setAction(action) + controller.setPluginDir(pluginDir) + controller.setInvokeArgs(invokeArgs) + + def runner = controller."$action" + if (runner == null) { + throw new IllegalArgumentException("Unknown action [$action]") + } + + runner(invokeArgs.request.parameterMap) + } +} + +new Dispatcher(invokeArgs).invoke() |
|
From: <jt...@hy...> - 2007-03-21 23:47:51
|
Author: jtravis Date: 2007-03-21 15:47:43 -0800 (Wed, 21 Mar 2007) New Revision: 3806 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3806 Modified: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/BaseController.groovy Log: Add getUser(). Cleanup bug where no arguments would result in an exception Modified: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/BaseController.groovy =================================================================== --- trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/BaseController.groovy 2007-03-21 23:47:00 UTC (rev 3805) +++ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/BaseController.groovy 2007-03-21 23:47:43 UTC (rev 3806) @@ -5,16 +5,21 @@ import org.apache.commons.logging.Log import org.apache.commons.logging.LogFactory +import org.hyperic.hq.authz.server.session.AuthzSubject +import org.hyperic.hq.ui.util.ContextUtils +import org.hyperic.hq.ui.util.RequestUtils + import groovy.text.SimpleTemplateEngine import java.io.File public abstract class BaseController extends Expando { - Log log = LogFactory.getLog(this.getClass()) - String action - File pluginDir - def invokeArgs + Log log = LogFactory.getLog(this.getClass()) + String action + File pluginDir + def invokeArgs + private AuthzSubject user private void setAction(String action) { this.action = action @@ -29,6 +34,19 @@ } /** + * Retreives the currently logged-in user + */ + protected AuthzSubject getUser() { + if (this.user != null) + return this.user + + def sessId = RequestUtils.getSessionId(invokeArgs.request) + def ctx = invokeArgs.request.session.servletContext + + this.user = ContextUtils.getAuthzBoss(ctx).getCurrentSubject(sessId) + } + + /** * Render a .gsp. * * This method takes a map of arguments. Valid arguments include: @@ -38,6 +56,7 @@ * rendering */ protected def render(args) { + args = (args == null) ? [:] : args def gspArgs = args.remove("args") def gspFile = args.remove("file") def useAction |
|
From: <jt...@hy...> - 2007-03-21 23:47:03
|
Author: jtravis Date: 2007-03-21 15:47:00 -0800 (Wed, 21 Mar 2007) New Revision: 3805 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3805 Modified: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/dispatcher.groovy Log: Cleanup exception handling and log output Modified: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/dispatcher.groovy =================================================================== --- trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/dispatcher.groovy 2007-03-21 23:38:51 UTC (rev 3804) +++ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/dispatcher.groovy 2007-03-21 23:47:00 UTC (rev 3805) @@ -37,15 +37,9 @@ } def invoke() { - def controller - - try { - controller = Class.forName(controllerName, true, - this.class.classLoader).newInstance() - } catch(Exception e) { - throw new IllegalArgumentException("Unknown controller " + - "[$controller]") - } + log.info "Controller name is $controllerName" + def controller = Class.forName(controllerName, true, + this.class.classLoader).newInstance() controller.setAction(action) controller.setPluginDir(pluginDir) |
|
From: <jt...@hy...> - 2007-03-21 23:38:55
|
Author: jtravis Date: 2007-03-21 15:38:51 -0800 (Wed, 21 Mar 2007) New Revision: 3804 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3804 Modified: trunk/src/org/hyperic/hq/measurement/server/session/DataManagerEJBImpl.java Log: Fix build. Use 1.4 methods Modified: trunk/src/org/hyperic/hq/measurement/server/session/DataManagerEJBImpl.java =================================================================== --- trunk/src/org/hyperic/hq/measurement/server/session/DataManagerEJBImpl.java 2007-03-21 23:34:50 UTC (rev 3803) +++ trunk/src/org/hyperic/hq/measurement/server/session/DataManagerEJBImpl.java 2007-03-21 23:38:51 UTC (rev 3804) @@ -324,7 +324,7 @@ BigDecimal bigDec; try { - bigDec = BigDecimal.valueOf(val.getValue()); + bigDec = new BigDecimal(val.getValue()); } catch(NumberFormatException e) { // infinite, or NaN _log.warn("Unable to insert infinite or NaN for metric id=" + metricId); continue; @@ -460,7 +460,7 @@ BigDecimal bigDec; try { - bigDec = BigDecimal.valueOf(val.getValue()); + bigDec = new BigDecimal(val.getValue()); } catch(NumberFormatException e) { // infinite, or NaN _log.warn("Unable to insert infinite or NaN for metric id=" + metricId); continue; |
|
From: <jt...@hy...> - 2007-03-21 23:34:53
|
Author: jtravis Date: 2007-03-21 15:34:50 -0800 (Wed, 21 Mar 2007) New Revision: 3803 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3803 Modified: branches/HQ_3_0/src/org/hyperic/hq/measurement/server/session/DataManagerEJBImpl.java Log: Fix build Modified: branches/HQ_3_0/src/org/hyperic/hq/measurement/server/session/DataManagerEJBImpl.java =================================================================== --- branches/HQ_3_0/src/org/hyperic/hq/measurement/server/session/DataManagerEJBImpl.java 2007-03-21 19:22:00 UTC (rev 3802) +++ branches/HQ_3_0/src/org/hyperic/hq/measurement/server/session/DataManagerEJBImpl.java 2007-03-21 23:34:50 UTC (rev 3803) @@ -324,7 +324,7 @@ BigDecimal bigDec; try { - bigDec = BigDecimal.valueOf(val.getValue()); + bigDec = new BigDecimal(val.getValue()); } catch(NumberFormatException e) { // infinite, or NaN _log.warn("Unable to insert infinite or NaN for metric id=" + metricId); continue; @@ -460,7 +460,7 @@ BigDecimal bigDec; try { - bigDec = BigDecimal.valueOf(val.getValue()); + bigDec = new BigDecimal(val.getValue()); } catch(NumberFormatException e) { // infinite, or NaN _log.warn("Unable to insert infinite or NaN for metric id=" + metricId); continue; |
|
From: black <hq-...@hy...> - 2007-03-21 23:01:01
|
Hi, on my system I've seen that the hyperic agent uses a lot of memory; please look at ps output: > ps aux | grep java root 31927 0.0 6.6 499104 137508 ? Sl Mar19 1:26 /home/rackaid/hyperic-hq-agent-3.0.2/jre/bin/java -client -Dagent.propFile=agent.properties -Dorghyperic.hq.bizapp.agent.CommandsAPIInfo.camUpPort=56691 -Djava.security.auth.login.config=jaas.config -Xmx128m -Djava.net.preferIPv4Stack=true -classpath ./lib/AgentServer.jar:./lib/lather.jar:./pdk/lib/hq-product.jar:./pdk/lib/activation.jar:./pdk/lib/commons-beanutils.jar:./pdk/lib/hyperic-util.jar:./pdk/lib/log4j-12.14.jar:./pdk/lib/jakarta-oro-2.0.7.jar:./pdk/lib/tomcat-jk.jar:./pdk/lib/jdom_b8.jar:./pdk/lib/ant.jar:./pdk/lib/jxla.jar:./pdk/lib/commons-httpclient-2.0.jar:./pdk/lib/bcel-5.1.jar:./pdk/lib/junit.jar:./pdk/lib/snmp4j.jar:./pdk/lib/jsch-0.1.23.jar:./pdk/lib/commons-collections.jar:./pdk/lib/getopt.jar:./pdk/lib/commons-logging.jar:./pdk/lib/sigar.jar:./pdk/lib/dnsjava-2.0.3.jar: org.hyperic.hqagent.server.AgentDaemon As you can see it uses about 137Mb of memory; I think it's too much for an agent like this. Moreover the jre is started with -Xmx128m Can you tell me what can I do to reduce memory usage? is it possible to start the JRE with less memory, eg, -Xmx32m ? Do I risk to have "Out of Memory" errors? Thank you! Message was edited by: black |
|
From: Charles L. <cl...@hy...> - 2007-03-21 21:44:11
|
Which version are you using? Just to be clear, the entire dashboard does not refresh, only specific portlets have the auto-refresh function. Charles |
|
From: mike m. <mi...@an...> - 2007-03-21 21:39:09
|
A former hyperic person asked : If for example I wanted to monitor http://www.google.com , and obviously I can't install an HQ agent on those servers. Is it correct that I am to do configure an existing agent to monitor the "network service" "http" on an existing platform and then configure the server name and host name to be www.google.com? lee: said yes configure a new platform service for http. I did this. Now I guess I need to configure this and add metric and indicators. The config page is where Im NOT sure what I need to add . A user and password ?? does it have to be a valid user---For say www.google.com I dont need a account path ??? realm ? method ? Also what I would need to to as far as adding any metrics or indicators so I could set up an alertt .. Please help just trying to setup a test for our web page . |
Author: jtravis Date: 2007-03-21 11:22:00 -0800 (Wed, 21 Mar 2007) New Revision: 3802 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3802 Added: trunk/src/org/hyperic/hq/ui/rendit/ trunk/src/org/hyperic/hq/ui/rendit/InvocationBindings.java trunk/src/org/hyperic/hq/ui/rendit/PluginWrapper.java trunk/src/org/hyperic/hq/ui/rendit/RenditServer.java trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/BaseController.groovy trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/dispatcher.groovy trunk/src/org/hyperic/hq/ui/rendit/servlet/ trunk/src/org/hyperic/hq/ui/rendit/servlet/DirWatcher.java trunk/src/org/hyperic/hq/ui/rendit/servlet/RenditServlet.java trunk/thirdparty/lib/groovy-all-1.0.jar Modified: trunk/build.xml trunk/web/WEB-INF/web.xml Log: Add groovy, and the 'rendit' engine which does provides a simple way of plugin-based rendering of custom UI Modified: trunk/build.xml =================================================================== --- trunk/build.xml 2007-03-21 00:27:05 UTC (rev 3801) +++ trunk/build.xml 2007-03-21 19:22:00 UTC (rev 3802) @@ -72,6 +72,9 @@ <property name="installer.dir" value="${build.dir}/installer"/> + <property name="rendit_sys.dir" + value="${basedir}/src/org/hyperic/hq/ui/rendit/rendit_sys"/> + <path id="pdknative"> <fileset dir="${sigar.lib}" includes="*.jar" /> <fileset dir="${db2monitor.dir}" includes="lib/db2monitor.jar" /> @@ -382,6 +385,7 @@ <include name="json.jar" /> <include name="jug-asl-2.0.0.jar" /> <include name="commons-httpclient-3.0.1.jar" /> + <include name="groovy-all-1.0.jar" /> <!-- replacement j2ee compile required for instantj since our installer doesn't install tools.jar --> @@ -429,9 +433,20 @@ <copy tofile="${ear.dir}/lib/jdomb8.jar" file="${thirdparty.lib}/jdom_b8.jar" /> + <copy todir="${ear.dir}/rendit_sys"> + <fileset dir="${rendit_sys.dir}"/> + </copy> + <touch file="${ear.dir}/META-INF/application.xml" /> </target> + <target name="rendit-deploy" depends="init"> + <!-- Just a quick way to copy rendit_sys into JBoss --> + <copy todir="${jboss.home}/server/default/deploy/hq.ear/rendit_sys"> + <fileset dir="${rendit_sys.dir}"/> + </copy> + </target> + <target name="pack-ear" depends="pack-ear-files" unless="generate-manifest.notrequired"> <!-- generate EAR MANIFEST file --> <pathconvert targetos="unix" pathSep="," property="Class-Path"> Added: trunk/src/org/hyperic/hq/ui/rendit/InvocationBindings.java =================================================================== --- trunk/src/org/hyperic/hq/ui/rendit/InvocationBindings.java (rev 0) +++ trunk/src/org/hyperic/hq/ui/rendit/InvocationBindings.java 2007-03-21 19:22:00 UTC (rev 3802) @@ -0,0 +1,44 @@ +package org.hyperic.hq.ui.rendit; + +import java.io.File; +import java.util.Collections; +import java.util.List; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +/** + * This class encapsulates the data which is passed from RenditServer into + * the groovy dispatcher. + */ +public class InvocationBindings { + private List _requestPath; + private File _pluginDir; + private HttpServletRequest _request; + private HttpServletResponse _response; + + InvocationBindings(List requestPath, File pluginDir, + HttpServletRequest request, HttpServletResponse response) + { + _requestPath = requestPath; + _pluginDir = pluginDir; + _request = request; + _response = response; + } + + public List getRequestPath() { + return Collections.unmodifiableList(_requestPath); + } + + public File getPluginDir() { + return _pluginDir; + } + + public HttpServletRequest getRequest() { + return _request; + } + + public HttpServletResponse getResponse() { + return _response; + } +} Added: trunk/src/org/hyperic/hq/ui/rendit/PluginWrapper.java =================================================================== --- trunk/src/org/hyperic/hq/ui/rendit/PluginWrapper.java (rev 0) +++ trunk/src/org/hyperic/hq/ui/rendit/PluginWrapper.java 2007-03-21 19:22:00 UTC (rev 3802) @@ -0,0 +1,56 @@ +package org.hyperic.hq.ui.rendit; + +import groovy.lang.Binding; +import groovy.util.GroovyScriptEngine; + +import java.io.File; +import java.net.MalformedURLException; +import java.net.URL; +import java.net.URLClassLoader; + +/** + * Basically a wrapper around the classloader and associated groovy + * artifacts. + */ +public class PluginWrapper { + private final File _pluginDir; + private final GroovyScriptEngine _engine; + + PluginWrapper(File pluginDir, File sysDir, ClassLoader parentLoader) { + URLClassLoader urlLoader = new URLClassLoader(new URL[0], + parentLoader); + URL[] u; + + _pluginDir = pluginDir; + + try { + u = new URL[] { + sysDir.toURL(), + _pluginDir.toURL(), + }; + } catch(MalformedURLException e) { + throw new RuntimeException(e); + } + _engine = new GroovyScriptEngine(u, urlLoader); + } + + File getPluginDir() { + return _pluginDir; + } + + Object run(String script, Binding b) throws Exception { + Thread curThread = Thread.currentThread(); + ClassLoader oldLoader = curThread.getContextClassLoader(); + + try { + curThread.setContextClassLoader(_engine.getParentClassLoader()); + return _engine.run(script, b); + } finally { + curThread.setContextClassLoader(oldLoader); + } + } + + public static boolean isValidPlugin(File f) { + return f.getName().startsWith("hqu_"); + } +} Added: trunk/src/org/hyperic/hq/ui/rendit/RenditServer.java =================================================================== --- trunk/src/org/hyperic/hq/ui/rendit/RenditServer.java (rev 0) +++ trunk/src/org/hyperic/hq/ui/rendit/RenditServer.java 2007-03-21 19:22:00 UTC (rev 3802) @@ -0,0 +1,104 @@ +package org.hyperic.hq.ui.rendit; + +import java.io.File; +import java.util.HashMap; +import java.util.Iterator; +import java.util.List; +import java.util.Map; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; + +import groovy.lang.Binding; + +public class RenditServer { + private static final RenditServer INSTANCE = new RenditServer(); + private static final Log _log = LogFactory.getLog(RenditServer.class); + private final Object CFG_LOCK = new Object(); + private Map _plugins = new HashMap(); + private File _sysDir; + + private RenditServer() {} + + private ClassLoader getUseLoader() { + return RenditServer.class.getClassLoader(); + } + + public File getSysDir() { + synchronized (CFG_LOCK) { + return _sysDir; + } + } + + /** + * Set the system directory which contains groovy support classes. + * Since this object is a singleton, we rely on someone to call this + * before they start adding plugins. + */ + public void setSysDir(File sysDir) { + synchronized (CFG_LOCK) { + Map oldPlugins = new HashMap(_plugins); + + _sysDir = sysDir; + // Re-create all the plugins with the new system directory + _plugins.clear(); + for (Iterator i=oldPlugins.entrySet().iterator(); i.hasNext(); ) { + Map.Entry ent = (Map.Entry)i.next(); + String pluginName = (String)ent.getKey(); + PluginWrapper plugin = (PluginWrapper)ent.getValue(); + PluginWrapper newWrapper; + + newWrapper = new PluginWrapper(plugin.getPluginDir(), _sysDir, + getUseLoader()); + + _plugins.put(pluginName, newWrapper); + } + } + } + + public void addPluginDir(String pluginName, File path) { + _log.info("Adding plugin [" + pluginName + "] as [" + path + "]"); + synchronized (CFG_LOCK) { + _plugins.put(pluginName, + new PluginWrapper(path, _sysDir, getUseLoader())); + + } + } + + public void removePluginDir(String pluginName) { + _log.info("Removing plugin [" + pluginName + "]"); + synchronized (CFG_LOCK) { + _plugins.remove(pluginName); + } + } + + public void handleRequest(List path, HttpServletRequest req, + HttpServletResponse resp) + throws Exception + { + String pluginName = (String)path.get(0); + PluginWrapper plugin; + + synchronized (CFG_LOCK) { + plugin = (PluginWrapper)_plugins.get(pluginName); + } + + if (plugin == null) { + throw new IllegalArgumentException("Unknown plugin [" + + pluginName + "]"); + } + + Binding b = new Binding(); + b.setVariable("invokeArgs", + new InvocationBindings(path, plugin.getPluginDir(), + req, resp)); + plugin.run("org/hyperic/hq/rendit/dispatcher.groovy", b); + } + + public static final RenditServer getInstance() { + return INSTANCE; + } +} Added: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/BaseController.groovy =================================================================== --- trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/BaseController.groovy (rev 0) +++ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/BaseController.groovy 2007-03-21 19:22:00 UTC (rev 3802) @@ -0,0 +1,59 @@ +package org.hyperic.hq.rendit + +import java.io.OutputStreamWriter + +import org.apache.commons.logging.Log +import org.apache.commons.logging.LogFactory + +import groovy.text.SimpleTemplateEngine +import java.io.File + +public abstract class BaseController + extends Expando +{ + Log log = LogFactory.getLog(this.getClass()) + String action + File pluginDir + def invokeArgs + + private void setAction(String action) { + this.action = action + } + + def setInvokeArgs(def args) { + this.invokeArgs = args + } + + def setPluginDir(File pluginDir) { + this.pluginDir = pluginDir + } + + /** + * Render a .gsp. + * + * This method takes a map of arguments. Valid arguments include: + * file: The file to render. If not specified, the name of the + * current action will be used + * args: A map of key/value pairs to send to the .gsp to use when + * rendering + */ + protected def render(args) { + def gspArgs = args.remove("args") + def gspFile = args.remove("file") + def useAction + + if (gspFile == null) + useAction = action + else + useAction = gspFile + + def targFile = new File(pluginDir, useAction + ".gsp") + targFile.withReader { reader -> + def eng = new SimpleTemplateEngine(false) + def template = eng.createTemplate(reader) + def outStream = invokeArgs.response.outputStream + def outWriter = new OutputStreamWriter(outStream) + template.make(gspArgs).writeTo(outWriter) + } + } +} Added: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/dispatcher.groovy =================================================================== --- trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/dispatcher.groovy (rev 0) +++ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/rendit/dispatcher.groovy 2007-03-21 19:22:00 UTC (rev 3802) @@ -0,0 +1,63 @@ +package org.hyperic.hq.rendit + +import org.apache.commons.logging.Log +import org.apache.commons.logging.LogFactory + +/** + * The Dispatcher is the direct invocation target called from the HQ + * RenditServer. It has the responsibility of locating the controllers, + * setting up the environment, and invoking the request. + */ +public class Dispatcher { + private Log log = LogFactory.getLog(Dispatcher.class); + + private File pluginDir + private String controllerName + private String action + private def invokeArgs + + private String capitalize(String s) { + if (s.length() == 0) + return s; + return s.substring(0, 1).toUpperCase() + s.substring(1).toLowerCase(); + } + + def Dispatcher(def invokeArgs) { + def path = invokeArgs.requestPath + + if (path.size() < 3) { + throw new IllegalArgumentException("Path must have at least 3 " + + "components"); + } + + pluginDir = invokeArgs.pluginDir + controllerName = capitalize(path[1]) + "Controller" + action = path[2] + this.invokeArgs = invokeArgs + } + + def invoke() { + def controller + + try { + controller = Class.forName(controllerName, true, + this.class.classLoader).newInstance() + } catch(Exception e) { + throw new IllegalArgumentException("Unknown controller " + + "[$controller]") + } + + controller.setAction(action) + controller.setPluginDir(pluginDir) + controller.setInvokeArgs(invokeArgs) + + def runner = controller."$action" + if (runner == null) { + throw new IllegalArgumentException("Unknown action [$action]") + } + + runner(invokeArgs.request.parameterMap) + } +} + +new Dispatcher(invokeArgs).invoke() Added: trunk/src/org/hyperic/hq/ui/rendit/servlet/DirWatcher.java =================================================================== --- trunk/src/org/hyperic/hq/ui/rendit/servlet/DirWatcher.java (rev 0) +++ trunk/src/org/hyperic/hq/ui/rendit/servlet/DirWatcher.java 2007-03-21 19:22:00 UTC (rev 3802) @@ -0,0 +1,67 @@ +package org.hyperic.hq.ui.rendit.servlet; + +import java.io.File; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Iterator; +import java.util.List; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; + +/** + * Watches a directory for changes, issuing callbacks when things change + * + * XXX: JBoss has similar functionality that we should re-use + */ +class DirWatcher + implements Runnable +{ + private final Log _log = LogFactory.getLog(DirWatcher.class); + + private final File _dir; + private final DirWatcherCallback _cback; + + private final List _lastList = new ArrayList(); + + DirWatcher(File dir, DirWatcherCallback callback) { + _dir = dir; + _cback = callback; + } + + public void run() { + _log.info("Watching: " + _dir); + while (true) { + try { + List curList = Arrays.asList(_dir.listFiles()); + + for (Iterator i=curList.iterator(); i.hasNext(); ) { + File f = (File)i.next(); + + if (!_lastList.contains(f)) { + _cback.fileAdded(f); + } + } + + for (Iterator i=_lastList.iterator(); i.hasNext(); ) { + File f = (File)i.next(); + + if (!curList.contains(f)) { + _cback.fileRemoved(f); + } + } + + _lastList.clear(); + _lastList.addAll(curList); + Thread.sleep(1000); + } catch(Exception e) { + _log.warn("Error while processing directory listing", e); + } + } + } + + public interface DirWatcherCallback { + void fileAdded(File f); + void fileRemoved(File f); + } +} Added: trunk/src/org/hyperic/hq/ui/rendit/servlet/RenditServlet.java =================================================================== --- trunk/src/org/hyperic/hq/ui/rendit/servlet/RenditServlet.java (rev 0) +++ trunk/src/org/hyperic/hq/ui/rendit/servlet/RenditServlet.java 2007-03-21 19:22:00 UTC (rev 3802) @@ -0,0 +1,117 @@ +package org.hyperic.hq.ui.rendit.servlet; + +import java.io.File; +import java.io.IOException; +import java.net.MalformedURLException; +import java.net.URL; +import java.util.List; + +import javax.servlet.ServletException; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.hyperic.hq.ui.rendit.PluginWrapper; +import org.hyperic.hq.ui.rendit.RenditServer; +import org.hyperic.hq.ui.rendit.servlet.DirWatcher.DirWatcherCallback; +import org.hyperic.util.StringUtil; + +public class RenditServlet + extends HttpServlet +{ + private static final Log _log = LogFactory.getLog(RenditServlet.class); + private static final Object INIT_LOCK = new Object(); + private static boolean INITIALIZED; + + private static DirWatcher _watcher; + private static Thread _watcherThread; + + protected void doGet(HttpServletRequest req, HttpServletResponse response) + throws ServletException, IOException + { + String servPath = req.getServletPath(); + String reqUri = req.getRequestURI(); + + initPlugins(); + + if (!reqUri.startsWith(servPath)) { + _log.warn("Request path [" + reqUri + "] does not start with " + + "servlet [" + servPath + "]"); + return; + } + + // XXX: Make sure the following is sane -- needs to be escaped? + // any weird attacks? + reqUri = reqUri.substring(servPath.length()); + List path = StringUtil.explode(reqUri, "/"); + + if (path.size() != 3) { + throw new ServletException("Illegal request path"); + } + + _log.info("Request: " + req.getRequestURI() + "?" + + req.getQueryString()); + try { + RenditServer.getInstance().handleRequest(path, req, response); + } catch(Exception e) { + throw new ServletException(e); + } + } + + public void init() throws ServletException { + super.init(); + initPlugins(); + } + + private void initPlugins() { + synchronized(INIT_LOCK) { + if (INITIALIZED) + return; + + String home = System.getProperty("jboss.home.url"); + + if (home == null) { + _log.info("Can't find JBOSS Home"); + return; + } + + URL url; + try { + url = new URL(home); + } catch (MalformedURLException e) { + _log.error("Malformed jboss.home.url=" + home); + return; + } + + File homeDir = new File(url.getFile()); + + // XXX: Hardcoded sysdir for now + String sysPath = System.getProperty("jboss.server.home.dir") + + "/deploy/hq.ear/rendit_sys"; + File sysDir = new File(sysPath); + RenditServer.getInstance().setSysDir(sysDir); + + _watcher = new DirWatcher(homeDir, new DirWatcherCallback() { + public void fileAdded(File f) { + if (PluginWrapper.isValidPlugin(f)) { + RenditServer.getInstance().addPluginDir(f.getName(), f); + } + } + + public void fileRemoved(File f) { + if (PluginWrapper.isValidPlugin(f)) { + RenditServer.getInstance().removePluginDir(f.getName()); + } + } + }); + + _watcherThread = new Thread(_watcher); + _watcherThread.setDaemon(true); + _watcherThread.start(); + + INITIALIZED = true; + } + } +} Added: trunk/thirdparty/lib/groovy-all-1.0.jar =================================================================== (Binary files differ) Property changes on: trunk/thirdparty/lib/groovy-all-1.0.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/web/WEB-INF/web.xml =================================================================== --- trunk/web/WEB-INF/web.xml 2007-03-21 00:27:05 UTC (rev 3801) +++ trunk/web/WEB-INF/web.xml 2007-03-21 19:22:00 UTC (rev 3802) @@ -44,6 +44,10 @@ <filter-mapping> <filter-name>Authentication-Filter</filter-name> + <url-pattern>/rendit/*</url-pattern> + </filter-mapping> + <filter-mapping> + <filter-name>Authentication-Filter</filter-name> <url-pattern>*.do</url-pattern> </filter-mapping> <filter-mapping> @@ -53,7 +57,14 @@ <listener> <listener-class>org.hyperic.hq.ui.Configurator</listener-class> </listener> + <servlet> + <servlet-name>rendit</servlet-name> + <servlet-class>org.hyperic.hq.ui.rendit.servlet.RenditServlet</servlet-class> + <load-on-startup>2</load-on-startup> + </servlet> + + <servlet> <servlet-name>metricdata</servlet-name> <servlet-class>org.hyperic.hq.ui.servlet.MetricDataServlet</servlet-class> <load-on-startup>2</load-on-startup> @@ -158,6 +169,10 @@ <!-- end cactus redirector mapping --> <servlet-mapping> + <servlet-name>rendit</servlet-name> + <url-pattern>/rendit/*</url-pattern> + </servlet-mapping> + <servlet-mapping> <servlet-name>metricdata</servlet-name> <url-pattern>/resource/MetricData</url-pattern> </servlet-mapping> |
|
From: <hy...@us...> - 2007-03-21 19:08:17
|
Revision: 11
http://hyperic-hq.svn.sourceforge.net/hyperic-hq/?rev=11&view=rev
Author: hyperic
Date: 2007-03-21 12:08:12 -0700 (Wed, 21 Mar 2007)
Log Message:
-----------
daily cron upload
Modified Paths:
--------------
etc/version.properties
installer/data/db-upgrade.xml
sql/measurement/MeasurementData.hq-xml
sql/measurement/MeasurementHistData.hq-xml
src/org/hyperic/hq/appdef/server/session/PlatformManagerEJBImpl.java
src/org/hyperic/hq/bizapp/client/shell/ClientShell_alert_list.java
src/org/hyperic/hq/events/server/session/AlertDefinition.java
src/org/hyperic/hq/events/server/session/AlertDefinitionDAO.java
src/org/hyperic/hq/events/server/session/AlertDefinitionManagerEJBImpl.java
src/org/hyperic/hq/measurement/server/session/DataManagerEJBImpl.java
src/org/hyperic/hq/measurement/server/session/MeasurementData.java
src/org/hyperic/hq/measurement/server/session/MeasurementHistData.java
src/org/hyperic/hq/product/servlet/webapp/JMXServlet.java
web/resource/common/monitor/alerts/config/DefinitionOthersForm.jsp
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: The T. C. (JIRA) <ji...@hy...> - 2007-03-21 18:31:44
|
Our hyperic license expired
---------------------------
Key: HHQ-759
URL: http://jira.hyperic.com/browse/HHQ-759
Project: Hyperic HQ
Type: Task
Components: Server
Versions: 3.0.0
Environment: Windows
Reporter: The Toro Company
Assigned to: Charles Lee
Our License has expired and we were instructed to contact support: see below
"2007-02-22 10:45:05,098 INFO [net.hyperic.hq.common.shared.license.LicenseManager] [License owner=The Toro Company ema...@to... phone=555-555-5555 expiration=2007-02-17 platforms=15 serverIPs=any plugins=all]
2007-02-22 10:45:05,098 ERROR [net.hyperic.hq.common.shared.license.LicenseManager] The time-limited license for this software has expired. Please contact support to renew your license. License Error:"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.hyperic.com/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|
|
From: Bob C. <Rob...@in...> - 2007-03-21 16:59:41
|
Thanks for the reply German, I am still not clear. We have JMX programs running, with plugins installed,= and monitored by HQ. I see the auto-discovery AFTER I create a server and = enter the jmx.url. We have about 10 programs, some starting and stopping as= demand changes. The port numbers are changing frequently. It would be very= nice if we could eliminate the step of entering the jmx.url for each progr= am, if the programs were auto-discovered like our jboss. For jboss we do no= t enter anything and the jboss is discovered. The documentation says =93Unl= ike the other server types, Sun JVM 1.5 instances are not currently auto-di= scovered.=94 We are using Sun JVM 1.5, is this the problem? Thanks, Bob |
|
From: Jonathan F. <jf...@cl...> - 2007-03-21 16:36:04
|
Should this work? I tried upgrading to version 3.0.1 and still the auto-discovery piece is not finding the agent running on our AIX server. Any tips would be greatly appreciated. Thanks |
|
From: German L. <la...@gm...> - 2007-03-21 16:06:27
|
I don't use the build-database in Mac OS X, i use the standard postgres installation runs fine. look at: http://developer.apple.com/internet/opensource/postgres.html |