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: <sc...@hy...> - 2010-03-16 17:10:22
|
Author: scottmf Date: 2010-03-16 10:10:13 -0700 (Tue, 16 Mar 2010) New Revision: 14385 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14385 Modified: trunk/src/org/hyperic/hq/measurement/server/session/MeasurementDAO.java Log: [HHQ-3798] remove Measurement.findAvailMeasurements cache. Modified: trunk/src/org/hyperic/hq/measurement/server/session/MeasurementDAO.java =================================================================== --- trunk/src/org/hyperic/hq/measurement/server/session/MeasurementDAO.java 2010-03-16 07:52:36 UTC (rev 14384) +++ trunk/src/org/hyperic/hq/measurement/server/session/MeasurementDAO.java 2010-03-16 17:10:13 UTC (rev 14385) @@ -444,17 +444,13 @@ return Collections.EMPTY_LIST; } List resList = new ArrayList(resources); - // sort to give the query cache best chance of reuse - Collections.sort(resList); List rtn = new ArrayList(resList.size()); final String sql = new StringBuilder() .append("select m from Measurement m ") .append("join m.template t ") .append("where m.resource in (:resources) AND ") .append(ALIAS_CLAUSE).toString(); - final Query query = getSession().createQuery(sql) - .setCacheable(true) - .setCacheRegion("Measurement.findAvailMeasurements"); + final Query query = getSession().createQuery(sql); // should be a unique result if only one resource is being examined if (resources.size() == 1) { |
From: <bo...@hy...> - 2010-03-16 07:52:46
|
Author: bob Date: 2010-03-16 00:52:36 -0700 (Tue, 16 Mar 2010) New Revision: 14384 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14384 Modified: trunk/etc/version.properties Log: Release 4.3.0 build #1379 Modified: trunk/etc/version.properties =================================================================== --- trunk/etc/version.properties 2010-03-16 00:14:33 UTC (rev 14383) +++ trunk/etc/version.properties 2010-03-16 07:52:36 UTC (rev 14384) @@ -1,3 +1,3 @@ -#Mon Mar 15 00:16:42 PDT 2010 +#Tue Mar 16 00:17:03 PDT 2010 version=4.3.0 -build=1378 +build=1379 |
From: <tr...@hy...> - 2010-03-16 00:15:49
|
Author: trader Date: 2010-03-15 17:14:33 -0700 (Mon, 15 Mar 2010) New Revision: 14383 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14383 Modified: trunk/installer/data/setup-db-common.xml Log: Minor tweaks based on code review: correct "unless" property, don't double-set property. Tested with the original test case. Modified: trunk/installer/data/setup-db-common.xml =================================================================== --- trunk/installer/data/setup-db-common.xml 2010-03-16 00:13:47 UTC (rev 14382) +++ trunk/installer/data/setup-db-common.xml 2010-03-16 00:14:33 UTC (rev 14383) @@ -22,9 +22,8 @@ <antcall target="create.datatmp"/> </target> - <target name="create.datatmp" unless="${data.dir}"> + <target name="create.datatmp" unless="${has.data.dir}"> <mkdir dir="${install.dir}/data/tmp"/> - <property name="data.dir" value="${install.dir}/data/tmp"/> </target> <target name="dbsetup-process-file"> |
From: <tr...@hy...> - 2010-03-16 00:13:56
|
Author: trader Date: 2010-03-15 17:13:47 -0700 (Mon, 15 Mar 2010) New Revision: 14382 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14382 Modified: branches/HQ_4_2_0_PATCH/installer/data/setup-db-common.xml Log: Minor tweaks based on code review: correct "unless" property, don't double-set property. Modified: branches/HQ_4_2_0_PATCH/installer/data/setup-db-common.xml =================================================================== --- branches/HQ_4_2_0_PATCH/installer/data/setup-db-common.xml 2010-03-15 23:19:03 UTC (rev 14381) +++ branches/HQ_4_2_0_PATCH/installer/data/setup-db-common.xml 2010-03-16 00:13:47 UTC (rev 14382) @@ -22,9 +22,8 @@ <antcall target="create.datatmp"/> </target> - <target name="create.datatmp" unless="${data.dir}"> + <target name="create.datatmp" unless="${has.data.dir}"> <mkdir dir="${install.dir}/data/tmp"/> - <property name="data.dir" value="${install.dir}/data/tmp"/> </target> <target name="dbsetup-process-file"> |
From: <tr...@hy...> - 2010-03-15 23:19:11
|
Author: trader Date: 2010-03-15 16:19:03 -0700 (Mon, 15 Mar 2010) New Revision: 14381 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14381 Modified: trunk/installer/data/setup-db-common.xml Log: [HQ-2090] HQ installer doesn't set ant property data.dir The summary is right, the property wasn't set at all. The real issue is that if you download and untar as root, and then try to install as another user, the install fails because part of the install creates a tmp directory under the install tree. That still exists, but now at least the error complains about filesystem permissions, not some non-existent property. Modified: trunk/installer/data/setup-db-common.xml =================================================================== --- trunk/installer/data/setup-db-common.xml 2010-03-15 23:13:15 UTC (rev 14380) +++ trunk/installer/data/setup-db-common.xml 2010-03-15 23:19:03 UTC (rev 14381) @@ -6,6 +6,8 @@ <project name="setup-db-common" default="direct-error" basedir="."> + <property name="data.dir" value="${install.dir}/data/tmp"/> + &hibernate-build; <target name="direct-error"> @@ -15,6 +17,16 @@ </fail> </target> + <target name="check.data.dir"> + <available property="has.data.dir" file="${data.dir}"/> + <antcall target="create.datatmp"/> + </target> + + <target name="create.datatmp" unless="${data.dir}"> + <mkdir dir="${install.dir}/data/tmp"/> + <property name="data.dir" value="${install.dir}/data/tmp"/> + </target> + <target name="dbsetup-process-file"> <property name="server.jdbc-url" value="${server.database-url}"/> @@ -64,6 +76,7 @@ </target> <target name="dbsetup" depends="hibernate-setup"> + <antcall target="check.data.dir"/> <antcall target="dbsetup-process-file"> <param name="dbsetupfile" value="${data.dir}/data.xml"/> <param name="data" value="true"/> @@ -124,6 +137,7 @@ </target> <target name="replace-dbservice-values"> + <antcall target="check.data.dir"/> <echo>using url: ${server.database-url} </echo> <property name="server.deploy" value="${server.installdir}/server-${version}/hq-engine/server/default/deploy"/> |
From: <tr...@hy...> - 2010-03-15 23:13:25
|
Author: trader Date: 2010-03-15 16:13:15 -0700 (Mon, 15 Mar 2010) New Revision: 14380 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14380 Modified: branches/HQ_4_2_0_PATCH/installer/data/setup-db-common.xml Log: [HQ-2090] HQ installer doesn't set ant property data.dir The summary is right, the property wasn't set at all. The real issue is that if you download and untar as root, and then try to install as another user, the install fails because part of the install creates a tmp directory under the install tree. That still exists, but now at least the error complains about filesystem permissions, not some non-existent property. Modified: branches/HQ_4_2_0_PATCH/installer/data/setup-db-common.xml =================================================================== --- branches/HQ_4_2_0_PATCH/installer/data/setup-db-common.xml 2010-03-15 18:47:10 UTC (rev 14379) +++ branches/HQ_4_2_0_PATCH/installer/data/setup-db-common.xml 2010-03-15 23:13:15 UTC (rev 14380) @@ -6,6 +6,8 @@ <project name="setup-db-common" default="direct-error" basedir="."> + <property name="data.dir" value="${install.dir}/data/tmp"/> + &hibernate-build; <target name="direct-error"> @@ -15,6 +17,16 @@ </fail> </target> + <target name="check.data.dir"> + <available property="has.data.dir" file="${data.dir}"/> + <antcall target="create.datatmp"/> + </target> + + <target name="create.datatmp" unless="${data.dir}"> + <mkdir dir="${install.dir}/data/tmp"/> + <property name="data.dir" value="${install.dir}/data/tmp"/> + </target> + <target name="dbsetup-process-file"> <property name="server.jdbc-url" value="${server.database-url}"/> @@ -64,6 +76,7 @@ </target> <target name="dbsetup" depends="hibernate-setup"> + <antcall target="check.data.dir"/> <antcall target="dbsetup-process-file"> <param name="dbsetupfile" value="${data.dir}/data.xml"/> <param name="data" value="true"/> @@ -124,6 +137,7 @@ </target> <target name="replace-dbservice-values"> + <antcall target="check.data.dir"/> <echo>using url: ${server.database-url} </echo> <property name="server.deploy" value="${server.installdir}/server-${version}/hq-engine/server/default/deploy"/> |
From: <dcr...@hy...> - 2010-03-15 18:47:20
|
Author: dcrutchf Date: 2010-03-15 11:47:10 -0700 (Mon, 15 Mar 2010) New Revision: 14379 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14379 Modified: trunk/installer/data/db-upgrade.xml Log: [HQ-2089] - Servers and Services permissions are map correctly after upgrading to 4.3.0 Modified: trunk/installer/data/db-upgrade.xml =================================================================== --- trunk/installer/data/db-upgrade.xml 2010-03-15 07:54:12 UTC (rev 14378) +++ trunk/installer/data/db-upgrade.xml 2010-03-15 18:47:10 UTC (rev 14379) @@ -10959,17 +10959,17 @@ </statement> <statement desc="Adding create server permission to any role that has delete server permission..."> INSERT INTO EAM_ROLE_OPERATION_MAP(ROLE_ID, OPERATION_ID) - SELECT m.role_id, 306 FROM EAM_ROLE r + SELECT m.role_id, 303 FROM EAM_ROLE r INNER JOIN EAM_ROLE_OPERATION_MAP m on r.id = m.role_id WHERE m.operation_id = 304 AND (SELECT count(*) FROM EAM_ROLE_OPERATION_MAP rm - WHERE rm.role_id = r.id AND rm.operation_id = 306) = 0 + WHERE rm.role_id = r.id AND rm.operation_id = 303) = 0 </statement> <statement desc="Adding delete server permission to any role that has create server permission..."> INSERT INTO EAM_ROLE_OPERATION_MAP(ROLE_ID, OPERATION_ID) SELECT m.role_id, 304 FROM EAM_ROLE r INNER JOIN EAM_ROLE_OPERATION_MAP m on r.id = m.role_id - WHERE m.operation_id = 306 + WHERE m.operation_id = 303 AND (SELECT count(*) FROM EAM_ROLE_OPERATION_MAP rm WHERE rm.role_id = r.id AND rm.operation_id = 304) = 0 </statement> @@ -10977,7 +10977,7 @@ INSERT INTO EAM_ROLE_OPERATION_MAP(ROLE_ID, OPERATION_ID) SELECT distinct m.role_id, 307 FROM EAM_ROLE r INNER JOIN EAM_ROLE_OPERATION_MAP m on r.id = m.role_id - WHERE (m.operation_id = 304 or m.operation_id = 306) + WHERE (m.operation_id = 304 or m.operation_id = 303) AND (SELECT count(*) FROM EAM_ROLE_OPERATION_MAP rm WHERE rm.role_id = r.id AND rm.operation_id = 307) = 0 </statement> @@ -10985,23 +10985,23 @@ INSERT INTO EAM_ROLE_OPERATION_MAP(ROLE_ID, OPERATION_ID) SELECT distinct m.role_id, 311 FROM EAM_ROLE r INNER JOIN EAM_ROLE_OPERATION_MAP m on r.id = m.role_id - WHERE (m.operation_id = 304 or m.operation_id = 306 or m.operation_id = 307) + WHERE (m.operation_id = 304 or m.operation_id = 303 or m.operation_id = 307) AND (SELECT count(*) FROM EAM_ROLE_OPERATION_MAP rm WHERE rm.role_id = r.id AND rm.operation_id = 311) = 0 </statement> <statement desc="Adding create service permission to any role that has delete service permission..."> INSERT INTO EAM_ROLE_OPERATION_MAP(ROLE_ID, OPERATION_ID) - SELECT m.role_id, 312 FROM EAM_ROLE r + SELECT m.role_id, 309 FROM EAM_ROLE r INNER JOIN EAM_ROLE_OPERATION_MAP m on r.id = m.role_id WHERE m.operation_id = 314 AND (SELECT count(*) FROM EAM_ROLE_OPERATION_MAP rm - WHERE rm.role_id = r.id AND rm.operation_id = 312) = 0 + WHERE rm.role_id = r.id AND rm.operation_id = 309) = 0 </statement> <statement desc="Adding delete service permission to any role that has create service permission..."> INSERT INTO EAM_ROLE_OPERATION_MAP(ROLE_ID, OPERATION_ID) SELECT m.role_id, 314 FROM EAM_ROLE r INNER JOIN EAM_ROLE_OPERATION_MAP m on r.id = m.role_id - WHERE m.operation_id = 312 + WHERE m.operation_id = 309 AND (SELECT count(*) FROM EAM_ROLE_OPERATION_MAP rm WHERE rm.role_id = r.id AND rm.operation_id = 314) = 0 </statement> @@ -11009,7 +11009,7 @@ INSERT INTO EAM_ROLE_OPERATION_MAP(ROLE_ID, OPERATION_ID) SELECT distinct m.role_id, 313 FROM EAM_ROLE r INNER JOIN EAM_ROLE_OPERATION_MAP m on r.id = m.role_id - WHERE (m.operation_id = 312 or m.operation_id = 314) + WHERE (m.operation_id = 309 or m.operation_id = 314) AND (SELECT count(*) FROM EAM_ROLE_OPERATION_MAP rm WHERE rm.role_id = r.id AND rm.operation_id = 313) = 0 </statement> @@ -11017,7 +11017,7 @@ INSERT INTO EAM_ROLE_OPERATION_MAP(ROLE_ID, OPERATION_ID) SELECT distinct m.role_id, 315 FROM EAM_ROLE r INNER JOIN EAM_ROLE_OPERATION_MAP m on r.id = m.role_id - WHERE (m.operation_id = 312 or m.operation_id = 314 or m.operation_id = 313) + WHERE (m.operation_id = 309 or m.operation_id = 314 or m.operation_id = 313) AND (SELECT count(*) FROM EAM_ROLE_OPERATION_MAP rm WHERE rm.role_id = r.id AND rm.operation_id = 315) = 0 </statement> |
From: rose j. <rsn...@gm...> - 2010-03-15 08:34:41
|
have a look at this: rose@rose-desktop:~$ javac -cp sigar.jar MemoryMonitor.java rose@rose-desktop:~$ java MemoryMonitor Exception in thread "main" java.lang.NoClassDefFoundError: org/hyperic/sigar/SigarException Caused by: java.lang.ClassNotFoundException: org.hyperic.sigar.SigarException at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) Could not find the main class: MemoryMonitor. Program will exit. then, i tried another command: rose@rose-desktop:~$ java -cp sigar.jar MemoryMonitor Exception in thread "main" java.lang.NoClassDefFoundError: MemoryMonitor Caused by: java.lang.ClassNotFoundException: MemoryMonitor at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) Could not find the main class: MemoryMonitor. Program will exit. both got errors. |
From: <bo...@hy...> - 2010-03-15 07:54:21
|
Author: bob Date: 2010-03-15 00:54:12 -0700 (Mon, 15 Mar 2010) New Revision: 14378 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14378 Modified: trunk/etc/version.properties Log: Release 4.3.0 build #1378 Modified: trunk/etc/version.properties =================================================================== --- trunk/etc/version.properties 2010-03-14 08:51:18 UTC (rev 14377) +++ trunk/etc/version.properties 2010-03-15 07:54:12 UTC (rev 14378) @@ -1,3 +1,3 @@ -#Sun Mar 14 00:18:30 PST 2010 +#Mon Mar 15 00:16:42 PDT 2010 version=4.3.0 -build=1377 +build=1378 |
From: <bo...@hy...> - 2010-03-14 08:51:30
|
Author: bob Date: 2010-03-14 00:51:18 -0800 (Sun, 14 Mar 2010) New Revision: 14377 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14377 Modified: trunk/etc/version.properties Log: Release 4.3.0 build #1377 Modified: trunk/etc/version.properties =================================================================== --- trunk/etc/version.properties 2010-03-13 09:37:22 UTC (rev 14376) +++ trunk/etc/version.properties 2010-03-14 08:51:18 UTC (rev 14377) @@ -1,3 +1,3 @@ -#Sat Mar 13 00:31:50 PST 2010 +#Sun Mar 14 00:18:30 PST 2010 version=4.3.0 -build=1376 +build=1377 |
From: Warren E. <we...@ta...> - 2010-03-13 19:18:04
|
Thanks that work. I must have been working with an older versions. eggzie -----Original Message----- From: Doug MacEachern [mailto:dma...@vm...] Sent: Thursday, March 11, 2010 1:34 PM To: Warren Eggly Cc: sig...@hy...; Jorge Reyes Subject: Re: _sigar_generated.c missing for python Hi Warren, That file is not under revision control, it is generated as part of the build process. We've made some fixes since 1.6.3 to the python build, try checking out via: svn co http://svn.hyperic.org/projects/sigar_mirror/trunk sigar or git clone git://github.com/hyperic/sigar.git sigar.git cd bindings/python python setup.py build -Doug On Mar 10, 2010, at 5:51 PM, Warren Eggly wrote: > When trying to build sigar library for python the file _sigar_generated.c is missing. The c program _sigar.c is looking for it on line 79. > _sigar_generated.c is not listed in the Index of /trunk/bindings/python > > http://svn.hyperic.org/trunk/bindings/python/?root=Hyperic+SIGAR+Git+mirror > > > $ grep -n _sigar_generated.c _sigar.c > 79:#include "_sigar_generated.c" > > > $pwd > . hyperic-sigar-1.6.3/bindings/python > $ python setup.py install > running install > running build > running build_py > running build_ext > building '_sigar' extension > gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC -I../../sigar-bin/include -I/usr/include/python2.4 -c _sigar.c -o build/temp.linux-x86_64-2.4/_sigar.o > gcc: : No such file or directory > _sigar.c:79:30: error: _sigar_generated.c: No such file or directory > _sigar.c: In function âpysigar_file_system_listâ: > _sigar.c:168: error: âpysigar_PySigarFileSystemTypeâ undeclared (first use in this function) > _sigar.c:168: error: (Each undeclared identifier is reported only once > _sigar.c:168: error: for each function it appears in.) > _sigar.c: At top level: > _sigar.c:212: error: âPY_SIGAR_METHODSâ undeclared here (not in a function) > _sigar.c:213: error: expected â}â before â{â token > _sigar.c: In function âinit_sigarâ: > _sigar.c:299: error: âPY_SIGAR_ADD_TYPESâ undeclared (first use in this function) > _sigar.c:299: warning: statement with no effect > error: command 'gcc' failed with exit status 1 > [weggly@pdsc9monx1012 python]$ |
From: <bo...@hy...> - 2010-03-13 09:37:32
|
Author: bob Date: 2010-03-13 01:37:22 -0800 (Sat, 13 Mar 2010) New Revision: 14376 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14376 Modified: trunk/etc/version.properties Log: Release 4.3.0 build #1376 Modified: trunk/etc/version.properties =================================================================== --- trunk/etc/version.properties 2010-03-12 23:23:12 UTC (rev 14375) +++ trunk/etc/version.properties 2010-03-13 09:37:22 UTC (rev 14376) @@ -1,3 +1,3 @@ -#Fri Mar 12 00:27:46 PST 2010 +#Sat Mar 13 00:31:50 PST 2010 version=4.3.0 -build=1375 +build=1376 |
From: <pn...@hy...> - 2010-03-12 23:23:21
|
Author: pnguyen Date: 2010-03-12 15:23:12 -0800 (Fri, 12 Mar 2010) New Revision: 14375 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14375 Modified: trunk/src/org/hyperic/hq/ui/servlet/MetricDataServlet.java Log: [HHQ-3611] Measurement not found, so set data to an empty list. The corresponding cell in the csv will be blank. Modified: trunk/src/org/hyperic/hq/ui/servlet/MetricDataServlet.java =================================================================== --- trunk/src/org/hyperic/hq/ui/servlet/MetricDataServlet.java 2010-03-12 09:17:15 UTC (rev 14374) +++ trunk/src/org/hyperic/hq/ui/servlet/MetricDataServlet.java 2010-03-12 23:23:12 UTC (rev 14375) @@ -6,7 +6,7 @@ * normal use of the program, and does *not* fall under the heading of * "derived work". * - * Copyright (C) [2004-2009], Hyperic, Inc. + * Copyright (C) [2004-2010], Hyperic, Inc. * This file is part of HQ. * * HQ is free software; you can redistribute it and/or modify @@ -47,6 +47,7 @@ import org.hyperic.hq.appdef.shared.AppdefResourceValue; import org.hyperic.hq.bizapp.shared.AppdefBoss; import org.hyperic.hq.bizapp.shared.MeasurementBoss; +import org.hyperic.hq.measurement.MeasurementNotFoundException; import org.hyperic.hq.measurement.server.session.Measurement; import org.hyperic.hq.measurement.server.session.MeasurementTemplate; import org.hyperic.hq.measurement.shared.HighLowMetricValue; @@ -186,14 +187,21 @@ for (int i = 0; i < resources.size(); i++) { AppdefResourceValue rValue = (AppdefResourceValue) resources.get(i); try { - Measurement m = _mboss.findMeasurement(sessionId, templ.getId(), + List<HighLowMetricValue> list = null; + try { + Measurement m = _mboss.findMeasurement(sessionId, templ.getId(), rValue.getEntityId()); - List<HighLowMetricValue> list = - _mboss.findMeasurementData(sessionId, + list = _mboss.findMeasurementData( + sessionId, m, begin.longValue(), end.longValue(), PageControl.PAGE_ALL); + } catch (MeasurementNotFoundException mnfe) { + _log.debug(mnfe.getMessage()); + // HHQ-3611: Measurement not found, so set data to an empty list + list = new ArrayList<HighLowMetricValue>(0); + } List<RowData> hold = new ArrayList<RowData>(); for (int j = 0; j < list.size(); j++) { HighLowMetricValue metric = list.get(j); |
From: Faur Ioan-A. <fi...@gm...> - 2010-03-12 19:12:29
|
Well in Ubuntu there's a jvm directory in /usr/lib/ but this ./jvm have other'ssubdirectories' but don't know where to copy them.Until then i put the sigar.jar in current class directory! |
From: <bo...@hy...> - 2010-03-12 09:17:23
|
Author: bob Date: 2010-03-12 01:17:15 -0800 (Fri, 12 Mar 2010) New Revision: 14374 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14374 Modified: trunk/etc/version.properties Log: Release 4.3.0 build #1375 Modified: trunk/etc/version.properties =================================================================== --- trunk/etc/version.properties 2010-03-12 00:18:17 UTC (rev 14373) +++ trunk/etc/version.properties 2010-03-12 09:17:15 UTC (rev 14374) @@ -1,3 +1,3 @@ -#Thu Mar 11 00:26:26 PST 2010 +#Fri Mar 12 00:27:46 PST 2010 version=4.3.0 -build=1374 +build=1375 |
From: rose j. <rsn...@gm...> - 2010-03-12 06:40:13
|
hi fioan, I've tried that command, can only compile but cannot run the program. i got this error: unknown command: MemoryMonitor what should i do?please someone help us. we crucially need help:( |
From: rose j. <rsn...@gm...> - 2010-03-12 02:28:34
|
hi fioan, in windows, it will be easier if you simply paste the sigar lib into jdk lib. can we do that in ubuntu? |
From: <pn...@hy...> - 2010-03-12 00:19:50
|
Author: pnguyen Date: 2010-03-11 16:18:17 -0800 (Thu, 11 Mar 2010) New Revision: 14373 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14373 Modified: trunk/web/js/lib/lib.js Log: [HQ-1884] escapeHTML the group name Modified: trunk/web/js/lib/lib.js =================================================================== --- trunk/web/js/lib/lib.js 2010-03-11 22:10:01 UTC (rev 14372) +++ trunk/web/js/lib/lib.js 2010-03-12 00:18:17 UTC (rev 14373) @@ -2566,11 +2566,19 @@ row.id = 'alertGroup:' + groups[i]; var data = that.alert_group_status[groups[i]] || ['gray','gray']; var name = that.alert_groups.data[groups[i]]; - if(that.alert_groups.data[groups[i]].length > 20) - { - name = '<abbr title="' + name + '">' + name.substring(0,20) + '…</abbr>'; + var aObj = document.createElement("a"); + aObj.href = "/Resource.do?eid=5:" + groups[i]; + + if (name.length > 20) { + var abbrObj = document.createElement("abbr"); + abbrObj.title = name; + abbrObj.innerHTML = name.substring(0,20).escapeHTML() + "…"; + aObj.appendChild(abbrObj); + } else { + aObj.innerHTML = name.escapeHTML(); } - row.childNodes[0].innerHTML = '<a href="/Resource.do?eid=5:' + groups[i] + '">' + name +'</a>'; + + row.childNodes[0].appendChild(aObj); row.childNodes[1].innerHTML = '<img src="/images/4.0/icons/'+data[0]+'.gif" alt="'+ status[data[0]] +'">'; row.childNodes[2].innerHTML = '<a href="/alerts/Alerts.do?mode=list&eid=5:' + groups[i] + '"><img src="/images/4.0/icons/'+data[1]+'.gif" alt="'+ status[data[1]]+'" border="0"></a>'; table.appendChild(row); |
From: <pn...@hy...> - 2010-03-11 22:10:12
|
Author: pnguyen Date: 2010-03-11 14:10:01 -0800 (Thu, 11 Mar 2010) New Revision: 14372 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14372 Modified: trunk/ui_plugins/eventcenter/app/EventController.groovy Log: [HHQ-3743] Fix StringIndexOutOfBoundsException issue Modified: trunk/ui_plugins/eventcenter/app/EventController.groovy =================================================================== --- trunk/ui_plugins/eventcenter/app/EventController.groovy 2010-03-11 18:57:02 UTC (rev 14371) +++ trunk/ui_plugins/eventcenter/app/EventController.groovy 2010-03-11 22:10:01 UTC (rev 14372) @@ -76,7 +76,9 @@ if (l.type == ResourceLogEvent.class.name) { def subject = l.subject + ": " def detail = l.detail - if (detail.startsWith(subject)) { + if (subject.equals(detail)) { + detail = '' + } else if (detail.startsWith(subject)) { detail = detail[subject.length()..detail.length()-1] } return detail |
From: Doug M. <dma...@vm...> - 2010-03-11 21:33:58
|
Hi Warren, That file is not under revision control, it is generated as part of the build process. We've made some fixes since 1.6.3 to the python build, try checking out via: svn co http://svn.hyperic.org/projects/sigar_mirror/trunk sigar or git clone git://github.com/hyperic/sigar.git sigar.git cd bindings/python python setup.py build -Doug On Mar 10, 2010, at 5:51 PM, Warren Eggly wrote: > When trying to build sigar library for python the file _sigar_generated.c is missing. The c program _sigar.c is looking for it on line 79. > _sigar_generated.c is not listed in the Index of /trunk/bindings/python > > http://svn.hyperic.org/trunk/bindings/python/?root=Hyperic+SIGAR+Git+mirror > > > $ grep -n _sigar_generated.c _sigar.c > 79:#include "_sigar_generated.c" > > > $pwd > … hyperic-sigar-1.6.3/bindings/python > $ python setup.py install > running install > running build > running build_py > running build_ext > building '_sigar' extension > gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC -I../../sigar-bin/include -I/usr/include/python2.4 -c _sigar.c -o build/temp.linux-x86_64-2.4/_sigar.o > gcc: : No such file or directory > _sigar.c:79:30: error: _sigar_generated.c: No such file or directory > _sigar.c: In function âpysigar_file_system_listâ: > _sigar.c:168: error: âpysigar_PySigarFileSystemTypeâ undeclared (first use in this function) > _sigar.c:168: error: (Each undeclared identifier is reported only once > _sigar.c:168: error: for each function it appears in.) > _sigar.c: At top level: > _sigar.c:212: error: âPY_SIGAR_METHODSâ undeclared here (not in a function) > _sigar.c:213: error: expected â}â before â{â token > _sigar.c: In function âinit_sigarâ: > _sigar.c:299: error: âPY_SIGAR_ADD_TYPESâ undeclared (first use in this function) > _sigar.c:299: warning: statement with no effect > error: command 'gcc' failed with exit status 1 > [weggly@pdsc9monx1012 python]$ |
From: <pn...@hy...> - 2010-03-11 18:57:12
|
Author: pnguyen Date: 2010-03-11 10:57:02 -0800 (Thu, 11 Mar 2010) New Revision: 14371 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14371 Modified: trunk/installer/data/eula.txt Log: Update HQE product license to new VMware Evaluation License Agreement Modified: trunk/installer/data/eula.txt =================================================================== --- trunk/installer/data/eula.txt 2010-03-11 09:24:11 UTC (rev 14370) +++ trunk/installer/data/eula.txt 2010-03-11 18:57:02 UTC (rev 14371) @@ -1,25 +1,48 @@ -SPRINGSOURCE, INC. END USER LICENSE AGREEMENT +VMWARE EVALUATION LICENSE AGREEMENT -BEFORE USING THE SPRINGSOURCE, INC, ("SPRINGSOURCE") SOFTWARE ("SOFTWARE"), ANY ASSOCIATED DOCUMENTATION ("DOCUMENTATION", TOGETHER WITH THE SOFTWARE, THE "PRODUCT") OR ANY OTHER MATERIALS OR THIRD PARTY SOFTWARE PROVIDED WITH THE SOFTWARE, READ CAREFULLY THE FOLLOWING TERMS AND CONDITIONS OF THIS END USER LICENSE AGREEMENT ("AGREEMENT") BETWEEN SPRINGSOURCE AND THE INDIVIDUAL PERSON OR ENTITY ("LICENSEE") RECEIVING THE SOFTWARE TO WHICH THIS AGREEMENT IS ATTACHED, OR INTO WHICH THIS AGREEMENT IS EMBEDDED. BY USING THE PRODUCT OR ANY PART THEREOF, OR BY CLICKING "I ACCEPT" BELOW, YOU ACKNOWLEDGE THAT YOU HAVE READ, UNDERSTOOD AND AGREE TO BE BOUND BY THE TERMS OF THIS AGREEMENT AND THAT YOU HAVE THE ABILITY TO BIND THE ENTITY RECEIVING THE PRODUCT. IF YOU DO NOT AGREE WITH THE TERMS AND CONDITIONS OF THIS AGREEMENT, YOU MAY NOT INSTALL OR USE THE PRODUCT. NOTWITHSTANDING THE FOREGOING, IF LICENSEE HAS ENTERED INTO ANOTHER VALID AGREEMENT WITH SPRINGSOURCE THAT COVERS THE PRODUCT (WHETHER OR NOT SUCH VALID AGREEMENT WAS PHYSICALLY EXECUTED BY LICENSEE, INCLUDING, WITHOUT LIMITATION ANY "CLICK-THROUGH" AGREEMENT OR ANY APPLICABLE TERMS AND CONDITIONS POSTED ON ANY SPRINGSOURCE WEBSITE), THEN THE FOLLOWING LICENSE AGREEMENT TERMS ARE SUPERSEDED BY SUCH OTHER VALID AGREEMENT, AND DO NOT APPLY TO LICENSEE'S USE OF THE PRODUCT. IN ADDITION, THIS LICENSE AGREEMENT APPLIES ONLY TO THE PRODUCT AND DOES NOT APPLY TO ANY THIRD PARTY SOFTWARE, INCLUDING OPEN SOURCE COMPONENTS, AS MAY BE LISTED IN THE LICENSES DIRECTORY OR SPECIFIED IN THE DOCUMENTATION. SUCH THIRD PARTY SOFTWARE IS LICENSED UNDER THE TERMS OF THE APPLICABLE THIRD PARTY LICENSE AGREEMENT LISTED IN THE LICENSES DIRECTORY OR SPECIFIED IN THE DOCUMENTATION. +NOTICE: BY DOWNLOADING AND INSTALLING, COPYING OR OTHERWISE USING THE SOFTWARE, YOU AGREE TO BE BOUND BY THE TERMS OF THIS VMWARE EVALUATION LICENSE AGREEMENT ("AGREEMENT"). IF YOU DO NOT AGREE TO THE TERMS OF THIS AGREEMENT, YOU MAY NOT DOWNLOAD, INSTALL, COPY OR USE THE SOFTWARE. "YOU" MEANS THE NATURAL PERSON OR THE ENTITY THAT IS AGREEING TO BE BOUND BY THIS AGREEMENT, THEIR EMPLOYEES AND THIRD PARTY CONTRACTORS THAT PROVIDE SERVICES TO YOU. YOU SHALL BE LIABLE FOR ANY FAILURE BY SUCH EMPLOYEES AND THIRD PARTY CONTRACTORS TO COMPLY WITH THE TERMS OF THIS AGREEMENT. -1. License Grant. Subject to the terms and conditions of this Agreement, SpringSource agrees to grant, and does hereby grant to Licensee during the term of this Agreement, a limited, non-exclusive, non-transferable right and license, solely to the object code version of the Software, and to the Documentation and any other materials provided to Licensee by SpringSource hereunder ("Materials"), without the right to grant or authorize sublicenses or to further distribute the Product or Materials, to install the Software on computers owned or leased by Licensee and to use the Product and Materials solely for Licensee's internal business operations, development, evaluation, and educational purposes ("Permitted Uses"). The Product and Materials may not be used for any purpose other than for Permitted Uses, and may not be used by any other person or entity other than Licensee. Licensee may make up to two copies of the Product for backup and/or archival purposes. -2. License Restrictions. Licensee agrees not to: (a) copy or use the Product in any manner except as expressly permitted in this Agreement; (b) transfer, sell, rent, lease, distribute, or sublicense the Product to any third party; (c) use the Product for providing time-sharing services, service bureau services or as part of an application services provider or as a service offering; (d) reverse engineer (except as permitted by applicable law), disassemble, decompile the Products; (e) alter modify, enhance or prepare any derivative work from, the Product; (f) alter or remove any proprietary notices in the Product; or (g) make available to any third party any analysis of the results of operation of the Product, including benchmarking results, without the prior written consent of SpringSource. +1. GRANT AND USE RIGHTS FOR SOFTWARE. -3. Ownership. The Product and Materials are and shall remain the sole property of SpringSource and its licensors, and, except as expressly provided herein, SpringSource and its licensors retain all right, title and interest in and to the Product or Materials, including all intellectual property rights therein and thereto. +1.1 License. This Agreement grants You a limited, non-transferable, non-exclusive, limited right to use one copy of the Software in object code form for the sole purpose of evaluating the Software for purchase. "Software" means software products that are licensed to you under this Agreement, including, but not limited to, any related components provided with the Software, application programming interfaces, associated media, printed materials, online or electronic documentation, and any updates and maintenance releases thereto. Open source software components provided with the Software are licensed to you under the terms of the applicable license agreements included with such open source software components. The open source software licenses can be found in the open_source_licenses.txt file, other materials accompanying the Software, the documentation or corresponding source files available at http://www.vmware.com/download/open_source.html. -4. Requirements of Licensee. Licensee may provide feedback regarding the Product including without limitation any functionality issues, and errors, flaws, failures, or faults in the Product (collectively, "Feedback") via an online SpringSource forum or other method. Licensee hereby grants to SpringSource a perpetual, irrevocable, worldwide, sublicensable, transferable, royalty-free, fully-paid, right and license to use and exploit in any manner and for any purpose all Feedback and related information. +1.2 License Limitations. You may not copy the Software or remove any titles, trademarks or trade names, copyright notices, legends, or other proprietary markings on the Software. You are not granted any rights to any trademarks or service marks of VMware. VMware retains all rights not expressly granted to you in this Agreement. -5. Confidential Information. The Product and Materials contain Confidential Information and trade secrets of SpringSource and its licensors. "Confidential Information" means all software code and information furnished by SpringSource in oral, written or machine-readable form, disclosed as a result of this Agreement, and that should reasonably have been understood by Licensee, because of legends or other markings, the circumstances of disclosure or the nature of the information itself, to be proprietary and confidential to SpringSource, a SpringSource affiliate or other third party. Licensee will use the same standard of care to prevent unauthorized access to or disclosure of the Confidential Information that Licensee uses to prevent the disclosure of its own similar confidential information, but in no event less than a reasonable standard of care. Licensee will disclose the Confidential Information only to its employees with a need to know for the purposes of this Agreement. The restrictions of this Agreement on use and disclosure of Confidential Information shall not apply to information that becomes publicly known through no fault of the Licensee or its personnel. All obligations regarding Confidential Information received prior to the expiration or termination of this Agreement shall survive the expiration or termination of this Agreement. +1.3 Restrictions. You may not (i) use the Software for general production use, (ii) sell, lease, license, sublicense, distribute or otherwise transfer in whole or in part the Software to another party; (iii) provide, disclose, divulge or make available to, or permit use of the Software in whole or in part by, any third party without VMware's prior written consent; (iv) modify or create derivative works based upon the Software; or (v) create, develop, license, install, use, or deploy any third party software or services to circumvent, enable, modify or provide access, permissions or rights which violate the technical restrictions of the Software, any additional licensing terms provided by VMware via product documentation, notification, and/or policy change posted at http://www.vmware.com, and the terms of this Agreement. Except to the extent expressly permitted by applicable law, and to the extent that VMware is not permitted by that applicable law to exclude or limit the following rights, you may not decompile, disassemble, reverse engineer, or otherwise attempt to derive source code from the Software, in whole or in part. Before you exercise any rights that you believe to be entitled to based on mandatory law, you provide VMware with 30 days prior written notice at in...@vm... and provide all reasonably requested information to allow VMware to assess your claim and, at VMware's sole discretion, to provide alternatives that reduce any adverse impact on VMware's intellectual property or other rights. You may use the Software to conduct internal performance testing and benchmarking studies, the results of which you (and not unauthorized third parties) may publish or publicly disseminate; provided that VMware has reviewed and approved of the methodology, assumptions and other parameters of the study. Please contact VMware at ben...@vm... to request such review. -6. Warranty Disclaimer. THE PRODUCT AND THE MATERIALS ARE PROVIDED "AS IS" AND WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY, TITLE, NON-INFRINGEMENT, QUIET ENJOYMENT, ACCURACY OF DATA, SYSTEM INTEGRATION, COURSE OF PERFORMANCE AND FITNESS FOR A PARTICULAR PURPOSE. SPRINGSOURCE DOES NOT GUARANTEE OR WARRANT THAT THE USE OF THE PRODUCT WILL BE UNINTERRUPTED OR ERROR FREE. +2. TITLE. VMware retains all right, title, and interest in and to the Software and in all related copyrights, trade secrets, patents, trademarks, and any other intellectual and industrial property and proprietary rights, including registrations, applications, renewals, and extensions of such rights. -7. Limitation of Liability. IN NO EVENT WILL SPRINGSOURCE BE LIABLE FOR ANY CLAIM BASED UPON A THIRD PARTY CLAIM, OR ANY INCIDENTAL, CONSEQUENTIAL, SPECIAL, INDIRECT, EXEMPLARY OR PUNITIVE DAMAGES, WHETHER ARISING IN TORT, CONTRACT, OR OTHERWISE; OR FOR ANY DAMAGES ARISING OUT OF OR IN CONNECTION WITH ANY MALFUNCTIONS, DELAYS, LOSS OF DATA, LOST PROFITS, LOST SAVINGS, INTERRUPTION OF SERVICE, LOSS OF BUSINESS OR ANTICIPATORY PROFITS, EVEN IF SPRINGSOURCE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SPRINGSOURCE'S AGGREGATE AND CUMULATIVE LIABILITY ARISING OUT OF OR RELATING TO THIS AGREEMENT, REGARDLESS OF THE FORM OF THE CAUSE OF ACTION, WHETHER IN CONTRACT, TORT (INCLUDING WITHOUT LIMITATION NEGLIGENCE), STATUTE OR OTHERWISE WILL BE LIMITED TO DIRECT DAMAGES AND WILL NOT EXCEED ONE THOUSAND DOLLARS (US $1,000). THE ALLOCATIONS OF LIABILITY IN THIS SECTION 7 REPRESENT THE AGREED AND BARGAINED FOR UNDERSTANDING OF THE PARTIES, AND THE COMPENSATION OF SPRINGSOURCE FOR THE SERVICES PROVIDED HEREUNDER REFLECTS SUCH ALLOCATIONS. THE FOREGOING LIMITATIONS, EXCLUSIONS AND DISCLAIMERS ARE AN ALLOCATION OF THE RISK BETWEEN THE PARTIES AND WILL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, EVEN IF ANY REMEDY FAILS IN ITS ESSENTIAL PURPOSE. +3. SUPPORT AND SUBSCRIPTION SERVICES NOT INCLUDED -8. Term and Termination. The term of this Agreement will begin on the earlier of the date this Agreement is accepted by Licensee or Licensee's first use of the Product and end on the date this Agreement is terminated by either party. This Agreement may be terminated at any time by either party upon written notice to the other party. Upon termination or expiration of this Agreement, Licensee will use reasonable efforts to deinstall and destroy the Product or return the Product and Materials to SpringSource. Termination will not affect any claim, liability or right arising prior to termination. All rights and obligations granted under Sections 2, 3, 5, 6, 7, 8, 9 and 10 of this Agreement will survive the expiration or termination of this Agreement. +VMware will not provide any support services under this Agreement. This Agreement does not give you any rights to any updates or upgrades to the Software or to any extensions or enhancements to the Software developed by VMware at any time in the future. VMware may use any technical information you provide to VMware for any VMware business purposes without restriction, including for product support and development. VMware will not use information in a form that personally identifies you. -9. Government Rights. The Products under this Agreement are "commercial computer Products" as that term is described in DFAR 252.227-7014(a)(1). If acquired by or on behalf of a civilian agency, the U.S. Government acquires this commercial computer Products and/or commercial computer Products documentation subject to the terms and this Agreement as specified in 48C.F.R. 12.212 (Computer Products) and 12.11 (Technical Data) of the Federal Acquisition Regulations ("FAR") and its successors. If acquired by or on behalf of any agency within the Department of Defense ("DOD"), the U.S. Government acquires this commercial computer Products and/or commercial computer Products documentation subject to the terms of this Agreement as specified in 48 C.F.R. 227.7202 of the DOD FAR Supplement and its successors. Licensee will not export the Products in violation of the export laws of the United States or of any other country. +4. TERM AND TERMINATION -10. General. This Agreement constitutes the entire agreement between the parties concerning the subject matter hereof, notwithstanding any different or additional terms that may be contained in the form of purchase order or other document used by Licensee to place orders or otherwise effect transactions hereunder, which such terms are hereby rejected. This Agreement supersedes all prior or contemporaneous discussions, proposals and agreements between the parties relating to the subject matter hereof, provided that if Licensee has entered into or later enters into another valid agreement with SpringSource regarding the Product (whether or not such other valid agreement was physically executed by Licensee, including without limitation any "click-through" agreement or any applicable terms and conditions posted on any SpringSource website), then such other agreement shall supersede this Agreement. No amendment, modification or waiver of any provision of this Agreement will be effective unless in writing and signed by both parties. If any provision of this Agreement is held to be invalid or unenforceable, the remaining portions will remain in full force and effect and such provision will be enforced to the maximum extent possible so as to effect the intent of the parties and will be reformed to the extent necessary to make such provision valid and enforceable. No waiver of rights by either party may be implied from any actions or failures to enforce rights under this Agreement. Neither party will be liable to the other for any delay or failure to perform due to causes beyond its reasonable control (excluding payment of monies due). Unless otherwise specifically stated, the terms of this Agreement are intended to be and are solely for the benefit of SpringSource and Licensee and do not create any right in favor of any third party. This Agreement will be governed by and construed in accordance with the laws of the United States and the State of California without reference to its conflict of laws principles. A! ll dispu tes arising out of or relating to this Agreement will be submitted to the exclusive jurisdiction of a court of competent jurisdiction located in the Northern District of California or a state court located in San Francisco, California, and each party irrevocably consents to such personal jurisdiction and waives all objections to this venue. All notices must be in writing and will be effective three (3) days after the date sent. - -Updated April 14, 2009 \ No newline at end of file +4.1 Term and Termination. Unless earlier terminated in accordance with this Agreement, this Agreement shall terminate upon expiration of the applicable trial period after You download the Software. VMware may terminate this Agreement immediately and without notice if you fail to comply with any term of this Agreement. + +4.2 Effect of Termination. Upon expiration or termination of this Agreement for any reason, any right, license or permission granted to You with respect to the Software shall immediately terminate and You shall: (i) immediately cease use of the Software, in whole or in part; and (ii) fully destroy, delete and/or uninstall any copy of the Software installed or copied by You. The provisions regarding confidentiality, ownership, exclusion of warranty, limitation of liability, and the general provisions in Section 9 will survive termination or expiration of this License. + +5. EXCLUSION OF WARRANTY AND LIMITATION OF LIABILITY + +5.1 EXCLUSION OF WARRANTY. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE MANDATORY LAW, VMWARE AND ITS LICENSORS PROVIDE THE SOFTWARE WITHOUT ANY WARRANTIES OF ANY KIND, EXPRESS, IMPLIED, STATUTORY, OR IN ANY OTHER PROVISION OF THIS AGREEMENT OR COMMUNICATION WITH YOU, AND VMWARE AND ITS LICENSORS SPECIFICALLY DISCLAIM ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. + +5.2 LIMITATION OF LIABILITY. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE MANDATORY LAW, IN NO EVENT WILL VMWARE AND ITS LICENSORS BE LIABLE FOR ANY LOST PROFITS OR BUSINESS OPPORTUNITIES, LOSS OF USE, BUSINESS INTERRUPTION, LOSS OF DATA, OR ANY OTHER INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES UNDER ANY THEORY OF LIABILITY, WHETHER BASED IN CONTRACT, TORT, NEGLIGENCE, PRODUCT LIABILITY, OR OTHERWISE. BECAUSE SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, THE PRECEDING LIMITATION MAY NOT APPLY TO YOU. VMWARE AND ITS LICENSORS' LIABILITY UNDER THIS AGREEMENT WILL NOT, IN ANY EVENT, EXCEED THE LICENSE FEES, IF ANY, PAID BY YOU FOR THE SOFTWARE LICENSED TO YOU UNDER THIS AGREEMENT. THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, REGARDLESS OF WHETHER VMWARE OR ITS LICENSORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND REGARDLESS OF WHETHER ANY REMEDY FAILS OF ITS ESSENTIAL PURPOSE. + +6. GENERAL + +6.1 Entire Agreement. This Agreement sets forth VMware's entire liability and your exclusive remedy with respect to the Software and supersedes the terms of any communications or advertising with respect to the Software. You acknowledge that this Agreement is a complete statement of the agreement between you and VMware with respect to the Software, and that there are no other prior or contemporaneous understandings, promises, representations, or descriptions with respect to the Software. + +6.2 Headings. Headings under this Agreement are intended only for convenience and shall not affect the interpretation of this Agreement. + +6.3 Waiver and Modification. No failure of either party to exercise or enforce any of its rights under this Agreement will act as a waiver of those rights. This Agreement may only be modified, or any rights under it waived, by a written document executed by the party against which it is asserted. + +6.4 Severability. If any provision of this Agreement is found illegal or unenforceable, it will be enforced to the maximum extent permissible, and the legality and enforceability of the other provisions of this Agreement will not be affected. + +6.5 Governing Law. This Agreement will be governed by California law and the United States of America, without regard to its choice of law principles. The United Nations Convention for the International Sale of Goods shall not apply. + +6.6 Government Restrictions. You may not export or re-export the Software except in compliance with the United States Export Administration Act and the related rules and regulations and similar non-U.S. government restrictions, if applicable. The Software and accompanying documentation are deemed to be "commercial computer software" and "commercial computer software documentation," respectively, pursuant to DFAR Section 227.7202 and FAR Section 12.212(b), as applicable. Any use, modification, reproduction, release, performing, displaying, or disclosing of the Software by the U.S. Government shall be governed solely by the terms of this Agreement. + +6.7 Contact Information. If you have any questions about this Agreement, or if you want to contact VMware for any reason, please direct all correspondence to: VMware, Inc., 3401 Hillview Avenue, Palo Alto, CA 94304, United States of America or email in...@vm.... + +6.8 Other. VMware and VMTN are trademarks and/or registered trademarks of VMware, Inc. in the United States and/or various jurisdictions. \ No newline at end of file |
From: Faur Ioan-A. <fi...@gm...> - 2010-03-11 18:12:44
|
Hi! Folks we have some problem's down here with SIGAR api.We are kind of novice so please give some help! I'm using ubuntu i have java installed and i want to make a little app that show me the cpu load and free memory available.So i downloaded the sigar api from this link [link]http://sourceforge.net/projects/sigar/files/sigar/1.6/hyperic-sigar-1.6.3.zip/download[/link] I extracted from the zip but i'm confuse :what to do from now on?(what to do with those jar files from lib director?).How can i compile an app that use this api.For example how to compile CpuInfo.java from ../hyperic-sigar-1.6.3/bindings/java/examples/ Please help us! |
From: Faur Ioan-A. <fi...@gm...> - 2010-03-11 18:12:41
|
Here i came back!After a sleep less night i finally get something to work! After a lot of research's i finally put some working code.Here's the trick for all of us ,the beginer's in java world! Let's say that you want to compile and run some of the standard examples that come with sigar api.So you have this directory where is put the examples:[code]../hyperic-sigar-1.6.3/bindings/java/examples[/code] Now you open a terminal and do a cd to the structure above.Now you should copy the [code]sigar.jar[/code] from the [code]../hyperic-sigar-1.6.3/sigar-bin/lib[/code] in to the examples directory. Now in you'r terminal opene'd to the ../examples type this command to compile a class.I'll take the CpuInfo.java class.So type this:[code]javac -cp "sigar.jar" CpuInfo.java[/code] Acording to man page's the -cp "sigar.jar" mean:"Specify where to find user class files" for more info check up the[code] man javac[/code] Now you need to run the class so type:[code]java -jar sigar.jar CpuInfo[/code].Again for more info do [code]man java[/code] And i think that's all.This i think should work even on the window's machine. Cheer's1 |
From: Denis S. <sig...@hy...> - 2010-03-11 18:12:40
|
I have looked through the examples, but haven't found something suitable. |
From: Colin G. <sig...@hy...> - 2010-03-11 18:12:39
|
Hi, Just stumbled across Sigar today and have been very impressed at what I've seen. One query I have is can I use Sigar to get the BIOS serial number and the HDD serial number? Thanks Colin |