[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/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 - Graphing FEC(Forward Error Correction) on Cisco uBR10012

Cheshire Cat Computing

Software support and information
It is currently Wed Nov 05, 2025 4:33 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sun Jul 23, 2006 7:34 am 
Offline
Silver User

Joined: Sun Jul 23, 2006 7:17 am
Posts: 14
Hi guys,

First time poster here.

I'm trying to graph FEC per-upstream on a Cisco uBR10012.

It's easy enough to get the proper data that I expect: I take uncorrected / (corrected+uncorrected+unerrorred) and I have the uncorrected percentage.

The problem with this is, the number ends up being something like 0.000000777.

I get graphs, and I've set the max percentage to 1, but I don't even see the graph at all, unless I use the "Rescale" button within routers2.cgi. Also, even though I'm using the "fixunit" option, it still gives me u%/m% and such.

Any ideas on what I can try to get this to scale properly?

thanks,
Adam


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Jul 24, 2006 10:59 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
If this number is a percentage, shouldn't it be multiplied by 100? In any case, it's as near to 0 as makes no odds! Then maxbytes should be set to 100 as this is the max of a percentage.

If you have fixunit then you won't get m% (it stops the m- prefixes). However the number may be so small that it doesnt register.

You should also force

routers.cgi*Options[....]: scaled

in order to make sure it rescales to the data. Otherwise, routers2 gets worried by a max-y of <1 and tries to force a max of 1 anyway, to prevent impossible graphs.

_________________
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  
 
 Post subject:
PostPosted: Tue Jul 25, 2006 3:41 am 
Offline
Silver User

Joined: Sun Jul 23, 2006 7:17 am
Posts: 14
Hi Steve,

I tried your suggestions, but it looks like I'd have to multiply the values by about 1,000,000 to get any reasonable graphs. That may just be the way I have to go.

Thanks for the help, it is much appreciated.

-
Adam


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Tue Jul 25, 2006 11:10 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
I think RRDTool doesn't like very big or very small numbers, unless it can use the prefix. RRDTool 1.2 is better than 1.0 at this, though, so upgrade if you have not yet done so (you will need routers2 v2.16 or later to support RRD 1.2)

_________________
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  
 
 Post subject:
PostPosted: Fri Jul 28, 2006 12:21 am 
Offline
Silver User

Joined: Sun Jul 23, 2006 7:17 am
Posts: 14
Hey Steve,

I've upgraded to RRDv1.2, so far, other than the pretty AA fonts, nothing has changed too much.

I'm wondering one thing though...

The graphs for these items look fine if you click "rescale" once. Is there a way to make the graph appear this way all the time?

ie.

routers2.cgi*scaled[_target_] = halfsize;


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Jul 28, 2006 2:24 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
If you pass 'uopts=r' to the script then it will default to rescaled display on everything. Maybe not what you want, though. Have you tried setting the routers.cgi*UpperLimit[] directive to something very very small and then DONT set the rigid option?

_________________
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  
 
 Post subject:
PostPosted: Sat Jul 29, 2006 4:01 am 
Offline
Silver User

Joined: Sun Jul 23, 2006 7:17 am
Posts: 14
Hi Steve,

I used

routers.cgi*UpperLimit[fec-c611-us0]: 0.0005

but I'm not sure what you mean to not set "rigid" for the options...is this a default, that I should be un-setting?

Thanks,
Adam


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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