zoukankan      html  css  js  c++  java
  • smokeping插件使用及说明

     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% 
  • 相关阅读:
    [USACO11JAN]Roads and Planes G【缩点+Dij+拓补排序】
    Cheatsheet: 2015 05.01 ~ 05.31
    Cheatsheet: 2015 04.01 ~ 04.30
    Cheatsheet: 2015 03.01 ~ 03.31
    Cheatsheet: 2015.02.01 ~ 02.28
    Cheatsheet: 2015 01.01~ 01.31
    Cheatsheet: 2014 12.01 ~ 12.31
    Cheatsheet: 2014 11.01 ~ 11.30
    Cheatsheet: 2014 10.01 ~ 10.30
    Cheatsheet: 2014 09.01 ~ 09.30
  • 原文地址:https://www.cnblogs.com/cpy-devops/p/3866286.html
Copyright © 2011-2022 走看看