symon creating dates in year 31900
Dan Langille
dan at langille.org
Thu Feb 15 02:58:11 UTC 2007
Anyone using syutils/symon?
I noticed this problem today after installing symon on a 6.2 box
# mkdir ~/tmp
# cd ~/tmp
# /usr/local/share/symon/c_smrrds.sh cpu0
cpu0.rrd created
# rrdtool info cpu0.rrd | head
filename = "cpu0.rrd"
rrd_version = "0003"
step = 5
last_update = 944503401600
Notice the date, that's a bit odd:
# date -r 944503401600
Wed Feb 14 00:00:00 PST 31900
This was with rrdtool-1.2.19_1 on FreeBSD 6.2-STABLE #6: Fri Feb 9
15:54:22 PST 2007
On another system, with a slightly different rrdtoo, I get better results:
# /usr/local/share/symon/c_smrrds.sh cpu0
cpu0.rrd created
# rrdtool info cpu0.rrd | head
filename = "cpu0.rrd"
rrd_version = "0003"
step = 5
last_update = 1171429200
# date -r 1171429200
Wed Feb 14 00:00:00 EST 2007
Now that's something a little more reasonable.
Does anyone get similar results?
Failing a solution, does anyone know how to reset the last_update field in
an rrd file?
--
Dan Langille - http://www.langille.org/
BSDCan - The Technical BSD Conference: http://www.bsdcan.org/
More information about the freebsd-ports
mailing list