AS-Stats
AS-Stats copied to clipboard
ipfix : Use of uninitialized value in addition (+) at /usr/local/AS-Stats/bin/asstatd.pl line 446.
Hello, Running asstats.pl like this : /usr/bin/perl /usr/local/AS-Stats/bin/asstatd.pl -a $ASN -r /usr/local/AS-Stats/rrd -k /usr/local/AS-Stats/conf/knownlinks -p 6344
always triggers warnings : Use of uninitialized value in addition (+) at /usr/local/AS-Stats/bin/asstatd.pl line 446. Use of uninitialized value in addition (+) at /usr/local/AS-Stats/bin/asstatd.pl line 446. Use of uninitialized value in addition (+) at /usr/local/AS-Stats/bin/asstatd.pl line 446. Use of uninitialized value in addition (+) at /usr/local/AS-Stats/bin/asstatd.pl line 446.
I tried to debug it but I was not able to find the cause. Can you help me with that please ? I can provide a pcap of IPFIX trafic coming into port 6344 (which looks correct)
Regards, Cédric
Based on your previous bug reports here I am assuming that you are using pmacct to feed as-stats.
Now, I believe this specific error occurs when you use nfprobe_version: 10 and your ifIndex are not sequential - i.e. 60,70,80 rather than 1,2,3,etc...
Also, could you share your pmacct config?