Find nodes that are talking

I like the feature on 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

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

73 de Florian DL1FLO

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

···

At 12:16 09/08/2015, Florian Schmid wrote:

Hi,
I hope it works, here is the sourcecode:

----

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

lastactivity.tgz (909 Bytes)

···

Date: Sun, 9 Aug 2015 14:59:14 +0100
To: app_rpt-users@ohnosec.org
From: 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
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 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.

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
[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

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
To: Doug Crompton doug@crompton.com; “app_rpt-users@ohnosec.orgapp_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
[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
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 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.

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

···

Date: Sun, 9 Aug 2015 17:17:26 +0100
To: doug@crompton.com; app_rpt-users@ohnosec.org
From: 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
[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

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.

Thanks, that is exactly what I was looking for!

···

On Sun, Aug 9, 2015 at 11:08 AM, Barry 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

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 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

KDØWHB

electricity440@gmail.com

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

···

Date: Sun, 9 Aug 2015 16:45:03 +0000
From: wl7lp@yahoo.com
To: 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
To: Doug Crompton doug@crompton.com; “app_rpt-users@ohnosec.orgapp_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
[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
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 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
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 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.