Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhongl/atmonitor
JSMX is a simple demo of monitor & management solution with JMX
https://github.com/zhongl/atmonitor
Last synced: 2 months ago
JSON representation
JSMX is a simple demo of monitor & management solution with JMX
- Host: GitHub
- URL: https://github.com/zhongl/atmonitor
- Owner: zhongl
- Created: 2011-07-20T11:10:09.000Z (over 13 years ago)
- Default Branch: ztrace
- Last Pushed: 2011-08-26T07:58:17.000Z (over 13 years ago)
- Last Synced: 2024-10-03T10:48:29.132Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 837 KB
- Stars: 21
- Watchers: 8
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
Awesome Lists containing this project
README
h1. What's JSMX
JSMX is a simple demo of monitor & management solution with JMX, it includes:
# declaring mbean, which used "pojo-mbean":http://code.google.com/p/pojo-mbean/;
# real-time web console, which used "jolokia":http://www.jolokia.org and "highcharts":http://www.highcharts.com;
# integrating with "ganglia":http://ganglia.info , which used "jmxetric":http://code.google.com/p/jmxetric/;
# runtime dynamic trace invocation, which used "asm":http://asm.ow2.org.h1. How to Run Demo
# git clone [email protected]:zhongl/jsmx.git;
# import it to eclipse;
# make sure ganglia-3.1.x has been set up("how to set up":http://sourceforge.net/apps/trac/ganglia/wiki/ganglia_configuration );
# make sure "hostname" and "port" in jsmx/demo/etc/jmxetric.xml pointed to gmond;
# run jsmx/demo/realtime-monitor-management-demo.launch;
** use your web browser open jsmx/core/src/main/resourcse/dashboard.html, then you can see the real-time web console;
# run jsmx/demo/ganglia-demo.launch
** use your web browser open ganglia web(eg: "http://localhost/ganglia":http://localhost/ganglia ), then you can see mbean state trends in ganglia.
# run jsmx/demo/ztrace.launch
** run jconsole, and connect to Demo process;
** go to MBean->jsmx;
** click Demo->Attributes, you can see nothing show at console but loaded message;
** invoke ProbeInstrumentor->Operations->addProbeClass: com.github.zhongl.jsmx.demo.Demo$ManagableServer;
** invoke ProbeInstrumentor->Operations->probe;
** click Demo->Attributes again, you can see trace log at console now;
** invoke ProbeInstrumentor->Operations->reset;
** click Demo->Attributes again, you can see no more trace log at console.Enjoy it!