Cactiquery: Not exporting data if any DS is nan

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
ralfk
Posts: 26
Joined: Sun Nov 13, 2005 6:51 am
Location: Germany

Cactiquery: Not exporting data if any DS is nan

Post by ralfk »

Hi,

I have the following problem with Cactiquery (version 0.8.6g):

Cactiquery does not show lines of the RRDtool data if any (at least one) of the data sources is "nan".
Since I am using RRD databases with a lot of data sources, and some "dummy" data sources (reserved for future) are always nan, Cactiquery does not output any data.

I have tried to fix the source in rrd.php, but it seems not too easy, because the code is based on calculations of numeric values only. Hm, maybe we could convert nan values to a special numeric value like -999999.

Would be nice for the next version, if those lines could be seen. Maybe you could remove lines if all data sources are nan, but as soon as one DS is <> nan, the line should be displayed anyway.

Thanks in advance
Ralf
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests