Code Monkey home page Code Monkey logo

chef-munin-java-plugins's Introduction

munin-java-plugins Cookbook

Installs and configures munin java plugins

Requirements

packages

  • munin - munin-java-plugins needs the munin recipe

Attributes

Usage

munin-java-plugins::default

Just include munin-java-plugins in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[munin-java-plugins]"
  ]
}

The munin java plugins leverage JMX to communicate to the JVM about the state of your application.

The recipe will automatically detect any running java processes in your ps tree and find the JMX port it is using. It will specifically look for jmxremote.port=(\d+),

Example JVM argument: -Dcom.sun.management.jmxremote.port=7199

If it finds the port, which in this case is 7199, the recipe will create a plugin configuration file (generally located in /etc/munin/plugin-conf.d). Munin reads these files alphabetically and takes the last configuration block. Thus munin-node-jmx will be read after munin-node (package installed file), and if you need any further configuration, create a file in this directory to be read after munin-node-jmx.

If no port is found, the munin java plugins will be installed but not setup to run (i.e. no symlink from /etc/munin/plugins to the plugin)

Note: This recipe is written for only 1 JMX per host. Further improvement is needed to support more than one per host.

Contributing

License and Authors

Authors: didier deshommes

chef-munin-java-plugins's People

Contributors

codywilbourn avatar dfdeshom avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.