TNPFA 4.1.1 Installation and User Guide - e IBM Tivoli Composite ...
TNPFA 4.1.1 Installation and User Guide - e IBM Tivoli Composite ...
TNPFA 4.1.1 Installation and User Guide - e IBM Tivoli Composite ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
This example shows that the customer’s transfer rate actually peaked at the midway point in the month, but this is<br />
disregarded for charging purposes as it falls outside of the 95th percentile. After sorting, these transfers were in the peak<br />
5% of the month, <strong>and</strong> are not chargeable.<br />
Example report showing CSV Export for Daily Top Domains including 95th Percentile<br />
Step 1: Add the following lines into file /opt/tnpfa/var/sites/default/etc/report site.ash .<br />
Step 2: Invoke the script<br />
site domain select 0<br />
site period select day previous<br />
site aspect select domain octets<br />
$per$ = site period get epoch half<br />
$date$ = strftime %Y-%m-%d $per$<br />
set cleanoutput on<br />
set output /opt/tnpfa/var/tmp/report_$date$.csv.incomplete<br />
$keys$ = site aspect get keys<br />
loop i 1 1 @@keys@@<br />
{<br />
site aspect printf<br />
"DomainId=%flow:domain%,DomainName=%flow:domain#name%,TotSent=%tva:tot_sent%,<br />
TotRcvd=%tva:tot_recv%,AvgSent=%tva:avg_sent%,AvgRcvd=%tva:avg_recv%,P95=%tva:p95%\n<br />
" @@keys:$i$@@<br />
}<br />
set output session<br />
set cleanoutput off<br />
rename /opt/tnpfa/var/tmp/report_$date$.csv.incomplete<br />
/opt/tnpfa/var/sites/default/reports/report_$date$.csv<br />
tnpfa connect<br />
session login default admin <br />
exec /opt/tnpfa/var/sites/default/etc/report_site.ash<br />
Step 3: View the 95th Percentile result in the output file<br />
vi /opt/tnpfa/var/sites/default/reports/report_YYYY-MM.csv<br />
DomainId=0,DomainName=Other,TotSent=34661243.00,TotRcvd=33539267.00,AvgSent=360.33,A<br />
vgRcvd=348.66,P95=326.00<br />
DomainId=0,DomainName=Private,TotSent=0.00,TotRcvd=917178.00,AvgSent=0.00,AvgRcvd=10<br />
.67,P95=36.13<br />
88 <strong>IBM</strong> <strong>Tivoli</strong> Netcool Performance Flow Analyzer: <strong>Installation</strong> <strong>and</strong> <strong>User</strong> <strong>Guide</strong>