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: <bo...@hy...> - 2007-03-26 12:44:55
|
Author: bob Date: 2007-03-26 04:44:51 -0800 (Mon, 26 Mar 2007) New Revision: 3905 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3905 Modified: trunk/etc/version.properties Log: Release 3.1.0 build #350 Modified: trunk/etc/version.properties =================================================================== --- trunk/etc/version.properties 2007-03-26 11:37:42 UTC (rev 3904) +++ trunk/etc/version.properties 2007-03-26 12:44:51 UTC (rev 3905) @@ -1,3 +1,3 @@ -#Sun Mar 25 05:56:06 PDT 2007 +#Mon Mar 26 05:01:47 PDT 2007 version=3.1.0 -build=349 +build=350 |
|
From: <bo...@hy...> - 2007-03-26 11:37:45
|
Author: bob Date: 2007-03-26 03:37:42 -0800 (Mon, 26 Mar 2007) New Revision: 3904 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3904 Modified: branches/HQ_3_0/etc/version.properties Log: Release 3.0.3 build #353 Modified: branches/HQ_3_0/etc/version.properties =================================================================== --- branches/HQ_3_0/etc/version.properties 2007-03-26 02:38:07 UTC (rev 3903) +++ branches/HQ_3_0/etc/version.properties 2007-03-26 11:37:42 UTC (rev 3904) @@ -1,3 +1,3 @@ -#Sun Mar 25 04:11:03 PDT 2007 +#Mon Mar 26 04:08:46 PDT 2007 version=3.0.3 -build=352 +build=353 |
|
From: Murray B. <hq-...@hy...> - 2007-03-26 05:41:51
|
Upgrading to 3.0.2EE resolved the problem. It works fine now. Thanks . . . Murray |
|
From: <do...@hy...> - 2007-03-26 02:38:11
|
Author: dougm Date: 2007-03-25 18:38:07 -0800 (Sun, 25 Mar 2007) New Revision: 3903 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3903 Modified: trunk/plugins/system/src/org/hyperic/hq/plugin/system/ProcessDetailData.java trunk/plugins/system/src/org/hyperic/hq/plugin/system/SystemLiveDataPlugin.java Log: require pid for process command Modified: trunk/plugins/system/src/org/hyperic/hq/plugin/system/ProcessDetailData.java =================================================================== --- trunk/plugins/system/src/org/hyperic/hq/plugin/system/ProcessDetailData.java 2007-03-26 02:18:16 UTC (rev 3902) +++ trunk/plugins/system/src/org/hyperic/hq/plugin/system/ProcessDetailData.java 2007-03-26 02:38:07 UTC (rev 3903) @@ -87,19 +87,6 @@ return data; } - public static ProcessData gather(Sigar sigar, String pid) - throws SigarException { - - long id; - try { - id = Long.parseLong(pid); - } catch (NumberFormatException e) { - throw new SigarException("Invalid pid: " + pid); - } - - return gather(sigar, id); - } - public String[] getProcArgs() { return _procArgs; } Modified: trunk/plugins/system/src/org/hyperic/hq/plugin/system/SystemLiveDataPlugin.java =================================================================== --- trunk/plugins/system/src/org/hyperic/hq/plugin/system/SystemLiveDataPlugin.java 2007-03-26 02:18:16 UTC (rev 3902) +++ trunk/plugins/system/src/org/hyperic/hq/plugin/system/SystemLiveDataPlugin.java 2007-03-26 02:38:07 UTC (rev 3903) @@ -96,14 +96,7 @@ config.getValue(SigarMeasurementPlugin.PTQL_CONFIG); return TopData.gather(sigar, filter); } else if (command.equals(CMD_PROCESS)) { - String pid = - config.getValue(PROP_PID); - if (pid == null) { - //throw new PluginException("Missing " + PROP_PID); - //XXX default to our own pid for testing. - return ProcessDetailData.gather(sigar, sigar.getPid()); - } - return ProcessDetailData.gather(sigar, pid); + return ProcessDetailData.gather(sigar, getPid(config)); } else if (command.equals(CMD_KILL)) { String signame = config.getValue(PROP_SIGNAL); if (signame == null) { |
|
From: <do...@hy...> - 2007-03-26 02:18:19
|
Author: dougm Date: 2007-03-25 18:18:16 -0800 (Sun, 25 Mar 2007) New Revision: 3902 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3902 Modified: trunk/plugins/system/src/org/hyperic/hq/plugin/system/SystemLiveDataPlugin.java Log: add kill command Modified: trunk/plugins/system/src/org/hyperic/hq/plugin/system/SystemLiveDataPlugin.java =================================================================== --- trunk/plugins/system/src/org/hyperic/hq/plugin/system/SystemLiveDataPlugin.java 2007-03-26 02:17:41 UTC (rev 3901) +++ trunk/plugins/system/src/org/hyperic/hq/plugin/system/SystemLiveDataPlugin.java 2007-03-26 02:18:16 UTC (rev 3902) @@ -27,6 +27,7 @@ import org.hyperic.hq.product.LiveDataPlugin; import org.hyperic.hq.product.PluginException; +import org.hyperic.hq.product.ProcessControlPlugin; import org.hyperic.hq.product.SigarMeasurementPlugin; import org.hyperic.sigar.Sigar; import org.hyperic.sigar.SigarException; @@ -36,6 +37,7 @@ public class SystemLiveDataPlugin extends LiveDataPlugin { public static final String PROP_PID = "process.pid"; + public static final String PROP_SIGNAL = "process.signal"; private static final String CMD_CPUINFO = "cpuinfo"; private static final String CMD_CPU = "cpu"; @@ -43,6 +45,7 @@ private static final String CMD_FILESYSTEM = "filesystem"; private static final String CMD_TOP = "top"; private static final String CMD_PROCESS = "process"; + private static final String CMD_KILL = "kill"; private static final String CMD_NETSTAT = "netstat"; private static final String CMD_IFCONFIG = "ifconfig"; private static final String CMD_WHO = "who"; @@ -54,11 +57,26 @@ CMD_FILESYSTEM, CMD_TOP, CMD_PROCESS, + CMD_KILL, CMD_NETSTAT, CMD_IFCONFIG, CMD_WHO }; + private long getPid(ConfigResponse config) + throws PluginException { + + String pid = config.getValue(PROP_PID); + if (pid == null) { + throw new PluginException("Missing " + PROP_PID); + } + try { + return Long.parseLong(pid); + } catch (NumberFormatException e) { + throw new PluginException("Invalid pid: " + pid); + } + } + public Object getData(String command, ConfigResponse config) throws PluginException { @@ -86,6 +104,17 @@ return ProcessDetailData.gather(sigar, sigar.getPid()); } return ProcessDetailData.gather(sigar, pid); + } else if (command.equals(CMD_KILL)) { + String signame = config.getValue(PROP_SIGNAL); + if (signame == null) { + signame = ProcessControlPlugin.SIGKILL; + } + + long pid = getPid(config); + int signal = ProcessControlPlugin.getSignal(signame); + + sigar.kill(pid, signal); + return null; } else if (command.equals(CMD_NETSTAT)) { NetstatData data = new NetstatData(); String flags = config.getValue("netstat.flags"); |
|
From: <do...@hy...> - 2007-03-26 02:17:44
|
Author: dougm Date: 2007-03-25 18:17:41 -0800 (Sun, 25 Mar 2007) New Revision: 3901 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3901 Modified: trunk/src/org/hyperic/hq/product/ProcessControlPlugin.java Log: make signal mapping re-useable Modified: trunk/src/org/hyperic/hq/product/ProcessControlPlugin.java =================================================================== --- trunk/src/org/hyperic/hq/product/ProcessControlPlugin.java 2007-03-26 02:04:07 UTC (rev 3900) +++ trunk/src/org/hyperic/hq/product/ProcessControlPlugin.java 2007-03-26 02:17:41 UTC (rev 3901) @@ -124,6 +124,28 @@ return false; } + public static int getSignal(String signal) + throws PluginException { + + if (Character.isDigit(signal.charAt(0))) { + try { + return Integer.parseInt(signal); + } catch (NumberFormatException e) { + throw new PluginException(signal + ": " + e); + } + } + else { + Integer num = (Integer)SIGNALS.get(signal); + if (num == null) { + num = (Integer)SIGNALS.get("SIG" + signal); + } + if (num == null) { + throw new PluginException("Invalid signal: " + signal); + } + return num.intValue(); + } + } + public void doAction(String action, String[] args) throws PluginException { @@ -150,25 +172,7 @@ throw new PluginException("Too many arguments"); } - int signum; - if (Character.isDigit(signal.charAt(0))) { - try { - signum = Integer.parseInt(signal); - } catch (NumberFormatException e) { - throw new PluginException(signal + ": " + e); - } - } - else { - Integer num = (Integer)SIGNALS.get(signal); - if (num == null) { - num = (Integer)SIGNALS.get("SIG" + signal); - } - if (num == null) { - throw new PluginException("Invalid signal: " + signal); - } - signum = num.intValue(); - } - + int signum = getSignal(signal); Sigar sigar = new Sigar(); long[] pids; List killed = new ArrayList(); |
|
From: <do...@hy...> - 2007-03-26 02:04:12
|
Author: dougm Date: 2007-03-25 18:04:07 -0800 (Sun, 25 Mar 2007) New Revision: 3900 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3900 Modified: trunk/plugins/system/src/org/hyperic/hq/plugin/system/TopData.java Log: revert ps limit Modified: trunk/plugins/system/src/org/hyperic/hq/plugin/system/TopData.java =================================================================== --- trunk/plugins/system/src/org/hyperic/hq/plugin/system/TopData.java 2007-03-25 23:42:01 UTC (rev 3899) +++ trunk/plugins/system/src/org/hyperic/hq/plugin/system/TopData.java 2007-03-26 02:04:07 UTC (rev 3900) @@ -63,17 +63,15 @@ private void ps(Sigar sigar, String filter) throws SigarException { _processes = new ArrayList(); long[] pids; - int max; + if (filter == null) { pids = sigar.getProcList(); - max = 20; //XXX make configurable } else { pids = ProcessFinder.find(sigar, filter); - max = pids.length; } - for (int i=0; i<max; i++) { + for (int i=0; i<pids.length; i++) { long pid = pids[i]; try { _processes.add(ProcessData.gather(sigar, pid)); |
|
From: <rm...@hy...> - 2007-03-25 23:42:05
|
Author: rmorgan Date: 2007-03-25 15:42:01 -0800 (Sun, 25 Mar 2007) New Revision: 3899 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3899 Modified: trunk/src/org/hyperic/hq/livedata/agent/commands/LiveData_result.java Log: More cleanup, does not need to be public or static. Modified: trunk/src/org/hyperic/hq/livedata/agent/commands/LiveData_result.java =================================================================== --- trunk/src/org/hyperic/hq/livedata/agent/commands/LiveData_result.java 2007-03-25 22:45:45 UTC (rev 3898) +++ trunk/src/org/hyperic/hq/livedata/agent/commands/LiveData_result.java 2007-03-25 23:42:01 UTC (rev 3899) @@ -105,7 +105,7 @@ return new String(compressedData, 0, total); } - public static String decompress(String s) + private String decompress(String s) throws IOException, DataFormatException { Inflater decompressor = new Inflater(); |
|
From: <rm...@hy...> - 2007-03-25 22:45:48
|
Author: rmorgan Date: 2007-03-25 14:45:45 -0800 (Sun, 25 Mar 2007) New Revision: 3898 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3898 Modified: trunk/src/org/hyperic/hq/product/LiveDataPluginManager.java Log: Cleanup. Modified: trunk/src/org/hyperic/hq/product/LiveDataPluginManager.java =================================================================== --- trunk/src/org/hyperic/hq/product/LiveDataPluginManager.java 2007-03-25 22:21:07 UTC (rev 3897) +++ trunk/src/org/hyperic/hq/product/LiveDataPluginManager.java 2007-03-25 22:45:45 UTC (rev 3898) @@ -54,9 +54,8 @@ LiveDataPlugin p = getLiveDataPlugin(type); Object o = p.getData(command, config); - XStream xtream = new XStream(); - - return xtream.toXML(o); + XStream xstream = new XStream(); + return xstream.toXML(o); } public String[] getCommands(String type) |
|
From: <rm...@hy...> - 2007-03-25 22:21:11
|
Author: rmorgan Date: 2007-03-25 14:21:07 -0800 (Sun, 25 Mar 2007) New Revision: 3897 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3897 Modified: trunk/src/org/hyperic/hq/livedata/agent/commands/LiveData_result.java Log: Compress livedata results. Modified: trunk/src/org/hyperic/hq/livedata/agent/commands/LiveData_result.java =================================================================== --- trunk/src/org/hyperic/hq/livedata/agent/commands/LiveData_result.java 2007-03-25 21:36:53 UTC (rev 3896) +++ trunk/src/org/hyperic/hq/livedata/agent/commands/LiveData_result.java 2007-03-25 22:21:07 UTC (rev 3897) @@ -28,9 +28,19 @@ import org.hyperic.hq.agent.AgentRemoteValue; import org.hyperic.hq.agent.AgentAssertionException; import org.hyperic.hq.agent.AgentRemoteException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.util.zip.Deflater; +import java.util.zip.Inflater; +import java.util.zip.DataFormatException; + public class LiveData_result extends AgentRemoteValue { + private static final Log _log = LogFactory.getLog(LiveData_result.class); + private static final String PARAM_RESULT = "result"; public void setValue(String key, String val) { @@ -42,18 +52,78 @@ } public LiveData_result(AgentRemoteValue val) - throws AgentRemoteException { + throws AgentRemoteException + { + String resultAlreadyCompressed = val.getValue(PARAM_RESULT); + // Only used from the LiveDataClient, where the result value has + // already been compressed. + setResultCompressed(resultAlreadyCompressed); + } - String result = val.getValue(PARAM_RESULT); + public void setResultCompressed(String alreadyCompressed) { + super.setValue(PARAM_RESULT, alreadyCompressed); + } - setResult(result); + public void setResult(String result) + throws IOException + { + String compressed = compress(result); + _log.debug("Compressed " + result.length() + " bytes to " + + compressed.length() + " bytes."); + + super.setValue(PARAM_RESULT, compressed); } - public void setResult(String result) { - super.setValue(PARAM_RESULT, result); + public String getResult() + throws IOException, DataFormatException + { + String compressed = super.getValue(PARAM_RESULT); + _log.debug("Decompressing " + compressed.length() + " bytes"); + return decompress(compressed); } - public String getResult() { - return super.getValue(PARAM_RESULT); + private String compress(String s) + throws IOException + { + Deflater compressor = new Deflater(); + compressor.setInput(s.getBytes()); + compressor.finish(); + + ByteArrayOutputStream bos = new ByteArrayOutputStream(); + + int total = 0; + byte[] buf = new byte[1024]; + while (!compressor.finished()) { + int count = compressor.deflate(buf); + total += count; + bos.write(buf, 0, count); + } + + bos.close(); + + byte[] compressedData = bos.toByteArray(); + return new String(compressedData, 0, total); } + + public static String decompress(String s) + throws IOException, DataFormatException + { + Inflater decompressor = new Inflater(); + decompressor.setInput(s.getBytes()); + + ByteArrayOutputStream bos = new ByteArrayOutputStream(); + + int total = 0; + byte[] buf = new byte[1024]; + while (!decompressor.finished()) { + int count = decompressor.inflate(buf); + total += count; + bos.write(buf, 0, count); + } + + bos.close(); + + byte[] decompressedData = bos.toByteArray(); + return new String(decompressedData, 0, total); + } } |
|
From: <do...@hy...> - 2007-03-25 21:36:57
|
Author: dougm Date: 2007-03-25 13:36:53 -0800 (Sun, 25 Mar 2007) New Revision: 3896 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3896 Modified: trunk/plugins/system/src/org/hyperic/hq/plugin/system/TopData.java Log: if no process.query is given, limit ps to first 20 pids Modified: trunk/plugins/system/src/org/hyperic/hq/plugin/system/TopData.java =================================================================== --- trunk/plugins/system/src/org/hyperic/hq/plugin/system/TopData.java 2007-03-25 18:46:40 UTC (rev 3895) +++ trunk/plugins/system/src/org/hyperic/hq/plugin/system/TopData.java 2007-03-25 21:36:53 UTC (rev 3896) @@ -63,14 +63,17 @@ private void ps(Sigar sigar, String filter) throws SigarException { _processes = new ArrayList(); long[] pids; + int max; if (filter == null) { pids = sigar.getProcList(); + max = 20; //XXX make configurable } else { pids = ProcessFinder.find(sigar, filter); + max = pids.length; } - for (int i=0; i<pids.length; i++) { + for (int i=0; i<max; i++) { long pid = pids[i]; try { _processes.add(ProcessData.gather(sigar, pid)); |
|
From: Doug M. (JIRA) <ji...@hy...> - 2007-03-25 21:03:44
|
[ http://jira.hyperic.com/browse/HHQ-113?page=all ] Doug MacEachern updated HHQ-113: -------------------------------- Component: Plugins > Plugin: AVG Antivirus Clients > ----------------------------- > > Key: HHQ-113 > URL: http://jira.hyperic.com/browse/HHQ-113 > Project: Hyperic HQ > Type: New Feature > Components: Plugins > Environment: AVG has antivirus clients form Windows (both desktop and server) as well as LInux. > Reporter: James W. Thompson, II > Assignee: John Sachs > Priority: Trivial > > > The school I work for has AVG Antivirus Network Edition deployed on all our systems, we already use the AVG Network Administration application to push updates and manage configurations but it would be nice if I coul access certain basic statistics and alerts regarding the AVG client software installed on each of our deployed systems. -- 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: Doug M. (JIRA) <ji...@hy...> - 2007-03-25 21:00:38
|
[ http://jira.hyperic.com/browse/HHQ-62?page=all ] Doug MacEachern updated HHQ-62: ------------------------------- Summary: Re-implement SNMP v3 support (was: Implement SNMP v3 support) Security Level: (was: Hyperic Members) > Re-implement SNMP v3 support > ---------------------------- > > Key: HHQ-62 > URL: http://jira.hyperic.com/browse/HHQ-62 > Project: Hyperic HQ > Type: Bug > Components: Plugins > Versions: 2.7.0 > Reporter: Doug MacEachern > Assignee: Doug MacEachern > Priority: Minor > > > Since we moved from Netaphor SNMP to SNMP4J, support for SNMP version 3 has not been implemented. -- 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: Doug M. (JIRA) <ji...@hy...> - 2007-03-25 20:04:36
|
[ http://jira.hyperic.com/browse/HHQ-464?page=all ] Doug MacEachern updated HHQ-464: -------------------------------- Summary: HTTP service User-Agent should be configurable (was: Exclude requests by the HQ Agent from the "request" metrics in Apache) > HTTP service User-Agent should be configurable > ---------------------------------------------- > > Key: HHQ-464 > URL: http://jira.hyperic.com/browse/HHQ-464 > Project: Hyperic HQ > Type: Improvement > Components: Plugins > Versions: 2.6 > Reporter: John Sachs > Assignee: Doug MacEachern > > > It would be nice if the HQ Agent could identify itself, possibly via a specific User-Agent header, such that the requests made by it are not counted in the snmp metrics for requests. Apache servers with very little traffic see the total number of requests metric continually increase due to the requests made by the HQ Agent. That is not desirable and can cause confusion. -- 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: Doug M. (JIRA) <ji...@hy...> - 2007-03-25 19:58:43
|
[ http://jira.hyperic.com/browse/HHQ-555?page=all ] Doug MacEachern resolved HHQ-555: --------------------------------- Fix Version: 3.0.0 Resolution: Fixed This was included in 3.0 but could still using some improving. See plugins/netdevice SNMPTrapReceiver and SNMPTrapReceiverPlugin. > Add SNMP trap receiver for plugins > ---------------------------------- > > Key: HHQ-555 > URL: http://jira.hyperic.com/browse/HHQ-555 > Project: Hyperic HQ > Type: New Feature > Components: Plugins > Reporter: Doug MacEachern > Assignee: Doug MacEachern > Priority: Minor > Fix For: 3.0.0 > > -- 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: Doug M. (JIRA) <ji...@hy...> - 2007-03-25 19:54:36
|
Add APC UPS plugin
------------------
Key: HHQ-780
URL: http://jira.hyperic.com/browse/HHQ-780
Project: Hyperic HQ
Type: New Feature
Components: Plugins
Reporter: Doug MacEachern
Assigned to: Charles Lee
Priority: Minor
Has been requested a couple of times, including:
http://forums.hyperic.com/jiveforums/thread.jspa?messageID=5221
--
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: Doug M. (JIRA) <ji...@hy...> - 2007-03-25 19:47:39
|
Add IBM Director plugin
-----------------------
Key: HHQ-779
URL: http://jira.hyperic.com/browse/HHQ-779
Project: Hyperic HQ
Type: New Feature
Components: Plugins
Reporter: Doug MacEachern
Assigned to: Doug MacEachern
Priority: Minor
Has been requested a couple of times, including:
http://forums.hyperic.com/jiveforums/message.jspa?messageID=4795
--
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: <rm...@hy...> - 2007-03-25 18:46:43
|
Author: rmorgan Date: 2007-03-25 10:46:40 -0800 (Sun, 25 Mar 2007) New Revision: 3895 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3895 Modified: trunk/src/org/hyperic/hq/livedata/server/session/LiveDataExecutor.java Log: Use fixed sized threadpool. The ThreadPoolExecutor will only spawn the threads as necessary. Modified: trunk/src/org/hyperic/hq/livedata/server/session/LiveDataExecutor.java =================================================================== --- trunk/src/org/hyperic/hq/livedata/server/session/LiveDataExecutor.java 2007-03-25 18:38:25 UTC (rev 3894) +++ trunk/src/org/hyperic/hq/livedata/server/session/LiveDataExecutor.java 2007-03-25 18:46:40 UTC (rev 3895) @@ -41,13 +41,14 @@ private static Log _log = LogFactory.getLog(LiveDataExecutor.class); - private static final int THREAD_MIN = 5; private static final int THREAD_MAX = 30; private List _results; public LiveDataExecutor() { - super(THREAD_MIN, THREAD_MAX, 1, TimeUnit.MINUTES, + // Fixed sized threadpool. The ThreadPoolExecutor will only spawn + // the threads a necessary. + super(THREAD_MAX, THREAD_MAX, 1, TimeUnit.SECONDS, new LinkedBlockingQueue()); _results = new ArrayList(); } |
|
From: <rm...@hy...> - 2007-03-25 18:38:28
|
Author: rmorgan Date: 2007-03-25 10:38:25 -0800 (Sun, 25 Mar 2007) New Revision: 3894 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3894 Modified: trunk/src/org/hyperic/hq/bizapp/client/shell/ClientShell_livedata_get.java trunk/src/org/hyperic/hq/livedata/agent/client/LiveDataClient.java trunk/src/org/hyperic/hq/livedata/server/session/LiveDataExecutor.java trunk/src/org/hyperic/hq/livedata/server/session/LiveDataExecutorCommand.java trunk/src/org/hyperic/hq/livedata/server/session/LiveDataManagerEJBImpl.java trunk/src/org/hyperic/hq/livedata/shared/LiveDataResult.java Log: Add AppdefEntityID to LiveDataResult, bump min thread pool size to 5. Modified: trunk/src/org/hyperic/hq/bizapp/client/shell/ClientShell_livedata_get.java =================================================================== --- trunk/src/org/hyperic/hq/bizapp/client/shell/ClientShell_livedata_get.java 2007-03-25 17:45:05 UTC (rev 3893) +++ trunk/src/org/hyperic/hq/bizapp/client/shell/ClientShell_livedata_get.java 2007-03-25 18:38:25 UTC (rev 3894) @@ -101,17 +101,21 @@ _entityFetcher.getGroupValue(id.getId().toString()); List entities = val.getAppdefGroupEntries(); + PrintStream ps = this.getShell().getOutStream(); + ps.print("Entities:"); LiveDataCommand[] cmds = new LiveDataCommand[entities.size()]; for (int i = 0; i < entities.size(); i++) { AppdefEntityID aid = (AppdefEntityID)entities.get(i); cmds[i] = new LiveDataCommand(aid, command, new ConfigResponse()); + ps.print(" " + aid); } + ps.println(); LiveDataResult[] res = _entityFetcher.getLiveData(cmds); - PrintStream ps = this.getShell().getOutStream(); ps.println("Printing XML output from command " + command); for (int i = 0; i < entities.size(); i++) { - ps.println("Result value " + i); + ps.println("Result value " + i + " for resource " + + res[i].getAppdefEntityID()); if (res[i].hasError()) { ps.println("Error: " + res[i].getErrorMessage()); } else { Modified: trunk/src/org/hyperic/hq/livedata/agent/client/LiveDataClient.java =================================================================== --- trunk/src/org/hyperic/hq/livedata/agent/client/LiveDataClient.java 2007-03-25 17:45:05 UTC (rev 3893) +++ trunk/src/org/hyperic/hq/livedata/agent/client/LiveDataClient.java 2007-03-25 18:38:25 UTC (rev 3894) @@ -31,6 +31,7 @@ import org.hyperic.hq.livedata.shared.LiveDataResult; import org.hyperic.hq.agent.client.AgentConnection; import org.hyperic.hq.agent.AgentRemoteValue; +import org.hyperic.hq.appdef.shared.AppdefEntityID; import org.hyperic.util.config.ConfigResponse; public class LiveDataClient { @@ -43,7 +44,8 @@ _api = new LiveDataCommandsAPI(); } - public LiveDataResult getData(String type, String command, + public LiveDataResult getData(AppdefEntityID id, String type, + String command, ConfigResponse config) { try { @@ -56,9 +58,9 @@ _api.getVersion(), args); LiveData_result val = new LiveData_result(res); String xml = val.getResult(); - return new LiveDataResult(xml); + return new LiveDataResult(id, xml); } catch (Exception e) { - return new LiveDataResult(e, e.getMessage()); + return new LiveDataResult(id, e, e.getMessage()); } } } Modified: trunk/src/org/hyperic/hq/livedata/server/session/LiveDataExecutor.java =================================================================== --- trunk/src/org/hyperic/hq/livedata/server/session/LiveDataExecutor.java 2007-03-25 17:45:05 UTC (rev 3893) +++ trunk/src/org/hyperic/hq/livedata/server/session/LiveDataExecutor.java 2007-03-25 18:38:25 UTC (rev 3894) @@ -41,13 +41,13 @@ private static Log _log = LogFactory.getLog(LiveDataExecutor.class); - private static final int THREAD_MIN = 1; + private static final int THREAD_MIN = 5; private static final int THREAD_MAX = 30; private List _results; public LiveDataExecutor() { - super(THREAD_MIN, THREAD_MAX, 1, TimeUnit.HOURS, + super(THREAD_MIN, THREAD_MAX, 1, TimeUnit.MINUTES, new LinkedBlockingQueue()); _results = new ArrayList(); } @@ -83,7 +83,8 @@ LiveDataExecutorCommand cmd = (LiveDataExecutorCommand)i.next(); _log.debug("Running cmd '" + cmd + "' in thread " + Thread.currentThread().getName()); - LiveDataResult res = _client.getData(cmd.getType(), + LiveDataResult res = _client.getData(cmd.getAppdefEntityID(), + cmd.getType(), cmd.getCommand(), cmd.getConfig()); _results.add(res); Modified: trunk/src/org/hyperic/hq/livedata/server/session/LiveDataExecutorCommand.java =================================================================== --- trunk/src/org/hyperic/hq/livedata/server/session/LiveDataExecutorCommand.java 2007-03-25 17:45:05 UTC (rev 3893) +++ trunk/src/org/hyperic/hq/livedata/server/session/LiveDataExecutorCommand.java 2007-03-25 18:38:25 UTC (rev 3894) @@ -26,19 +26,26 @@ package org.hyperic.hq.livedata.server.session; import org.hyperic.util.config.ConfigResponse; +import org.hyperic.hq.appdef.shared.AppdefEntityID; class LiveDataExecutorCommand { + private AppdefEntityID _id; private String _type; private String _command; private ConfigResponse _config; - public LiveDataExecutorCommand(String type, String command, - ConfigResponse config) { + public LiveDataExecutorCommand(AppdefEntityID id, String type, String command, + ConfigResponse config) { + _id = id; _type = type; _command = command; _config = config; } + public AppdefEntityID getAppdefEntityID() { + return _id; + } + public String getType() { return _type; } Modified: trunk/src/org/hyperic/hq/livedata/server/session/LiveDataManagerEJBImpl.java =================================================================== --- trunk/src/org/hyperic/hq/livedata/server/session/LiveDataManagerEJBImpl.java 2007-03-25 17:45:05 UTC (rev 3893) +++ trunk/src/org/hyperic/hq/livedata/server/session/LiveDataManagerEJBImpl.java 2007-03-25 18:38:25 UTC (rev 3894) @@ -158,7 +158,7 @@ ConfigResponse config = getConfig(subject, cmd); String type = getType(subject, cmd); - return client.getData(type, cmd.getCommand(), config); + return client.getData(id, type, cmd.getCommand(), config); } /** @@ -182,7 +182,7 @@ String type = getType(subject, cmd); LiveDataExecutorCommand exec = - new LiveDataExecutorCommand(type, cmd.getCommand(), config); + new LiveDataExecutorCommand(id, type, cmd.getCommand(), config); List queue = (List)buckets.get(conn); if (queue == null) { Modified: trunk/src/org/hyperic/hq/livedata/shared/LiveDataResult.java =================================================================== --- trunk/src/org/hyperic/hq/livedata/shared/LiveDataResult.java 2007-03-25 17:45:05 UTC (rev 3893) +++ trunk/src/org/hyperic/hq/livedata/shared/LiveDataResult.java 2007-03-25 18:38:25 UTC (rev 3894) @@ -4,28 +4,40 @@ import java.io.Serializable; +import org.hyperic.hq.appdef.shared.AppdefEntityID; + /** * Result object from live data commands. */ public class LiveDataResult implements Serializable { + private AppdefEntityID _id; private boolean _error; private Throwable _cause; private String _errorMsg; private String _xml; - public LiveDataResult(String xml) { + public LiveDataResult(AppdefEntityID id, String xml) { _error = false; + _id = id; _xml = xml; } - public LiveDataResult(Throwable t, String errorMsg) { + public LiveDataResult(AppdefEntityID id, Throwable t, String errorMsg) { _error = true; + _id = id; + _cause = t; _errorMsg = errorMsg; - _cause = t; } /** + * Get the appdef entity id for this result + */ + public AppdefEntityID getAppdefEntityID() { + return _id; + } + + /** * Get the raw XML result for this request. */ public String getXMLResult() { |
|
From: Doug M. (JIRA) <ji...@hy...> - 2007-03-25 18:10:37
|
Add Oracle Application Server plugin
------------------------------------
Key: HHQ-778
URL: http://jira.hyperic.com/browse/HHQ-778
Project: Hyperic HQ
Type: New Feature
Components: Plugins
Reporter: Doug MacEachern
Assigned to: Doug MacEachern
Priority: Minor
OAS support has been requested a few times, including:
http://forums.hyperic.com/jiveforums/message.jspa?messageID=4158
--
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: Doug M. (JIRA) <ji...@hy...> - 2007-03-25 18:07:38
|
Add IBM Lotus Domino Server plugin
----------------------------------
Key: HHQ-777
URL: http://jira.hyperic.com/browse/HHQ-777
Project: Hyperic HQ
Type: New Feature
Components: Plugins
Reporter: Doug MacEachern
Assigned to: Doug MacEachern
Priority: Minor
--
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: Doug M. (JIRA) <ji...@hy...> - 2007-03-25 18:05:36
|
[ http://jira.hyperic.com/browse/HHQ-228?page=all ] Doug MacEachern updated HHQ-228: -------------------------------- Component: Plugins Priority: Minor (was: Major) > Cisco CATOS support > ------------------- > > Key: HHQ-228 > URL: http://jira.hyperic.com/browse/HHQ-228 > Project: Hyperic HQ > Type: New Feature > Components: Plugins > Environment: CISCO CATOS 8.1(3) > Reporter: Paul Peterson > Assignee: Doug MacEachern > Priority: Minor > > > Currently Hyperic will see our 6000 series cisco switch, but the ports do not label correctly, I would like to further support for CATOS switches (2900, 6000, etc.). -- 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: Doug M. (JIRA) <ji...@hy...> - 2007-03-25 18:00:36
|
Add Asterisk plugin
-------------------
Key: HHQ-776
URL: http://jira.hyperic.com/browse/HHQ-776
Project: Hyperic HQ
Type: New Feature
Components: Plugins
Reporter: Doug MacEachern
Assigned to: Doug MacEachern
Priority: Minor
http://www.asterisk.org/
A plugin has been started by a community member:
http://forums.hyperic.com/jiveforums/thread.jspa?messageID=4517
--
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: Doug M. (JIRA) <ji...@hy...> - 2007-03-25 17:56:35
|
Add ServiceMix plugin
---------------------
Key: HHQ-775
URL: http://jira.hyperic.com/browse/HHQ-775
Project: Hyperic HQ
Type: New Feature
Components: Plugins
Reporter: Doug MacEachern
Assigned to: Doug MacEachern
Priority: Minor
http://incubator.apache.org/servicemix/home.html
A plugin has been started by a community member:
http://forums.hyperic.com/jiveforums/message.jspa?messageID=4700
--
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: Doug M. (JIRA) <ji...@hy...> - 2007-03-25 17:51:35
|
Add Tomcat 6 plugin
-------------------
Key: HHQ-774
URL: http://jira.hyperic.com/browse/HHQ-774
Project: Hyperic HQ
Type: New Feature
Components: Plugins
Reporter: Doug MacEachern
Assigned to: Doug MacEachern
Priority: Minor
This should be a from-scratch implementation that uses the new JMX support classes rather than the existing servlet-plugin.
--
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
|