Coder Social home page Coder Social logo

docker_centos_nagios's Introduction

Readme

https://github.com/paoloantinori/dockercentosnagios
https://index.docker.io/u/pantinor/centos-nagios-jmx/

description

Centos based container that provides Nagios + plugins and sample configuration and scripts to monitor Java Application Servers/Container(JBoss AS, Fuse ESB, Tomcat...) via JMX over HTTP using jolokia.

  • Installs nagios through EPEL repository
  • Installs perl4jmx nagios plugin to monitor JMX based java application
  • Provide sample nagios checks for perl4jmx
  • Installs a perl script to debug nagios custom commands
build
# you can skip this and download the image directly from Docker public registry
# https://index.docker.io/u/pantinor/centos-nagios-jmx/
docker build -t pantinor/centos-nagios-jmx .
run
docker run -i -t -p 11111:80 pantinor/centos-nagios-jmx
nagios test
curl -u nagiosadmin:nagiosadmin http://127.0.0.1:11111/nagios/
# it could be that you need to open some port on your host firewall,
# ex. 
# sudo iptables -A INPUT -p tcp  --dport 8012 -j ACCEPT
check_p4jmx test
/usr/local/bin/check_jmx4perl --user=admin --password=admin \
    -u http://172.17.42.1:8012/jolokia \
    --alias MEMORY_HEAP_USED \
    --base MEMORY_HEAP_MAX \
    --warning 80 \
    --critical 90
j4psh test
j4psh --user admin --password admin http://172.17.42.1:8012/jolokia
configuration

/etc/nagios/conf.d/commands_p4jmx.cfg
/etc/nagios/conf.d/services.cfg
/var/log/nagios/spool - working folder for check_bundle_by_name.py plugin

docker_centos_nagios's People

Contributors

paoloantinori avatar

Watchers

Dmytro Gordiienko 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.