manuelkasper / AS-Stats

A simple tool to generate per-AS traffic graphs from NetFlow/sFlow records
BSD 2-Clause "Simplified" License
196 stars 66 forks source link

Use of uninitialized value #64

Open acoul opened 7 years ago

acoul commented 7 years ago

I am using pmacct/nfprobe as a netflow/agent with AS statistics enabled. as-stats is working nicely on my 32bit gentoo system with this patch and the graphs are colorfully generated.

I do get though quite a few "Use of uninitialized value in new at /data/as-stats/bin/asstatd.pl" which is this line

any hints on how to further debug this?

acoul commented 7 years ago

this is the offending line: $ascache->{$name}->{$dsname} += $noctets;

acoul commented 7 years ago

this is happening only on pmacctd/netfllow v9 agents. Switching to pmacctd/netflow v5 does not produces this issue.