jolosrv
A jolokia JMX to ganglia service
Last updated 7 years ago by seryl .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install jolosrv 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.0                                ...           latest (7 years ago)

12 Versions

  • 0.1.0                                ...           7 years ago
  • 0.0.12                                ...           7 years ago
  • 0.0.11                                ...           7 years ago
  • 0.0.10                                ...           7 years ago
  • 0.0.9                                ...           7 years ago
  • 0.0.8                                ...           7 years ago
  • 0.0.7                                ...           7 years ago
  • 0.0.6                                ...           7 years ago
  • 0.0.5                                ...           7 years ago
  • 0.0.4                                ...           7 years ago
  • 0.0.3                                ...           7 years ago
  • 0.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 13
Dependencies (10)
Dev Dependencies (5)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |