rrdtool random NaN instead input data

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
AlanDrakes
Posts: 2
Joined: Wed Feb 20, 2013 2:58 am

rrdtool random NaN instead input data

Post by AlanDrakes »

Greets all!

After installing new mini-server Cacti, i've found a strange problem.
Graph with zeros
Graph with zeros
graph_image.php.png (16.81 KiB) Viewed 588 times
Data collecting via perl script, after them parsed and after they should store into RRD file.
Script generating a lot of fields (about 130) which usually stores into RRD. But sometime base get a "NaN" values instead of data, from script.
Interval between data requests - 120 seconds (i'd like to use 60, but hardware updates internal data with this interval, and too fast reading data returns zero result).

In attachments you can see data sending to rrdtool (which need to write to database) and part of dump from database.
rrddump.txt
part of rrddump
(11.88 KiB) Downloaded 104 times
cacti.log.zip
Part of log from cacti
(2.53 KiB) Downloaded 35 times
Those holes could happens in couple of minutes and couple of hours..
Average load on server - less than 0.1
Server working on on virtual PC (Oracle) and other graphs gets normal data.

Version of cacti: 0.8.7g (on my pc - Version 0.8.7e). Maybe it's a problem, i don't know.

Update to 0.8.8a not helps. Cacti boost - just the same.

Does anyone know where the problem is?


-----
I know, i've got a pure English. Ssory..
AlanDrakes
Posts: 2
Joined: Wed Feb 20, 2013 2:58 am

Re: rrdtool random NaN instead input data

Post by AlanDrakes »

Well, i think it's works normally now.
Just a single parameter in RRD file - heartbeat.
RRD file dreated with value 120 (seconds) and data gets every 120 seconds.

I've made rrdtool tune -h field:1200 (аt 10 times the poll interval) and now holes disappeared.

Maybe it'll helps to someone else.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests