rename mail_in.sh and mail_out.sh

tags/smeserver-zabbix-agent-0.4.3-1
Daniel Berteaud 12 years ago
parent 7ee2cc6b9e
commit 823e97f1be
  1. 6
      root/etc/e-smith/templates/etc/crontab/zabbix_mail_stats
  2. 0
      root/var/lib/zabbix/bin/util_count_mail_in
  3. 0
      root/var/lib/zabbix/bin/util_count_mail_out
  4. 0
      root/var/lib/zabbix/bin/util_send_status_mail

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

Loading…
Cancel
Save