With this template you can monitor the status of some parameters of your Zimbra server, in particular some of the “zmcontrol status” output.
1) prepare the Zimbra server, by adding the following line to the ROOT CRONTAB. This will put the output of the “zmcontrol status” on a file in /tmp. It will run every 3 min:
*/3 * * * * sudo -u zimbra /opt/zimbra/bin/zmcontrol status > /tmp/zmcontrol_status
2) add the following UserParameter to the zabbix_agentd.conf file, or the conf.d folder:
UserParameter=zimbra.amavis.status,awk ‘/amavis/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.antispam.status,awk ‘/antispam/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.antivirus.status,awk ‘/antivirus/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.mailbox.status,awk ‘/mailbox/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.mta.status,awk ‘/mta/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.zmconfigd.status,awk ‘/zmconfigd/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.webmail.status,awk ‘/service webapp/{print $3}’ /tmp/zmcontrol_status
UserParameter=zimbra.webadm.status,awk ‘/zimbraAdmin/{print $3}’ /tmp/zmcontrol_status
UserParameter=zimbra.proxy.status,awk ‘/proxy/{print $2}’ /tmp/zmcontrol_status
LeleKimi
There are no macros links in this template.
There are no template links in this template.
There are no discovery rules in this template.
Name | Description | Type | Key and additional info |
---|---|---|---|
Status Mailbox Zimbra | <p>-</p> | Zabbix agent |
zimbra.mailbox.status<p>Update: 3m</p> |
Status AntiSpam Zimbra | <p>-</p> | Zabbix agent |
zimbra.antispam.status<p>Update: 3m</p> |
Status Antivírus Zimbra | <p>-</p> | Zabbix agent |
zimbra.antivirus.status<p>Update: 3m</p> |
Status Zmconfigd Zimbra | <p>-</p> | Zabbix agent |
zimbra.zmconfigd.status<p>Update: 3m</p> |
Status Admin Console Zimbra | <p>-</p> | Zabbix agent |
zimbra.webadm.status<p>Update: 3m</p> |
Status Webmail Zimbra Service | <p>-</p> | Zabbix agent |
zimbra.webmail.status<p>Update: 3m</p> |
Status Proxy Zimbra | <p>-</p> | Zabbix agent |
zimbra.proxy.status<p>Update: 3m</p> |
Status Amavis Zimbra | <p>-</p> | Zabbix agent |
zimbra.amavis.status<p>Update: 3m</p> |
Status MTA Zimbra | <p>-</p> | Zabbix agent |
zimbra.mta.status<p>Update: 3m</p> |
There are no triggers in this template.
With this template you can monitor the status of some parameters of your Zimbra server, in particular some of the “zmcontrol status” output.
1) prepare the Zimbra server, by adding the following line to the ROOT CRONTAB. This will put the output of the “zmcontrol status” on a file in /tmp. It will run every 3 min:
*/3 * * * * sudo -u zimbra /opt/zimbra/bin/zmcontrol status > /tmp/zmcontrol_status
2) add the following UserParameter to the zabbix_agentd.conf file, or the conf.d folder:
UserParameter=zimbra.amavis.status,awk ‘/amavis/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.antispam.status,awk ‘/antispam/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.antivirus.status,awk ‘/antivirus/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.mailbox.status,awk ‘/mailbox/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.mta.status,awk ‘/mta/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.zmconfigd.status,awk ‘/zmconfigd/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.webmail.status,awk ‘/service webapp/{print $3}’ /tmp/zmcontrol_status
UserParameter=zimbra.webadm.status,awk ‘/zimbraAdmin/{print $3}’ /tmp/zmcontrol_status
UserParameter=zimbra.proxy.status,awk ‘/proxy/{print $2}’ /tmp/zmcontrol_status
LeleKimi
There are no macros links in this template.
There are no template links in this template.
There are no discovery rules in this template.
Name | Description | Type | Key and additional info |
---|---|---|---|
Status Zmconfigd Zimbra | <p>-</p> | Zabbix agent |
zimbra.zmconfigd.status<p>Update: 3m</p> |
Status MTA Zimbra | <p>-</p> | Zabbix agent |
zimbra.mta.status<p>Update: 3m</p> |
Status Proxy Zimbra | <p>-</p> | Zabbix agent |
zimbra.proxy.status<p>Update: 3m</p> |
Status Antivírus Zimbra | <p>-</p> | Zabbix agent |
zimbra.antivirus.status<p>Update: 3m</p> |
Status Amavis Zimbra | <p>-</p> | Zabbix agent |
zimbra.amavis.status<p>Update: 3m</p> |
Status Admin Console Zimbra | <p>-</p> | Zabbix agent |
zimbra.webadm.status<p>Update: 3m</p> |
Status Webmail Zimbra Service | <p>-</p> | Zabbix agent |
zimbra.webmail.status<p>Update: 3m</p> |
Status Mailbox Zimbra | <p>-</p> | Zabbix agent |
zimbra.mailbox.status<p>Update: 3m</p> |
Status AntiSpam Zimbra | <p>-</p> | Zabbix agent |
zimbra.antispam.status<p>Update: 3m</p> |
There are no triggers in this template.
With this template you can monitor the status of some parameters of your Zimbra server, in particular some of the “zmcontrol status” output.
1) prepare the Zimbra server, by adding the following line to the ROOT CRONTAB. This will put the output of the “zmcontrol status” on a file in /tmp. It will run every 3 min:
*/3 * * * * sudo -u zimbra /opt/zimbra/bin/zmcontrol status > /tmp/zmcontrol_status
2) add the following UserParameter to the zabbix_agentd.conf file, or the conf.d folder:
UserParameter=zimbra.amavis.status,awk ‘/amavis/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.antispam.status,awk ‘/antispam/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.antivirus.status,awk ‘/antivirus/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.mailbox.status,awk ‘/mailbox/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.mta.status,awk ‘/mta/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.zmconfigd.status,awk ‘/zmconfigd/{print $2}’ /tmp/zmcontrol_status
UserParameter=zimbra.webmail.status,awk ‘/service webapp/{print $3}’ /tmp/zmcontrol_status
UserParameter=zimbra.webadm.status,awk ‘/zimbraAdmin/{print $3}’ /tmp/zmcontrol_status
UserParameter=zimbra.proxy.status,awk ‘/proxy/{print $2}’ /tmp/zmcontrol_status
LeleKimi
There are no macros links in this template.
There are no template links in this template.
There are no discovery rules in this template.
Name | Description | Type | Key and additional info |
---|---|---|---|
Status Zmconfigd Zimbra | <p>-</p> | Zabbix agent |
zimbra.zmconfigd.status<p>Update: 3m</p> |
Status MTA Zimbra | <p>-</p> | Zabbix agent |
zimbra.mta.status<p>Update: 3m</p> |
Status Proxy Zimbra | <p>-</p> | Zabbix agent |
zimbra.proxy.status<p>Update: 3m</p> |
Status Antivírus Zimbra | <p>-</p> | Zabbix agent |
zimbra.antivirus.status<p>Update: 3m</p> |
Status Amavis Zimbra | <p>-</p> | Zabbix agent |
zimbra.amavis.status<p>Update: 3m</p> |
Status Admin Console Zimbra | <p>-</p> | Zabbix agent |
zimbra.webadm.status<p>Update: 3m</p> |
Status Webmail Zimbra Service | <p>-</p> | Zabbix agent |
zimbra.webmail.status<p>Update: 3m</p> |
Status Mailbox Zimbra | <p>-</p> | Zabbix agent |
zimbra.mailbox.status<p>Update: 3m</p> |
Status AntiSpam Zimbra | <p>-</p> | Zabbix agent |
zimbra.antispam.status<p>Update: 3m</p> |
There are no triggers in this template.