pi-hole/advanced/Scripts
jacobsalmela 739027a27d scripts to long-term stats
These scripts will be necessary for parsing pihole.log before it is
flushed and then saving the information into a DB.  This information
can then be displayed in the Web GUI.

mysql-server and php5-mysql will need to be installed.

you can then setup the database with this command:

mysql -u root -p"raspberry" < /usr/local/bin/setupPiholeStats.sql

Once that is done, run sudo php /usr/local/bin/lrs.php
2016-01-20 19:40:12 -06:00
..
blacklist.sh Switched CRLF to LF (DOS to UNIX) 2016-01-17 14:09:06 +00:00
chronometer.sh Move call to CheckIPv6 function into CalcBlockedDomains, rather than relying on remembering to call it before you call CalcBlockedDomains. 2016-01-19 21:14:01 +00:00
lrs.php scripts to long-term stats 2016-01-20 19:40:12 -06:00
piholeLogFlush.sh Add copyright headers 2015-12-06 05:55:50 -08:00
setupPiholeStats.sql scripts to long-term stats 2016-01-20 19:40:12 -06:00
updateDashboard.sh move webinterface.sh into scripts folder 2016-01-16 13:12:55 -06:00
whitelist.sh Tidy up help text on both scripts. Add quiet help. 2016-01-16 00:47:45 +00:00