Saturday, May 12, 2012

Hyperic Plugin HowTo

http://support.hyperic.com/display/hyperforge/Deploying+Plugins+-+Basic+How+To


you must deploy the plugin on both the server and agent side

server and agent:

Windows
C:\pierre\hypericserver\server-4.6.5-EE\hq-engine\hq-server\webapps\ROOT\WEB-INF\hq-plugins
c:\pierre\hypericagent\agent-4.6.5-EE\bundles\agent-4.6.5\pdk\plugins

Linux
/opt/hyperic/server/server-4.6.5-EE/hq-engine/hq-server/webapps/ROOT/WEB-INF/hq-plugins
/opt/hyperic/agent/agent-4.6.5-EE/bundles/agent-4.6.5/pdk/plugins



http://support.hyperic.com/display/DOCS46/JMX+Plugin+Tutorial

see immediately this for help http://communities.vmware.com/message/1939306
"I tried running the commands with the argument -Dproc.java.home= and it is able to match the processes running."

(of course Hyperic documentation make a lot of blablabla but they forget to tell you clearly how to set each property, and leave to you the reverse engineering of their product...)

this is a SERVER plugin ("Java"), exposing SERVICES ("Java GC")

Here how to get the HQ source code:
svn co http://svn.hyperic.org/projects/hq/trunk hyperic-hq


How to have SIGAR discover a WebLogic server:

ps State.Name.eq=java,CredName.User.eq=soa,Args.*.ct=-Dweblogic.Name=osbpp1ms1

where osbpp1ms1 is the server name

No comments: