Hi List,
Trying to answer my preview question regarding the peak values (see message
below), Im looking at the ntop source code and focusing on the traffic.c
file, specifically at the function updateDeviceThpt(
), I have identified
the following code fragment:
void updateDeviceThpt(int deviceToUpdate, int quickUpdate) {
...
if(el->peakRcvdThpt < el->actualRcvdThpt) el->peakRcvdThpt =
el->actualRcvdThpt;
....
}
I understood that this line is assigning the peak value (received
throughput) for a specific host, Is it correct ?
If positive, Im a little bit confused because the peak value should be kept
the same or higher than the actual value, however, I have observed this
value varying up and down during a specific ntop run (w/o ntop restart).
Could be this behavior a bug ?
I will appreciate any explanation about that.
Thank you !
Rivalino
-----Mensagem original-----
De: Rivalino Matias Jr. [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 12 de janeiro de 2007 13:54
Para: [email protected]
Assunto: Peak value.
Hi list,
Im working on a project using ntop to measure the IP traffic from a SCADA
system responsible for the supervision of the facilities from an electric
energy distribution company.
During the analysis of the previous 48 days of measuring, we have a doubt
regarding the peak value computation.
At the Network Throughput page, we got the Current, Average and Peak
values. On the bottom of this page there is a description about the peak
value:
Peak values are the maximum value for any 10 second interval.
We understood that in each 10-second interval of monitoring, the candidate
to be the next peak value is computed based on the traffic measured in this
interval. If the candidate value resulted is greater than the actual peak
value then the candidate value is the new peak value. However, If not then
ntop keeps the actual peak value. Is it correct?
My question is because in a period of 48 days of monitoring we got the peak
value went to down, but we understand that the peak value should be keep
constant or increasing and never decreasing, except in case of the ntop
restart. A sample of these values follows:
Day Peak value
1 10
2 10
3 13
4 05 <= here.
5 08
6 08
In this period the system ran continuously without restart.
Could you give some light?
Thank you in advance!
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev