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 http://www.crompton.com/hamradio
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