public
Description: Finger Daemon which Queries JMX
Homepage:
Clone URL: git://github.com/brianm/mxfingerd.git
mxfingerd / README
100644 39 lines (25 sloc) 1.231 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Building:
    Install Maven 2 from http://maven.apache.org/
 
    run
        $ mvn assembly:assembly
 
    This will create target/mxfingerd-1.0-jar-with-dependencies.jar
 
 
Running:
    As root (bad idea, but hey!)
        $ sudo java -jar target/mxfingerd-1.0-jar-with-dependencies.jar
 
    As non-root
        $ java -jar target/mxfingerd-1.0-jar-with-dependencies.jar
 
    When run as root it will bind to port 79
    When run as non root it will bind to 7979
        You will need to forward port 7979 to 79 for finger client
 
Queries, if daemon is running on the server "bang", look like:
 
-- list all mbeans on javathing.com
$ finger @javathing.com@mxfingerdhost.com
 
-- all attributes on the org.skife.wombat:name=FuzzyThing mbean on javathing.com
$ finger org.skife.wombat:name=FuzzyThing@javathing.com@mxfingerdhost.com
 
-- ResponseCacheEnabled attribute on the org.skife.wombat:name=FuzzyThing
-- mbean on javathing.com
$ finger org.skife.wombat:name=FuzzyThing#ResponseCacheEnabled@javathing.com@mxfingerdhost.com
 
If no port is specified on javathing.com it will try to connect to 8989,
alternately you can specify a port, a la
 
$ finger @javathing.com:3000@mxfingerdhost.com
 
There is nothing for auth at this point.