I can't recommend a 1-off, as that's always a maintenance nightmare.

The right way is to add a 'scale' factor to the plugin configuration and
then apply it during incoming flow processing.

plugins/sflowPlugin.c

-----Burton

US-based commercial support for ntop:
     http://www.ntopsupport.com
     mailto:[EMAIL PROTECTED]

Search the ntop mailing lists at gmane:
     http://search.gmane.org

HowTo Ask for Help at
     http://snapshot.ntop.org/faq.php#83

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Samuel
Sent: Thursday, March 27, 2003 8:01 AM
To: [EMAIL PROTECTED]
Subject: [Ntop] sFlow, packet sampling rate & multiplication


Hello,

I'm using nTop with the sflow plugin. I want to "scale" the results computed
by nTop. All I need to do is multiply the size received by ntop by the
sampling rate. (I only need a rough estimate).
How should I modify the sources to achieve this ?

(for instance, nTop reports 100 KB transfered from a machine, and my
sampling rate is 1 / 512, so actually 100 KB * 512 = 51 200 KB were
transfered, that's this digit I want to display in the tables).

Thanks !

Samuel.


_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to