Parleys.com Search Index

Home | Devoxx | Devoxx'11
Title: JMX on Capsaicin

Description:
Jolokia is a JMX-HTTP bridge giving an alternative to JSR-160 connectors. It is an agent based approach for remote JMX access with support for many platforms. In contrast to standard JSR 160 connectors, the communication between client and agent goes over HTTP where the payload is represented in JSON. In addition to basic JMX operations Jolokia enhances JMX remoting with unique features like bulk requests or fine grained security policies.

Speaker(s): Roland Huss

Keyword(s): JMX

Slide Content:
0) ding of attributes Writing of attributes Execution of operations Pattern search for MBeans
1) Request Types version read write exec search list Version and server information Reading of attributes Writing of attributes Execution of operations Pattern search for MBeans MBean meta data
2) Proxy Request { "attribute" : "HeapMemoryUsage", "mbean" : "java.lang:type=Memory", "target": { "url" : "service:jmx:iiop://websphere:2810/jndi/JMXConnector" "user" : "roland", "password" : "s!cr!t" }, "type" : "READ" }
3) Security
4) Security · JSR-160 Security ­ Java Security and JAAS · Jolokia Security
5) Security · JSR-160 Security ­ Java Security and JAAS · Jolokia Security ­ HTTP Security ­ Access Control with Policy Files
6) Security · JSR-160 Security ­ Java Security and JAAS · Jolokia Security ­ HTTP Security ­ Access Control with Policy Files · Network location
7) Security · JSR-160 Security ­ Java Security and JAAS · Jolokia Security ­ HTTP Security ­ Access Control with Policy Files · Network location · Command types
8) Security · JSR-160 Security ­ Java Security and JAAS · Jolokia Security ­ HTTP Security ­ Access Control with Policy Files · Network location · Command types · MBean, attribute and operation names
9) Clients
10) Clients Perl Javascript Jmx4Perl Jolokia
11) Clients Perl Javascript Java Python Jmx4Perl Jolokia Jolokia Jmx4Py Jürgen Herrmann
12) Clients Perl Javascript Java Python Node.js Groovy Scala ..... Jmx4Perl Jolokia Jolokia Jmx4Py jolokia-client Jürgen Herrmann Joachim Kainz You ?
13) Javascript Demo
14) Javascript var j4p = new Jolokia("/jolokia"); var data = []; function run() { j4p.request({ type: "read", mbean: "java.lang:type=Memory", attribute: "HeapMemoryUsage" }, { success: function(resp) { data.push([resp.timestamp,resp.value.used]); $.plot($("#memory"),[data],{ xaxis: { mode: "time" }}); setTimeout(run,1000); } }); } run();
15) Tools
16) Tools jmx4perl CLI Tool
17) Tools jmx4perl check_jmx4perl cacti_jmx4perl CLI Tool Nagios Plugin Cacti Plugin
18) Tools jmx4perl check_jmx4perl cacti_jmx4perl j4psh CLI Tool Nagios Plugin Cacti Plugin JMX Shell
19) Tools jmx4perl check_jmx4perl cacti_jmx4perl j4psh AccessJ CLI Tool Nagios Plugin Cacti Plugin JMX Shell iPhone Client
20) Tools jmx4perl check_jmx4perl cacti_jmx4perl j4psh AccessJ Roo Addon CLI Tool Nagios Plugin Cacti Plugin JMX Shell iPhone Client Spring Roo Addon
21) j4psh
22) Wrap up
23) Wrap up · JMX is good
24)
25)
26)
27)
28)
29)
30)
31)
32)
33)
34)
35)
36)
37)
38)
39)
40)
41)
42)
43)
44)
45)
46)
47)
48)
49)
50)
51)
52)
53)
54)
55)
56)
57)
58)
59) Bulk Requests [ { "type" : "read", "mbean" : "java.lang:type=Memory", "attribute" : "HeapMemoryUsage", "path" : "used", }, { "type" : "search", "mbean" : "*:type=Memory,*" } ]
60) Tools jmx4perl check_jmx4perl CLI Tool Nagios Plugin
61) Wrap up · JMX is good · JSR-160 connectors are bad · Jolokia ... ... is a JSON-HTTP adaptor to JMX ... has unique features ... allows for non-Java clients ... has good tool support
62)
63)
64)
65)
66)
67)
68)
69)
70)
71)
72)
73)
(c) Parleys.com NV, 2006-2011 | Blog | Wiki | Follow Us