Open IT Experts for Enterprise

Zylk empresa de desarrollo de ecommerce

Docker image for Nagios setup for Alfresco Community

Cesar Capillas
Cesar Capillas
Alfresco

Dockerfile for Alfresco monitoring

Recently, I started to play with Docker and Vagrant. Many docker images are available in Alfresco Community projects, and recently Alfresco published a very interesting Vagrant Sandbox for the complete platform.
My first Docker image is now published on github for a basic setup of Nagios/Icinga for Alfresco (Community and Enterprise). The Dockerfile is configurable for setting the corresponding Alfresco target machine for monitoring. In the following, I show you the basic steps for setting this Docker image:

0. Clone the project

$ git clone https://github.com/zylklab/alfresco-nagios
$ cd alfresco-nagios

1. Configure Alfresco templates in Dockerfile according to your Alfresco repository targets to monitor.

##
## Icinga Config
##
ENV ICINGA_CONFIG /etc/icinga/objects
ENV ICINGA_PLUGIN /usr/lib/nagios/plugins
ENV ICINGA_ADMIN admin 

##
## Alfresco Community Template
## 
ENV ALF_HOST alf-ce.melmac.net 
ENV ALF_PORT 8080 
ENV ALF_ADDR 127.0.0.1
# Alfresco admin user for monitoring
ENV ALF_USER monitor
ENV ALF_PASS secret
# Alfresco JMXProxy manager user
ENV JMXPROXY_USER manager
ENV JMXPROXY_PASS s3cret

##
## Alfresco Enterprise Template
##
ENV ACS_HOST alf-ee.melmac.net 
ENV ACS_ADDR 127.0.0.1 
# JMX User
ENV JMX_USER monitorRole
ENV JMX_PASS change_asap 

2. Run docker commands

$ sudo docker build -t zylklab/icingalf .
$ sudo docker run -i -t zylklab/icingalf

3. Login http://docker-server-ip/icinga with icingaadmin/admin credentials.

Any feedback is welcome. Check the project in github:

External Links:

Si te ha parecido interesante comparte este post en RRS

Facebook
LinkedIn
Telegram
Email

Leer más sobre temas relacionados

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *