On 01/31/2010 04:05 PM, Luca Deri wrote:
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


Ok,

I have written a combination bash script piping rrd data into an awk script 
that does
the data accumulation and sorting over a selected time period shouldn't be too 
hard
to convert it to python.





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
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop



--
Stephen Clark
NetWolves
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: [email protected]
www.netwolves.com
_______________________________________________
Ntop mailing list
[email protected]
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
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop



--
Stephen Clark
NetWolves
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: [email protected]
www.netwolves.com
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to