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