The attached patch (against release 3.5.2) adds the following statistical
plots to the default JKGrapher.pl:
- 95th Percentile bars
- Confidence Lines (Holt-Winters forecasting)
- "alarm" highlights (partially broken) for traffic outside of confidence
line windows.
This requires a companion patch to FlowScan.pm which is below (increases
granularity and includes Holt-Winters prediction RRA; File size is
approximately 2MB per RRA).
--- /netflow/flowscan/bin/FlowScan.pm_20061218 Mon Dec 18 16:18:16 2006
+++ /netflow/flowscan/bin/FlowScan.pm Wed Jun 20 11:39:08 2007
@@ -152,16 +152,16 @@
RRDs::create($file,
'--start', $startwhen,
'--step', 300,
@DS,
qw(
- RRA:AVERAGE:0:1:600
- RRA:AVERAGE:0:6:600
- RRA:AVERAGE:0:24:600
- RRA:AVERAGE:0:288:732
- RRA:MAX:0:24:600
- RRA:MAX:0:288:732
+ RRA:AVERAGE:0:1:9504
+ RRA:AVERAGE:.5:2:4320
+ RRA:AVERAGE:.3:3:2880
+ RRA:AVERAGE:.25:6:4320
+ RRA:AVERAGE:.25:12:4800
+ RRA:HWPREDICT:8640:0.1912:0.0014:288
)
);
my $err=RRDs::error;
warn "ERROR creating $file: $err\n" if $err;
}
Nobody/Anonymous
None
None
Public
| Filename | Description | Download |
|---|---|---|
| JKStatPlot.diff | Patch for Stat Plot (-U 5) | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 234493: JKStatPlot.diff | 2007-06-25 18:55 | voretaq7 |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use