Giter Club home page Giter Club logo

warranty_check's Introduction

Warranty check

About Device42

Device42 is a comprehensive data center inventory management and IP Address management software that integrates centralized password management, impact charts and applications mappings with IT asset management.

Intro

This script checks warranty status for Dell, HP, IBM, Lenovo and Meraki manufactured devices stored in Device42.

Prerequisites

In order for this script to check warranty status of the device, the device must have hardware model and serial number entered in Device42. Dell Warranty Status API key must be acquired as well.

Plans

  • Include life_cycle event to register the purchase date. Unfortunately it can’t can done now, as I can’t easily compare purchases with the information found at dell. The life_cycle event doesn’t give back the serial, only the devicename. It would be nice if the serial_no could be added to the output of GET /api/1.0/lifecycle_event/

Gotchas

  • If either hardware model or serial # is missing, warranty status won't be checked for device.
  • IBM script points to warranty info not related to the SKU, serial given
  • If a Meraki product has a licence with a renewal required state, the expiration date will be set to the current date

Change Log

Usage

  • Set required parameters in warranty.cfg file and run starter.py script:

Linux Usage

  • Install pip depend on your distro.
  • Run pip install requests
  • Run python starter.py

Windows Usage

  • Download the pip installer: https://bootstrap.pypa.io/get-pip.py
  • Open a console in the download folder as Admin and run get-pip.py.
  • Add the path to your environment : "%PythonFolder%\Scripts"
  • Run pip install requests
  • Run python starter.py

Compatibility

  • requests module required
  • Script runs on Linux and Windows
  • Python 2.7

Updates

10/10/19 - Updated Dell warranty sync to use version 5 of their API (OAuth2.0), Version 4 EOL is scheduled for 12/15/19, Please update before this date

warranty_check's People

Contributors

buser8303 avatar osanchez42 avatar alexthegraham avatar cscaglioned42 avatar dejanlevaja avatar bitgreg avatar blafkachel avatar arjenannes-tomtom avatar algorythmic avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.