<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.open-xchange.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Felix.Marx</id>
	<title>Open-Xchange - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.open-xchange.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Felix.Marx"/>
	<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=Special:Contributions/Felix.Marx"/>
	<updated>2026-06-30T19:12:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=AppSuite:Grizzly&amp;diff=21078</id>
		<title>AppSuite:Grizzly</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=AppSuite:Grizzly&amp;diff=21078"/>
		<updated>2015-12-09T08:58:46Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: /* Apache configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;Grizzly&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
= Grizzly based backend =&lt;br /&gt;
Up to OX App Suite we were limited to AJP based communication between the HTTP server and the OX backend server. Starting with the release 7.0.1 of OX App Suite, we offer a second HTTP based connector for the communication between the HTTP server and the backend. This new connector is based on Oracle's '''[http://grizzly.java.net Project Grizzly]''' - a [http://en.wikipedia.org/wiki/New_I/O NIO] and Web framework. AJP is deprecated with 7.4 and will be discontinued with 7.6.0.&lt;br /&gt;
&lt;br /&gt;
=Packages=&lt;br /&gt;
Next, we'll show some information on the packages needed to install a Grizzly based backend, give you some in depth information about the package dependencies of '''open-xchange''' on '''open-xchange-grizzly'''. &lt;br /&gt;
&lt;br /&gt;
==HttpService as packaging dependency==&lt;br /&gt;
The open-xchange package depends on a virtual package called '''open-xchange-httpservice'''. This service is provided by the '''open-xchange-grizzly''' package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{InstallPlugin|pluginname=open-xchange-grizzly| toplevel=products | sopath=appsuite/stable/backend|version=App Suite}}&lt;br /&gt;
&lt;br /&gt;
=Cluster setup=&lt;br /&gt;
[[File:GrizzlOXClusterSetup.png|left|alt=The default cluster setup.]]&lt;br /&gt;
This picture shows our default cluster setup. It consists of a proxying balancer (in our case Apache) and a cluster of multiple OX App Suite backends. The balancer receives HTTP and/or HTTPS requests. It then decides which requests should be handled by itself and which should be forwarded, so they can be handled by one of the OX App Suite backends. That's where the HTTP connector is used. &lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
As requests pass the balancer first, we'll start with a look at how to configure the balancer before configuring the Grizzly-based OX App Suite backends.&lt;br /&gt;
&lt;br /&gt;
===Apache configuration===&lt;br /&gt;
&lt;br /&gt;
{{Template:ApacheOXModsDebian|connector=http}}&lt;br /&gt;
&lt;br /&gt;
If you are using Apache 2.4, you will also need to enable the mod_lbmethod_byrequests&lt;br /&gt;
&lt;br /&gt;
 $ a2enmod lbmethod_byrequests&lt;br /&gt;
&lt;br /&gt;
If you used AJP before, you have to delete /etc/apache2/conf.d/proxy_ajp.conf.&lt;br /&gt;
&lt;br /&gt;
{{Template:ApacheAppSuiteConf|connector=http|connectorConf=/etc/apache2/conf.d/proxy_http.conf|apacheconf=/etc/apache2/sites-enabled/000-default|docroot=/var/www/|loadmodule=|easProxyName=eas_oxcluster|syncProxyName=oxcluster_sync}}&lt;br /&gt;
&lt;br /&gt;
====X-FORWARDED-PROTO Header====&lt;br /&gt;
&lt;br /&gt;
[[Appsuite:Grizzly#Cluster_setup]] shows that HTTPS communication is terminated by the Apache balancer in front of the OX backends. To let the backends know about the protocol that is used to communicate with the Apache server we have to set a special header in the ssl virtual hosts configurations in Apache to forward this information. The de facto standard for this is the X-Forwarded-Proto header.&lt;br /&gt;
&lt;br /&gt;
To add it to your Apache configuration you have to open the default ssl vhost, for Debian systems do:&lt;br /&gt;
  $ vim /etc/apache2/sites-enabled/default-ssl&lt;br /&gt;
&lt;br /&gt;
For RHEL and CentOS, do:&lt;br /&gt;
  $ vim/etc/httpd/conf.d/ssl.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and add &lt;br /&gt;
  RequestHeader set X-Forwarded-Proto &amp;quot;https&amp;quot;&lt;br /&gt;
&lt;br /&gt;
to each of the virtual hosts used to communicate with the OX App Suite backends.&lt;br /&gt;
&lt;br /&gt;
===Grizzly configuration===&lt;br /&gt;
&lt;br /&gt;
====Available configuration files====&lt;br /&gt;
&lt;br /&gt;
====/opt/open-xchange/etc/server.properties====&lt;br /&gt;
This extract of the server.properties shows the properties that can be applied to the grizzly backend.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
# DEFAULT ENCODING FOR INCOMING HTTP REQUESTS&lt;br /&gt;
# This value MUST be equal to web server's default encoding&lt;br /&gt;
DefaultEncoding=UTF-8&lt;br /&gt;
...&lt;br /&gt;
# The host for the connector's http network listener. Set to &amp;quot;*&amp;quot; if you&lt;br /&gt;
# want to listen on all available interfaces.&lt;br /&gt;
#Default value: 127.0.0.1, bind to localhost only.&lt;br /&gt;
com.openexchange.connector.networkListenerHost=*&lt;br /&gt;
&lt;br /&gt;
# The default port for the connector's http network listener.&lt;br /&gt;
# Default value: 8009.&lt;br /&gt;
com.openexchange.connector.networkListenerPort=8009&lt;br /&gt;
&lt;br /&gt;
# Specify the max. number of allowed request parameters for the connector http&lt;br /&gt;
# Default value: 30&lt;br /&gt;
com.openexchange.connector.maxRequestParameters: 30&lt;br /&gt;
&lt;br /&gt;
# To enable proper load balancing and request routing from {client1, client2 ..&lt;br /&gt;
# .} --&amp;gt; balancer --&amp;gt; {backend1, backend2 ...} we have to append a backend route&lt;br /&gt;
# to the JSESSIONID cookies separated by a '.'. It's important that this backend&lt;br /&gt;
# route is unique for every single backend behind the load balancer.&lt;br /&gt;
# The string has to be a sequence of characters excluding semi-colon, comma and&lt;br /&gt;
# white space so the JSESSIONID cookie stays in accordance with the cookie&lt;br /&gt;
# specification after we append the backendroute to it.&lt;br /&gt;
# Default value: OX0 &lt;br /&gt;
com.openexchange.server.backendRoute=OX1&lt;br /&gt;
&lt;br /&gt;
# Decides if we should consider X-Forward-Headers that reach the backend.&lt;br /&gt;
# Those can be spoofed by clients so we have to make sure to consider the headers only if the proxy/proxies reliably override those&lt;br /&gt;
# headers for incoming requests.&lt;br /&gt;
# Default value: false&lt;br /&gt;
com.openexchange.server.considerXForwards = false&lt;br /&gt;
&lt;br /&gt;
# The name of the protocolHeader used to identify the originating IP address of&lt;br /&gt;
# a client connecting to a web server through an HTTP proxy or load balancer.&lt;br /&gt;
# This is needed for grizzly based setups that make use of http proxying.&lt;br /&gt;
# If the header isn't found the first proxy in front of grizzly will be used&lt;br /&gt;
# as originating IP/remote address.&lt;br /&gt;
# Default value: X-Forwarded-For&lt;br /&gt;
com.openexchange.server.forHeader=X-Forwarded-For&lt;br /&gt;
&lt;br /&gt;
# A list of know proxies in front of our httpserver/balancer as comma separated IPs e.g: 192.168.1.50, 192.168.1.51&lt;br /&gt;
com.openexchange.server.knownProxies = &lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====/opt/open-xchange/etc/grizzly.properties====&lt;br /&gt;
Next we'll look at the parts of the grizzly.properties that configures the grizzly backend.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Grizzly.properties&lt;br /&gt;
#&lt;br /&gt;
# This file configures the grizzly server contained in the package&lt;br /&gt;
# open-xchange-grizzly. In your OX setup grizzly is located behind the&lt;br /&gt;
# load-balancer and accepts incoming client requests. Communication with the&lt;br /&gt;
# load balancer is done via http, e.g via Apache's mod_proxy_http.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### Push technology&lt;br /&gt;
################################################################################&lt;br /&gt;
&lt;br /&gt;
# Comet is an umbrella term used to describe a technique allowing web browser to&lt;br /&gt;
# receive almost real time updates from the server. The two most common&lt;br /&gt;
# approaches are long polling and streaming. Long polling differs from streaming&lt;br /&gt;
# in that each update from the server ultimately results in another follow up&lt;br /&gt;
# request from the client.&lt;br /&gt;
# Default value: true&lt;br /&gt;
com.openexchange.http.grizzly.hasCometEnabled=true&lt;br /&gt;
&lt;br /&gt;
# Bi-directional, full-duplex communications channels over a single TCP&lt;br /&gt;
# connection.&lt;br /&gt;
# Default value: false&lt;br /&gt;
com.openexchange.http.grizzly.hasWebSocketsEnabled=true&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### JMX&lt;br /&gt;
################################################################################&lt;br /&gt;
&lt;br /&gt;
# Do you want to enable grizzly monitoring via JMX? Default value: true.&lt;br /&gt;
com.openexchange.http.grizzly.hasJMXEnabled=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====/opt/open-xchange/etc/requestwatcher.properties====&lt;br /&gt;
And finally the properties to configure the requestwatchers of the http backend&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Requestwatcher.properties&lt;br /&gt;
#&lt;br /&gt;
# This file configures the requestwatchers contained in the packages&lt;br /&gt;
# open-xchange-grizzly. The requestwatcher keeps track of&lt;br /&gt;
# incoming requests and periodically checks the age of the currently processing&lt;br /&gt;
# requests. If a request exceeds the configured maximum age, infos about the&lt;br /&gt;
# request and its processing thread are logged either into the configured&lt;br /&gt;
# logfiles or syslog depending on your configuration. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Enable/disable the requestwatcher.&lt;br /&gt;
# Default value: true (enabled).&lt;br /&gt;
com.openexchange.requestwatcher.isEnabled: true&lt;br /&gt;
&lt;br /&gt;
# Define the requestwatcher's frequency in milliseconds.&lt;br /&gt;
# Default value: 30000.&lt;br /&gt;
com.openexchange.requestwatcher.frequency: 30000&lt;br /&gt;
&lt;br /&gt;
# Define the maximum allowed age of requests in milliseconds.&lt;br /&gt;
# Default value: 60000. &lt;br /&gt;
com.openexchange.requestwatcher.maxRequestAge: 60000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Multiple Proxies in front of the cluster==&lt;br /&gt;
[[File:GrizzlOXClusterMultipleProxySetup.png|left|935px|alt=The default cluster with multiple proxies setup.]]&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===X-FORWARDED-FOR Header===&lt;br /&gt;
&lt;br /&gt;
Wikipedia[http://en.wikipedia.org/wiki/X-Forwarded-For] describes the X-Forwarded-For Header as: &lt;br /&gt;
&lt;br /&gt;
The '''X-Forwarded-For''' ('''XFF''') HTTP header field is a ''de facto'' standard for identifying the originating IP address of a client connecting to a web server through an HTTP proxy or load balancer. This is an HTTP request header which was introduced by the [[Squid (software)|Squid]] caching proxy server's developers. An effort has been started at IETF for standardizing the '''Forwarded''' HTTP header.&lt;br /&gt;
&lt;br /&gt;
In this context, the caching servers are most often those of large ISPs who either encourage or force their users to use proxy servers for access to the World Wide Web, something which is often done to reduce external bandwidth through caching. In some cases, these proxy servers are transparent proxies, and the user may be unaware that they are using them.&lt;br /&gt;
&lt;br /&gt;
Without the use of XFF or another similar technique, any connection through the proxy would reveal only the originating IP address of the proxy server, effectively turning the proxy server into an anonymizing service, thus making the detection and prevention of abusive accesses significantly harder than if the originating IP address was available. The usefulness of XFF depends on the proxy server truthfully reporting the original host's IP address; for this reason, effective use of XFF requires knowledge of which proxies are trustworthy, for instance by looking them up in a whitelist of servers whose maintainers can be trusted.&lt;br /&gt;
&lt;br /&gt;
====Format====&lt;br /&gt;
The general format of the field is:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;tt&amp;gt;X-Forwarded-For: client, proxy1, proxy2&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the value is a comma+space separated list of IP addresses, the left-most being the original client, and each successive proxy that passed the request adding the IP address where it received the request from. In this example, the request passed through proxy1, proxy2, and then proxy3 (not shown in the header). proxy3 appears as remote address of the request.&lt;br /&gt;
&lt;br /&gt;
The given information should be used with care since it is easy to forge an X-Forwarded-For field. The last IP address is always the IP address that connects to the last proxy, which means it is the most reliable source of information. X-Forwarded-For data can be used in a forward or reverse proxy scenario.&lt;br /&gt;
&lt;br /&gt;
Just logging the X-Forwarded-For field is not always enough: The last proxy IP address in a chain is not contained within the X-Forwarded-For field, it is in the actual IP header. A web server should log BOTH the request's source IP address and the X-Forwarded-For field information for completeness.&lt;br /&gt;
&lt;br /&gt;
===Getting the remote IP===&lt;br /&gt;
If you want the backends in the GrizzlOX-Cluster to use '''Client''''s(95.223.182.44) instead of '''Balancer''''s IP as remote address for e.g reporting the LogProperty '''com.openexchange.grizzly.remoteAddress''' for faulty requests in the Open-Xchange logs, you have to change these parameters from their default values seen in /opt/open-xchange/etc/server.properties to:&lt;br /&gt;
&lt;br /&gt;
 # Decides if we should consider X-Forward-Headers that reach the backend.&lt;br /&gt;
 # Those can be spoofed by clients so we have to make sure to consider the headers only if the proxy/proxies reliably override those&lt;br /&gt;
 # headers for incoming requests.&lt;br /&gt;
 # Default value: false&lt;br /&gt;
 com.openexchange.server.considerXForwards = '''true'''&lt;br /&gt;
&lt;br /&gt;
 # The name of the protocolHeader used to identify the originating IP address of&lt;br /&gt;
 # a client connecting to a web server through an HTTP proxy or load balancer.&lt;br /&gt;
 # This is needed for grizzly based setups that make use of http proxying.&lt;br /&gt;
 # If the header isn't found the first proxy in front of grizzly will be used&lt;br /&gt;
 # as originating IP/remote address.&lt;br /&gt;
 # Default value: X-Forwarded-For&lt;br /&gt;
 com.openexchange.server.forHeader='''X-Forwarded-For'''&lt;br /&gt;
&lt;br /&gt;
 # A list of know proxies in front of our httpserver/balancer as comma separated IPs e.g: 192.168.1.50, 192.168.1.51&lt;br /&gt;
 com.openexchange.server.knownProxies = '''192.168.1.50, 192.168.1.51'''&lt;br /&gt;
&lt;br /&gt;
After you have changed the the configuration you have to restart the backend server via&lt;br /&gt;
&lt;br /&gt;
 $ /etc/init.d/open-xchange restart&lt;br /&gt;
&lt;br /&gt;
The remote IP is detected in the following way: All configured known proxies are removed from the list of IPs listed in the X-FORWARDED-FOR header, beginning frome the right side of the list. The rightmost leftover IP is then seen as our new remote address as it represents the first IP not known to us.&lt;br /&gt;
&lt;br /&gt;
=Servlet Filters=&lt;br /&gt;
&lt;br /&gt;
From version 7.6.1 on you are able to register your own servlet filters when using a Grizzly powered OX backend.&lt;br /&gt;
&lt;br /&gt;
This is realized via a '''ServletFilterTracker''' that tracks services of type javax.servlet.Filter and updates the registered ServletHandlers so that the filters are applied to new incoming requests/outgoing responses.&lt;br /&gt;
&lt;br /&gt;
==Filter Service Properties==&lt;br /&gt;
Your filter service may be registered with additional &amp;lt;code&amp;gt;com.openexchange.servlet.Constants.FILTER_PATHS&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;org.osgi.framework.Constants.SERVICE_RANKING&amp;lt;/code&amp;gt; properties. &lt;br /&gt;
&lt;br /&gt;
===&amp;lt;code&amp;gt;filter.paths&amp;lt;/code&amp;gt;===&lt;br /&gt;
This property may consist of path expressions including wildcards. The path property should be provided as:&lt;br /&gt;
&lt;br /&gt;
# A single String for a single path&lt;br /&gt;
# An array of Strings&lt;br /&gt;
# A Collection of of Objects that provides the path via invocation of toString()&lt;br /&gt;
&lt;br /&gt;
If the filter.path property is missing/null the filter will be used for every incoming request.&lt;br /&gt;
&lt;br /&gt;
The form of a path must be one of:&lt;br /&gt;
&lt;br /&gt;
# '''*''' : This filter will be applied to all request&lt;br /&gt;
# The path starts with '''/''' and ends with the '''/*''' wildcard but doesn't equal '''/*''' e.g. '''/a/b/*''' : This filter will be used for requests to all URLs starting with /a/b e.g /a/b/c, /a/b/c/d and so on&lt;br /&gt;
# The path starts with '''/''' but doesn't end with the '''/*''' wildcard : This filter will only be used for requests that match this path exactly&lt;br /&gt;
&lt;br /&gt;
===&amp;lt;code&amp;gt;service.ranking&amp;lt;/code&amp;gt;===&lt;br /&gt;
The filters you register are combined into a filterchain and ordered by this service ranking that has to be specified as an integer value. Incoming Requests will then be processed by the filterchain. If multiple filters have the same service ranking their order within the filterchain is as follows:&lt;br /&gt;
&lt;br /&gt;
# filters that match all paths e.g. were registered without a path or with the '''/*''' wildcard&lt;br /&gt;
# filters that match a prefix of a path e.g. filters that are registered for '''/a/b/*''' should be used for requests to '''/a/b/c''', too&lt;br /&gt;
# filters that match a path e.g. filters that are registered for '''/a/b''' should be used only for requests to '''/a/b'''&lt;br /&gt;
&lt;br /&gt;
It's recommended to use unique ranking values for each servlet filter to achieve a reliable filterchain setup.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
  public class ServletFilterActivator extends HousekeepingActivator {&lt;br /&gt;
&lt;br /&gt;
  @Override&lt;br /&gt;
  protected Class[] getNeededServices() {&lt;br /&gt;
      // It is important to await the HttpService before filter registration takes place!&lt;br /&gt;
      return new Class[] { HttpService.class };&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  @Override&lt;br /&gt;
  protected void startBundle() throws Exception {&lt;br /&gt;
      Filter yourFilter = new Filter() {&lt;br /&gt;
&lt;br /&gt;
          @Override&lt;br /&gt;
          public void destroy() {&lt;br /&gt;
              // Nothing to do&lt;br /&gt;
          }&lt;br /&gt;
&lt;br /&gt;
          @Override&lt;br /&gt;
          public void doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain)&lt;br /&gt;
           throws IOException, ServletException {&lt;br /&gt;
              String world = request.getParameter(&amp;quot;hello&amp;quot;);&lt;br /&gt;
              filterChain.doFilter(request, response);&lt;br /&gt;
          }&lt;br /&gt;
&lt;br /&gt;
          @Override&lt;br /&gt;
          public void init(FilterConfig config) throws ServletException {&lt;br /&gt;
              // Nothing to do&lt;br /&gt;
          }&lt;br /&gt;
      };&lt;br /&gt;
&lt;br /&gt;
      Dictionary&amp;amp;lt;String, Object&amp;amp;gt; serviceProperties = new Hashtable&amp;amp;lt;String, Object&amp;amp;gt;(2);&lt;br /&gt;
      serviceProperties.put(Constants.SERVICE_RANKING, Integer.valueOf(0));&lt;br /&gt;
      serviceProperties.put(FILTER_PATHS, &amp;quot;*&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
      registerService(Filter.class, yourFilter, serviceProperties);&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: AppSuite]]&lt;br /&gt;
[[Category: Administrator]]&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=18258</id>
		<title>OX munin scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=18258"/>
		<updated>2014-08-11T10:21:19Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: /* open-xchange-munin-scripts-jolokia */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to install Munin scripts for Open-Xchange=&lt;br /&gt;
&lt;br /&gt;
== Support for Jolokia ==&lt;br /&gt;
&lt;br /&gt;
By Version 7.4.0, Munin Scripts do support [[Jolokia]] as a bridge to get their information.&lt;br /&gt;
This has been done to get less overhead and speak with the corresponding JMX-beans directly.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
Munin node and munin master must be installed and configured prior using the Munin scripts package for Open-Xchange. The installation for this core components differs on various Linux distributions. For details, please visit:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/&lt;br /&gt;
&lt;br /&gt;
especially:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/wiki/LinuxInstallation&lt;br /&gt;
&lt;br /&gt;
=== open-xchange-munin-scripts ===&lt;br /&gt;
{{InstallPlugin|pluginname=open-xchange-munin-scripts|toplevel=products|sopath=appsuite/stable/backend|version=App Suite}}&lt;br /&gt;
&lt;br /&gt;
=== open-xchange-munin-scripts-jolokia ===&lt;br /&gt;
&lt;br /&gt;
Munin-scripts for Jolokia need an additional perl modules json and lwp, which are set inside the depenecies. Those should be installed automaticly.&lt;br /&gt;
&lt;br /&gt;
If not, please install the following modules:&lt;br /&gt;
&lt;br /&gt;
Debian: libwww-perl, libjson-perl&lt;br /&gt;
&lt;br /&gt;
rpm: perl-JSON, perl-libwww-perl&lt;br /&gt;
&lt;br /&gt;
== Configuring munin-node scripts for Open-Xchange ==&lt;br /&gt;
&lt;br /&gt;
The configuration of the scripts is done automatically. &lt;br /&gt;
&lt;br /&gt;
Note: The database pool monitoring script will get only configured if the Open-Xchange server is running and the database pools initialized when installing the open-xchange-munin-scripts package. That can be verified by e.g.:&lt;br /&gt;
&lt;br /&gt;
 # showruntimestats -x | grep &amp;quot;DB Pool&amp;quot;&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumWaiting = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,PoolSize = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumBrokenConnections = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumActive = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumIdle = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,AvgUseTime = 4.948&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MaxUseTime = 16777&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MinUseTime = 0&lt;br /&gt;
&lt;br /&gt;
=== Configuring for open-xchange-munin-scripts-jolokia ===&lt;br /&gt;
&lt;br /&gt;
Munin Scripts for Jolokia do have some additional settings for [[jolokia]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;vim /etc/munin/plugin-conf.d/ox&amp;lt;/code&amp;gt;&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; style=&amp;quot;table-layout: fixed&amp;quot; class='wikitable sortable' border='1'&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;30%&amp;quot; | Key&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;20%&amp;quot; | Default value&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;35%&amp;quot; | Comment&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaUrl&lt;br /&gt;
| http://localhost:8009/monitoring/jolokia&lt;br /&gt;
| base url for jolokia. this can differ, when using ajp. Possible ajp url could be http://apacheaddress/internal/ox1/monitoring/jolokia&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaUser&lt;br /&gt;
| &amp;quot;changeMe!Now&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;User used for authentication with HTTP Basic Authentication.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaPassword&lt;br /&gt;
| &amp;quot;s3cr3t!toBeChanged&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Password used for authentification,&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
WARNING: If &amp;lt;code&amp;gt; env.oxJolokiaUser &amp;lt;/code&amp;gt; is not changed from its default value &amp;lt;code&amp;gt; changeMe!Now &amp;lt;/code&amp;gt;, monitoring will not work as the user &amp;lt;code&amp;gt; changeMe!Now &amp;lt;/code&amp;gt; is set to stop monitoring inside the munin scripts.&lt;br /&gt;
&lt;br /&gt;
Both, &amp;lt;code&amp;gt; env.oxJolokiaUser &amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt; env.oxJolokiaPassword &amp;lt;/code&amp;gt; need to be set to the same value as set inside &amp;lt;code&amp;gt;jolokia.properties&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Supplementary notes for distributed munin clients =&lt;br /&gt;
&lt;br /&gt;
== Munin node ==&lt;br /&gt;
The default munin node configuration only allows connections from localhost, which means that munin master has to run on the same host. If there already is a munin master running, that master IP has to be added to the  file &amp;lt;code&amp;gt;/etc/munin/munin-node.conf&amp;lt;/code&amp;gt; on each node:&lt;br /&gt;
&lt;br /&gt;
 # A list of addresses that are allowed to connect.  This must be a&lt;br /&gt;
 # regular expression, since Net::Server does not understand CIDR-style&lt;br /&gt;
 # network notation unless the perl module Net::CIDR is installed.  You&lt;br /&gt;
 # may repeat the allow line as many times as you'd like&lt;br /&gt;
 &lt;br /&gt;
 allow ^127\.0\.0\.1$&lt;br /&gt;
&lt;br /&gt;
== Munin master ==&lt;br /&gt;
&lt;br /&gt;
Make sure the munin and apache packages are installed. If only localhost is going to be monitored, the default configuration is sufficient. Other munin nodes can be added in the  &amp;lt;code&amp;gt;/etc/munin/munin.conf&amp;lt;/code&amp;gt; file:&lt;br /&gt;
&lt;br /&gt;
 # a simple host tree&lt;br /&gt;
 [localhost.localdomain]&lt;br /&gt;
     address 127.0.0.1&lt;br /&gt;
     use_node_name yes&lt;br /&gt;
&lt;br /&gt;
By default, the munin monitoring web page is only reached from localhost,  other hosts or networks can be added in &amp;lt;code&amp;gt;/etc/apache2/conf.d/munin&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 Allow from localhost 127.0.0.0/8 ::1    # the default setting&lt;br /&gt;
 Allow from 10.99.0.0/8                  # added network&lt;br /&gt;
&lt;br /&gt;
The munin webpage is located at &amp;lt;code&amp;gt;http://yourhost_where_munin_is_running.org/munin&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: OX6]]&lt;br /&gt;
[[Category: Administrator]]&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=18257</id>
		<title>OX munin scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=18257"/>
		<updated>2014-08-11T10:19:45Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: /* Configuring for open-xchange-munin-scripts-jolokia */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to install Munin scripts for Open-Xchange=&lt;br /&gt;
&lt;br /&gt;
== Support for Jolokia ==&lt;br /&gt;
&lt;br /&gt;
By Version 7.4.0, Munin Scripts do support [[Jolokia]] as a bridge to get their information.&lt;br /&gt;
This has been done to get less overhead and speak with the corresponding JMX-beans directly.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
Munin node and munin master must be installed and configured prior using the Munin scripts package for Open-Xchange. The installation for this core components differs on various Linux distributions. For details, please visit:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/&lt;br /&gt;
&lt;br /&gt;
especially:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/wiki/LinuxInstallation&lt;br /&gt;
&lt;br /&gt;
=== open-xchange-munin-scripts ===&lt;br /&gt;
{{InstallPlugin|pluginname=open-xchange-munin-scripts|toplevel=products|sopath=appsuite/stable/backend|version=App Suite}}&lt;br /&gt;
&lt;br /&gt;
=== open-xchange-munin-scripts-jolokia ===&lt;br /&gt;
&lt;br /&gt;
Munin-scripts for Jolokia need an additional CPAN module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
jmx4perl (and its dependencies) can be easily installed with cpan if you have Perl installed:&lt;br /&gt;
You also need to have make installed.&lt;br /&gt;
&lt;br /&gt;
Debian:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install make&lt;br /&gt;
&lt;br /&gt;
 $ perl -MCPAN -e shell&lt;br /&gt;
&lt;br /&gt;
 Terminal does not support AddHistory.&lt;br /&gt;
 cpan shell -- CPAN exploration and modules installation (v1.9205)&lt;br /&gt;
 ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?)&lt;br /&gt;
&lt;br /&gt;
 cpan[1]&amp;gt; install JMX::Jmx4Perl&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 ...&lt;br /&gt;
 jmx4perl&lt;br /&gt;
 ========&lt;br /&gt;
 jmx4perl is a command line utility for accessing Jolokia agents&lt;br /&gt;
 (www.jolokia.org). It can be used for script based exploration &lt;br /&gt;
 and easy inspection of the JMX space.&lt;br /&gt;
 Install 'jmx4perl' ? (y/n) [y ]&lt;br /&gt;
 ....&lt;br /&gt;
&lt;br /&gt;
== Configuring munin-node scripts for Open-Xchange ==&lt;br /&gt;
&lt;br /&gt;
The configuration of the scripts is done automatically. &lt;br /&gt;
&lt;br /&gt;
Note: The database pool monitoring script will get only configured if the Open-Xchange server is running and the database pools initialized when installing the open-xchange-munin-scripts package. That can be verified by e.g.:&lt;br /&gt;
&lt;br /&gt;
 # showruntimestats -x | grep &amp;quot;DB Pool&amp;quot;&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumWaiting = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,PoolSize = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumBrokenConnections = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumActive = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumIdle = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,AvgUseTime = 4.948&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MaxUseTime = 16777&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MinUseTime = 0&lt;br /&gt;
&lt;br /&gt;
=== Configuring for open-xchange-munin-scripts-jolokia ===&lt;br /&gt;
&lt;br /&gt;
Munin Scripts for Jolokia do have some additional settings for [[jolokia]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;vim /etc/munin/plugin-conf.d/ox&amp;lt;/code&amp;gt;&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; style=&amp;quot;table-layout: fixed&amp;quot; class='wikitable sortable' border='1'&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;30%&amp;quot; | Key&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;20%&amp;quot; | Default value&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;35%&amp;quot; | Comment&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaUrl&lt;br /&gt;
| http://localhost:8009/monitoring/jolokia&lt;br /&gt;
| base url for jolokia. this can differ, when using ajp. Possible ajp url could be http://apacheaddress/internal/ox1/monitoring/jolokia&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaUser&lt;br /&gt;
| &amp;quot;changeMe!Now&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;User used for authentication with HTTP Basic Authentication.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaPassword&lt;br /&gt;
| &amp;quot;s3cr3t!toBeChanged&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Password used for authentification,&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
WARNING: If &amp;lt;code&amp;gt; env.oxJolokiaUser &amp;lt;/code&amp;gt; is not changed from its default value &amp;lt;code&amp;gt; changeMe!Now &amp;lt;/code&amp;gt;, monitoring will not work as the user &amp;lt;code&amp;gt; changeMe!Now &amp;lt;/code&amp;gt; is set to stop monitoring inside the munin scripts.&lt;br /&gt;
&lt;br /&gt;
Both, &amp;lt;code&amp;gt; env.oxJolokiaUser &amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt; env.oxJolokiaPassword &amp;lt;/code&amp;gt; need to be set to the same value as set inside &amp;lt;code&amp;gt;jolokia.properties&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Supplementary notes for distributed munin clients =&lt;br /&gt;
&lt;br /&gt;
== Munin node ==&lt;br /&gt;
The default munin node configuration only allows connections from localhost, which means that munin master has to run on the same host. If there already is a munin master running, that master IP has to be added to the  file &amp;lt;code&amp;gt;/etc/munin/munin-node.conf&amp;lt;/code&amp;gt; on each node:&lt;br /&gt;
&lt;br /&gt;
 # A list of addresses that are allowed to connect.  This must be a&lt;br /&gt;
 # regular expression, since Net::Server does not understand CIDR-style&lt;br /&gt;
 # network notation unless the perl module Net::CIDR is installed.  You&lt;br /&gt;
 # may repeat the allow line as many times as you'd like&lt;br /&gt;
 &lt;br /&gt;
 allow ^127\.0\.0\.1$&lt;br /&gt;
&lt;br /&gt;
== Munin master ==&lt;br /&gt;
&lt;br /&gt;
Make sure the munin and apache packages are installed. If only localhost is going to be monitored, the default configuration is sufficient. Other munin nodes can be added in the  &amp;lt;code&amp;gt;/etc/munin/munin.conf&amp;lt;/code&amp;gt; file:&lt;br /&gt;
&lt;br /&gt;
 # a simple host tree&lt;br /&gt;
 [localhost.localdomain]&lt;br /&gt;
     address 127.0.0.1&lt;br /&gt;
     use_node_name yes&lt;br /&gt;
&lt;br /&gt;
By default, the munin monitoring web page is only reached from localhost,  other hosts or networks can be added in &amp;lt;code&amp;gt;/etc/apache2/conf.d/munin&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 Allow from localhost 127.0.0.0/8 ::1    # the default setting&lt;br /&gt;
 Allow from 10.99.0.0/8                  # added network&lt;br /&gt;
&lt;br /&gt;
The munin webpage is located at &amp;lt;code&amp;gt;http://yourhost_where_munin_is_running.org/munin&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: OX6]]&lt;br /&gt;
[[Category: Administrator]]&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=17216</id>
		<title>OX munin scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=17216"/>
		<updated>2014-03-07T11:13:39Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: /* open-xchange-munin-scripts-jolokia */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to install Munin scripts for Open-Xchange=&lt;br /&gt;
&lt;br /&gt;
== Support for Jolokia ==&lt;br /&gt;
&lt;br /&gt;
By Version 7.4.0, Munin Scripts do support [[Jolokia]] as a bridge to get their information.&lt;br /&gt;
This has been done to get less overhead and speak with the corresponding JMX-beans directly.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
Munin node and munin master must be installed and configured prior using the Munin scripts package for Open-Xchange. The installation for this core components differs on various linux distributions. For details, please visit:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/&lt;br /&gt;
&lt;br /&gt;
especially:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/wiki/LinuxInstallation&lt;br /&gt;
&lt;br /&gt;
=== open-xchange-munin-scripts ===&lt;br /&gt;
{{InstallPlugin|pluginname=open-xchange-munin-scripts|sopath=unsupported/repo|reponame=oxmunin}}&lt;br /&gt;
&lt;br /&gt;
=== open-xchange-munin-scripts-jolokia ===&lt;br /&gt;
&lt;br /&gt;
Munin-scripts for Jolokia need an additional CPAN module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
jmx4perl (and its dependencies) can be easily installed with cpan if you have Perl installed:&lt;br /&gt;
You also need to have make installed.&lt;br /&gt;
&lt;br /&gt;
Debian:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install make&lt;br /&gt;
&lt;br /&gt;
 $ perl -MCPAN -e shell&lt;br /&gt;
&lt;br /&gt;
 Terminal does not support AddHistory.&lt;br /&gt;
 cpan shell -- CPAN exploration and modules installation (v1.9205)&lt;br /&gt;
 ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?)&lt;br /&gt;
&lt;br /&gt;
 cpan[1]&amp;gt; install JMX::Jmx4Perl&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 ...&lt;br /&gt;
 jmx4perl&lt;br /&gt;
 ========&lt;br /&gt;
 jmx4perl is a command line utility for accessing Jolokia agents&lt;br /&gt;
 (www.jolokia.org). It can be used for script based exploration &lt;br /&gt;
 and easy inspection of the JMX space.&lt;br /&gt;
 Install 'jmx4perl' ? (y/n) [y ]&lt;br /&gt;
 ....&lt;br /&gt;
&lt;br /&gt;
== Configuring munin-node scripts for Open-Xchange ==&lt;br /&gt;
&lt;br /&gt;
The configuration of the scripts is done automatically. &lt;br /&gt;
&lt;br /&gt;
Note: The database pool monitoring script will get only configured if the Open-Xchange server is running and the database pools initialized when installing the open-xchange-munin-scripts package. That can be verified by e.g.:&lt;br /&gt;
&lt;br /&gt;
 # showruntimestats -x | grep &amp;quot;DB Pool&amp;quot;&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumWaiting = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,PoolSize = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumBrokenConnections = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumActive = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumIdle = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,AvgUseTime = 4.948&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MaxUseTime = 16777&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MinUseTime = 0&lt;br /&gt;
&lt;br /&gt;
=== Configuring for open-xchange-munin-scripts-jolokia ===&lt;br /&gt;
&lt;br /&gt;
Munin Scripts for Jolokia do have some additional settings for [[jolokia]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;vim /etc/munin/plugin-conf.d/ox&amp;lt;/code&amp;gt;&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; style=&amp;quot;table-layout: fixed&amp;quot; class='wikitable sortable' border='1'&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;30%&amp;quot; | Key&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;20%&amp;quot; | Default value&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;35%&amp;quot; | Comment&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaUrl&lt;br /&gt;
| http://localhost:8009/monitoring/jolokia&lt;br /&gt;
| base url for jolokia. this can differ, when using ajp. Possible ajp url could be http://apacheaddress/internal/ox1/monitoring/jolokia&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaUser&lt;br /&gt;
| &amp;quot;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;User used for authentication with HTTP Basic Authentication.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaPassword&lt;br /&gt;
| &amp;quot;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Password used for authentification,&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Both, &amp;lt;code&amp;gt; env.oxJolokiaUser &amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt; env.oxJolokiaPassword &amp;lt;/code&amp;gt; need to be set to the same value as set inside &amp;lt;code&amp;gt;jolokia.properties&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Supplementary notes for distributed munin clients =&lt;br /&gt;
&lt;br /&gt;
== Munin node ==&lt;br /&gt;
The default munin node configuration only allows connections from localhost, which means that munin master has to run on the same host. If there already is a munin master running, that master IP has to be added to the  file &amp;lt;code&amp;gt;/etc/munin/munin-node.conf&amp;lt;/code&amp;gt; on each node:&lt;br /&gt;
&lt;br /&gt;
 # A list of addresses that are allowed to connect.  This must be a&lt;br /&gt;
 # regular expression, since Net::Server does not understand CIDR-style&lt;br /&gt;
 # network notation unless the perl module Net::CIDR is installed.  You&lt;br /&gt;
 # may repeat the allow line as many times as you'd like&lt;br /&gt;
 &lt;br /&gt;
 allow ^127\.0\.0\.1$&lt;br /&gt;
&lt;br /&gt;
== Munin master ==&lt;br /&gt;
&lt;br /&gt;
Make sure the munin and apache packages are installed. If only localhost is going to be monitored, the default configuration is sufficient. Other munin nodes can be added in the  &amp;lt;code&amp;gt;/etc/munin/munin.conf&amp;lt;/code&amp;gt; file:&lt;br /&gt;
&lt;br /&gt;
 # a simple host tree&lt;br /&gt;
 [localhost.localdomain]&lt;br /&gt;
     address 127.0.0.1&lt;br /&gt;
     use_node_name yes&lt;br /&gt;
&lt;br /&gt;
By default, the munin monitoring web page is only reached from localhost,  other hosts or networks can be added in &amp;lt;code&amp;gt;/etc/apache2/conf.d/munin&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 Allow from localhost 127.0.0.0/8 ::1    # the default setting&lt;br /&gt;
 Allow from 10.99.0.0/8                  # added network&lt;br /&gt;
&lt;br /&gt;
The munin webpage is located at &amp;lt;code&amp;gt;http://yourhost_where_munin_is_running.org/munin&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: OX6]]&lt;br /&gt;
[[Category: Administrator]]&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=16915</id>
		<title>OX munin scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=16915"/>
		<updated>2014-01-29T13:17:35Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: /* open-xchange-munin-scripts-jolokia */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to install Munin scripts for Open-Xchange=&lt;br /&gt;
&lt;br /&gt;
== Support for Jolokia ==&lt;br /&gt;
&lt;br /&gt;
By Version 7.4.0, Munin Scripts do support [[Jolokia]] as a bridge to get their information.&lt;br /&gt;
This has been done to get less overhead and speak with the corresponding JMX-beans directly.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
Munin node and munin master must be installed and configured prior using the Munin scripts package for Open-Xchange. The installation for this core components differs on various linux distributions. For details, please visit:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/&lt;br /&gt;
&lt;br /&gt;
especially:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/wiki/LinuxInstallation&lt;br /&gt;
&lt;br /&gt;
=== open-xchange-munin-scripts ===&lt;br /&gt;
{{InstallPlugin|pluginname=open-xchange-munin-scripts|sopath=unsupported/repo|reponame=oxmunin}}&lt;br /&gt;
&lt;br /&gt;
=== open-xchange-munin-scripts-jolokia ===&lt;br /&gt;
&lt;br /&gt;
Munin-scripts for Jolokia need an additional CPAN module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
jmx4perl (and its dependencies) can be easily installed with cpan if you have Perl installed:&lt;br /&gt;
&lt;br /&gt;
 $ perl -MCPAN -e shell&lt;br /&gt;
 Terminal does not support AddHistory.&lt;br /&gt;
 cpan shell -- CPAN exploration and modules installation (v1.9205)&lt;br /&gt;
 ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?)&lt;br /&gt;
 cpan[1]&amp;gt; install JMX::Jmx4Perl&lt;br /&gt;
 ...&lt;br /&gt;
 ...&lt;br /&gt;
 jmx4perl&lt;br /&gt;
 ========&lt;br /&gt;
 jmx4perl is a command line utility for accessing Jolokia agents&lt;br /&gt;
 (www.jolokia.org). It can be used for script based exploration &lt;br /&gt;
 and easy inspection of the JMX space.&lt;br /&gt;
 Install 'jmx4perl' ? (y/n) [y ]&lt;br /&gt;
 ....&lt;br /&gt;
&lt;br /&gt;
== Configuring munin-node scripts for Open-Xchange ==&lt;br /&gt;
&lt;br /&gt;
The configuration of the scripts is done automatically. &lt;br /&gt;
&lt;br /&gt;
Note: The database pool monitoring script will get only configured if the Open-Xchange server is running and the database pools initialized when installing the open-xchange-munin-scripts package. That can be verified by e.g.:&lt;br /&gt;
&lt;br /&gt;
 # showruntimestats -x | grep &amp;quot;DB Pool&amp;quot;&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumWaiting = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,PoolSize = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumBrokenConnections = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumActive = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumIdle = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,AvgUseTime = 4.948&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MaxUseTime = 16777&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MinUseTime = 0&lt;br /&gt;
&lt;br /&gt;
=== Configuring for open-xchange-munin-scripts-jolokia ===&lt;br /&gt;
&lt;br /&gt;
Munin Scripts for Jolokia do have some additional settings for [[jolokia]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;vim /etc/munin/plugin-conf.d/ox&amp;lt;/code&amp;gt;&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; style=&amp;quot;table-layout: fixed&amp;quot; class='wikitable sortable' border='1'&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;30%&amp;quot; | Key&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;20%&amp;quot; | Default value&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;35%&amp;quot; | Comment&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaUrl&lt;br /&gt;
| http://localhost:8009/monitoring/jolokia&lt;br /&gt;
| base url for jolokia. this can differ, when using ajp. Possible ajp url could be http://apacheaddress/internal/ox1/monitoring/jolokia&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaUser&lt;br /&gt;
| &amp;quot;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;User used for authentication with HTTP Basic Authentication.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaPassword&lt;br /&gt;
| &amp;quot;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Password used for authentification,&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Both, &amp;lt;code&amp;gt; env.oxJolokiaUser &amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt; env.oxJolokiaPassword &amp;lt;/code&amp;gt; need to be set to the same value as set inside &amp;lt;code&amp;gt;jolokia.properties&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Supplementary notes for distributed munin clients =&lt;br /&gt;
&lt;br /&gt;
== Munin node ==&lt;br /&gt;
The default munin node configuration only allows connections from localhost, which means that munin master has to run on the same host. If there already is a munin master running, that master IP has to be added to the  file &amp;lt;code&amp;gt;/etc/munin/munin-node.conf&amp;lt;/code&amp;gt; on each node:&lt;br /&gt;
&lt;br /&gt;
 # A list of addresses that are allowed to connect.  This must be a&lt;br /&gt;
 # regular expression, since Net::Server does not understand CIDR-style&lt;br /&gt;
 # network notation unless the perl module Net::CIDR is installed.  You&lt;br /&gt;
 # may repeat the allow line as many times as you'd like&lt;br /&gt;
 &lt;br /&gt;
 allow ^127\.0\.0\.1$&lt;br /&gt;
&lt;br /&gt;
== Munin master ==&lt;br /&gt;
&lt;br /&gt;
Make sure the munin and apache packages are installed. If only localhost is going to be monitored, the default configuration is sufficient. Other munin nodes can be added in the  &amp;lt;code&amp;gt;/etc/munin/munin.conf&amp;lt;/code&amp;gt; file:&lt;br /&gt;
&lt;br /&gt;
 # a simple host tree&lt;br /&gt;
 [localhost.localdomain]&lt;br /&gt;
     address 127.0.0.1&lt;br /&gt;
     use_node_name yes&lt;br /&gt;
&lt;br /&gt;
By default, the munin monitoring web page is only reached from localhost,  other hosts or networks can be added in &amp;lt;code&amp;gt;/etc/apache2/conf.d/munin&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 Allow from localhost 127.0.0.0/8 ::1    # the default setting&lt;br /&gt;
 Allow from 10.99.0.0/8                  # added network&lt;br /&gt;
&lt;br /&gt;
The munin webpage is located at &amp;lt;code&amp;gt;http://yourhost_where_munin_is_running.org/munin&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: OX6]]&lt;br /&gt;
[[Category: Administrator]]&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=Jolokia&amp;diff=16363</id>
		<title>Jolokia</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=Jolokia&amp;diff=16363"/>
		<updated>2013-11-07T15:36:39Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: /* Jolokia with Grizzly */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;Jolokia&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Summary:''' This article tells you to use Jolokia, a JMX bridge, that is available vom AppSuite v7.4.0 on.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
= How to interact with Jolokia for Open-Xchange=&lt;br /&gt;
&lt;br /&gt;
Open-Xchange does support Jolokia as a remote JMX-Bridge over HTTP.&lt;br /&gt;
&lt;br /&gt;
By Version 7.4.0 ongoing, it is located inside Open-Xchange Bundle and configured by jolokia.properties&lt;br /&gt;
&lt;br /&gt;
Additional information can be found at http://www.jolokia.org/ .&lt;br /&gt;
&lt;br /&gt;
== jolokia.properties ==&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; style=&amp;quot;table-layout: fixed&amp;quot; class='wikitable sortable' border='1'&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;30%&amp;quot; | Key&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;20%&amp;quot; | Default value&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;35%&amp;quot; | Comment&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.start&lt;br /&gt;
| false&lt;br /&gt;
| start switch for jolokia&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.servlet.name&lt;br /&gt;
| /monitoring/jolokia&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Under what servlet name jolokia will be published, please bear in mind that this should not be forwarded by apache and kept internal&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.user&lt;br /&gt;
| &lt;br /&gt;
| &amp;lt;nowiki&amp;gt;User used for authentication with HTTP Basic Authentication. If not given, Jolokia will not start!&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.password&lt;br /&gt;
| &lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Password used for authentification, if not set &amp;quot;secret&amp;quot; is used.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.restrict.to.localhost&lt;br /&gt;
| true&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;This setting will restrict jolokia access to localhost. It is completly ignored when a jolokia-access.xml is present&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Keep in mind that Jolokia will not start unless you set &amp;lt;code&amp;gt; com.openexchange.jolokia.start = true &amp;lt;/code&amp;gt; , &amp;lt;code&amp;gt; com.openexchange.jolokia.user = yourUser&amp;lt;/code&amp;gt; and to &amp;lt;code&amp;gt; com.openexchange.jolokia.password = yourPassword&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
When using Munin-Scripts with Jolokia, this user and password also need to be changed.&lt;br /&gt;
&lt;br /&gt;
== Running Jolokia ==&lt;br /&gt;
&lt;br /&gt;
As Jolokia represents a JMX-Interface it is highly recommended '''not''' to forward it to the internet!&lt;br /&gt;
&lt;br /&gt;
This is by default set through the use of &amp;lt;code&amp;gt;com.openexchange.jolokia.restrict.to.localhost = true&amp;lt;/code&amp;gt; and can be changed by either setting it to &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; or providing a &amp;lt;code&amp;gt;jolokia-access.xml&amp;lt;/code&amp;gt; inside &amp;lt;code&amp;gt;/opt/open-xchange/etc/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For further information how to setup this file, http://www.jolokia.org/reference/html/security.html is a good start as all those settings are usable.&lt;br /&gt;
&lt;br /&gt;
=== Jolokia with Grizzly ===&lt;br /&gt;
&lt;br /&gt;
When using Grizzly and munin scripts on the same machine, you can connect to jolokia directly with the servers address, e.g.: &amp;lt;code&amp;gt;http://localhost:8009/monitoring/jolokia&amp;lt;/code&amp;gt;.&lt;br /&gt;
When connecting through another machine, a best practise is to use the same forwarding as described below.&lt;br /&gt;
&lt;br /&gt;
=== Jolokia with AJP ===&lt;br /&gt;
&lt;br /&gt;
When using AJP, you need to enable forwarding for each server, keep in mind that those should be only accessable inside your intranet.&lt;br /&gt;
&lt;br /&gt;
An Apache proxy_ajp.conf could look like this:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
    &amp;lt;Location /internal&amp;gt;&lt;br /&gt;
        # restrict access to internal&lt;br /&gt;
        Order Deny,Allow&lt;br /&gt;
        Deny from all&lt;br /&gt;
        Allow from 127.0.0.1&lt;br /&gt;
        # you might add more ip addresses / networks here &lt;br /&gt;
        # if the apache is not on the same machine as the OX-server &lt;br /&gt;
        # Allow from 192.168 10 172.16&lt;br /&gt;
    &amp;lt;/Location&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;Proxy /internal/ox1/monitoring&amp;gt;&lt;br /&gt;
        ProxyPass ajp://oxhost1:8009/monitoring&lt;br /&gt;
    &amp;lt;/Proxy&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Jolokia on oxhost1 is accessable by &amp;lt;code&amp;gt;http://apacheaddress/internal/ox1/monitoring/jolokia&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Category:AppSuite]]&lt;br /&gt;
[[Category:Server]]&lt;br /&gt;
[[Category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=15650</id>
		<title>OX munin scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=15650"/>
		<updated>2013-09-09T10:10:24Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: /* Configuring for open-xchange-munin-scripts-jolokia */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to install Munin scripts for Open-Xchange=&lt;br /&gt;
&lt;br /&gt;
== Support for Jolokia ==&lt;br /&gt;
&lt;br /&gt;
By Version 7.4.0, Munin Scripts do support [[Jolokia]] as a bridge to get their information.&lt;br /&gt;
This has been done to get less overhead and speak with the correspondending JMX-beans directly.&lt;br /&gt;
&lt;br /&gt;
When 7.4.0 is released, all installation restrictions and informations will be written here,&lt;br /&gt;
as those scripts will be released as a new package.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
Munin node and munin master must be installed and configured prior using the Munin scripts package for Open-Xchange. The installation for this core components differs on various linux distributions. For details, please visit:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/&lt;br /&gt;
&lt;br /&gt;
especially:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/wiki/LinuxInstallation&lt;br /&gt;
&lt;br /&gt;
=== open-xchange-munin-scripts ===&lt;br /&gt;
{{InstallPlugin|pluginname=open-xchange-munin-scripts|sopath=unsupported/repo|reponame=oxmunin}}&lt;br /&gt;
&lt;br /&gt;
=== open-xchange-munin-scripts-jolokia ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring munin-node scripts for Open-Xchange ==&lt;br /&gt;
&lt;br /&gt;
The configuration of the scripts is done automatically. &lt;br /&gt;
&lt;br /&gt;
Note: The database pool monitoring script will get only configured if the Open-Xchange server is running and the database pools initialized when installing the open-xchange-munin-scripts package. That can be verified by e.g.:&lt;br /&gt;
&lt;br /&gt;
 # showruntimestats -x | grep &amp;quot;DB Pool&amp;quot;&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumWaiting = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,PoolSize = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumBrokenConnections = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumActive = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumIdle = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,AvgUseTime = 4.948&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MaxUseTime = 16777&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MinUseTime = 0&lt;br /&gt;
&lt;br /&gt;
=== Configuring for open-xchange-munin-scripts-jolokia ===&lt;br /&gt;
&lt;br /&gt;
Munin Scripts for Jolokia do have some additional settings for [[jolokia]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;vim /etc/munin/plugin-conf.d/ox&amp;lt;/code&amp;gt;&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; style=&amp;quot;table-layout: fixed&amp;quot; class='wikitable sortable' border='1'&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;30%&amp;quot; | Key&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;20%&amp;quot; | Default value&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;35%&amp;quot; | Comment&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaUrl&lt;br /&gt;
| http://localhost:8009/monitoring/jolokia&lt;br /&gt;
| base url for jolokia. this can differ, when using ajp. Possible ajp url could be http://apacheaddress/internal/ox1/monitoring/jolokia&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaUser&lt;br /&gt;
| &amp;quot;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;User used for authentication with HTTP Basic Authentication.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaPassword&lt;br /&gt;
| &amp;quot;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Password used for authentification,&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Both, &amp;lt;code&amp;gt; env.oxJolokiaUser &amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt; env.oxJolokiaPassword &amp;lt;/code&amp;gt; need to be set to the same value as set inside &amp;lt;code&amp;gt;jolokia.properties&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Supplementary notes for distributed munin clients =&lt;br /&gt;
&lt;br /&gt;
== Munin node ==&lt;br /&gt;
The default munin node configuration only allows connections from localhost, which means that munin master has to run on the same host. If there already is a munin master running, that master IP has to be added to the  file &amp;lt;code&amp;gt;/etc/munin/munin-node.conf&amp;lt;/code&amp;gt; on each node:&lt;br /&gt;
&lt;br /&gt;
 # A list of addresses that are allowed to connect.  This must be a&lt;br /&gt;
 # regular expression, since Net::Server does not understand CIDR-style&lt;br /&gt;
 # network notation unless the perl module Net::CIDR is installed.  You&lt;br /&gt;
 # may repeat the allow line as many times as you'd like&lt;br /&gt;
 &lt;br /&gt;
 allow ^127\.0\.0\.1$&lt;br /&gt;
&lt;br /&gt;
== Munin master ==&lt;br /&gt;
&lt;br /&gt;
Make sure the munin and apache packages are installed. If only localhost is going to be monitored, the default configuration is sufficient. Other munin nodes can be added in the  &amp;lt;code&amp;gt;/etc/munin/munin.conf&amp;lt;/code&amp;gt; file:&lt;br /&gt;
&lt;br /&gt;
 # a simple host tree&lt;br /&gt;
 [localhost.localdomain]&lt;br /&gt;
     address 127.0.0.1&lt;br /&gt;
     use_node_name yes&lt;br /&gt;
&lt;br /&gt;
By default, the munin monitoring web page is only reached from localhost,  other hosts or networks can be added in &amp;lt;code&amp;gt;/etc/apache2/conf.d/munin&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 Allow from localhost 127.0.0.0/8 ::1    # the default setting&lt;br /&gt;
 Allow from 10.99.0.0/8                  # added network&lt;br /&gt;
&lt;br /&gt;
The munin webpage is located at &amp;lt;code&amp;gt;http://yourhost_where_munin_is_running.org/munin&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: OX6]]&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=15649</id>
		<title>OX munin scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=15649"/>
		<updated>2013-09-09T10:09:06Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: /* Configuring for open-xchange-munin-scripts-jolokia */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to install Munin scripts for Open-Xchange=&lt;br /&gt;
&lt;br /&gt;
== Support for Jolokia ==&lt;br /&gt;
&lt;br /&gt;
By Version 7.4.0, Munin Scripts do support [[Jolokia]] as a bridge to get their information.&lt;br /&gt;
This has been done to get less overhead and speak with the correspondending JMX-beans directly.&lt;br /&gt;
&lt;br /&gt;
When 7.4.0 is released, all installation restrictions and informations will be written here,&lt;br /&gt;
as those scripts will be released as a new package.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
Munin node and munin master must be installed and configured prior using the Munin scripts package for Open-Xchange. The installation for this core components differs on various linux distributions. For details, please visit:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/&lt;br /&gt;
&lt;br /&gt;
especially:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/wiki/LinuxInstallation&lt;br /&gt;
&lt;br /&gt;
=== open-xchange-munin-scripts ===&lt;br /&gt;
{{InstallPlugin|pluginname=open-xchange-munin-scripts|sopath=unsupported/repo|reponame=oxmunin}}&lt;br /&gt;
&lt;br /&gt;
=== open-xchange-munin-scripts-jolokia ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring munin-node scripts for Open-Xchange ==&lt;br /&gt;
&lt;br /&gt;
The configuration of the scripts is done automatically. &lt;br /&gt;
&lt;br /&gt;
Note: The database pool monitoring script will get only configured if the Open-Xchange server is running and the database pools initialized when installing the open-xchange-munin-scripts package. That can be verified by e.g.:&lt;br /&gt;
&lt;br /&gt;
 # showruntimestats -x | grep &amp;quot;DB Pool&amp;quot;&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumWaiting = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,PoolSize = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumBrokenConnections = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumActive = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumIdle = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,AvgUseTime = 4.948&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MaxUseTime = 16777&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MinUseTime = 0&lt;br /&gt;
&lt;br /&gt;
=== Configuring for open-xchange-munin-scripts-jolokia ===&lt;br /&gt;
&lt;br /&gt;
Munin Scripts for Jolokia do have some additional settings when using ajp or different user settings for [[jolokia]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;vim /etc/munin/plugin-conf.d/ox&amp;lt;/code&amp;gt;&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; style=&amp;quot;table-layout: fixed&amp;quot; class='wikitable sortable' border='1'&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;30%&amp;quot; | Key&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;20%&amp;quot; | Default value&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;35%&amp;quot; | Comment&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaUrl&lt;br /&gt;
| http://localhost:8009/monitoring/jolokia&lt;br /&gt;
| base url for jolokia. this can differ, when using ajp. Possible ajp url could be http://apacheaddress/internal/ox1/monitoring/jolokia&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaUser&lt;br /&gt;
| &amp;quot;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;User used for authentication with HTTP Basic Authentication.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaPassword&lt;br /&gt;
| &amp;quot;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Password used for authentification,&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Both, &amp;lt;code&amp;gt; env.oxJolokiaUser &amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt; env.oxJolokiaPassword &amp;lt;/code&amp;gt; need to be set to the same value as set inside &amp;lt;code&amp;gt;jolokia.properties&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Supplementary notes for distributed munin clients =&lt;br /&gt;
&lt;br /&gt;
== Munin node ==&lt;br /&gt;
The default munin node configuration only allows connections from localhost, which means that munin master has to run on the same host. If there already is a munin master running, that master IP has to be added to the  file &amp;lt;code&amp;gt;/etc/munin/munin-node.conf&amp;lt;/code&amp;gt; on each node:&lt;br /&gt;
&lt;br /&gt;
 # A list of addresses that are allowed to connect.  This must be a&lt;br /&gt;
 # regular expression, since Net::Server does not understand CIDR-style&lt;br /&gt;
 # network notation unless the perl module Net::CIDR is installed.  You&lt;br /&gt;
 # may repeat the allow line as many times as you'd like&lt;br /&gt;
 &lt;br /&gt;
 allow ^127\.0\.0\.1$&lt;br /&gt;
&lt;br /&gt;
== Munin master ==&lt;br /&gt;
&lt;br /&gt;
Make sure the munin and apache packages are installed. If only localhost is going to be monitored, the default configuration is sufficient. Other munin nodes can be added in the  &amp;lt;code&amp;gt;/etc/munin/munin.conf&amp;lt;/code&amp;gt; file:&lt;br /&gt;
&lt;br /&gt;
 # a simple host tree&lt;br /&gt;
 [localhost.localdomain]&lt;br /&gt;
     address 127.0.0.1&lt;br /&gt;
     use_node_name yes&lt;br /&gt;
&lt;br /&gt;
By default, the munin monitoring web page is only reached from localhost,  other hosts or networks can be added in &amp;lt;code&amp;gt;/etc/apache2/conf.d/munin&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 Allow from localhost 127.0.0.0/8 ::1    # the default setting&lt;br /&gt;
 Allow from 10.99.0.0/8                  # added network&lt;br /&gt;
&lt;br /&gt;
The munin webpage is located at &amp;lt;code&amp;gt;http://yourhost_where_munin_is_running.org/munin&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: OX6]]&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=Jolokia&amp;diff=15648</id>
		<title>Jolokia</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=Jolokia&amp;diff=15648"/>
		<updated>2013-09-09T10:07:16Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: /* jolokia.properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to interact with Jolokia for Open-Xchange=&lt;br /&gt;
&lt;br /&gt;
Open-Xchange does support Jolokia as a remote JMX-Bridge over HTTP.&lt;br /&gt;
&lt;br /&gt;
By Version 7.4.0 ongoing, it is located inside Open-Xchange Bundle and configured by jolokia.properties&lt;br /&gt;
&lt;br /&gt;
Additional information can be found at http://www.jolokia.org/ .&lt;br /&gt;
&lt;br /&gt;
== jolokia.properties ==&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; style=&amp;quot;table-layout: fixed&amp;quot; class='wikitable sortable' border='1'&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;30%&amp;quot; | Key&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;20%&amp;quot; | Default value&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;35%&amp;quot; | Comment&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.start&lt;br /&gt;
| false&lt;br /&gt;
| start switch for jolokia&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.servlet.name&lt;br /&gt;
| /monitoring/jolokia&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Under what servlet name jolokia will be published, please bear in mind that this should not be forwarded by apache and kept internal&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.user&lt;br /&gt;
| &lt;br /&gt;
| &amp;lt;nowiki&amp;gt;User used for authentication with HTTP Basic Authentication. If not given, no authentication is used.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.password&lt;br /&gt;
| &lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Password used for authentification, if not set &amp;quot;secret&amp;quot; is used. Only needed if com.openexchange.jolokia.user is used&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.restrict.to.localhost&lt;br /&gt;
| true&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;This setting will restrict jolokia access to localhost. It is completly ignored when a jolokia-access.xml is present&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Keep in mind that Jolokia will not start, unless you set &amp;lt;code&amp;gt; com.openexchange.jolokia.start = true &amp;lt;/code&amp;gt; , &amp;lt;code&amp;gt; com.openexchange.jolokia.user = &amp;quot;yourUser&amp;quot;&amp;lt;/code&amp;gt; and to &amp;lt;code&amp;gt; com.openexchange.jolokia.password = &amp;quot;yourPassword&amp;quot;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
When using Munin-Scripts with Jolokia, this user and password also need to be changed.&lt;br /&gt;
&lt;br /&gt;
== Things to mention about Jolokia ==&lt;br /&gt;
&lt;br /&gt;
As Jolokia represents a JMX-Interface it is highly recommended to not forward it to the internet!&lt;br /&gt;
This is by default set through the use of &amp;lt;code&amp;gt;com.openexchange.jolokia.restrict.to.localhost = true&amp;lt;/code&amp;gt; and can be changed by either setting it to &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; or providing a &amp;lt;code&amp;gt;jolokia-access.xml&amp;lt;/code&amp;gt; inside &amp;lt;code&amp;gt;/opt/open-xchange/etc/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for further information how to setup this file, http://www.jolokia.org/reference/html/security.html is a good start as all those settings are usable.&lt;br /&gt;
&lt;br /&gt;
=== Jolokia with Grizzly ===&lt;br /&gt;
&lt;br /&gt;
When using Grizzly, you can connect to jolokia directly with the servers address, e.g.: http://oxserver1:8009/monitoring/jolokia&lt;br /&gt;
&lt;br /&gt;
=== Jolokia with AJP ===&lt;br /&gt;
&lt;br /&gt;
When using AJP, you need to enable forwarding for each server, keep in mind that those should be only accessable inside your intranet.&lt;br /&gt;
&lt;br /&gt;
An Apache proxy_ajp.conf could look like this:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
    &amp;lt;Location /internal&amp;gt;&lt;br /&gt;
        # restrict access to internal&lt;br /&gt;
        Order Deny,Allow&lt;br /&gt;
        Deny from all&lt;br /&gt;
        Allow from 127.0.0.1&lt;br /&gt;
        # you might add more ip addresses / networks here &lt;br /&gt;
        # if the apache is not on the same machine as the OX-server &lt;br /&gt;
        # Allow from 192.168 10 172.16&lt;br /&gt;
    &amp;lt;/Location&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;Proxy /internal/ox1/monitoring&amp;gt;&lt;br /&gt;
        ProxyPass ajp://oxhost1:8009/monitoring&lt;br /&gt;
    &amp;lt;/Proxy&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Jolokia on oxhost1 is accessable by http://apacheaddress/internal/ox1/monitoring/jolokia .&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=Jolokia&amp;diff=15647</id>
		<title>Jolokia</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=Jolokia&amp;diff=15647"/>
		<updated>2013-09-09T09:42:34Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: /* jolokia.properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to interact with Jolokia for Open-Xchange=&lt;br /&gt;
&lt;br /&gt;
Open-Xchange does support Jolokia as a remote JMX-Bridge over HTTP.&lt;br /&gt;
&lt;br /&gt;
By Version 7.4.0 ongoing, it is located inside Open-Xchange Bundle and configured by jolokia.properties&lt;br /&gt;
&lt;br /&gt;
Additional information can be found at http://www.jolokia.org/ .&lt;br /&gt;
&lt;br /&gt;
== jolokia.properties ==&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; style=&amp;quot;table-layout: fixed&amp;quot; class='wikitable sortable' border='1'&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;30%&amp;quot; | Key&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;20%&amp;quot; | Default value&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;35%&amp;quot; | Comment&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.start&lt;br /&gt;
| false&lt;br /&gt;
| start switch for jolokia&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.servlet.name&lt;br /&gt;
| /monitoring/jolokia&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Under what servlet name jolokia will be published, please bear in mind that this should not be forwarded by apache and kept internal&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.user&lt;br /&gt;
| &lt;br /&gt;
| &amp;lt;nowiki&amp;gt;User used for authentication with HTTP Basic Authentication. If not given, no authentication is used.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.password&lt;br /&gt;
| &lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Password used for authentification, if not set &amp;quot;secret&amp;quot; is used. Only needed if com.openexchange.jolokia.user is used&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.restrict.to.localhost&lt;br /&gt;
| true&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;This setting will restrict jolokia access to localhost. It is completly ignored when a jolokia-access.xml is present&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Things to mention about Jolokia ==&lt;br /&gt;
&lt;br /&gt;
As Jolokia represents a JMX-Interface it is highly recommended to not forward it to the internet!&lt;br /&gt;
This is by default set through the use of &amp;lt;code&amp;gt;com.openexchange.jolokia.restrict.to.localhost = true&amp;lt;/code&amp;gt; and can be changed by either setting it to &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; or providing a &amp;lt;code&amp;gt;jolokia-access.xml&amp;lt;/code&amp;gt; inside &amp;lt;code&amp;gt;/opt/open-xchange/etc/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for further information how to setup this file, http://www.jolokia.org/reference/html/security.html is a good start as all those settings are usable.&lt;br /&gt;
&lt;br /&gt;
=== Jolokia with Grizzly ===&lt;br /&gt;
&lt;br /&gt;
When using Grizzly, you can connect to jolokia directly with the servers address, e.g.: http://oxserver1:8009/monitoring/jolokia&lt;br /&gt;
&lt;br /&gt;
=== Jolokia with AJP ===&lt;br /&gt;
&lt;br /&gt;
When using AJP, you need to enable forwarding for each server, keep in mind that those should be only accessable inside your intranet.&lt;br /&gt;
&lt;br /&gt;
An Apache proxy_ajp.conf could look like this:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
    &amp;lt;Location /internal&amp;gt;&lt;br /&gt;
        # restrict access to internal&lt;br /&gt;
        Order Deny,Allow&lt;br /&gt;
        Deny from all&lt;br /&gt;
        Allow from 127.0.0.1&lt;br /&gt;
        # you might add more ip addresses / networks here &lt;br /&gt;
        # if the apache is not on the same machine as the OX-server &lt;br /&gt;
        # Allow from 192.168 10 172.16&lt;br /&gt;
    &amp;lt;/Location&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;Proxy /internal/ox1/monitoring&amp;gt;&lt;br /&gt;
        ProxyPass ajp://oxhost1:8009/monitoring&lt;br /&gt;
    &amp;lt;/Proxy&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Jolokia on oxhost1 is accessable by http://apacheaddress/internal/ox1/monitoring/jolokia .&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=Jolokia&amp;diff=15641</id>
		<title>Jolokia</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=Jolokia&amp;diff=15641"/>
		<updated>2013-09-06T07:31:34Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to interact with Jolokia for Open-Xchange=&lt;br /&gt;
&lt;br /&gt;
Open-Xchange does support Jolokia as a remote JMX-Bridge over HTTP.&lt;br /&gt;
&lt;br /&gt;
By Version 7.4.0 ongoing, it is located inside Open-Xchange Bundle and configured by jolokia.properties&lt;br /&gt;
&lt;br /&gt;
Additional information can be found at http://www.jolokia.org/ .&lt;br /&gt;
&lt;br /&gt;
== jolokia.properties ==&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; style=&amp;quot;table-layout: fixed&amp;quot; class='wikitable sortable' border='1'&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;30%&amp;quot; | Key&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;20%&amp;quot; | Default value&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;35%&amp;quot; | Comment&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.start&lt;br /&gt;
| false&lt;br /&gt;
| start switch for jolokia&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.servlet.name&lt;br /&gt;
| /monitoring/jolokia&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Under what servlet name jolokia will be published, please bear in mind that this should not be forwarded by apache and kept internal&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.user&lt;br /&gt;
| oxadmin&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;User used for authentication with HTTP Basic Authentication. If not given, no authentication is used.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.password&lt;br /&gt;
| secret&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Password used for authentification, if not set &amp;quot;secret&amp;quot; is used. Only needed if com.openexchange.jolokia.user is used&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.restrict.to.localhost&lt;br /&gt;
| true&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;This setting will restrict jolokia access to localhost. It is completly ignored when a jolokia-access.xml is present&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Things to mention about Jolokia ==&lt;br /&gt;
&lt;br /&gt;
As Jolokia represents a JMX-Interface it is highly recommended to not forward it to the internet!&lt;br /&gt;
This is by default set through the use of &amp;lt;code&amp;gt;com.openexchange.jolokia.restrict.to.localhost = true&amp;lt;/code&amp;gt; and can be changed by either setting it to &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; or providing a &amp;lt;code&amp;gt;jolokia-access.xml&amp;lt;/code&amp;gt; inside &amp;lt;code&amp;gt;/opt/open-xchange/etc/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for further information how to setup this file, http://www.jolokia.org/reference/html/security.html is a good start as all those settings are usable.&lt;br /&gt;
&lt;br /&gt;
=== Jolokia with Grizzly ===&lt;br /&gt;
&lt;br /&gt;
When using Grizzly, you can connect to jolokia directly with the servers address, e.g.: http://oxserver1:8009/monitoring/jolokia&lt;br /&gt;
&lt;br /&gt;
=== Jolokia with AJP ===&lt;br /&gt;
&lt;br /&gt;
When using AJP, you need to enable forwarding for each server, keep in mind that those should be only accessable inside your intranet.&lt;br /&gt;
&lt;br /&gt;
An Apache proxy_ajp.conf could look like this:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
    &amp;lt;Location /internal&amp;gt;&lt;br /&gt;
        # restrict access to internal&lt;br /&gt;
        Order Deny,Allow&lt;br /&gt;
        Deny from all&lt;br /&gt;
        Allow from 127.0.0.1&lt;br /&gt;
        # you might add more ip addresses / networks here &lt;br /&gt;
        # if the apache is not on the same machine as the OX-server &lt;br /&gt;
        # Allow from 192.168 10 172.16&lt;br /&gt;
    &amp;lt;/Location&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;Proxy /internal/ox1/monitoring&amp;gt;&lt;br /&gt;
        ProxyPass ajp://oxhost1:8009/monitoring&lt;br /&gt;
    &amp;lt;/Proxy&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Jolokia on oxhost1 is accessable by http://apacheaddress/internal/ox1/monitoring/jolokia .&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=Jolokia&amp;diff=15640</id>
		<title>Jolokia</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=Jolokia&amp;diff=15640"/>
		<updated>2013-09-06T07:23:45Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: /* jolokia.properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to interact with Jolokia for Open-Xchange=&lt;br /&gt;
&lt;br /&gt;
Open-Xchange does support Jolokia as a remote JMX-Bridge over HTTP.&lt;br /&gt;
&lt;br /&gt;
By Version 7.4.0 ongoing, it is located inside Open-Xchange Bundle and configured by jolokia.properties&lt;br /&gt;
&lt;br /&gt;
Additional information can be found at http://www.jolokia.org/ .&lt;br /&gt;
&lt;br /&gt;
== jolokia.properties ==&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; style=&amp;quot;table-layout: fixed&amp;quot; class='wikitable sortable' border='1'&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;30%&amp;quot; | Key&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;20%&amp;quot; | Default value&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;35%&amp;quot; | Comment&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.start&lt;br /&gt;
| false&lt;br /&gt;
| start switch for jolokia&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.servlet.name&lt;br /&gt;
| /monitoring/jolokia&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Under what servlet name jolokia will be published, please bear in mind that this should not be forwarded by apache and kept internal&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.user&lt;br /&gt;
| oxadmin&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;User used for authentication with HTTP Basic Authentication. If not given, no authentication is used.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.password&lt;br /&gt;
| secret&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Password used for authentification, if not set &amp;quot;secret&amp;quot; is used. Only needed if com.openexchange.jolokia.user is used&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.restrict.to.localhost&lt;br /&gt;
| true&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;This setting will restrict jolokia access to localhost. It is completly ignored when a jolokia-access.xml is present&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Things to mention about Jolokia ==&lt;br /&gt;
&lt;br /&gt;
As Jolokia represents a JMX-Interface it is highly recommended to not forward it to the internet!&lt;br /&gt;
&lt;br /&gt;
=== Jolokia with Grizzly ===&lt;br /&gt;
&lt;br /&gt;
When using Grizzly, you can connect to jolokia directly with the servers address, e.g.: http://oxserver1:8009/monitoring/jolokia&lt;br /&gt;
&lt;br /&gt;
=== Jolokia with AJP ===&lt;br /&gt;
&lt;br /&gt;
When using AJP, you need to enable forwarding for each server, keep in mind that those should be only accessable inside your intranet.&lt;br /&gt;
&lt;br /&gt;
An Apache proxy_ajp.conf could look like this:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
    &amp;lt;Location /internal&amp;gt;&lt;br /&gt;
        # restrict access to internal&lt;br /&gt;
        Order Deny,Allow&lt;br /&gt;
        Deny from all&lt;br /&gt;
        Allow from 127.0.0.1&lt;br /&gt;
        # you might add more ip addresses / networks here &lt;br /&gt;
        # if the apache is not on the same machine as the OX-server &lt;br /&gt;
        # Allow from 192.168 10 172.16&lt;br /&gt;
    &amp;lt;/Location&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;Proxy /internal/ox1/monitoring&amp;gt;&lt;br /&gt;
        ProxyPass ajp://oxhost1:8009/monitoring&lt;br /&gt;
    &amp;lt;/Proxy&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Jolokia on oxhost1 is accessable by http://apacheaddress/internal/ox1/monitoring/jolokia .&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=Jolokia&amp;diff=15567</id>
		<title>Jolokia</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=Jolokia&amp;diff=15567"/>
		<updated>2013-08-30T11:21:42Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: /* Jolokia with Grizzly */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to interact with Jolokia for Open-Xchange=&lt;br /&gt;
&lt;br /&gt;
Open-Xchange does support Jolokia as a remote JMX-Bridge over HTTP.&lt;br /&gt;
&lt;br /&gt;
By Version 7.4.0 ongoing, it is located inside Open-Xchange Bundle and configured by jolokia.properties&lt;br /&gt;
&lt;br /&gt;
Additional information can be found at http://www.jolokia.org/ .&lt;br /&gt;
&lt;br /&gt;
== jolokia.properties ==&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; style=&amp;quot;table-layout: fixed&amp;quot; class='wikitable sortable' border='1'&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;30%&amp;quot; | Key&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;20%&amp;quot; | Default value&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;35%&amp;quot; | Comment&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.start&lt;br /&gt;
| false&lt;br /&gt;
| start switch for jolokia&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.servlet.name&lt;br /&gt;
| /monitoring/jolokia&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Under what servlet name jolokia will be published, please bear in mind that this should not be forwarded by apache and kept internal&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.user&lt;br /&gt;
| oxadmin&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;User used for authentication with HTTP Basic Authentication. If not given, no authentication is used.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.password&lt;br /&gt;
| secret&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Password used for authentification, if not set &amp;quot;secret&amp;quot; is used. Only needed if com.openexchange.jolokia.user is used&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Things to mention about Jolokia ==&lt;br /&gt;
&lt;br /&gt;
As Jolokia represents a JMX-Interface it is highly recommended to not forward it to the internet!&lt;br /&gt;
&lt;br /&gt;
=== Jolokia with Grizzly ===&lt;br /&gt;
&lt;br /&gt;
When using Grizzly, you can connect to jolokia directly with the servers address, e.g.: http://oxserver1:8009/monitoring/jolokia&lt;br /&gt;
&lt;br /&gt;
=== Jolokia with AJP ===&lt;br /&gt;
&lt;br /&gt;
When using AJP, you need to enable forwarding for each server, keep in mind that those should be only accessable inside your intranet.&lt;br /&gt;
&lt;br /&gt;
An Apache proxy_ajp.conf could look like this:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
    &amp;lt;Location /internal&amp;gt;&lt;br /&gt;
        # restrict access to internal&lt;br /&gt;
        Order Deny,Allow&lt;br /&gt;
        Deny from all&lt;br /&gt;
        Allow from 127.0.0.1&lt;br /&gt;
        # you might add more ip addresses / networks here &lt;br /&gt;
        # if the apache is not on the same machine as the OX-server &lt;br /&gt;
        # Allow from 192.168 10 172.16&lt;br /&gt;
    &amp;lt;/Location&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;Proxy /internal/ox1/monitoring&amp;gt;&lt;br /&gt;
        ProxyPass ajp://oxhost1:8009/monitoring&lt;br /&gt;
    &amp;lt;/Proxy&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Jolokia on oxhost1 is accessable by http://apacheaddress/internal/ox1/monitoring/jolokia .&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=15163</id>
		<title>OX munin scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=15163"/>
		<updated>2013-08-02T09:35:45Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: /* How to install Munin scripts for Open-Xchange */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to install Munin scripts for Open-Xchange=&lt;br /&gt;
&lt;br /&gt;
== Support for Jolokia ==&lt;br /&gt;
&lt;br /&gt;
By Version 7.4.0, Munin Scripts do support [[Jolokia]] as a bridge to get their information.&lt;br /&gt;
This has been done to get less overhead and speak with the correspondending JMX-beans directly.&lt;br /&gt;
&lt;br /&gt;
When 7.4.0 is released, all installation restrictions and informations will be written here,&lt;br /&gt;
as those scripts will be released as a new package.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
Munin node and munin master must be installed and configured prior using the Munin scripts package for Open-Xchange. The installation for this core components differs on various linux distributions. For details, please visit:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/&lt;br /&gt;
&lt;br /&gt;
especially:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/wiki/LinuxInstallation&lt;br /&gt;
&lt;br /&gt;
=== open-xchange-munin-scripts ===&lt;br /&gt;
{{InstallPlugin|pluginname=open-xchange-munin-scripts|sopath=unsupported/repo|reponame=oxmunin}}&lt;br /&gt;
&lt;br /&gt;
=== open-xchange-munin-scripts-jolokia ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring munin-node scripts for Open-Xchange ==&lt;br /&gt;
&lt;br /&gt;
The configuration of the scripts is done automatically. &lt;br /&gt;
&lt;br /&gt;
Note: The database pool monitoring script will get only configured if the Open-Xchange server is running and the database pools initialized when installing the open-xchange-munin-scripts package. That can be verified by e.g.:&lt;br /&gt;
&lt;br /&gt;
 # showruntimestats -x | grep &amp;quot;DB Pool&amp;quot;&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumWaiting = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,PoolSize = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumBrokenConnections = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumActive = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumIdle = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,AvgUseTime = 4.948&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MaxUseTime = 16777&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MinUseTime = 0&lt;br /&gt;
&lt;br /&gt;
=== Configuring for open-xchange-munin-scripts-jolokia ===&lt;br /&gt;
&lt;br /&gt;
Munin Scripts for Jolokia do have some additional settings when using ajp or different user settings for [[jolokia]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;vim /etc/munin/plugin-conf.d/ox&amp;lt;/code&amp;gt;&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; style=&amp;quot;table-layout: fixed&amp;quot; class='wikitable sortable' border='1'&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;30%&amp;quot; | Key&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;20%&amp;quot; | Default value&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;35%&amp;quot; | Comment&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaUrl&lt;br /&gt;
| http://localhost:8009/monitoring/jolokia&lt;br /&gt;
| base url for jolokia. this can differ, when using ajp. Possible ajp url could be http://apacheaddress/internal/ox1/monitoring/jolokia&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaUser&lt;br /&gt;
| oxadmin&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;User used for authentication with HTTP Basic Authentication.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| env.oxJolokiaPassword&lt;br /&gt;
| secret&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Password used for authentification,&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Supplementary notes for distributed munin clients =&lt;br /&gt;
&lt;br /&gt;
== Munin node ==&lt;br /&gt;
The default munin node configuration only allows connections from localhost, which means that munin master has to run on the same host. If there already is a munin master running, that master IP has to be added to the  file &amp;lt;code&amp;gt;/etc/munin/munin-node.conf&amp;lt;/code&amp;gt; on each node:&lt;br /&gt;
&lt;br /&gt;
 # A list of addresses that are allowed to connect.  This must be a&lt;br /&gt;
 # regular expression, since Net::Server does not understand CIDR-style&lt;br /&gt;
 # network notation unless the perl module Net::CIDR is installed.  You&lt;br /&gt;
 # may repeat the allow line as many times as you'd like&lt;br /&gt;
 &lt;br /&gt;
 allow ^127\.0\.0\.1$&lt;br /&gt;
&lt;br /&gt;
== Munin master ==&lt;br /&gt;
&lt;br /&gt;
Make sure the munin and apache packages are installed. If only localhost is going to be monitored, the default configuration is sufficient. Other munin nodes can be added in the  &amp;lt;code&amp;gt;/etc/munin/munin.conf&amp;lt;/code&amp;gt; file:&lt;br /&gt;
&lt;br /&gt;
 # a simple host tree&lt;br /&gt;
 [localhost.localdomain]&lt;br /&gt;
     address 127.0.0.1&lt;br /&gt;
     use_node_name yes&lt;br /&gt;
&lt;br /&gt;
By default, the munin monitoring web page is only reached from localhost,  other hosts or networks can be added in &amp;lt;code&amp;gt;/etc/apache2/conf.d/munin&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 Allow from localhost 127.0.0.0/8 ::1    # the default setting&lt;br /&gt;
 Allow from 10.99.0.0/8                  # added network&lt;br /&gt;
&lt;br /&gt;
The munin webpage is located at &amp;lt;code&amp;gt;http://yourhost_where_munin_is_running.org/munin&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: OX6]]&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=Jolokia&amp;diff=15162</id>
		<title>Jolokia</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=Jolokia&amp;diff=15162"/>
		<updated>2013-08-02T09:19:02Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: /* Jolokia with Grizzly */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to interact with Jolokia for Open-Xchange=&lt;br /&gt;
&lt;br /&gt;
Open-Xchange does support Jolokia as a remote JMX-Bridge over HTTP.&lt;br /&gt;
&lt;br /&gt;
By Version 7.4.0 ongoing, it is located inside Open-Xchange Bundle and configured by jolokia.properties&lt;br /&gt;
&lt;br /&gt;
Additional information can be found at http://www.jolokia.org/ .&lt;br /&gt;
&lt;br /&gt;
== jolokia.properties ==&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; style=&amp;quot;table-layout: fixed&amp;quot; class='wikitable sortable' border='1'&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;30%&amp;quot; | Key&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;20%&amp;quot; | Default value&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;35%&amp;quot; | Comment&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.start&lt;br /&gt;
| false&lt;br /&gt;
| start switch for jolokia&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.servlet.name&lt;br /&gt;
| /monitoring/jolokia&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Under what servlet name jolokia will be published, please bear in mind that this should not be forwarded by apache and kept internal&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.user&lt;br /&gt;
| oxadmin&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;User used for authentication with HTTP Basic Authentication. If not given, no authentication is used.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.password&lt;br /&gt;
| secret&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Password used for authentification, if not set &amp;quot;secret&amp;quot; is used. Only needed if com.openexchange.jolokia.user is used&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Things to mention about Jolokia ==&lt;br /&gt;
&lt;br /&gt;
As Jolokia represents a JMX-Interface it is highly recommended to not forward it to the internet!&lt;br /&gt;
&lt;br /&gt;
=== Jolokia with Grizzly ===&lt;br /&gt;
&lt;br /&gt;
When using Grizzly, you can connect to jolokia directly with the servers address, e.g.: http://oxserver1.8009/monitoring/jolokia&lt;br /&gt;
&lt;br /&gt;
=== Jolokia with AJP ===&lt;br /&gt;
&lt;br /&gt;
When using AJP, you need to enable forwarding for each server, keep in mind that those should be only accessable inside your intranet.&lt;br /&gt;
&lt;br /&gt;
An Apache proxy_ajp.conf could look like this:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
    &amp;lt;Location /internal&amp;gt;&lt;br /&gt;
        # restrict access to internal&lt;br /&gt;
        Order Deny,Allow&lt;br /&gt;
        Deny from all&lt;br /&gt;
        Allow from 127.0.0.1&lt;br /&gt;
        # you might add more ip addresses / networks here &lt;br /&gt;
        # if the apache is not on the same machine as the OX-server &lt;br /&gt;
        # Allow from 192.168 10 172.16&lt;br /&gt;
    &amp;lt;/Location&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;Proxy /internal/ox1/monitoring&amp;gt;&lt;br /&gt;
        ProxyPass ajp://oxhost1:8009/monitoring&lt;br /&gt;
    &amp;lt;/Proxy&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Jolokia on oxhost1 is accessable by http://apacheaddress/internal/ox1/monitoring/jolokia .&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=Jolokia&amp;diff=15161</id>
		<title>Jolokia</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=Jolokia&amp;diff=15161"/>
		<updated>2013-08-02T09:18:44Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: Created page with &amp;quot;= How to interact with Jolokia for Open-Xchange=  Open-Xchange does support Jolokia as a remote JMX-Bridge over HTTP.  By Version 7.4.0 ongoing, it is located inside Open-Xcha...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to interact with Jolokia for Open-Xchange=&lt;br /&gt;
&lt;br /&gt;
Open-Xchange does support Jolokia as a remote JMX-Bridge over HTTP.&lt;br /&gt;
&lt;br /&gt;
By Version 7.4.0 ongoing, it is located inside Open-Xchange Bundle and configured by jolokia.properties&lt;br /&gt;
&lt;br /&gt;
Additional information can be found at http://www.jolokia.org/ .&lt;br /&gt;
&lt;br /&gt;
== jolokia.properties ==&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; style=&amp;quot;table-layout: fixed&amp;quot; class='wikitable sortable' border='1'&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;30%&amp;quot; | Key&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;20%&amp;quot; | Default value&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;35%&amp;quot; | Comment&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.start&lt;br /&gt;
| false&lt;br /&gt;
| start switch for jolokia&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.servlet.name&lt;br /&gt;
| /monitoring/jolokia&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Under what servlet name jolokia will be published, please bear in mind that this should not be forwarded by apache and kept internal&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.user&lt;br /&gt;
| oxadmin&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;User used for authentication with HTTP Basic Authentication. If not given, no authentication is used.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| com.openexchange.jolokia.password&lt;br /&gt;
| secret&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;Password used for authentification, if not set &amp;quot;secret&amp;quot; is used. Only needed if com.openexchange.jolokia.user is used&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Things to mention about Jolokia ==&lt;br /&gt;
&lt;br /&gt;
As Jolokia represents a JMX-Interface it is highly recommended to not forward it to the internet!&lt;br /&gt;
&lt;br /&gt;
=== Jolokia with Grizzly ===&lt;br /&gt;
&lt;br /&gt;
When using Grizzly, you can connect to jolokia directly with the servers address, e.g.: http://oxserver1.8009/monitoring/jolokia&lt;br /&gt;
&lt;br /&gt;
When using AJP, you need to enable forwarding for each server, keep in mind that those should be only accessable inside your intranet.&lt;br /&gt;
&lt;br /&gt;
An Apache proxy_ajp.conf could look like this:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
    &amp;lt;Location /internal&amp;gt;&lt;br /&gt;
        # restrict access to internal&lt;br /&gt;
        Order Deny,Allow&lt;br /&gt;
        Deny from all&lt;br /&gt;
        Allow from 127.0.0.1&lt;br /&gt;
        # you might add more ip addresses / networks here &lt;br /&gt;
        # if the apache is not on the same machine as the OX-server &lt;br /&gt;
        # Allow from 192.168 10 172.16&lt;br /&gt;
    &amp;lt;/Location&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;Proxy /internal/ox1/monitoring&amp;gt;&lt;br /&gt;
        ProxyPass ajp://oxhost1:8009/monitoring&lt;br /&gt;
    &amp;lt;/Proxy&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Jolokia on oxhost1 is accessable by http://apacheaddress/internal/ox1/monitoring/jolokia .&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=15160</id>
		<title>OX munin scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=15160"/>
		<updated>2013-08-02T07:10:35Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: /* Support for Jolokia */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to install Munin scripts for Open-Xchange=&lt;br /&gt;
&lt;br /&gt;
== Support for Jolokia ==&lt;br /&gt;
&lt;br /&gt;
By Version 7.4.0, Munin Scripts do support Jolokia as a bridge to get their information.&lt;br /&gt;
This has been done to get less overhead and speak with the correspondending JMX-beans directly.&lt;br /&gt;
&lt;br /&gt;
When 7.4.0 is released, all installation restrictions and informations will be written here,&lt;br /&gt;
as those scripts will be released as a new package.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
Munin node and munin master must be installed and configured prior using the Munin scripts package for Open-Xchange. The installation for this core components differs on various linux distributions. For details, please visit:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/&lt;br /&gt;
&lt;br /&gt;
especially:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/wiki/LinuxInstallation&lt;br /&gt;
&lt;br /&gt;
{{InstallPlugin|pluginname=open-xchange-munin-scripts|sopath=unsupported/repo|reponame=oxmunin}}&lt;br /&gt;
&lt;br /&gt;
== Configuring munin-node scripts for Open-Xchange ==&lt;br /&gt;
&lt;br /&gt;
The configuration of the scripts is done automatically. &lt;br /&gt;
&lt;br /&gt;
Note: The database pool monitoring script will get only configured if the Open-Xchange server is running and the database pools initialized when installing the open-xchange-munin-scripts package. That can be verified by e.g.:&lt;br /&gt;
&lt;br /&gt;
 # showruntimestats -x | grep &amp;quot;DB Pool&amp;quot;&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumWaiting = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,PoolSize = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumBrokenConnections = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumActive = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumIdle = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,AvgUseTime = 4.948&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MaxUseTime = 16777&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MinUseTime = 0&lt;br /&gt;
&lt;br /&gt;
= Supplementary notes for distributed munin clients =&lt;br /&gt;
&lt;br /&gt;
== Munin node ==&lt;br /&gt;
The default munin node configuration only allows connections from localhost, which means that munin master has to run on the same host. If there already is a munin master running, that master IP has to be added to the  file &amp;lt;code&amp;gt;/etc/munin/munin-node.conf&amp;lt;/code&amp;gt; on each node:&lt;br /&gt;
&lt;br /&gt;
 # A list of addresses that are allowed to connect.  This must be a&lt;br /&gt;
 # regular expression, since Net::Server does not understand CIDR-style&lt;br /&gt;
 # network notation unless the perl module Net::CIDR is installed.  You&lt;br /&gt;
 # may repeat the allow line as many times as you'd like&lt;br /&gt;
 &lt;br /&gt;
 allow ^127\.0\.0\.1$&lt;br /&gt;
&lt;br /&gt;
== Munin master ==&lt;br /&gt;
&lt;br /&gt;
Make sure the munin and apache packages are installed. If only localhost is going to be monitored, the default configuration is sufficient. Other munin nodes can be added in the  &amp;lt;code&amp;gt;/etc/munin/munin.conf&amp;lt;/code&amp;gt; file:&lt;br /&gt;
&lt;br /&gt;
 # a simple host tree&lt;br /&gt;
 [localhost.localdomain]&lt;br /&gt;
     address 127.0.0.1&lt;br /&gt;
     use_node_name yes&lt;br /&gt;
&lt;br /&gt;
By default, the munin monitoring web page is only reached from localhost,  other hosts or networks can be added in &amp;lt;code&amp;gt;/etc/apache2/conf.d/munin&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 Allow from localhost 127.0.0.0/8 ::1    # the default setting&lt;br /&gt;
 Allow from 10.99.0.0/8                  # added network&lt;br /&gt;
&lt;br /&gt;
The munin webpage is located at &amp;lt;code&amp;gt;http://yourhost_where_munin_is_running.org/munin&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: OX6]]&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=15159</id>
		<title>OX munin scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=OX_munin_scripts&amp;diff=15159"/>
		<updated>2013-08-02T07:02:43Z</updated>

		<summary type="html">&lt;p&gt;Felix.Marx: /* How to install Munin scripts for Open-Xchange */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to install Munin scripts for Open-Xchange=&lt;br /&gt;
&lt;br /&gt;
== Support for Jolokia ==&lt;br /&gt;
&lt;br /&gt;
By Version 7.4.0, Munin Scripts do support Jolokia as a bridge to get their information.&lt;br /&gt;
This has been done to get less overhead and speak with the correspondending JMX-beans directly.&lt;br /&gt;
&lt;br /&gt;
When 7.4.0 is released, all installation restrictions and informations will be written here.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
Munin node and munin master must be installed and configured prior using the Munin scripts package for Open-Xchange. The installation for this core components differs on various linux distributions. For details, please visit:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/&lt;br /&gt;
&lt;br /&gt;
especially:&lt;br /&gt;
&lt;br /&gt;
http://munin-monitoring.org/wiki/LinuxInstallation&lt;br /&gt;
&lt;br /&gt;
{{InstallPlugin|pluginname=open-xchange-munin-scripts|sopath=unsupported/repo|reponame=oxmunin}}&lt;br /&gt;
&lt;br /&gt;
== Configuring munin-node scripts for Open-Xchange ==&lt;br /&gt;
&lt;br /&gt;
The configuration of the scripts is done automatically. &lt;br /&gt;
&lt;br /&gt;
Note: The database pool monitoring script will get only configured if the Open-Xchange server is running and the database pools initialized when installing the open-xchange-munin-scripts package. That can be verified by e.g.:&lt;br /&gt;
&lt;br /&gt;
 # showruntimestats -x | grep &amp;quot;DB Pool&amp;quot;&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumWaiting = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,PoolSize = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumBrokenConnections = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumActive = 0&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,NumIdle = 3&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,AvgUseTime = 4.948&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MaxUseTime = 16777&lt;br /&gt;
 com.openexchange.pooling:name=DB Pool 4,MinUseTime = 0&lt;br /&gt;
&lt;br /&gt;
= Supplementary notes for distributed munin clients =&lt;br /&gt;
&lt;br /&gt;
== Munin node ==&lt;br /&gt;
The default munin node configuration only allows connections from localhost, which means that munin master has to run on the same host. If there already is a munin master running, that master IP has to be added to the  file &amp;lt;code&amp;gt;/etc/munin/munin-node.conf&amp;lt;/code&amp;gt; on each node:&lt;br /&gt;
&lt;br /&gt;
 # A list of addresses that are allowed to connect.  This must be a&lt;br /&gt;
 # regular expression, since Net::Server does not understand CIDR-style&lt;br /&gt;
 # network notation unless the perl module Net::CIDR is installed.  You&lt;br /&gt;
 # may repeat the allow line as many times as you'd like&lt;br /&gt;
 &lt;br /&gt;
 allow ^127\.0\.0\.1$&lt;br /&gt;
&lt;br /&gt;
== Munin master ==&lt;br /&gt;
&lt;br /&gt;
Make sure the munin and apache packages are installed. If only localhost is going to be monitored, the default configuration is sufficient. Other munin nodes can be added in the  &amp;lt;code&amp;gt;/etc/munin/munin.conf&amp;lt;/code&amp;gt; file:&lt;br /&gt;
&lt;br /&gt;
 # a simple host tree&lt;br /&gt;
 [localhost.localdomain]&lt;br /&gt;
     address 127.0.0.1&lt;br /&gt;
     use_node_name yes&lt;br /&gt;
&lt;br /&gt;
By default, the munin monitoring web page is only reached from localhost,  other hosts or networks can be added in &amp;lt;code&amp;gt;/etc/apache2/conf.d/munin&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 Allow from localhost 127.0.0.0/8 ::1    # the default setting&lt;br /&gt;
 Allow from 10.99.0.0/8                  # added network&lt;br /&gt;
&lt;br /&gt;
The munin webpage is located at &amp;lt;code&amp;gt;http://yourhost_where_munin_is_running.org/munin&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: OX6]]&lt;/div&gt;</summary>
		<author><name>Felix.Marx</name></author>
	</entry>
</feed>