gmail - CFG Error email receiving every 5 minutes from Zabbix on Unix server -


i have configured ssmtp on myzabbixserver unix system delivers zabbix alerts via gmail. strangely receiving email in gmail inbox (which using address ssmtp config) every 5 minutes following details:

from: root <my.zabbix@gmail.com>  to: root bcc: my.zabbix@gmail.com subject: cron <root@myzabbixserver> if [ -x /usr/bin/mrtg ] && [ -r /etc/mrtg.cfg ]; mkdir -p /var/log/mrtg ; env lang=c /usr/bin/mrtg /etc/mrtg.cfg 2>&1 | tee -a /var/log/mrtg/mrtg.log ; fi  body: error: cfg error in "workdir", line 8: working directory /var/www/mrtg not exist 

sstmp.conf

root=my.zabbix@gmail.com mailhub=smtp.gmail.com:587 rewritedomain=gmail.com  authuser=my.zabbix@gmail.com authpass=my.password  hostname=myzabbixserver fromlineoverride=yes usetls=yes usestarttls=yes authmethod=login 

gmail.sh script zabbix uses send email alerts:

#!/bin/bash to=$1 subject=$2 body=$3 echo $body | /usr/bin/mailx $to -s "$subject" 

what email mean , how can stop ?

this not zabbix problem, mrtg problem. mrtg cron job /etc/cron.d/mrtg failing , receiving cron error output.

solutions:


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -