21 Commits

Author SHA1 Message Date
Matthieu Cerda
569e8334c1 rrd-extractstats.pl: fix bareword (disallowed by use strict, fixes #91) 2020-08-10 13:56:38 +02:00
Manuel Kasper
ab8a48e33e
Merge pull request #87 from rlanyi/extractstats-skipifnotmodified
Skip analyzing traffic data if RRD file hasn't changed since last run
2020-03-23 08:49:58 +01:00
Robert Lanyi
e4a06d5b9d Skip getting traffic data if RRD file hasn't changed since last run 2020-03-22 20:30:39 +01:00
Robert Lanyi
a0ffd9d867 Fix warning when THREADS env var is missing 2020-03-22 14:59:37 +01:00
Robert Lanyi
858c646e01 Change default number of threads to 1 (original behavior) 2020-03-22 14:44:17 +01:00
Robert Lanyi
37a7633ded Add THREADS env var to control number of threads 2020-03-21 18:44:10 +01:00
Robert Lanyi
245dcd591a Add multi-threading to rrd-extractstats.pl 2020-03-21 15:26:53 +01:00
Alexandre Bruyelles
b741f6704c
Escape sqlite's tablenames
Fix https://github.com/manuelkasper/AS-Stats/issues/68
This is a commit from https://github.com/falz, thanks to him

Signed-off-by: Alexandre Bruyelles <git@jack.fr.eu.org>
2018-08-04 23:14:58 +02:00
jack
d6c4c0ff95
Store statistics into a sqlite3 database. This way, we can quickly filter links on the top page, deprecating the linkusage page
Signed-off-by: jack <jack@k-net.pro>
2017-02-25 15:58:28 +01:00
Manuel Kasper
cb6f4c317b Fix missing stats entries
Fix for link tags that are substrings of other link tags.
2015-11-24 09:14:09 +01:00
Manuel Kasper
5bf3c07994 Make top N AS intervals configurable
* make top N AS intervals configurable (see config.inc), and allow
separate top stats file to be used per interval (enables e.g. proper
weekly/monthly stats)
* add Terabyte formatting
2014-09-11 15:12:58 +02:00
jack
3050e0bbe5 add a filter in find, so it won't look for deeper sub-tree (another "rrd-tree" stored in the same root) 2014-06-25 15:31:06 +02:00
jack
f3f697399e Revert "add a filter in find, so it will count as OR peeras, not both of them (same tree..)"
This reverts commit 7920698595fa2447ec38b6f0d0dd70a9e1105c17.
2014-06-25 15:28:05 +02:00
jack
7920698595 add a filter in find, so it will count as OR peeras, not both of them (same tree..) 2014-06-20 13:46:07 +02:00
Manuel Kasper
d0c49b309a Update my e-mail address 2013-04-29 10:43:44 +02:00
Manuel Kasper
3ff7930189 * add support for NetFlow v9
* add support for IPv6
* add support for 4-byte ASNs
2013-01-21 15:12:01 +00:00
Manuel Kasper
77890a8bab Fix for NaN detection in rrd-extractstats.pl for 64-bit Perl versions (contributed by Benjamin Schlageter)
Skip missing data sources in rrd-extractstats.pl to avoid abort if new data sources are added but the RRDs are not updated.
2011-03-28 08:37:30 +00:00
Manuel Kasper
944c0909ad Fix for multiple entries with the same tag in the
knownlinks file (e.g. for LACP).
2010-08-17 07:39:58 +00:00
Manuel Kasper
05bad2db6b Changes by Steve Colam <steve@colam.co.uk>:
- ...-asstatd.pl now accepts parameters (UDP listen port,
	  sampling rate etc.) on the command line
	
	  ****************************************************
	  * Mind the new command line syntax when upgrading! *
	  * Change your start script accordingly...          *
	  ****************************************************
	
	- hierarchical RRD structure for more efficient storage
	  (one directory per low byte of AS number)
	
	  *********************************************
	  * Use tools/migraterrdfiles.pl to move your *
	  * RRD files when upgrading!                 *
	  *********************************************

	- ...-asstatd.pl now re-reads known links file upon SIGHUP
	
Added contrib/generate-asinfo.py script to generate AS list from WHOIS
data (contributed by Thomas Mangin
<thomas.mangin@exa-networks.co.uk>).

Moved site-specific parameters of www frontend to config.inc.

New flag images from famfamfam.com.

Updated asinfo.txt.
2009-10-10 16:53:25 +00:00
Manuel Kasper
f0daa95e46 * AS-Stats modifications for public release 2008-02-19 15:43:28 +00:00
Manuel Kasper
9b65e833bd + put AS statistics tool source code in repository 2008-01-16 08:36:45 +00:00