| Cheshire Cat Computing http://mail.steveshipway.org/forum/ |
|
| Graphing FEC(Forward Error Correction) on Cisco uBR10012 http://mail.steveshipway.org/forum/viewtopic.php?f=2&t=938 |
Page 1 of 1 |
| Author: | adamy [ Sun Jul 23, 2006 7:34 am ] |
| Post subject: | Graphing FEC(Forward Error Correction) on Cisco uBR10012 |
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 |
|
| Author: | stevesh [ Mon Jul 24, 2006 10:59 am ] |
| Post subject: | |
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. |
|
| Author: | adamy [ Tue Jul 25, 2006 3:41 am ] |
| Post subject: | |
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 |
|
| Author: | stevesh [ Tue Jul 25, 2006 11:10 am ] |
| Post subject: | |
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) |
|
| Author: | adamy [ Fri Jul 28, 2006 12:21 am ] |
| Post subject: | |
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; |
|
| Author: | stevesh [ Fri Jul 28, 2006 2:24 pm ] |
| Post subject: | |
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? |
|
| Author: | adamy [ Sat Jul 29, 2006 4:01 am ] |
| Post subject: | |
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 |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|