Regarding AS-STATS same router multiple interface add

106 views
Skip to first unread message

Ujjal Biswas

unread,
Dec 9, 2022, 11:47:56 AM12/9/22
to AS-Stats users
Dear Team,
Hope all are doing well, recently i installed AS-STATS in Debian 11 and single Router single interface working fine. When adding multiple interface then AS-STATS not showing anything.

# snmpwalk -v2c -c public 10.20.30.2 ifIndex
202.53.160.1            582                             SkytelPRM               IIG.SK          F44336  2048
#202.53.160.1           688                             IX.Zenlayer             IX.ZL           F44336  1
#202.53.160.1           548                             skytelscn               IIG.SKSCN       CDDC39  1
#202.53.160.1           567                             IX.BDIX                 IX.BIX          4CAF50  1
#202.53.160.1           575                             IX.ISPABNIX             IX.ISPN         009688  1
#202.53.160.1           594                             IX.NOVONIX              IX.NOV          4CAF57  1
#202.53.160.1           628                             IX.AIX                  IX.AIX          F44338  1


right now bold one active and graph showing, when uncomments others then nothing showing. 

anyone please help me to fix this. 

Ujjal Biswas

unread,
Dec 10, 2022, 6:10:16 AM12/10/22
to AS-Stats users
Dear Team,
My configuration below. 

202.53.160.1            582                             SkytelPRM               IIG.SK          F44336  2048
202.53.160.1            688                             Zenlayer                IX.ZL           F44336  2048
202.53.160.1            548                             skytelscn               IIG.SKSCN       CDDC39  1024
202.53.160.1            637                             bdix                    IX.BIX          4CAF50  1024
202.53.160.1            660                             IXISPABNIX              IX.ISPN         009688  1024
202.53.160.1            594                             IXNOVONIX               IX.NOV          4CAF57  1024
202.53.160.1            628                             IXAIX                   IX.AIX          F44338  1024

getting this type error, rrd creating only for index 582

Error updating RRD file /data/asstats/rrd/bd/45245.rrd: unknown DS name 'bdix_in'
Error updating RRD file /data/asstats/rrd/8d/7565.rrd: unknown DS name 'bdix_in'
Error updating RRD file /data/asstats/rrd/41/58945.rrd: unknown DS name 'IXAIX_in'
Error updating RRD file /data/asstats/rrd/1f/58655.rrd: unknown DS name 'IXAIX_in'
Error updating RRD file /data/asstats/rrd/4d/58445.rrd: unknown DS name 'bdix_in'
Error updating RRD file /data/asstats/rrd/51/45905.rrd: unknown DS name 'bdix_out'
Error updating RRD file /data/asstats/rrd/fc/63996.rrd: unknown DS name 'bdix_out'
Error updating RRD file /data/asstats/rrd/a0/23456.rrd: unknown DS name 'Zenlayer_out'
Error updating RRD file /data/asstats/rrd/94/23956.rrd: unknown DS name 'bdix_out'
Error updating RRD file /data/asstats/rrd/6e/55406.rrd: unknown DS name 'IXISPABNIX_in'
Error updating RRD file /data/asstats/rrd/8a/38026.rrd: unknown DS name 'bdix_in'
Error updating RRD file /data/asstats/rrd/26/63526.rrd: unknown DS name 'bdix_out'
Error updating RRD file /data/asstats/rrd/c6/45766.rrd: unknown DS name 'IXISPABNIX_in'
Error updating RRD file /data/asstats/rrd/dc/45276.rrd: unknown DS name 'IXISPABNIX_in'
Error updating RRD file /data/asstats/rrd/0e/45326.rrd: unknown DS name 'bdix_in'
Error updating RRD file /data/asstats/rrd/34/21556.rrd: unknown DS name 'bdix_out'
Error updating RRD file /data/asstats/rrd/ec/24556.rrd: unknown DS name 'IXAIX_in'
Error updating RRD file /data/asstats/rrd/20/58656.rrd: unknown DS name 'bdix_in'

Josevaldo Batista da Cunha

unread,
Dec 10, 2022, 7:11:42 AM12/10/22
to as-stat...@googlegroups.com
certainly not tabulated spacing. review for correction use TAB remove existing spacing with spacebar "keyboard"
Ex:
202.53.160                1582               SkytelPRM IIG.SK              F44336          2048

--
You received this message because you are subscribed to the Google Groups "AS-Stats users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to as-stats-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/as-stats-users/381299a8-b7dc-4992-9552-b1970564b9dfn%40googlegroups.com.


--
Josevaldo Batista ( Duh )

 

Ujjal Biswas

unread,
Dec 10, 2022, 7:49:54 AM12/10/22
to AS-Stats users
Dear  Josevaldo,
I tried same tricks even used _ instead of "." . Finally rebooted server and now not getting these type error. Current problem is no graph is showing. 
AS-STATS.png


Josevaldo Batista da Cunha

unread,
Dec 10, 2022, 8:08:02 AM12/10/22
to as-stat...@googlegroups.com
comand   Current problem is no graph is showing. 
# perl /data/asstats/bin/rrd-extractstats.pl /data/asstats/rrd /data/asstats/conf/knownlinks /data/asstats/asstats/asstats_day.txt



Josevaldo Batista da Cunha

unread,
Dec 10, 2022, 10:36:08 AM12/10/22
to as-stat...@googlegroups.com
? It worked out ?

Ujjal Biswas

unread,
Dec 10, 2022, 10:59:58 AM12/10/22
to AS-Stats users
Dear Josevaldo,
I applied your command and problem not fixed, finally removed all rrd's all subdirectory and stop flow from router and rebooted server, started flow from router then working fine. 

thanks for your nice co-operation, your reply inspired me to think this way. 

Josevaldo Batista da Cunha

unread,
Dec 10, 2022, 12:59:50 PM12/10/22
to as-stat...@googlegroups.com
Every time you change anything in knownlinks you will have to stop and remove everything in rrd. After you start the service again and run the command

# perl /data/asstats/bin/rrd-extractstats.pl /data/asstats/rrd /data/asstats/conf/knownlinks /data/asstats/asstats/asstats_day.txt

Vlw

Reply all
Reply to author
Forward
0 new messages