Creating Graph with combined data from multiple ports
Moderators: Developers, Moderators
Creating Graph with combined data from multiple ports
I want to take multiple ports SNMP data and combine this data on one graph to get a total. Can this be done? If it can, how would I go about it?
I have managed to get the data graphing on one graph but each port has it's data showing, not a total. I am sure I am missing something stupid. I have looked and looked but with no luck. Any help would be appreciated.
Thanks,
Dana
I have managed to get the data graphing on one graph but each port has it's data showing, not a total. I am sure I am missing something stupid. I have looked and looked but with no luck. Any help would be appreciated.
Thanks,
Dana
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
You may find hints when seacrhing for "Overview Graphs" in the Forum.
1. Goto Graph Management and ADD
2. Leave Template and Host to NONE and Create
3. Fill main Graph Data as usual for Graph Templates
4. Then select each Graph Item you want to see on the Graph (and Legends, of course)
5. Place this new Graph on a Tree of your liking
Attention: on large installations, Step 4 will be time-consuming
Reinhard
1. Goto Graph Management and ADD
2. Leave Template and Host to NONE and Create
3. Fill main Graph Data as usual for Graph Templates
4. Then select each Graph Item you want to see on the Graph (and Legends, of course)
5. Place this new Graph on a Tree of your liking
Attention: on large installations, Step 4 will be time-consuming
Reinhard
Thanks for the info. I am having problems understanding your directions. I go to graph management and create a graph with none and none. Then I pick a graph template and give it a title and go to save. Get to this point then I am lost. (Happens a lot
I have done a search a couple of times with no luck. I am pretty sure I am missing something stupid. So any more help would be appreciated.
Thanks again,
Dana
I have done a search a couple of times with no luck. I am pretty sure I am missing something stupid. So any more help would be appreciated.
Thanks again,
Dana
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Well done, so far. Now you've reached Step 4 of my description. See the Add link for Graph Items, select this to find a list of all possible data sources to select for Graphing. If in doubt, please send a screenshot of the last step you finished successfullyopt8low wrote:Thanks for the info. I am having problems understanding your directions. I go to graph management and create a graph with none and none. Then I pick a graph template and give it a title and go to save. Get to this point then I am lost. (Happens a lot
I have done a search a couple of times with no luck. I am pretty sure I am missing something stupid. So any more help would be appreciated.
Thanks again,
Dana
Reinhard
cant save graphs
I got a problem when creating these graphs..
I do it exactly the same way as Linegod explained in: http://forums.cacti.net/about5703-0-asc-0.html
But when i have added all the different data sources + total, and save, it doesn't exist in the Graph Management overview..
No predefined graph template or host is chosen since i cant choose specific data sources then.
I do it exactly the same way as Linegod explained in: http://forums.cacti.net/about5703-0-asc-0.html
But when i have added all the different data sources + total, and save, it doesn't exist in the Graph Management overview..
No predefined graph template or host is chosen since i cant choose specific data sources then.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: cant save graphs
Yep, the link is the correct one. Please scroll to the last page of Graph Management, perhaps you'll find it thereSkaven wrote:I got a problem when creating these graphs..
I do it exactly the same way as Linegod explained in: http://forums.cacti.net/about5703-0-asc-0.html
But when i have added all the different data sources + total, and save, it doesn't exist in the Graph Management overview..
No predefined graph template or host is chosen since i cant choose specific data sources then.
Reinhard
I've checked everywhere. And i still cant find it..
In the cacti.log this appears right after i click save:
In the cacti.log this appears right after i click save:
Code: Select all
04/25/2006 10:34:41 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select id,column_name from graph_template_input where graph_template_id="
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please post this as a bug to http://bugs.cacti.net
Reinhard
Reinhard
Creating Graph with combined data from multiple ports
Reinhard,
Thanks again for you reply. I will add a screen shot here of the point were you last responded. In this screen shot I am done with step 4 of your instuctions. Do I need to pick a graph templete for this step? IF I do I want total bandwidth/ Bits for the total of all ports. When I pick that templete Cacti asks to change the graph, when I save it, The graph disappears.
I am sure I am missing more then one thing in your steps, but can't tell what. Any more help would be appreciated.
Thanks,
Dana
Thanks again for you reply. I will add a screen shot here of the point were you last responded. In this screen shot I am done with step 4 of your instuctions. Do I need to pick a graph templete for this step? IF I do I want total bandwidth/ Bits for the total of all ports. When I pick that templete Cacti asks to change the graph, when I save it, The graph disappears.
I am sure I am missing more then one thing in your steps, but can't tell what. Any more help would be appreciated.
Thanks,
Dana
- Attachments
-
- cacti1.JPG (220.54 KiB) Viewed 3256 times
Hi Dana
You have only added comments as your graph items. You need to create this as you would if you were creating items for a graph template except this time you use the host DS that you want.
Here is an example where i have just added a gprint for only the last data collected. You can of course collect minimum and maximum and average if you want to, its very time consuming though.
Jay
You have only added comments as your graph items. You need to create this as you would if you were creating items for a graph template except this time you use the host DS that you want.
Here is an example where i have just added a gprint for only the last data collected. You can of course collect minimum and maximum and average if you want to, its very time consuming though.
Jay
- Attachments
-
- MultipleDataSources.JPG (114.71 KiB) Viewed 3248 times
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Creating Graph with combined data from multiple ports
I should have been more precise. You picked the data sources using "COMMENT", but it is necessary to choose LINx or AREA/STACK to create the DEF statement needed for rrdtoolopt8low wrote:Reinhard,
Thanks again for you reply. I will add a screen shot here of the point were you last responded. In this screen shot I am done with step 4 of your instuctions. Do I need to pick a graph templete for this step? IF I do I want total bandwidth/ Bits for the total of all ports. When I pick that templete Cacti asks to change the graph, when I save it, The graph disappears.
I am sure I am missing more then one thing in your steps, but can't tell what. Any more help would be appreciated.
Thanks,
Dana
Reinhard
Hi
I initially created the graphs for all the live ports on that switch. This then creates the data sources for traffic in and out for each live port. I then used the data sources which were created in the new combined graph.
I have attached the screenshot so you can see for yourself.
Jay
I initially created the graphs for all the live ports on that switch. This then creates the data sources for traffic in and out for each live port. I then used the data sources which were created in the new combined graph.
I have attached the screenshot so you can see for yourself.
Jay
- Attachments
-
- combined_data_source_view.JPG (66.46 KiB) Viewed 3179 times
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
Who is online
Users browsing this forum: No registered users and 1 guest