This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

Idea Public Schools Meraki PoC

This demo is utilizing the Meraki Sandbox

This is a proof of concept created for Idea Public Schools. This code is intended to showcase the value that Meraki APIs can bring to business/IT.
The application can populate all devices and port connections throughout an entire Meraki Organization.
The application can also pull all device information from two different time periods and display the changes between the two port connections to distinguish which device ports have been tampered with.
The application can also send an email with these device port changes.
More Meraki API documentation can be found here: https://documenter.getpostman.com/view/897512/meraki-dashboard-api/2To9xm

  • Make sure Python is installed

  • Make sure pip is installed

  • Enter 'pip install -r requirements.txt' into command line to download necessary libraries

  • In 'meraki_pov_api.py' scroll to the 'def sendEmail(emailBody)'' and fill out the 'from address', 'to address', and the login credentials

    • The sendEmail(x) is called in app.py under the 'def compareDevicesConnected()'
    • remove/comment this out if email not desired
  • In meraki_pov_api.py add your API_KEY

  • In app.py make sure the oranizationID corresponds to the appropriate Meraki organzation

  • To run application enter 'python app.py' into command line

  • Navigate to IP Address displayed using an internet browser

  • Navigating to https://(IP Address)/testing will bring up the pre-loaded comparison configuration table

Use Case

This application is a proof of concept created for IDEA Public Schools. The application uses the Cisco Meraki API to populate all devices and port connections throughout an entire Meraki Organization. It can also pull all device information from two different time periods and display the changes between the two port connections, which can help troubleshoot port problems, including identifying port tampering. The application can also send an email with these device port changes.

View code on GitHub

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.