Blog

Zarafa zabbix templates

At Zarafa Summercamp 2011 Steve Hardy presented two python scripts which use the zarafa python MAPI bindings in order to get the internal Zarafa statistics, so we decided to use this as a base for a Zabbix plugin.


On each host which needs monitoring you need to copy the scripts : zarafa-zabbix-stats-sender and zarafa_configured_cache_size.sh and set them up in cron. Edit both scripts and put/adjust the hostname and zabbix server entries according to each of your monitored hosts.

  • zarafa-zabbix-stats-sender - is a python script which needs zarafa-python_6.40.10-28214 or newer and ZCP 6.40.10 or newer. This script actually sends all of the data. We are using it on Ubuntu Lucid with python 2.6.
  • zarafa_configured_cache_size.sh - small shell script which gets the cache settings from /etc/zarafa/server.cfg and sends them to Zabbix. The script is set to run once in 6 hours, but you can increase, decrease as needed(also you need to adjust the items if you do this).

Both scripts above rely on zabbix_sender in order to send the data to the Zabbix server.

The cron entries are:

#send zarafa cache statistics to zabbix
* * * * * /usr/bin/python /usr/local/bin/zarafa-zabbix-stats-sender > /dev/null 2>&1
1 0,6,12,18 * * * /usr/local/bin/zarafa_configured_cache_size.sh > /dev/null 2>&1


Import the XML file in Zabbix using the web interface and associate the host(s) with Template_app_zarafa_stats_active. Create screens as needed.

We recommend to use this together with Paulson McIntyre's Apache monitoring script and the Mysql extended monitoring provided by appaloosa-zabbix-templates as they will give you a good view in your ZCP installation.







Linux flashcache and bcache performance testing Wednesday, April 18th, 2012 - by AccelCloud

Zarafa zabbix templates Tuesday, August 2nd, 2011 - by AccelCloud

Browse By Month:

Recent Tweets

  • Twitter feed loading

Contact Us

Phone: +31 (0)20 618 5618

Email: info@accelcloud.com