Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Nagios setup for Alfresco

Table of Contents


A well known example for Alfresco monitoring via JMX is available here, but the most interesting information for this is related to Enterprise Edition (EE). General direct monitoring commands (not JMX-based) may be used for Community Edition (CE) too via OOTB Support Tools webscripts (System Performance, Active Sessions and SOLR).

Nagios-Icinga configuration for Alfresco Community

OOTB Support Tools webscripts

With OOTB Support Tools addon for Alfresco Community Edition, it is possible to extract useful information about JVM, threads, logged users or SOLR via curl command. We can use the JSON information from the available webscripts of the addon for generating alerts and graphs in Nagios.

  • JVM Used Memory
  • Number of Threads
  • Number of active database connections
  • Number of logged users
  • Number of tickets
  • Process Load
  • System Load
  • SOLR numDocs (for any core)
  • SOLR deletedDocs
  • SOLR Health
  • SOLR indices size (for any core)

Nagios Alfresco

For consuming OOTB webscripts, you need to create a dedicated user for Alfresco Monitoring, for example monitor, with admin rights (belonging to ALFRESCO_ADMINISTRATORS group). Take into consideration that this password is used in Nagios scripts. You should use SSL in http requests, or running monitoring processes locally in Alfresco server via NRPE protocol (safer).

Previously you need to install OOTB Support Tools addon in your Alfresco CE server.

The ALF_USER and ALF_PASS variables are needed in docker-compose.yml template file for Alfresco Community mode MODE=CE. These variables are not needed in the EE mode.

JMXProxy servlet (legacy)

With JMX Proxy Servlet enabled in Alfresco Community, you may get JMX information about Garbage Collector, Memory, Threads or Operating System in your Tomcat instance. The essential info may be obtained from OOTB Support Tools webscripts too, but other important parameters from Operating System or Garbage Collector may be extracted this way. Please note that this JMX information is related to the default mbeans in a Tomcat container, and not related to the Alfresco JMX objects contained in Alfresco Enterprise (aka Alfresco Content Services).

For illustrating this, we will monitor the number of opened file descriptors in the operating system. It is also an alternative to Jolokia or check_jmx methods.

The JMXPROXY_USER and JMXPROXY_PASS variables are needed in docker-compose.yml template file for Alfresco Community mode MODE=CE. These variables are not needed in the EE mode.

Nagios-Icinga configuration for Alfresco Enterprise

This set up needs JMX enabled Alfresco Server. For enabling JMX, you can check Alfresco docs

Nagios Alfresco

The JMX_USER and JMX_PASS variables are needed in docker-compose.yml template file for Alfresco Enterprise mode MODE=EE. These variables are not needed in the CE mode.

Alfresco Search Services

Alfresco Search Services (based on SOLR 6.x) are monitored via script by Alexandre Chapellon. The script helps to monitor index, handlers, FTS and caches values. It is valid both for Alfresco Community and Alfresco Enterprise setups.

Nagios ASS

You may find more details in Alfresco Premier Services blog post:

Using Docker template

You can check this basic Nagios/Icinga setup using Docker. Previously, you may need to enable JMX in Alfresco Enterprise, and to install OOTB Support Tools addon and to enable JMXProxy servlet in Alfresco Community setups.

  1. Clone this project
$ git clone
$ cd alfresco-nagios
  1. Configure Alfresco template in docker-compose.yml file according to your Alfresco repository target and mode to monitor.
version: '3.1'


    build: .
      - 8888:80
      - MODE=CE
      - ALF_PORT=8080
      - ALF_USER=${ALF_USER}
      - ASS_PORT=8983

      #- MODE=EE
      #- ALF_PORT=8080
      #- JMX_USER=${JMX_USER}
      #- JMX_PASS=${JMX_PASS}
      #- ASS_PORT=8983

      - ""
      - ""
      #- ""
      #- ""
  1. Fire the Icinga container via docker-compose
$ docker-compose up
  1. Icinga login

To access Icinga, point your browser to your docker host IP (probably locahost) at port 8888, with icingaadmin/admin credentials. Note that you can change the port mapping in docker-compose.yml file too.


Note: Take into consideration that email alerts are not configured. You should configure postfix and Icinga/Nagios contacts.

Tested on

  • Alfresco 201707GA + OOTB Support Tools Addon>0.1
  • Alfresco 5.0.25 EE, 5.2.3 EE, 5.2.4 EE
  • Nagios/Icinga 3
  • PNP4Nagios 0.6.0
  • Docker version 1.12.6
  • Ubuntu 14.04 LTS




Icinga/Nagios setup to monitor Alfresco Community/Enterprise 5.x





No releases published


No packages published