published

merakiLifecycleReport

Obtain a lifecycle report from all of your Cisco Meraki organizations, detailing how many of your devices have EoL announcements published.

image alt text

Table of Contents

Introduction

Prerequisites

How to use

Results

Introduction

This script allows you to obtain a report of all of the End of Sales and End of Support equipment in your Cisco Meraki Organizations. It will output an HTML document and a PDF document with a table summarizing the organization inventory with:

  1. Counts of active devices per SKU
  2. Date when the device had its End of Life announcement
  3. End of Sales and End of Support Dates
  4. Links to Upgrade paths for each SKU

Prerequisites

  1. Active Cisco Meraki subscriptions in the orgs where the script will be run
  2. API access enabled for these organizations, as well as an API Key with access to them. See how to enable here
  3. A working Python 3.0 environment
  4. Install libraries in requirements.txt

How to Use

  1. Clone repo to your working directory
  2. Edit config.py with your API Key in between the quotation marks next to api_key =
  3. Run pip install -r requirements.txt from your terminal
  4. Run the script python main.py
  5. You will be prompted with a list of the organizations your API Key has access to
  6. Enter a single number, or a string of comma separated numbers depending on which orgs you want to obtain lifecycle information for (see examples below)
  7. The script will output a html_report.html file and a Lifecycle Report.pdf file to your working folder

image alt text
Selecting a single organization.

image alt text
Selecting multiple organizations.

Results

Your two output files will contain one table for each of the organizations you obtained lifecycle information for. Each of them will have the following columns:

  1. Product: SKU that was detected to have an EoS announcement
  2. Announcement: Date on which Cisco Meraki published the EoS document
  3. End-of-Sale Date: Date after which the equipment will no longer be sold to customers
  4. End-of-Support Date: Date after which the equipment will no longer be supported by Cisco Meraki Support
  5. Upgrade Path: Link to the End of Sales announcement with suggested replacement SKUs
  6. Total Units: Count of total units in use of the specified SKU in the organization. Units not bound to any networks are assumed to not be in use and are not included in this count. Additionally, the table is ordered in descending order by this metric.

image alt text

Sample page you navigate to when clicking the Upgrade Path links.

For more information on Meraki support procedures and warranties visit:

  1. Returns, Warranties and End-of-Life Information
  2. Meraki End-of-Life (EOL) Products and Dates
  3. Meraki Support Overview
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.