Skip to content

OpenCSI/openam-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenAM Monitoring

This project is a WAR file to deploy on the same container than OpenAM. The goal is to send JVM and OpenAM metrics to Graphite, which include:

  • Tomcat servlets (for Tomcat 6 and 7)
  • JVM Memory
  • JVM Garbage collector
  • OpenAM authentication (success and failures)
  • OpenAM sessions

Configuration

By default, data will be sends to localhost, port 2003. Console appender is disabled.

Graphite

To configure where send data, create (or modify) $TOMCAT_HOME/bin/setenv.sh (make it executable) to have:

CATALINA_OPTS+="-Dgraphite.host=graphite.example.com -Dgraphite.port=2003"

You can modify the namePrefix, default is jmx.#hostname#. If needed, you can disable graphite appender with -Dgraphite.enabled=false.

Console appender

To enable console appender (mainly for debug purposes), add -Dconsole.enabled=true to CATALINA_OPTS. On Tomcat, logs will appears in catalina.log.

Integration

Grafana dashboard

Grafana

Import the dashboard into your kibana and adjust data to match your server or edit the file to replace jmx.sso by the correct prefix, like java.server.

About

A JMXEmbedded WAR to send OpenAM metrics to graphite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published