smokeping 发不出邮件求大神帮助!!
系统:CentOS release 6.7 (Final) 安装的 smokeping版本2.6.11config文件配置
*** General ***
owner = cc
contact= smokeping@cc.com
mailhost = smtp.139.com
mailusr = 139邮箱
mailpwd = 139密码
sendmail = /usr/sbin/sendmail
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed ... this is not
# good for images.
imgcache = /usr/local/smokeping/cache
imgurl = cache
datadir= /usr/local/smokeping/data
piddir= /usr/local/smokeping/var
cgiurl = http://42.202.148.26/smokeping.cgi
smokemail = /usr/local/smokeping/etc/smokemail.dist
tmail = /usr/local/smokeping/etc/tmail.dist
# specify this to get syslog logging
syslogfacility = local0
# each probe is now run in its own process
# disable this to revert to the old behaviour
# concurrentprobes = no
*** Alerts ***
to =189邮箱
from = 139邮箱
+someloss
type = loss
# in percent
pattern = >0%,*12*,>0%,*12*,>0%
comment = loss 3 timesin a row
+hostdown
type = loss
# in percent
pattern = ==0%,==0%,==0%, ==U
comment = no reply
*** Database ***
step = 300
pings = 100
# consfn mrhb steps total
AVERAGE0.5 11008
AVERAGE0.5124320
MIN0.5124320
MAX0.5124320
感谢楼主 问题已解决!!! interrogate 发表于 2016-8-17 10:24
问题已解决!!!
说一下解决过程。
页:
[1]