Automated Internet Diagnostics

Download the Diagnostic Script

This application collects necessary information in order to diagnose network connection problems and sends the results to a user specified email address for review as well as displays them in a formatted html page to the user.

Information it collects:

  • Modem Logs
    • Collects modem diagnostic information from the web-interface of most Ontario TPIA supported cable modems
  • Network Info/Tests
    • ipconfig /all
    • windows firewall info via netsh command
    • arp -a (physical address info)
    • netstat
    • ping, tracert, nslookup to user entered URLs/IPs and default gateway
  • PC Info
    • CPU
      • Name
      • # of Cores
      • 6 Samples of Utilization
    • RAM
      • Amount
      • Utilization
  • Process/Application Info
    • Running Processes
    • Services
    • Installed Applications
  • Wireless Log
    • Windows 10 Only
    • Requires Administrator rights
    • More Info
  • Highlights the following:
    • Bad ping results
      • high latency
      • packet loss
    • Processes running known to cause issues
    • Processes using >10-15% cpu
    • Older systems
    • High CPU Utilization

Advantages of this script:

  • Automatically emails results to specified support e-mail (no copy/paste, or screenshots by end user)
  • Collects all information required to submit a trouble ticket to a cable provider
  • Collects additional information useful for diagnosing/resolving perceived slow speeds problems
  • Allows user to review and approve/deny what is collected before actually running the test
  • Interactive: user can define a url they are having issues with to run tests to.
  • Presents user with pleasing diagnostic result page in web browser for their own review.
  • Output is well formatted and easy to read and there are bookmarks for each section.

Current known issues:

Planned Features:

  • More control over which tests are performed
  • Taking feature requests!

Update Mar 25 2017

Fixes

  • Total RAM reporting corrected

Update Mar 23 2017

Fixes

  • 100% Lost hops would decrease the number of pings performed by subsequent pings by 10

Features

  • At a Glance View
    • CPU Usage collected 6 times during test
    • Ethernet Adapter Stats
    • Basic Network info
    • Ping Summary
      • Total Sent
      • Total Lost
      • Top 5 Pings
    • Top 10 Processes
    • PC Specs
  • Total CPU Usage now collected via Get-Counter
  • Now Retrieves info from Hitron CDA3
  • Retrieves info from TC4300 without user interaction / logging into modem
  • New GUI allows support person to provide user with download link that runs script with preselected tests and variables
  • Now able to specify what email to send results to

Changes

  • Replaced text interface with GUI built with PHP which dynamically creates bat file
  • Less files attached to email
    • Diagnostic information included in webout file
    • CDA / TC4300 files included in webout file

Update Mar 05 2017

Fixes

  • Copying and pasting from the script’s output now works as expected

Features

  • IPConfig, Ping, and Traceroute summary for easy review
  • Reverse DNS lookup of each hostname pinged

Update Jan 27 2017

Fixes

  • Verbose (MTR) Mode now works on Powershell 2

Features

  • Speed test automatically switches to a larger test if the first one completed too quickly
  • Results page now has each ping bookmarked

Other

  • Some code cleanup.

Update Jan 25 2017

Fixes

  • Tracert now logged on Powershell 2
  • Ping now recorded in same format as Windows Command Prompt
  • Ping now shows packet loss as it occurs.

Features

  • Wireless log for Windows 10 Machines (netsh wlan show wlanreport) (Run As Administrator Required)
  • If Ping loses all first 10 packets then the remainder of the ping is aborted
  • Ping now waits 300ms between packets, instead of 1000ms
  • Options for ping are 20 / 70 pings

Update Sept 10 2017

Fixes

  • When multiple network adapters enabled, now able to see info on all of them in ‘At a glance’
  • Speed test is now using Rogers’ speedtest.net server

Features

  • Modem is now automatically detected
  • Spectrum analysis information gathered on Hitron CDA3s
  • ‘Quiet Mode’ does not disclose which tests are being performed to the user as the test is running and does not launch a browser with the results.
This entry was posted in Home Networking, Internet. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *