AS-Stats icon indicating copy to clipboard operation
AS-Stats copied to clipboard

ipfix : Use of uninitialized value in addition (+) at /usr/local/AS-Stats/bin/asstatd.pl line 446.

Open Rico29 opened this issue 6 years ago • 1 comments

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

Rico29 avatar Nov 14 '18 09:11 Rico29

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?

mikenowak avatar Dec 14 '18 00:12 mikenowak