Giter VIP home page Giter VIP logo

open-falcon-plugins's Introduction

open-falcon-plugins

open-falcon 数据采集脚本

需要执行权限

sudo chmod +x 60_*

jvm monitor

JVM options, rmi.port 可以不写

-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.rmi.port=7088 \
-Dcom.sun.management.jmxremote.port=10053 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=false

test

groovy script test (Deprecated)

install groovy first

run test from commandline

groovy -cp ./src test/CatalinaMonitorTest.groovy dump

golang JSON unmarshal test

set TMPDIR environment before run test

export TMPDIR=`pwd`

run golang json unmarshal test

go get github.com/open-falcon/common/model
go test test/json_unmarshal_test.go -v

data format

[
    {
        "CounterType": "GAUGE",
        "Endpoint": "web-PC",
        "Timestamp": 1487059682,
        "Step": 60,
        "TAGS": "domain=java.lang,type=Threading,name=ThreadCount",
        "Metric": "jvm.java.lang.Threading.ThreadCount",
        "Value": 140
    },
    {
        "CounterType": "COUNTER",
        "Endpoint": "web-PC",
        "Timestamp": 1487059682,
        "Step": 60,
        "TAGS": "domain=Catalina,type=GlobalRequestProcessor,name=requestCount",
        "Metric": "jvm.Catalina.GlobalRequestProcessor.requestCount",
        "Value": 1166
    }
    ...
]

open-falcon-plugins's People

Contributors

lemon9921010 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.