Zimbra Collaboration: System Dashboard


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

Downloads: 641

Reviews: 0

    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 zimbra_pflogsumm.pl and the checkzimbraversion.sh scripts from this repository and save it on the next path:

    chmod +x /opt/zimbra/common/bin/zimbra_pflogsumm.pl
    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
    • Delivered Megabytes
    • Total Emails/received
    • Total Emails/Delivered
    • Total Recipients
    • Total Senders
    • Forwarded
    • Deferred
    • Bounced
    • Rejected
    • Held
    • Discarded
    • Domains Receiving Emails
    • Domains Sending Emails

    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.1 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/telegraf.conf with inputs for Zimbra Processes, Zimbra Scripts, and Linux System Monitoring:

    # Read metrics about cpu usage
      ## Whether to report per-cpu stats or not
      percpu = true
      ## Whether to report total system cpu stats or not
      totalcpu = true
      ## Comment this line if you want the raw CPU time metrics
      fielddrop = ["time_*"]
    # Read metrics about disk usage by mount point
      ignore_fs = ["tmpfs", "devtmpfs"]
    # Read metrics about disk IO by device
    # Get kernel statistics from /proc/stat
    # Read metrics about memory usage
    # Get the number of processes and group them by status
    # Read metrics about swap memory usage
    # Read metrics about system load & uptime
      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/zimbra_pflogsumm.pl -d today /var/log/zimbra.log"]
      name_override = "zimbra_stats"
      data_format = "influx"
      commands = ["/opt/zimbra/common/bin/checkzimbraversion.sh"]
      name_override = "zimbra_stats"
      data_format = "value"
      data_type = "string"