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% 
  • 相关阅读:
    day72日考
    项目开发流程
    js 之 JSON详解
    MySQL 中的 FOUND_ROWS() 与 ROW_COUNT() 函数
    mysql 之 函数
    liunx 之 Ubuntu 网速慢解决方法
    js 之 object
    js 之 箭头函数 (未学完)
    java 之 学习过程中遇到的大佬博客
    java 之 enum(枚举)
  • 原文地址:https://www.cnblogs.com/cpy-devops/p/3866286.html
Copyright © 2011-2022 走看看