[Ntop] determine host with most traffic
Gary Gatten
Ggatten at waddell.com
Sun Jan 31 22:16:44 CET 2010
A couple hours is pretty easy. I'm not in front of ntop now, but I think in the "network traffic" report one can click on the graph and the top 3 hosts will be displayed for the period selected. There is also another traffic report that color codes the top hosts during each one hour period.
Ill be in the office Tuesday and can provide the exact url's to the reports I'm thinking of.
----- Original Message -----
From: ntop-bounces at listgateway.unipi.it <ntop-bounces at listgateway.unipi.it>
To: ntop at unipi.it <ntop at unipi.it>
Sent: Sun Jan 31 15:05:35 2010
Subject: Re: [Ntop] determine host with most traffic
Steve
as soon as we complete the developments we'll write some docs. For the time being you can see some examples in the python/ directory part of ntop. You basically have to scan the directories where ntop saves the RRDs, use the RRD python library to read the traffic values and sort the values using the python sort facilities.
Cheers Luca
On Jan 29, 2010, at 1:19 PM, Steve Clark wrote:
> Hi Luca,
>
> Yes - I have been looking at the rrd files and have some idea of how I could
> do it outside of ntop, not that familiar with ntop architecture to quite
> understand how to do it within ntop.
>
> Also I won't know in advance what hosts I want to monitor. It is for
> the situation where I am called by someone saying we had a spike in usage a couple
> of hours ago, can you tell me which hosts were involved?
>
> Can you point me to some part of ntop that shows a python script be run from within
> ntop?
>
>
> Regards,
> Steve
>
> On 01/29/2010 04:57 AM, Luca Deri wrote:
>> Steve
>> you need to access the RRD files for the hosts that you want to monitor
>> and sort them up. A python script running inside ntop would be the
>> perfect place for doing that. Would you be interested in writing such code?
>>
>> Luca
>>
>> On 01/28/2010 06:19 PM, Steve Clark wrote:
>>> Hi,
>>>
>>> Is there a way to easily determine the host using the most bandwidth
>>> during a specific period?
>>>
>>> In other words suppose I want to know the host that used the most
>>> bandwidth between 6am and 7am
>>> two days ago and I have hundreds of host I am monitoring. Is there an
>>> easy way to determine
>>> this?
>>>
>>> Thanks,
>>> Steve
>>
>> _______________________________________________
>> Ntop mailing list
>> Ntop at listgateway.unipi.it
>> http://listgateway.unipi.it/mailman/listinfo/ntop
>>
>
>
> --
> Stephen Clark
> NetWolves
> Sr. Software Engineer III
> Phone: 813-579-3200
> Fax: 813-882-0209
> Email: steve.clark at netwolves.com
> www.netwolves.com
> _______________________________________________
> Ntop mailing list
> Ntop at listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop
---
We can't solve problems by using the same kind of thinking we used when we created them - Albert Einstein
_______________________________________________
Ntop mailing list
Ntop at listgateway.unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop
<font size="1">
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'>
</div>
"This email is intended to be reviewed by only the intended recipient
and may contain information that is privileged and/or confidential.
If you are not the intended recipient, you are hereby notified that
any review, use, dissemination, disclosure or copying of this email
and its attachments, if any, is strictly prohibited. If you have
received this email in error, please immediately notify the sender by
return email and delete this email from your system."
</font>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listgateway.unipi.it/pipermail/ntop/attachments/20100131/c0004109/attachment.htm>
More information about the Ntop
mailing list