I don't believe it works as it should. it's reporting my node as not keyed up in 6 daysand that's not true. seems to me it's reporting how long the systems has been up andnot 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.org" <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 [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.