Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Cactiquery: Not exporting data if any DS is nan

 
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti
Author Message
ralfk



Joined: 13 Nov 2005
Posts: 22
Location: Germany

PostPosted: Thu Dec 22, 2005 8:46 am    Post subject: Cactiquery: Not exporting data if any DS is nan Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group