| Cheshire Cat Computing http://steveshipway.org/forum/ |
|
| How to Display Graphs that Have More than One Type of Data? http://steveshipway.org/forum/viewtopic.php?f=2&t=4632 |
Page 1 of 2 |
| Author: | mmartin [ Thu Oct 13, 2011 5:25 am ] |
| Post subject: | How to Display Graphs that Have More than One Type of Data? |
| Author: | stevesh [ Mon Oct 17, 2011 5:39 pm ] |
| Post subject: | Re: How to Display Graphs that Have More than One Type of Data? |
The problem is that you only have one Y-axis, one scale, and so one unit type. If your units are different, then it is difficult to put them on the same graph. You can define a UserDefined graph (see the documentation, or the Linux CPU graph in the example server) to put multiple Targets onto a single graph. This is good, for example, to show the traffic of multiple interfaces on a a single graph. If you have v2.22 or later of Routers2, and RRDTool 1.3 or later, then you can define a second Y-axis using the ScaleShift directive. This lets you, for example, have a Celsius AND Farenheit axis on a temperature graph, or display temperature and humidity on separate axis of the same graph. |
|
| Author: | stevesh [ Mon Oct 17, 2011 5:45 pm ] |
| Post subject: | Re: How to Display Graphs that Have More than One Type of Data? |
Your example config defines one Userdefined graph, called _Combined, and four regular Targets. The image you postis for mthe last Target. When you are viewing the Routers2 webpages, you should see five items in the Targets menu, corresponding to the four regular Targets plus the Combined graph (this one will by default have a little cog as the icon). |
|
| Author: | mmartin [ Tue Oct 18, 2011 3:13 am ] |
| Post subject: | Re: How to Display Graphs that Have More than One Type of Data? |
Hey Steve, thanks for the reply. Ok well then that would make sense. But currently we have RRDTool version 1.2.12, so until I have 1.3 or higher I can only graph one data set in a single graph, unless they are the same data type?? (i.e. Incoming and Outgoing Traffic would be ok on one graph). Is the process of upgrading RRDTool an upgrade process, or do you have to do a "fresh" install with the newer version? The server that it is running on is OpenSUSE 10.2, and the Software Manager only finds RRDTool Version 1.2.12-13.2, so I assume I'd have to download and install it manually... Or do you know of any repositories that may contain a newer version? Thanks Again, Matt |
|
| Author: | mmartin [ Tue Oct 18, 2011 6:54 am ] |
| Post subject: | Re: How to Display Graphs that Have More than One Type of Data? |
After looking around for a WHILE trying to upgrade RRDTool, it seems that their are way too many dependencies that are not available for OpenSUSE 10.2... So for now it seems we may be stuck with our current version of RRDTool, until I can convince them to upgrade from OpenSUSE 10.2 to at least 11. Thanks again for you help, Matt |
|
| Author: | mmartin [ Tue Oct 18, 2011 7:31 am ] |
| Post subject: | Re: How to Display Graphs that Have More than One Type of Data? |
Hey Steve, sorry for the 3rd straight post. But I just found out what you were talking about where you can see the cfg's other graphs in its "Target" Menu!!!! Thanks AGAIN, Matt |
|
| Author: | stevesh [ Tue Oct 18, 2011 10:00 am ] |
| Post subject: | Re: How to Display Graphs that Have More than One Type of Data? |
If you want to upgrade RRDTool, you can simply compile it yourself from source code, and install to a separate path (eg, /usr/local/rrdtool-1.3 ) Then you can set the libadd directive in the routers2.conf and the MRTG .cfg file to make MRTG and Routers2 use this library instead of the other. Easy to back out as well, then! Until you can use ScaleShift, which allows you to have a secondary Y-axis, you are limited to a single Y-axis scale and therefore a single ShortLegend (IE, unit name). There is nothing to stop you graphing e.g. temperature and humidity on the same graph, but they will be on the same scale and you will have to omit the units. |
|
| Author: | mmartin [ Wed Oct 19, 2011 2:55 am ] |
| Post subject: | Re: How to Display Graphs that Have More than One Type of Data? |
| Author: | stevesh [ Tue Oct 25, 2011 10:01 am ] |
| Post subject: | Re: How to Display Graphs that Have More than One Type of Data? |
Not sure what you mean by the 'main' graph. If you mean the interface traffic summary graph then this target will not be on it because it only has the traffic! You will need to define your own custom summary graph. In this definition, should you be using 'gauge'? I thought ifInErrs was a counter. If you have commented out sections in the cfg file, they will remain commented out no matter what happens to the router. You will need to regenerate the cfgfile by calling cfgmaker again if the router changes configuration. |
|
| Author: | mmartin [ Wed Oct 26, 2011 8:44 am ] |
| Post subject: | Re: How to Display Graphs that Have More than One Type of Data? |
Hey Steve, thanks for the reply. Sorry I should have posted back... I got the UsedDefined stuff working great last Friday I believe it was. After working with this the last few weeks I am much more comfortable now with the program, so-much-so that now I'm "trying" (got one working!!) writing my own Perl scripts to complement some of the templates and such (i.e. using a couple different templates, interface & host one's at same time. Otherwise the results were unpredictable)... But anyway good stuff, thanks for your help!! Thanks Again, Matt |
|
| Page 1 of 2 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|