Tags: tom472/PADD
Tags
Updates for v3.0.1
- Completely re-wrote GetVersionInformation
- Should work all the time, everytime!
- Check now reads $(pihole -v -p) to gather current and latest versions
- Check handles issues with Pihole version returning "ERROR"
- Check only needs to run once on start-up, any additional calls will check for piHoleVersion file, then stop
- Added CheckConnectivity
- Used to ensure that network connectivity is available prior to starting PADD
- Caused issues with GetVersionInformation running prior it being online and able to check for the latest version of Pi-hole
- Attempts to connect to Google
- Will slowly time out after 8 attempts
- Refactored GetPiholeInformation
- Uses $(pihole status web) only once
- Gathers information about FTL's cpu and memory use if FTL is running
- Renamed additional variables
Added Bar Graphs and Cleaned Up Pi-hole Stats, Network Info Major: - Added status bars - Blocked domains now show as a bar graph - CPU and memory use in system stats show with bar graphs - Tweaked Pihole Stats and Network info - Added top domain to pi-hole stats - DHCP info is displayed in Network info, only if Pi-hole is the DHCP server - Additional Pi-hole stats shown if Pi-hole isn't the DHCP server - Added BarGenerator() to support percentage bars - Refactored CPUHeatmapGenerator to support interpretting a percentage or two numbers for CPU percentages Minor: -changed locale to en_us.utf8 so large numbers (domains blocked, etc.) look better - start up wait time reduced to 3 seconds - refactored and cleaned up code
PreviousNext