smokeping七大组件:general(普通设置) 、alerts(警报设置)、Datebase(数据库参数)、presentation(网络自定义)、slaves(从smokeping定义)、targets(目标设置——“含插件定义”)
(以下均只说明常用设置)
Genreral:
*** General *** owner = derrick.jiang #文件所有者 contact = derrick.jiang@XXX.com #所有者联系方式 mailhost = smtp.exmail.xx.com #邮箱地址 mailusr = derrick.jiang@xx.com #邮箱登陆名 mailpwd = XXXXX #邮箱登陆密码 #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 #安装smokeping时定义的图形文件存放路径 imgurl = cache datadir = /usr/local/smokeping/data #安装smokeping时定义的数据文件存放路径 piddir = /usr/local/smokeping/var #安装smokeping时定义的进程pid文件 cgiurl = http://smokeping服务器IP或域名/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 offset=50%