|
|
|
@ -3,8 +3,8 @@ if ((${'zabbix-agent'}{'status'} || 'disabled') eq 'enabled'){ |
|
|
|
|
$OUT .=<<"HERE"; |
|
|
|
|
|
|
|
|
|
# Parse mail logs and write stats in zabbix tmp directory |
|
|
|
|
*/10 * * * * root /var/lib/zabbix/bin/mail_in.sh |
|
|
|
|
*/10 * * * * root /var/lib/zabbix/bin/mail_out.sh |
|
|
|
|
*/10 * * * * root /var/lib/zabbix/bin/util_count_mail_in |
|
|
|
|
*/10 * * * * root /var/lib/zabbix/bin/util_count_mail_out |
|
|
|
|
|
|
|
|
|
HERE |
|
|
|
|
|
|
|
|
@ -12,7 +12,7 @@ HERE |
|
|
|
|
$OUT .=<<"HERE"; |
|
|
|
|
|
|
|
|
|
# Send a status mail |
|
|
|
|
*/15 * * * * root /var/lib/zabbix/bin/mailstatus.pl |
|
|
|
|
*/15 * * * * root /var/lib/zabbix/bin/util_send_status_mail |
|
|
|
|
|
|
|
|
|
HERE |
|
|
|
|
} |
|
|
|
|