vCenter

 View Only
Expand all | Collapse all

Wall Mount plugin updates

jzola_hyperic

jzola_hypericApr 27, 2011 02:56 PM

jzola_hyperic

jzola_hypericApr 29, 2011 02:40 PM

jzola_hyperic

jzola_hypericApr 29, 2011 02:40 PM

jzola_hyperic

jzola_hypericApr 29, 2011 02:41 PM

Argon0_hyperic

Argon0_hypericMay 16, 2011 09:40 AM

carecuties

carecutiesAug 25, 2011 04:21 PM

  • 1.  Wall Mount plugin updates

    Posted Apr 18, 2011 05:26 PM
    There is a new community project around my old wall mount hqu plugin which is now totally revamped. There is a first milestone release available for people who like to see a preview what's going to be in it when actual release 1.0 comes out from the oven.

    http://support.hyperic.com/display/hypcomm/HQU+Wall+Mount+Visualizer

    Technology used in this plugin is looking into the future and not past. Although it's totally javascript based it's still using SVG graphics and e.g. old IE versions are not supported(due to missing SVG support).

    When time is right, I'm going to add more information for developers who possibly like to participate.

    Any feedback/ideas are welcome ;)


  • 2.  RE: Wall Mount plugin updates

    Posted Apr 19, 2011 09:46 AM
    Thank you! We will try it.

    UPDATE:
    I receive following error:
    Opensource HypericHQ 4.5.1
    perviously wallmount installed.

    2011-04-19 11:55:03,870 WARN [Thread-6] [org.hyperic.hq.ui.server.session.UIPluginDeployer@81] Unable to add plugin in [/opt/hyperichq/server-4.5.1/hq-engin
    e/hq-server/webapps/ROOT/hqu/wmvisualizer]
    org.springframework.jdbc.UncategorizedSQLException: Hibernate flushing: Could not execute JDBC batch update; uncategorized SQLException for SQL [insert into
    EAM_UI_VIEW (VERSION_COL, PATH, DESCRIPTION, ATTACH_TYPE, UI_PLUGIN_ID, ID) values (?, ?, ?, ?, ?, ?)]; SQL state []; error code [0]; Batch entry 0 insert in
    to EAM_UI_VIEW (VERSION_COL, PATH, DESCRIPTION, ATTACH_TYPE, UI_PLUGIN_ID, ID) values (0, E'/wallmount/index.hqu', E'Wall Mount Visualizer', 1, 10022, 1001
    5) was aborted. Call getNextException to see the cause.; nested exception is java.sql.BatchUpdateException: Batch entry 0 insert into EAM_UI_VIEW (VERSION_C
    OL, PATH, DESCRIPTION, ATTACH_TYPE, UI_PLUGIN_ID, ID) values (0, E'/wallmount/index.hqu', E'Wall Mount Visualizer', 1, 10022, 10015) was aborted. Call get
    NextException to see the cause.
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
    at org.springframework.orm.hibernate3.HibernateTransactionManager.convertJdbcAccessException(HibernateTransactionManager.java:805)
    at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:791)
    at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:664)
    at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754)
    at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
    at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:412)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:118)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
    at $Proxy59.addPluginDir(Unknown Source)
    at org.hyperic.hq.ui.server.session.UIPluginDeployer$1.fileAdded(UIPluginDeployer.java:79)
    at org.hyperic.util.file.DirWatcher.run(DirWatcher.java:74)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.sql.BatchUpdateException: Batch entry 0 insert into EAM_UI_VIEW (VERSION_COL, PATH, DESCRIPTION, ATTACH_TYPE, UI_PLUGIN_ID, ID) values (0, E
    '/wallmount/index.hqu', E'Wall Mount Visualizer', 1, 10022, 10015) was aborted. Call getNextException to see the cause.
    at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2545)
    at org.postgresql.core.v2.QueryExecutorImpl$2.handleError(QueryExecutorImpl.java:283)
    at org.postgresql.core.v2.QueryExecutorImpl.processResults(QueryExecutorImpl.java:480)
    at org.postgresql.core.v2.QueryExecutorImpl.execute(QueryExecutorImpl.java:364)
    at org.postgresql.core.v2.QueryExecutorImpl.execute(QueryExecutorImpl.java:291)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2682)
    at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
    at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
    at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:92)
    at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:87)
    at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2237)
    at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2665)
    at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:60)
    at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
    at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
    at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
    at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
    at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
    at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
    at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
    at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
    at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:656)
    ... 10 more

    null


  • 3.  RE: Wall Mount plugin updates

    Posted Apr 19, 2011 12:17 PM
    Oh, could it possibly be that plugins attach links doesn't play along nicely. Would you like to test this scenario by removing old plugin and also remove attach point using plugin_mon http://support.hyperic.com/display/hypcomm/HQU+Plugin+Mon. (Attach points are not automatically removed if plugin is just deleted)

    Both plugins are using internal link of "wallmount/index.hqu", although external links are different because those are pre-fixed with plugin name.

    If this is the case it's easy to fix.

    Thx


  • 4.  RE: Wall Mount plugin updates

    Posted Apr 20, 2011 08:41 AM
    Thank you!

    It works now.

    plugin mon not working for me, but I renamed wallmount record in eam_ui_view table.


  • 5.  RE: Wall Mount plugin updates

    Posted Apr 20, 2011 09:14 AM
    ok, thx. that was it...

    I'll fix that to next release.


  • 6.  RE: Wall Mount plugin updates

    Posted Apr 20, 2011 12:00 PM
    We are using it on a big screen,cool.

    One more suggestion/feature comes in my mind:
    black background, like wallmount day night mode


  • 7.  RE: Wall Mount plugin updates

    Posted Apr 20, 2011 03:15 PM
    That is planned. Actually planned to be within a bigger layout theme framework. It's #1 item in github ticket list https://github.com/hyperic/wallmount/issues

    Anyway, this ticket list is a good place to track what's happening around different topics.


  • 8.  RE: Wall Mount plugin updates

    Posted Apr 26, 2011 07:48 AM
    Right, just made milestone 2 release. Please read release notes http://support.hyperic.com/display/hypcomm/WMV+Release+Notes.

    Some bug fixes and experimental support for layout themes. There's one screenshot (black background) in gallery showing how slick the layout becomes. http://support.hyperic.com/display/hypcomm/WMV+Screenshot+Gallery


  • 9.  RE: Wall Mount plugin updates

    Posted Apr 27, 2011 02:56 PM
    thanks, we will try it..


  • 10.  RE: Wall Mount plugin updates

    Posted Apr 29, 2011 02:40 PM
    It works very well!


  • 11.  RE: Wall Mount plugin updates

    Posted Apr 29, 2011 02:40 PM
    It works very well!


  • 12.  RE: Wall Mount plugin updates

    Posted Apr 29, 2011 02:41 PM
    It works very well!


  • 13.  RE: Wall Mount plugin updates

    Posted May 05, 2011 08:44 AM
    Sorry for duplication messages, i dont know how post it..

    Feed back:
    We put on wallmount three spinner object.
    The problem is browser eat cpu and ram. And some hours later stopped completely.
    Firefox eat 1GB RAM.
    Chrome 512..

    No other page is opened in the browser and nothing other running on windows xp.


  • 14.  RE: Wall Mount plugin updates

    Posted May 06, 2011 10:19 AM
    Yeah, I've been tracking down some of these memory leaks. I believe I know what's happening here since I recently found one leak from Spinner widget. It should be fixed in next release.

    Hopefully it also fixes issue with firefox. At least I was able to verify that fix works with chrome which has a little better tools for memory profiling compared to FF.


  • 15.  RE: Wall Mount plugin updates

    Posted May 05, 2011 03:35 PM
    <erm> Just got this installed, looks promising, only thing is...

    Cannot work out how to change widget type, OR how to delete widgets from the screen.

    http://support.hyperic.com/x/eYF1B mentions the pipe widget, and says to change the widget type, but I can't see the option to change widget type anywhere.

    I am using Chrome 11.0.xxx on XP...

    Ah that's be why then... Firefox 4 works fine - right click brings up a menu where you can change this...

    USE FIREFOX
    Message was edited by: Argon0


  • 16.  RE: Wall Mount plugin updates

    Posted May 05, 2011 03:40 PM
    Nope, it was me... I must have been clicking on the wrong bit of the widget, as now in Chrome it works when I right click on the body of the widget... Nice...


  • 17.  RE: Wall Mount plugin updates

    Posted May 06, 2011 09:51 AM
    Works really nicely, thanks!

    It has pointed out a problem with Hyperic HQ though - all our 1 minute measured services show red once every 5 minutes - due to Hyperic missing every 5th measurement, for some reason...


  • 18.  RE: Wall Mount plugin updates

    Posted May 06, 2011 10:22 AM
    Could you give me a bit more info? Is this happening only in one spesific resource type or generally throughout all resources? And what are the collection intervals for that resource(I assume 1 min)?


  • 19.  RE: Wall Mount plugin updates

    Posted May 06, 2011 12:12 PM
    This wasn't a Wallmount issue but a Hyperic/OS issue.

    See here: http://communities.vmware.com/message/1947688#1947688

    Basically our HQ server was ~ 114s behind our Windows servers, and was, I think, therefore missing one measurement every 5 minutes...


  • 20.  RE: Wall Mount plugin updates

    Posted May 06, 2011 12:32 PM
    By the way is there an easy way to put in a line break, rather than:
    a) putting single floaters in
    b) having new windows


  • 21.  RE: Wall Mount plugin updates

    Posted May 06, 2011 12:38 PM
    OK, small bug with Floaters...

    If you put something in a floater, then take it out the floater is reduced to a single point, which you (or at least I) can't get rid of.. I guess one could edit the HTML, which would also allow me to put in a
    or

    to give seperate lines... hmmm...


  • 22.  RE: Wall Mount plugin updates

    Posted May 13, 2011 10:43 AM
    Yeah it's a bug. It's in my todo list.


  • 23.  RE: Wall Mount plugin updates

    Posted May 13, 2011 10:41 AM
    Not really. I've been thinking about this but haven't found any good solution. It's nice that window handles the component positioning but then we don't have control over the exact positioning.

    If somebody has any wild ideas, feel free to post suggestions.


  • 24.  RE: Wall Mount plugin updates

    Posted May 13, 2011 02:29 PM
    How about having 3 types of windows.

    1) Floaters
    2) Windows as is
    3) Table windows, where you specify how many cells you're going to have. HTML should be able to give us this... (actually this could be done by combining Floaters and Windows...)

    Argon0


  • 25.  RE: Wall Mount plugin updates