Zarafa Statistics Monitor

From Zarafa wiki

Jump to: navigation, search

This article will explain how to install the Zarafa System Statistics Monitor on your Linux server.
This feature is only available for customers with a Zarafa Professional or Enterprise subscription.

We assume you have knowledge of your Linux distribution and know a few basic Linux commands.


Installation

First you will need to download the software on your Linux server. You may do so with the following command:

  $ wget http://download.zarafa.com/zarafa/extra/zarafa-ssm-6.20-extra.tar.gz


If you do not have wget, you will need to install that software package, since the software will use wget as well. After downloading the file, you may install the software with the following command:

 $ tar zxpvf zarafa-ssm-6.20-extra.tar.gz -C /


The following additional software needs to be installed on your Linux server for the software to correctly work:

  • sysstat
  • wget
  • mktemp
  • coreutils
  • zarafa


To check whether you have the required software installed, you can use the following command: For RPM based distributions (RHEL, SLES):

 $ rpm -q sysstat wget mktemp coreutils zarafa


For DEB based distributions (Debian, Ubuntu):

 $ dpkg -l sysstat wget mktemp coreutils zarafa

The sysstat software will monitor your system every 10 minutes, and log what has happend in the last 10 minutes. This includes, but not limited to, memory, disk, cpu and network usage. To enable this software, you will need to edit the file /etc/default/sysstat. Edit the ENABLED line to correctly enable activity logging of your server. After editing this file, you can start the logging with the following command:

 $ /etc/init.d/sysstat start                                                                                                      


Now you will need to enable the zarafa-ssm program. For this, edit the file /etc/default/zarafa-ssm. In this file too, edit the ENABLED line, and set the value to 1. Now every sunday night, the statistical information of your server will be uploaded to a server of Zarafa.

This data will be used to preventively find and problems or bottlenecks that might arise on your zarafa server.


Internal workings of the System Statistics Monitor

The zarafa-ssm program will gather some information about your server, along with the usage information that the sysstat program gathers. Currently the following information will be sent to a server of Zarafa:


  • cpu type
  • disk size and formatting information
  • memory sizes
  • hostname
  • kernel version
  • distribution version
  • zarafa version


Also some information about your Zarafa installation is gathered. This information includes:

  • Zarafa statistics, including cache usage and SQL usage.
  • User information, including store sizes
  • Company information (if running in hosted mode)


All this information is sent over a secure SSL line to the Zarafa Monitoring server.

Personal tools