# Find nodes that are talking

**URL:** <https://community.allstarlink.org/t/find-nodes-that-are-talking/12091>\
**Category:** AllStarLink\
**Created:** [August 9, 2015, 2:02am UTC](https://community.allstarlink.org/t/find-nodes-that-are-talking/12091 "2015-08-09T02:02:55Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Electricity440](https://community.allstarlink.org/user_avatar/community.allstarlink.org/electricity440/32/1474_2.png) [@Electricity440](https://community.allstarlink.org/u/Electricity440)\
**Post date:** [August 9, 2015, 2:02am UTC](https://community.allstarlink.org/t/find-nodes-that-are-talking/12091/1 "2015-08-09T02:02:55Z")

</div>

I like the feature on [stats.allstarlink.org](http://stats.allstarlink.org) which shows the time since last unkey, but I wish there was a way to sort it, it would be really nice if I could find all of the nodes that are currently talking so I could connect in if I want to find someone to talk to or do a demonstration etc.

First, has anyone done such a thing, where you grab the last unkey from the stats.allstarlink and show all of the nodes that have had traffic sorted by last unkey?

Second, if I wanted to do it, what programming language would I have to learn to script it for my ham radio website and how hard would it be?

Thanks

Skyler KDØWHB

---

<div class="post-metadata">

**Author:** ![Dl1flo](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/d/258eb7/32.png) [@Dl1flo](https://community.allstarlink.org/u/Dl1flo)\
**Post date:** [August 9, 2015, 7:59am UTC](https://community.allstarlink.org/t/find-nodes-that-are-talking/12091/2 "2015-08-09T07:59:41Z")

</div>

Hi Skyler,

Is this list that what you like?

I have write it in few minutes with php.

[http://82.135.26.20/lastactivity.php](http://82.135.26.20/lastactivity.php)

73 de Florian DL1FLO

---

<div class="post-metadata">

**Author:** ![Dl1flo](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/d/258eb7/32.png) [@Dl1flo](https://community.allstarlink.org/u/Dl1flo)\
**Post date:** [August 9, 2015, 11:16am UTC](https://community.allstarlink.org/t/find-nodes-that-are-talking/12091/3 "2015-08-09T11:16:46Z")

</div>

Hi,

I hope it works, here is the sourcecode:

---

<div class="post-metadata">

**Author:** ![G8sau](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/g/bc79bd/32.png) [@G8sau](https://community.allstarlink.org/u/G8sau)\
**Post date:** [August 9, 2015, 1:59pm UTC](https://community.allstarlink.org/t/find-nodes-that-are-talking/12091/4 "2015-08-09T13:59:14Z")

</div>

Interesting demo that worked well. thanks.

the src code seems to have got smashed up in the list server email relay does any one have this code working that can send to me directly as an attachment zip or other

Im not a php expert tried to fix it but its too badly broken for me to fix.

thanks. Barry

> **···**
>
> At 12:16 09/08/2015, Florian Schmid wrote:
> 
> > Hi,  
> > I hope it works, here is the sourcecode:
> > 
> > ----

---

<div class="post-metadata">

**Author:** ![Doug](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/d/dbc845/32.png) [@Doug](https://community.allstarlink.org/u/Doug)\
**Post date:** [August 9, 2015, 3:50pm UTC](https://community.allstarlink.org/t/find-nodes-that-are-talking/12091/5 "2015-08-09T15:50:36Z")

</div>

Barry,  
Attached is a working lastactivity script. This is meant to be run on a local http server.  
On the RPi2 put it in /srv/http  
Then browse your\_RPi2\_ip/lastactivity.php  
You need to have php setup in your http server as per Allmon instructions. This is already done in the RPi2 image.  
For other distributions you would have to set things up in httpd.conf and place the file in the http path before it will work.  
**73 Doug  
WA3DSP  
 [WA3DSP Amateur Radio Resources](http://www.crompton.com/hamradio)**

[lastactivity.tgz](https://community.allstarlink.org/uploads/default/original/1X/97b24f5e6bd9a89d2a35f2fcc805e59def3fa614.tgz) (909 Bytes)

> **···**
>
> > Date: Sun, 9 Aug 2015 14:59:14 +0100  
> > To: [app\_rpt-users@ohnosec.org](mailto:app_rpt-users@ohnosec.org)  
> > From: [g8sau@sidx.org.uk](mailto:g8sau@sidx.org.uk)  
> > Subject: Re: [App\_rpt-users] Find nodes that are talking
> > 
> > At 12:16 09/08/2015, Florian Schmid wrote:
> > 
> > > Hi,  
> > > I hope it works, here is the sourcecode:
> > > 
> > > * * *
> > 
> > Interesting demo that worked well. thanks.
> > 
> > the src code seems to have got smashed up in the list server email relay  
> > does any one have this code working that can send to me directly as an  
> > attachment zip or other
> > 
> > Im not a php expert tried to fix it but its too badly broken for me to fix.
> > 
> > thanks. Barry
> > 
> > * * *
> > 
> > App\_rpt-users mailing list  
> > [App\_rpt-users@ohnosec.org](mailto:App_rpt-users@ohnosec.org)  
> > [http://ohnosec.org/cgi-bin/mailman/listinfo/app\_rpt-users](http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users)
> > 
> > To unsubscribe from this list please visit [http://ohnosec.org/cgi-bin/mailman/listinfo/app\_rpt-users](http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users) and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”  
> > You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.

---

<div class="post-metadata">

**Author:** ![G8sau](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/g/bc79bd/32.png) [@G8sau](https://community.allstarlink.org/u/G8sau)\
**Post date:** [August 9, 2015, 4:17pm UTC](https://community.allstarlink.org/t/find-nodes-that-are-talking/12091/6 "2015-08-09T16:17:26Z")

</div>

Thanks for the src code I did fix all this as I have the same as you sent to me.  
but neither work

[Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] File does not exist: /var/www/html/nodes/style.css, referer: [http://www.gb3gr.co.uk/nodes/lastactivity.php](http://www.gb3gr.co.uk/nodes/lastactivity.php)  
[Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP Notice: Undefined offset: 6 in /var/www/html/nodes/lastactivity.php on line 24  
[Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP Notice: Undefined offset: 1 in /var/www/html/nodes/lastactivity.php on line 96  
[Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP Notice: Undefined offset: 2 in /var/www/html/nodes/lastactivity.php on line 96  
[Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP Notice: Undefined offset: 3 in /var/www/html/nodes/lastactivity.php on line 96  
[Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP Notice: Undefined offset: 4 in /var/www/html/nodes/lastactivity.php on line 96  
[Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP Notice: Undefined offset: 5 in /var/www/html/nodes/lastactivity.php on line 96

I can see that it gets the stats file then starts to parse the data looking for 0 in Last Key/Unkey bits of the data and  
then sorting in order of number size

the parsing is not actually working..?

lsnodes on this ox and allmon all work its a std linux install from acid all working fine

Barry

> **···**
>
> At 16:50 09/08/2015, you wrote:
> 
> > Barry,
> > 
> > Attached is a working lastactivity script. This is meant to be run on a local http server.
> > 
> > On the RPi2 put it in /srv/http
> > 
> > Then browse your\_RPi2\_ip/lastactivity.php

---

<div class="post-metadata">

**Author:** ![wl7lp1](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/51bf81/32.png) [@wl7lp1](https://community.allstarlink.org/u/wl7lp1)\
**Post date:** [August 9, 2015, 4:45pm UTC](https://community.allstarlink.org/t/find-nodes-that-are-talking/12091/7 "2015-08-09T16:45:03Z")

</div>

I don’t believe it works as it should. it’s reporting my node as not keyed up in 6 days

and that’s not true. seems to me it’s reporting how long the systems has been up and

not how busy they are.

73 Russ WL7LP

Alaska Morning Net - Net Manager

IRLP node 7369,  
AllStar 29332, 29265,

> **···**
>
> * * *
> 
> **From:** Barry [g8sau@sidx.org.uk](mailto:g8sau@sidx.org.uk)  
> **To:** Doug Crompton [doug@crompton.com](mailto:doug@crompton.com); “[app\_rpt-users@ohnosec.org](mailto:app_rpt-users@ohnosec.org)” [app\_rpt-users@ohnosec.org](mailto:app_rpt-users@ohnosec.org)  
> **Sent:** Sunday, August 9, 2015 8:17 AM  
> **Subject:** Re: [App\_rpt-users] Find nodes that are talking
> 
> At 16:50 09/08/2015, you wrote:
> 
> > Barry,
> > 
> > Attached is a working lastactivity script. This is meant to be run on a  
> > local http server.
> > 
> > On the RPi2 put it in /srv/http
> > 
> > Then browse your\_RPi2\_ip/lastactivity.php
> 
> Thanks for the src code I did fix all this as I have the same as you sent  
> to me.  
> but neither work
> 
> [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] File does not  
> exist: /var/www/html/nodes/style.css, referer:  
> [http://www.gb3gr.co.uk/nodes/lastactivity.php](http://www.gb3gr.co.uk/nodes/lastactivity.php)  
> [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> Notice: Undefined offset: 6 in /var/www/html/nodes/lastactivity.php on line 24  
> [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> Notice: Undefined offset: 1 in /var/www/html/nodes/lastactivity.php on line 96  
> [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> Notice: Undefined offset: 2 in /var/www/html/nodes/lastactivity.php on line 96  
> [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> Notice: Undefined offset: 3 in /var/www/html/nodes/lastactivity.php on line 96  
> [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> Notice: Undefined offset: 4 in /var/www/html/nodes/lastactivity.php on line 96  
> [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> Notice: Undefined offset: 5 in /var/www/html/nodes/lastactivity.php on line 96
> 
> I can see that it gets the stats file then starts to parse the data  
> looking for 0 in Last Key/Unkey bits of the data and  
> then sorting in order of number size
> 
> the parsing is not actually working…?
> 
> lsnodes on this ox and allmon all work its a std linux install from acid  
> all working fine
> 
> Barry
> 
> * * *
> 
> App\_rpt-users mailing list  
> [App\_rpt-users@ohnosec.org](mailto:App_rpt-users@ohnosec.org)  
> [http://ohnosec.org/cgi-bin/mailman/listinfo/app\_rpt-users](http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users)
> 
> To unsubscribe from this list please visit [http://ohnosec.org/cgi-bin/mailman/listinfo/app\_rpt-users](http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users)and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”  
> You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.

---

<div class="post-metadata">

**Author:** ![Doug](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/d/dbc845/32.png) [@Doug](https://community.allstarlink.org/u/Doug)\
**Post date:** [August 9, 2015, 4:59pm UTC](https://community.allstarlink.org/t/find-nodes-that-are-talking/12091/8 "2015-08-09T16:59:48Z")

</div>

What is the error? What system are you using? Acid? RPi2? etc.  
Are you setup for Allmon (changes to httpd.conf) ?  
Check the http error log. /var/log/httpd/error\_log and access\_log  
**73 Doug  
WA3DSP  
 [WA3DSP Amateur Radio Resources](http://www.crompton.com/hamradio)**

> **···**
>
> > Date: Sun, 9 Aug 2015 17:17:26 +0100  
> > To: [doug@crompton.com](mailto:doug@crompton.com); [app\_rpt-users@ohnosec.org](mailto:app_rpt-users@ohnosec.org)  
> > From: [g8sau@sidx.org.uk](mailto:g8sau@sidx.org.uk)  
> > Subject: RE: [App\_rpt-users] Find nodes that are talking
> > 
> > At 16:50 09/08/2015, you wrote:
> > 
> > > Barry,
> > > 
> > > Attached is a working lastactivity script. This is meant to be run on a  
> > > local http server.
> > > 
> > > On the RPi2 put it in /srv/http
> > > 
> > > Then browse your\_RPi2\_ip/lastactivity.php
> > 
> > Thanks for the src code I did fix all this as I have the same as you sent  
> > to me.  
> > but neither work
> > 
> > [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] File does not  
> > exist: /var/www/html/nodes/style.css, referer:  
> > [http://www.gb3gr.co.uk/nodes/lastactivity.php](http://www.gb3gr.co.uk/nodes/lastactivity.php)  
> > [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> > Notice: Undefined offset: 6 in /var/www/html/nodes/lastactivity.php on line 24  
> > [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> > Notice: Undefined offset: 1 in /var/www/html/nodes/lastactivity.php on line 96  
> > [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> > Notice: Undefined offset: 2 in /var/www/html/nodes/lastactivity.php on line 96  
> > [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> > Notice: Undefined offset: 3 in /var/www/html/nodes/lastactivity.php on line 96  
> > [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> > Notice: Undefined offset: 4 in /var/www/html/nodes/lastactivity.php on line 96  
> > [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> > Notice: Undefined offset: 5 in /var/www/html/nodes/lastactivity.php on line 96
> > 
> > I can see that it gets the stats file then starts to parse the data  
> > looking for 0 in Last Key/Unkey bits of the data and  
> > then sorting in order of number size
> > 
> > the parsing is not actually working…?
> > 
> > lsnodes on this ox and allmon all work its a std linux install from acid  
> > all working fine
> > 
> > Barry

---

<div class="post-metadata">

**Author:** ![G8sau](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/g/bc79bd/32.png) [@G8sau](https://community.allstarlink.org/u/G8sau)\
**Post date:** [August 9, 2015, 5:08pm UTC](https://community.allstarlink.org/t/find-nodes-that-are-talking/12091/9 "2015-08-09T17:08:50Z")

</div>

Yes that works fine I will now do a diff to see what the problems is.

many thanks to the originator author it is a handy tool for testing

Barry G8SAU

> **···**
>
> At 17:54 09/08/2015, you wrote:
> 
> > Barry,
> > 
> > I had the same results with Dougs version. At Least it didn't sort on the last key/unkey for me.  
> > Using the php code that Florian sent it does work here ... however I am just trying it from the terminal and it is not being served anywhere.

---

<div class="post-metadata">

**Author:** ![Electricity440](https://community.allstarlink.org/user_avatar/community.allstarlink.org/electricity440/32/1474_2.png) [@Electricity440](https://community.allstarlink.org/u/Electricity440)\
**Post date:** [August 9, 2015, 5:07pm UTC](https://community.allstarlink.org/t/find-nodes-that-are-talking/12091/10 "2015-08-09T17:07:07Z")

</div>

Thanks, that is exactly what I was looking for!

> **···**
>
> On Sun, Aug 9, 2015 at 11:08 AM, Barry [g8sau@sidx.org.uk](mailto:g8sau@sidx.org.uk) wrote:
> 
> > At 17:54 09/08/2015, you wrote:
> > 
> > > Barry,
> > > 
> > > I had the same results with Dougs version. At Least it didn’t sort on the last key/unkey for me.
> > > 
> > > Using the php code that Florian sent it does work here … however I am just trying it from the terminal and it is not being served anywhere.
> > 
> > Yes that works fine I will now do a diff to see what the problems is.
> > 
> > many thanks to the originator author it is a handy tool for testing
> > 
> > Barry G8SAU
> > 
> > * * *
> > 
> > App\_rpt-users mailing list
> > 
> > [App\_rpt-users@ohnosec.org](mailto:App_rpt-users@ohnosec.org)
> > 
> > [http://ohnosec.org/cgi-bin/mailman/listinfo/app\_rpt-users](http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users)
> > 
> > To unsubscribe from this list please visit [http://ohnosec.org/cgi-bin/mailman/listinfo/app\_rpt-users](http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users) and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”
> > 
> > You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
> 
> –
> 
> Skyler Fennell  
> [amsatnet.info](http://amsatnet.info)
> 
> KDØWHB
> 
> [electricity440@gmail.com](mailto:electricity440@gmail.com)

---

<div class="post-metadata">

**Author:** ![Doug](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/d/dbc845/32.png) [@Doug](https://community.allstarlink.org/u/Doug)\
**Post date:** [August 9, 2015, 5:10pm UTC](https://community.allstarlink.org/t/find-nodes-that-are-talking/12091/11 "2015-08-09T17:10:35Z")

</div>

It reports only RF activity at the node listed. My hub has lots of activity but it does not show up unless coming directly from that node. THIs somewhat makes sense because if it showed all the nodes keyed that were connected to all hubs the list would go crazy!  
**73 Doug  
WA3DSP  
 [WA3DSP Amateur Radio Resources](http://www.crompton.com/hamradio)**

> **···**
>
> * * *
> 
> Date: Sun, 9 Aug 2015 16:45:03 +0000  
> From: [wl7lp@yahoo.com](mailto:wl7lp@yahoo.com)  
> To: [app\_rpt-users@ohnosec.org](mailto:app_rpt-users@ohnosec.org)  
> Subject: Re: [App\_rpt-users] Find nodes that are talking
> 
> I don’t believe it works as it should. it’s reporting my node as not keyed up in 6 days
> 
> and that’s not true. seems to me it’s reporting how long the systems has been up and
> 
> not how busy they are.
> 
> 73 Russ WL7LP
> 
> Alaska Morning Net - Net Manager
> 
> IRLP node 7369,  
> AllStar 29332, 29265,
> 
> * * *
> 
> **From:** Barry [g8sau@sidx.org.uk](mailto:g8sau@sidx.org.uk)  
> **To:** Doug Crompton [doug@crompton.com](mailto:doug@crompton.com); “[app\_rpt-users@ohnosec.org](mailto:app_rpt-users@ohnosec.org)” [app\_rpt-users@ohnosec.org](mailto:app_rpt-users@ohnosec.org)  
> **Sent:** Sunday, August 9, 2015 8:17 AM  
> **Subject:** Re: [App\_rpt-users] Find nodes that are talking
> 
> At 16:50 09/08/2015, you wrote:
> 
> > Barry,
> > 
> > Attached is a working lastactivity script. This is meant to be run on a  
> > local http server.
> > 
> > On the RPi2 put it in /srv/http
> > 
> > Then browse your\_RPi2\_ip/lastactivity.php
> 
> Thanks for the src code I did fix all this as I have the same as you sent  
> to me.  
> but neither work
> 
> [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] File does not  
> exist: /var/www/html/nodes/style.css, referer:  
> [http://www.gb3gr.co.uk/nodes/lastactivity.php](http://www.gb3gr.co.uk/nodes/lastactivity.php)  
> [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> Notice: Undefined offset: 6 in /var/www/html/nodes/lastactivity.php on line 24  
> [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> Notice: Undefined offset: 1 in /var/www/html/nodes/lastactivity.php on line 96  
> [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> Notice: Undefined offset: 2 in /var/www/html/nodes/lastactivity.php on line 96  
> [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> Notice: Undefined offset: 3 in /var/www/html/nodes/lastactivity.php on line 96  
> [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> Notice: Undefined offset: 4 in /var/www/html/nodes/lastactivity.php on line 96  
> [Sun Aug 09 17:07:11 2015] [error] [client 81.149.82.229] PHP  
> Notice: Undefined offset: 5 in /var/www/html/nodes/lastactivity.php on line 96
> 
> I can see that it gets the stats file then starts to parse the data  
> looking for 0 in Last Key/Unkey bits of the data and  
> then sorting in order of number size
> 
> the parsing is not actually working…?
> 
> lsnodes on this ox and allmon all work its a std linux install from acid  
> all working fine
> 
> Barry
> 
> * * *
> 
> App\_rpt-users mailing list  
> [App\_rpt-users@ohnosec.org](mailto:App_rpt-users@ohnosec.org)  
> [http://ohnosec.org/cgi-bin/mailman/listinfo/app\_rpt-users](http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users)
> 
> To unsubscribe from this list please visit [http://ohnosec.org/cgi-bin/mailman/listinfo/app\_rpt-users](http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users)and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”  
> You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
> 
> * * *
> 
> App\_rpt-users mailing list  
> [App\_rpt-users@ohnosec.org](mailto:App_rpt-users@ohnosec.org)  
> [http://ohnosec.org/cgi-bin/mailman/listinfo/app\_rpt-users](http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users)  
> To unsubscribe from this list please visit [http://ohnosec.org/cgi-bin/mailman/listinfo/app\_rpt-users](http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users) and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”  
> You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
