[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing • View topic - How to Display Graphs that Have More than One Type of Data?

Cheshire Cat Computing

Software support and information
It is currently Sun Nov 09, 2025 4:09 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Thu Oct 13, 2011 5:25 am 
Offline
Silver User

Joined: Thu Oct 06, 2011 8:46 am
Posts: 18


Top
 Profile Send private message  
 
PostPosted: Mon Oct 17, 2011 5:39 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
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.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Mon Oct 17, 2011 5:45 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
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).

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Tue Oct 18, 2011 3:13 am 
Offline
Silver User

Joined: Thu Oct 06, 2011 8:46 am
Posts: 18
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


Top
 Profile Send private message  
 
PostPosted: Tue Oct 18, 2011 6:54 am 
Offline
Silver User

Joined: Thu Oct 06, 2011 8:46 am
Posts: 18
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


Top
 Profile Send private message  
 
PostPosted: Tue Oct 18, 2011 7:31 am 
Offline
Silver User

Joined: Thu Oct 06, 2011 8:46 am
Posts: 18
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


Top
 Profile Send private message  
 
PostPosted: Tue Oct 18, 2011 10:00 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
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.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Wed Oct 19, 2011 2:55 am 
Offline
Silver User

Joined: Thu Oct 06, 2011 8:46 am
Posts: 18


Top
 Profile Send private message  
 
PostPosted: Tue Oct 25, 2011 10:01 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
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.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Wed Oct 26, 2011 8:44 am 
Offline
Silver User

Joined: Thu Oct 06, 2011 8:46 am
Posts: 18
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


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group