[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem reading rrd files



We have a inhouse made management system and we used the grnet network
weathermap tool (both php and perl version) until now.

Seeing the new options in the php-weathermap version, I wanted to
convert our scripts to use this version, but I always get the same error
(after sorting out all the changes/differences in function names and
parameters) : 

 

 DEBUG: [readdata@xxxxxxxxxxxxxxxxxxxx:606]
/uanet/oper/conf/wm/core_ua2.conf: Re

adData: New Target:
/uanet/oper/data/stats/cde/ldsys01/Po40.rrd:InOctets:OutOctets

/uanet/oper/conf/wm/core_ua2.conf: ReadData: LINK LDSYS01-LDSYS02,
target: 

/uanet/oper/data/stats/cde/ldsys01/Po40.rrd:InOctets:OutOctets on config
line 130 was

 not recognised as a valid TARGET [WMWARN08]

 

I can't find the source of the problem. If I run the check.php script, i
don't get any error except for imagefilter, but that has nothing to do
with this problem. I changed the path of rrdtool in wheathermap to
/usr/bin/rrdtool and I checked the names of the DS with rrdtool info :

 

filename = "/uanet/oper/data/stats/cde/ldsys01/Po40.rrd"

rrd_version = "0003"

step = 300

last_update = 1214392563

ds[InOctets].type = "COUNTER"

ds[InOctets].minimal_heartbeat = 600

ds[InOctets].min = NaN

ds[InOctets].max = NaN

ds[InOctets].last_ds = "4947781988403"

ds[InOctets].value = 2.3237924688e+07

ds[InOctets].unknown_sec = 0

ds[OutOctets].type = "COUNTER"

ds[OutOctets].minimal_heartbeat = 600

ds[OutOctets].min = NaN

ds[OutOctets].max = NaN

ds[OutOctets].last_ds = "5009074512370"

ds[OutOctets].value = 2.3762879703e+07

ds[OutOctets].unknown_sec = 0

 

Anyone has a clue what is still going wrong or where to look for more
info ? Things to try ? I'm no php specialist.

 

 

Wim Holemans

Network Services 

University of  Antwerp

 


Copyright 1994-2005, by Howard Jones. howie@thingy.com