Thanks Mike.
I’ve observed this on an ASL3 node:
OS : Debian GNU/Linux 12 (bookworm)
OS Kernel : 6.1.0-28-amd64
Asterisk : 20.10.0+asl3-3.1.0-1.deb12
ASL [app_rpt] : 3.1.0
Full asl-show-version output
$ sudo asl-show-version
dpkg-query: no packages found matching cockpit*
********** AllStarLink [ASL] Version Info **********
OS : Debian GNU/Linux 12 (bookworm)
OS Kernel : 6.1.0-28-amd64
Asterisk : 20.10.0+asl3-3.1.0-1.deb12
ASL [app_rpt] : 3.1.0
Installed ASL packages :
Package Version
============================== ==============================
allmon3 1.4.1-1.deb12
asl3 3.6.0-1.deb
asl3-asterisk 2:20.10.0+asl3-3.1.0-1.deb12
asl3-asterisk-config 2:20.10.0+asl3-3.1.0-1.deb12
asl3-asterisk-modules 2:20.10.0+asl3-3.1.0-1.deb12
asl3-menu 1.10-1.deb12
dahdi 1:3.1.0-2
dahdi-dkms 1:3.4.0-4+asl
dahdi-linux 1:3.4.0-4+asl
I see the same thing on another node running ASL Version 2.0.0-beta.6
.
Depending on the length of the node list I occasionally see the last node number in the list being truncated (which lead me to scour this network looking for node “55”!), which makes me suspect we are hitting the limit of some buffer. However, if I could the number of nodes in the list that RPT_LINKS
gives me, it matches up with the count at the start of the event payload.
Looking again this morning, this is what I can see from rpt showvars
:
RPT_LINKS=69,T2167,T53396,T547462,T620131,T55512,T61706,T577817,T64077,T418191,T1999,T46348,T58753,T60148,T63466,T63783,T61578,T40064,T2196,T494130,T48907,T63429,T62169,T63863,T59629,T623770,T632850,T550113,T61739,T620133,T52375,T547487,T286982,T605872,T547482,T602201,T3889266,T555399,T3197638,T567200,T550700,T601630,T601640,T547488,T602020,T547480,T614820,T286980,T605870,T555390,T606530,T60699,T424380,T635660,T605880,T602200,T547489,T51871,T1999,T578103,T578101,T1995,T42434,T50490,T501642,T50982,T546381,T569940,T521391,T5
(I counted them, there are 69. Also note T5
at the end!)
However, if I query the API directly and count links to our hub nodes:
$ cat nodecount.sh
#!/usr/bin/env bash
NODES=(2167 2196 63061 601040)
t=0
for n in "${NODES[@]}"; do
c=$(curl -s https://stats.allstarlink.org/api/stats/$n | jq '.stats .data .links | length')
t=$(( $t + $c ))
done
echo $t
$ ./nodecount.sh
94
I can see that they are all connected through our dashboards, at most 2 hops away from each other.
In this case I am connected direct to 2167, but cannot see that 63061 or any node connected to it. Likewise, if I connect direct to 63061 I will not see 2167 or any of its adjacent nodes. They are both connected to 2196. I can see 2196 an its adjacent nodes in the list.