0.1.0 • Published 11 years ago

jolosrv v0.1.0

Weekly downloads
49
License
-
Repository
github
Last release
11 years ago

build status

node-jolosrv

A jolokia JMX to ganglia service

REST Interface

Getting the version

curl -sL localhost:3000

Getting the list of clients

curl -sL localhost:3000/clients

Creating a client

curl -sL -H "Content-Type: application/json" -X POST localhost:3000/clients -d '
{
  "name": "zoidberg",
  "url": "http://localhost:1234/jolokia"
}'

Updating a client

curl -sL -H "Content-Type: application/json" -X POST localhost:3000/clients -d '
{
  "name": "zoidberg",
  "url": "http://localhost:1234/jolokia",
  "attributes": {
    "java.lang": {
      "name=ConcurrentMarkSweep,type=GarbageCollector": {
        "CollectionTime": {
          "graph": {
            "host": "examplehost.domain.com",
            "units": "gc/sec",
            "slope": "both",
            "tmax": 60,
            "dmax": 180
          }
        }
      }
    }
  }
}'

Getting detailed information for a client

curl -sL localhost:3000/clients/zoidberg

Getting detailed information for all clients

curl -sL localhost:3000/clients/zoidberg -d 'info=true'

Removing attributes for a client

curl -sL -X DELETE localhost:3000/clients/zoidberg/attributes

Removing a client

curl -sL -X DELETE localhost:3000/clients/zoidberg
0.1.0

11 years ago

0.0.12

11 years ago

0.0.11

11 years ago

0.0.10

11 years ago

0.0.9

11 years ago

0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.1

11 years ago