Jetty

Jetty script has been tested with Jetty 9.x on JDK7.

In order to install zorka agent on Jetty:

  • unpack zorka binary distribution in jetty directory and (optionally) rename unpacked directory to zorka;

  • edit zorka.properties file and load jetty support scripts:

 scripts = jvm.bsh, zabbix.bsh, eclipse/jetty.bsh
  • edit <server-home>/bin/jetty.sh and add the following line at the end:
 JAVA_OPTIONS="$JAVA_OPTIONS -javaagent:<zorka-home>/agent.jar=<zorka-home>"
  • if application is running on JDK7, add -XX:-UseSplitVerifier to java options;

  • adjust zorka.properties if necessary (log files, listen port number etc.);

  • for JDK7 add zorka.spy.compute.frames = yes to zorka.properties or -XX:-UseSplitVerifier to JVM startup options;

  • for JDK8 add zorka.spy.compute.frames = yes to zorka.properties;

Configuration settings

Jetty integration script implements standard HTTP monitoring, so standard options for HTTP do apply. Also, consider SQL and/or LDAP monitoring if your application uses SQL database(s) or LDAP. There are no other specific settings for Jetty.

Zabbix templates

There are no jetty-specific templates so far. Use general templates for HTTP, SQL and LDAP.