[HOWTO] Graph displaying average of several other hosts
Moderators: Developers, Moderators
I think I have an issue with the template...
Apparently, once I check my hosts in graph management, and save the graph, it plots and displays the graph OK. I selected, Web1, 2, 3, 4, 5, 6, 7, 8.
However, if I go back to edit my data sources for each host, they end up duplicated, out of sequence, etc. (see attached) Web1, 1, 3, 4, 5, 1, 7, 8.
could this be a bug or is it template mis-configuration? Although I double checked my configuration, crosslinking, etc. and it looks legitimate.
Thanks
Richard
Apparently, once I check my hosts in graph management, and save the graph, it plots and displays the graph OK. I selected, Web1, 2, 3, 4, 5, 6, 7, 8.
However, if I go back to edit my data sources for each host, they end up duplicated, out of sequence, etc. (see attached) Web1, 1, 3, 4, 5, 1, 7, 8.
could this be a bug or is it template mis-configuration? Although I double checked my configuration, crosslinking, etc. and it looks legitimate.
Thanks
Richard
- Attachments
-
- cpu avg.jpeg (141.51 KiB) Viewed 35300 times
Signed;
Hey Richard, I've been having something similar happen. Maybe I gave you some bad advice in there somewhere...... If so, I'm afraid I don't know where though because I've been unable to correct it.
Here's what's been happening with me... I will go in and create a new graph using a template that I made. I will notice that some of them have identical "traffic_in" and "traffic_out" rates. I go in and look at the graph details and will find both of the data sources set to "traffic_out". I will change the top one to "traffic_in" like it should be, save the graph, immediately go right back into the same graph details and find both of them now set to "traffic_in"! (see blue arrows below) Driving me CRAZY!!!!!!! But........ After I do that, my "traffic_in" and "traffic_out" do start reporting different rates down in the legend like they should be (see red arrows below).
Occasionally, if I then go back in and change the one that should be "traffic_out" to "traffic_out", I save it, go right back into the details, and it has changed both of them to "traffic_out". If it doesn't do that, it usually leaves them both at "traffic_in". But as mentioned, as far as I can tell the numbers it is actually graphing and GPRINTing are accurate. I pulled my hair out on it for a few days and finally threw in the towel.
Maybe someone can tell us where I went wrong and proceeded to steer you wrong....
Jason
Here's what's been happening with me... I will go in and create a new graph using a template that I made. I will notice that some of them have identical "traffic_in" and "traffic_out" rates. I go in and look at the graph details and will find both of the data sources set to "traffic_out". I will change the top one to "traffic_in" like it should be, save the graph, immediately go right back into the same graph details and find both of them now set to "traffic_in"! (see blue arrows below) Driving me CRAZY!!!!!!! But........ After I do that, my "traffic_in" and "traffic_out" do start reporting different rates down in the legend like they should be (see red arrows below).
Occasionally, if I then go back in and change the one that should be "traffic_out" to "traffic_out", I save it, go right back into the details, and it has changed both of them to "traffic_out". If it doesn't do that, it usually leaves them both at "traffic_in". But as mentioned, as far as I can tell the numbers it is actually graphing and GPRINTing are accurate. I pulled my hair out on it for a few days and finally threw in the towel.
Maybe someone can tell us where I went wrong and proceeded to steer you wrong....
Jason
-
- Cacti User
- Posts: 146
- Joined: Tue Oct 04, 2005 4:20 pm
- Location: suwanee, ga
- Contact:
I am trying to following these same general instructions to create 2 graphs for the three different interfaces that are leaving our facility. I want 1 graphs to be a combined Outbound traffic graph and the other to be combined Inbound traffic graph. These three interfaces are all on separate deviced. I have everything set up as outlined above but I get getting the following message ...
RRDTool Says:
ERROR: the RRD does not contain an RRA matching the chosen CF
when view the graph in graph management. This has something to do with the CF type being set to LAST. All my other graphs are set to Average and if I set this one to Average then it shows a graph but does not show the numbers that I am looking for.
How do I create a datasouce with this CF type and what exactly is meant by the following CF types - AVERAGE, MIN, MAX, LAST
thanks in advance.
RRDTool Says:
ERROR: the RRD does not contain an RRA matching the chosen CF
when view the graph in graph management. This has something to do with the CF type being set to LAST. All my other graphs are set to Average and if I set this one to Average then it shows a graph but does not show the numbers that I am looking for.
How do I create a datasouce with this CF type and what exactly is meant by the following CF types - AVERAGE, MIN, MAX, LAST
thanks in advance.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please post the whole rrdtool graph statement. Goto the Graph and click the wrench next to it to get the wholeabadaba wrote:This is all i get...And ive followed the directions too the T! Twice 4 times ive ent over the instructions..And ive did it correctly... = \
ERROR: invalid rpn expression in: a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,8,/
Reinhard
a bit more tricky
I am summing Nx16 of machines (16,32,64and now I need 128).
I am using the CDEF to calculate the sum and ignor the 0 (in case the machine is dead)
I want to make it as simple as using the ALL_DATA_SOURCES premade CDEF that is able to automaticaly calcualte how much DS you have in your graph, because it is simpaly getting to be too long to create such aCDEF and to handle it.
Any Ideas ?
I am using the CDEF to calculate the sum and ignor the 0 (in case the machine is dead)
Code: Select all
cdef=TIME,1136070000,GT,a,a,UN,0,a,IF,IF,b,UN,0,b,IF,+,c,UN,0,c,IF,+,d,UN,0,d,IF,+,e,UN,0,e,IF,+ .... (etc')
Any Ideas ?
-
- Posts: 5
- Joined: Wed Nov 29, 2006 5:41 am
Hi
I don't know if it's possible under cacti but i would like to graph several host on the same graph but in not in function of the time. In fact I want my different computer in X-coordinate and the uptime in Y-coordinate.
i can easily have the uptime but I don't manage to represent it as I want.
if anybody has idea, you're welcome
thanks for your help
-Nico-
I don't know if it's possible under cacti but i would like to graph several host on the same graph but in not in function of the time. In fact I want my different computer in X-coordinate and the uptime in Y-coordinate.
i can easily have the uptime but I don't manage to represent it as I want.
if anybody has idea, you're welcome
thanks for your help
-Nico-
Thanks for these great instructions. I tried to adapt these to taking an aggregate utilization of inbound and outbound b/sec for different servers. Basically I'm interested in the strain on the switch they are connected to. Your instructions talk about using "LAST" for the CF Type. But when I do that, I get the error that has been posted several times here: "the RRD does not contain an RRA matching the chosen CF" When I select AVERAGE instead for the CF Type, rrdtool works.
My question is do you think I'm seeing appropriate data with the AVERAGE CF, and also how do you utilize gprint for current, average, and max if rrdtool doesn't like the "LAST" CF Type?
Thanks.
My question is do you think I'm seeing appropriate data with the AVERAGE CF, and also how do you utilize gprint for current, average, and max if rrdtool doesn't like the "LAST" CF Type?
Thanks.
-
- Posts: 9
- Joined: Thu Oct 19, 2006 7:59 pm
- Location: Weed, Siskiyou County, CA, USA
- Contact:
Thank you VERY much.
This was one of the most useful posts I have come across in quite a while. Your instructions are clear, accurate and extendible to other needs than the exact topic you wrote about. I'm very grateful and impressed.jas0420 wrote:I'll bite since nobody has answered you yet...
To your first question, yes this is possible. Just 44 simple steps.
...
Hope this helped,
Jason
Apologies for bumping an old post, I've ran through the detailed instructions and when I get to the stage of creating the graph (number 44) I get no selection of data sources on my graph items and an RRDTool error, see attached image for details.
Any ideas?
Any ideas?
- Attachments
-
- cacti.jpg (92.92 KiB) Viewed 29922 times
Who is online
Users browsing this forum: No registered users and 0 guests