[rrd-users] Strange behavior
Fitzgerald, David
David.Fitzgerald at Level3.com
Wed Jul 23 23:20:35 MEST 2003
David E. Fitzgerald, Jr.
Senior Engineer
Global Network Systems Development
Level 3 Communications
781-865-6487
david.fitzgerald at level3.com
I have 16 servers that, in theory, are all identically configured.
On each of the servers I have a very simple rrd file which is created
(if not found) and updated from a perl program.
bash-2.03$ rrdtool info /scripts/10.24.127.6.rrd
filename = "/scripts/10.24.127.6.rrd"
rrd_version = "0001"
step = 60
last_update = 1058987761
ds[status].type = "GAUGE"
ds[status].minimal_heartbeat = 60
ds[status].min = 0.0000000000e+00
ds[status].max = 3.0000000000e+00
ds[status].last_ds = "UNKN"
ds[status].value = 2.0000000000e+00
ds[status].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 43200
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
which is created with the string:
$foo = "rrdtool create /scripts/10.24.127.6.rrd --step 60 \
--start 1058000000 DS:status:GAUGE:60:0:3 RRA:AVERAGE:0.5:1:43200
";
It is then updated, once a minute via cron with something that looks
like:
$foo = "rrdtool update /scripts/10.24.127.6.rrd -t status N:2 ";
The value of the variable status is always in the set {0, 1, 2, 3}
(should be 2, most of the time).
I verify the that the create and updates are successful
($result=system($foo) being equal to 0), and on one server I get the
graph I would expect. On the others, the graph is empty, as the rrd
file is all NaN.
I'm using the same code on all servers. Any ideas?
I've gone as far as typing in updates manually, and I still come up with
NaN.
My step and heartbeat are the same period. Is there something
inherently wrong with this?
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list