smokeping F&Q篇
l smokeping.cgi : Can't call method "_pings" on an undefined value at /usr/local/smokeping/lib/Smokeping.pm line 837., referer: http://192.168.1.236/smokeping.cgi类似的错误基本上都是配置文件有些问题,参考一下config文件,自己配置的时候也未做其他修改莫名的就好了。
ERROR: Cannot update /opt/dashboard/rrd/Disk/192.168.120.168_disk_1.rrd with
'1228032301:24:24' illegal attempt to update using time 1228032301 when last
update time is 1228050001 (minimum one second step)
这是因为系统时间不对造成的,起初模拟的时候时间是美国时间,然后又改为了中国时间。更新图片的时候会报错,./smokeping --debug的时候就会发现(这个数据是网上的,自己的debug报错找不到了)。ntpdate更新时间,并且删除/usr/local/smokeping/var ; /usr/local/smokeping/htdocs/var; /usr/local/smokeping/htdocs/cache下的内容,重新启动smokeping,等至少15分钟即可。
页:
[1]