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 file and load jetty support scripts:

 scripts = jvm.bsh, zabbix.bsh, eclipse/jetty.bsh
  • edit <server-home>/bin/ 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 if necessary (log files, listen port number etc.);

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

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

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.