Zimbra Collaboration


Zimbra Dashboard by Jorge de la Cruz (jorgedelacruz.es)
Last updated: a year ago

Start with Grafana Cloud and the new FREE tier. Includes 10K series Prometheus or Graphite Metrics and 50gb Loki Logs

Downloads: 1154

Reviews: 0

  • zimbra-monitoring-grafana-001.png

This dashboard contains multiples sections with the goal to monitor a full Zimbra Collaboration Server or Servers, we have some sections to monitor the Linux and machine overall performance, and one dedicated section just to monitor Zimbra Collaboration. Special thanks to Lex Rivera for his Linux System dashboard

alt tag

Download the checkzimbraversion.sh scripts from the GitHub repository and save it on the next path:

chmod +x /opt/zimbra/common/bin/checkzimbraversion.sh

More information available in: https://github.com/jorgedlcruz/zimbra-grafana

Zimbra Collaboration Performance

  • ZCS Version (Only 8.7 and above)
  • Received Megabytes
  • Total Emails/received
  • Deferred
  • Held
  • Incoming
  • Maildrop

Linux and machine performance:

  • CPUs (defaults to all)
  • Disks (per-disk IOPS)
  • Network interfaces (packets, bandwidth, errors/drops)
  • Mountpoints (space / inodes)

Coming next

This is just a v0.3 of this Dashboard, the next step will be to use the Zimbra SOAP API to obtain some extra information from the Zimbra Collaboration Environment, like:

  • Number of Active Users
  • Number of Inactive Users
  • Number of Domains
  • Number of Users with ActiveSync
  • etc.

In next versions we will parse directly the logs and put the attempts of logins, and successful logins on a map.

Collector Configuration Details

Sample /etc/telegraf.d/zimbra.conf with inputs for Zimbra Processes, Zimbra Scripts, and Linux System Monitoring:

# Read metrics about cpu usage
  percpu = true
  totalcpu = true
  fielddrop = ["time_*"]

# Read metrics about disk usage by mount point
  ignore_fs = ["tmpfs", "devtmpfs"]







  exe = "memcached"
  prefix = "memcached"

  exe = "java"
  prefix = "java"

  exe = "mysqld"
  prefix = "mysqld"

  exe = "slapd"
  prefix = "slapd"

  exe = "nginx"
  prefix = "nginx"


  commands = ["/opt/zimbra/common/bin/checkzimbraversion.sh"]
  name_override = "zimbra_stats"
  data_format = "value"
  data_type = "string"

# # OpenLDAP cn=Monitor plugin
# # As zimbra user run the next to obatin the password zmlocalconfig -s zimbra_ldap_password ldap_master_url
   port = 389
   insecure_skip_verify = true
   bind_dn = "uid=zimbra,cn=admins,cn=zimbra"
   reverse_metric_names = true

    queue_directory = "/opt/zimbra/data/postfix/spool"
    interval = "1s"