12 2020 档案
摘要:import time import datetime t=datetime.datetime.now() #当前日期 t1 =t.strftime('%Y-%m-%d %H:%M:%S') #转为秒级时间戳 ts1=time.mktime(time.strptime(t1, '%Y-%m-%d %
阅读全文
摘要:wget http://docs.cacti.net/_media/plugin:aggregate-v0.75.tgz mv plugin\:aggregate-v0.75.tgz aggregate-v0.75.tgz tar zxvf aggregate-v0.75.tgz aggregate
阅读全文
摘要:问题: 配置好thold后点击"Send a Test Email"可以顺利收到邮件,但是设置报警阈值后没有收到报警邮件。 原因: thold 插件目录中的 thold_functions.php,有一行: include_once($config["base_path"] . "/plugins/
阅读全文
摘要:编辑 cacti 目录下 plugins/thold/includes/settings.php,打到132行;并注释掉该行。问题解决。
阅读全文
摘要:存在BUG的版本: >=0.8.7<1.2.100.8.7至1.2.10所有版本,均会出现此故障 不受影响的版本: >=1.2.10后所有版本,<0.8.7前所有版本 问题分析: Cacti从0.8.7版本开始,也就是说在2007年(13年前)设置了时间戳的值为1600000000,转换成时间为20
阅读全文