Hi.

I'm very happy with PRTG and the very simple and easy to use way how the different toplists are generated. But: is there a way to get the data out of PRTG and to create own usage statistics? My problem is that I would like to see traffic for each internal IP - but in total - and not separated by destination and/or protocol. So a simple list of internal IPs showing the total amount of data during the last 24 hours for example. I use a packet sniffer sensor which works great so the data is already there. But sometimes the default toplist makes it difficult to say "which machine takes the most bandwidth"?

Is this possible with PRTG?

Regards.


Article Comments

Hello,

I'm very sorry but the Toplists cannot be reported, but if you have Netflow Sensors filtering for certain IPs/Hosts then the normal sensor results can be reported and would also show bandwidth-amounts for certain IPs/hosts.

best regards


Nov, 2012 - Permalink

Hi,

Using CSVExport you can export data from PRTG and use it in your own tool or use CSVImport to create your own graphs.

Regards,


Nov, 2012 - Permalink

Create a new toplist, call it "Top IPs", select "Custom Toplist" and only enable "IP (combined") for "toplist based on". This toplist gives you the information of how many bytes each IP has consumed. Set the toplist "period" to 1440 to get daily data.

You can get toplist data as XML, click the "XML" link at the bottom of each toplists's data table. The URLs are similar to this:

http://myprtgserver/api/table.xml?&content=topdata&columns=position%2Cvalue_%2Cminigraph%2Cobjid%2Cbaselink&sortby=-value_2V&display=extendedheaders&subid=4&topnumber=-1&id=8663

id: The sensor ID topnumber: the toplist for an interval (-1 is live data), the problem apparently is to get those IDs for a specific timeframe. I need to check with the developer for details if you need this for automated scripting.


Dec, 2012 - Permalink

Sorry to bring back an old thread, but has there been any development in being able to get the list of topnumbers and potentially the timestamps that that list contains?


Jan, 2015 - Permalink