diff --git a/root/etc/e-smith/templates/etc/crontab/zabbix_mail_stats b/root/etc/e-smith/templates/etc/crontab/zabbix_mail_stats index b4ea242..6d05ae6 100644 --- a/root/etc/e-smith/templates/etc/crontab/zabbix_mail_stats +++ b/root/etc/e-smith/templates/etc/crontab/zabbix_mail_stats @@ -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 } diff --git a/root/var/lib/zabbix/bin/mail_in.sh b/root/var/lib/zabbix/bin/util_count_mail_in similarity index 100% rename from root/var/lib/zabbix/bin/mail_in.sh rename to root/var/lib/zabbix/bin/util_count_mail_in diff --git a/root/var/lib/zabbix/bin/mail_out.sh b/root/var/lib/zabbix/bin/util_count_mail_out similarity index 100% rename from root/var/lib/zabbix/bin/mail_out.sh rename to root/var/lib/zabbix/bin/util_count_mail_out diff --git a/root/var/lib/zabbix/bin/mailstatus.pl b/root/var/lib/zabbix/bin/util_send_status_mail similarity index 100% rename from root/var/lib/zabbix/bin/mailstatus.pl rename to root/var/lib/zabbix/bin/util_send_status_mail