Steps:
Open config.py in the Python sandbox below, and update the gmail_id and gmail_password variables.
Modify main.py to include the email address which will receive the emailed report. This is saved under the recipient variable.
Open the Mist web UI, navigate to Marvis, and ask questions to monitor and troubleshoot the network. Click the User Guide button for the supported queries.
Modify main.py below to add your own “Marvis Virtual Network Assistant” API monitoring.
Documentation: https://api.mist.com/api/v1/docs/Site#client-stats (see “Search Wireless Clients”)
Get historical clients for the past 14 days:
Get historical Macs on Guest WLANs for the past 14 days:
Rank WLANs by client count for the current day:
Check the email recipient’s Inbox to see the final report.