Problems with Multiple Data Sources in one RRA
Moderators: Developers, Moderators
Problems with Multiple Data Sources in one RRA
I am trying to graph the battery temperature on my APC smartups, so I setup the ds template to have 3 datasources. -17C to 20C is called batt_temp_low, 20C to 26C is called batt_temp_normal, and 26C to 100C is called batt_temp_high. On the graphs, I use purple for the low, green for the normal, and red for the high.
The problem is that when I use the template, nothing gets graphed, as in the numbers on the graph start at 0, the temp should be around 24C. The database gets updated (I am assuming by the date on the file in the rra directory) but no data is displayed. However, if I setup everything manually, it works.
I have updated RRDtool to version to 1.0.41, have Cacti 0.8.2 installed from clean, not upgraded.
Is this a bug, or am I doing something wrong?
The problem is that when I use the template, nothing gets graphed, as in the numbers on the graph start at 0, the temp should be around 24C. The database gets updated (I am assuming by the date on the file in the rra directory) but no data is displayed. However, if I setup everything manually, it works.
I have updated RRDtool to version to 1.0.41, have Cacti 0.8.2 installed from clean, not upgraded.
Is this a bug, or am I doing something wrong?
Update to my problem
I did some digging, the data is not being entered into the RRD eventhough cacti says that it is. Doing rrdtool info <database> shows all NaN for entries. Running cmd.php manually shows the same thing as tailing the logfile, it says that its updateing the rrd and it never does. Tried to manually update the RRD (copied and pasted the command from the logfile) and it still says NaN.
Tried to do this using a template, but it just won't work. If I make the DS by hand it will work, but I have several UPSs that I would like to monitor and don't want to type them all in by hand if I don't need to...
I just want to show different colors for different levels of battery temperature, an charge. Seems simple enough... I know that you can do it because I saw it on the school district page once upon a time...
B.T.W, just upgraded to 0.8.3a today and still have the same issue
Tried to do this using a template, but it just won't work. If I make the DS by hand it will work, but I have several UPSs that I would like to monitor and don't want to type them all in by hand if I don't need to...
I just want to show different colors for different levels of battery temperature, an charge. Seems simple enough... I know that you can do it because I saw it on the school district page once upon a time...
B.T.W, just upgraded to 0.8.3a today and still have the same issue
hmmm
I'm having a simular problem, no one seems to know the reason... http://www.raxnet.net/board/viewtopic.php?t=2314
I've tried just about everything, guess I will just have to stick to a graph per value, meaning 3 x the work load, 3x the amout of graphs.
I've tried just about everything, guess I will just have to stick to a graph per value, meaning 3 x the work load, 3x the amout of graphs.
Yet more information
It seems that when cacti tries to update the info, it is using the wrong template. For example, if the data falls into the "normal" range of 18-26 degrees Celsius, it still tries to update with the high template.
The high DS is from 27-100 degrees celsius.
I THINK that this is the problem, but don't know enough about RRDtool to know for sure.
Thanks for the heads up icepick
The high DS is from 27-100 degrees celsius.
I THINK that this is the problem, but don't know enough about RRDtool to know for sure.
Thanks for the heads up icepick
This is what I want to do
http://www.bigspring.k12.pa.us/cacti/gr ... ource=true
Make it look like this but show temps insted of ping times...
Make it look like this but show temps insted of ping times...
Is there a tutorial
Rax, is there a tutorial somewhere on how to do this? You were able to do this with the school district,
http://www.bigspring.k12.pa.us/cacti/gr ... &tree_id=6
and others are too. I am sure that its simple, but obviously I have setup something wrong.
http://www.bigspring.k12.pa.us/cacti/gr ... &tree_id=6
and others are too. I am sure that its simple, but obviously I have setup something wrong.
I figured out how to do it, needed to use the limit function in the cdef and use only one data source. Was able to do the temp conversions and all with CDEF, but I sure wish that this was in the FAQ cause there are lots of things that I want to do this with and it would have saved me lots of time...
Can I second this? I really have no idea how to make graphs like the 'ICMP latency' ones in cacti, but they're really nice looking, and I'd love to have them. A tutorial on this would be fantastic.jamiebah wrote:I figured out how to do it, needed to use the limit function in the cdef and use only one data source. Was able to do the temp conversions and all with CDEF, but I sure wish that this was in the FAQ cause there are lots of things that I want to do this with and it would have saved me lots of time... :D
Who is online
Users browsing this forum: No registered users and 0 guests